
/* Ensure black background for specific pages */
body[data-page="index"],
body[data-page="about"],
body[data-page="gallery"],
body[data-page="blog"],
body[data-page="team"],
body[data-page="contact"] {
    background: #000000 !important;
}

/* Update the root dark background variable */
:root {
    --dark-bg: #000000;
}

:root {
    --primary-color: #ffffff;
    --btn-primary-color: #652fca;
    --secondary-color: #333333;
    --accent-color: #f0f0f0;
    --btn-accent-color: #915dfa; 
    --text-color: #ffffff;
    --dark-bg: #000000;
    --light-bg: #1a1a1a;
    --border-color: #333333;
    --hover-color: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--dark-bg);
    overflow-x: hidden;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.collapsed {
    width: 80px;
    max-width: 80px;
    padding: 0.5rem;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.navbar.collapsed .nav-links,
.navbar.collapsed .login-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    display: none;
}

.navbar.collapsed .logo {
    margin: 0;
    transform: scale(0.8);
    position: relative;
    z-index: 2;
}

.navbar.collapsed .logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 77, 0, 0.3));
    transition: all 0.3s ease;
}

.navbar.collapsed:hover .logo img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 77, 0, 0.5));
}

.navbar.collapsed:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar.expanded {
    width: 90%;
    max-width: 1200px;
}

.navbar.expanded .nav-links,
.navbar.expanded .login-btn {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    display: flex;
}

.navbar.expanded .logo {
    transform: scale(1);
}

.logo {
    display: flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo img {
    height: 65px;
    width: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
}

.nav-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: background 0.3s, color 0.3s;
    position: relative;
    display: inline-block;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    border-radius: 25px;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(75, 50, 120, 0.8) !important;
    color: #d4c5f9 !important;
}

.nav-links a:hover::before {
    opacity: 0.2;
}

.nav-links a.active {
    background: rgba(140, 112, 220, 0.8) !important;
    color: #fff !important;
}

.login-btn {
    background: transparent !important;
    color: #fff !important;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    box-shadow: none;
}

.login-btn:hover {
    background: rgba(75, 50, 120, 0.8) !important;
    color: #d4c5f9 !important;
    box-shadow: none;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 2rem 0;
    position: relative;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 77, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 77, 0, 0.5),
                     0 0 20px rgba(255, 77, 0, 0.3),
                     0 0 30px rgba(255, 77, 0, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 77, 0, 0.7),
                     0 0 30px rgba(255, 77, 0, 0.5),
                     0 0 40px rgba(255, 77, 0, 0.3);
    }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.cta-button {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    background: #333333;
    color: var(--text-color);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    background: #555555;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
}

.modal.active {
    display: block;
}

.modal-content {
    background: #1a1a1a;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    color: #ffffff;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Thank You Modal Styles */
.thank-you-content {
    text-align: center;
    padding: 40px 20px;
}

.thank-you-animation {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    border-color: #8c70dc;
    outline: none;
}

.auth-form button {
    padding: 12px;
    background: #8c70dc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.auth-form button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.auth-form button:hover:not(:disabled) {
    background: #7a5fb8;
}

.switch-form {
    text-align: center;
    margin-top: 1rem;
}

.switch-form button {
    background: none;
    border: none;
    color: #8c70dc;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

/* Username status and suggestions */
.username-status {
    font-size: 0.85em;
    margin-top: 0.25rem;
    padding: 0.25rem 0;
    min-height: 1.5em;
    display: block;
}

.username-available {
    color: #28a745;
}

.username-taken, .username-error {
    color: #dc3545;
}

.username-suggestions {
    font-size: 0.85em;
    margin-top: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem;
    display: none;
}

.username-suggestions .suggestions-title {
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.9em;
}

.username-suggestions button.suggest-username {
    background: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 4px;
    color: #495057;
    cursor: pointer;
    padding: 0.15rem 0.5rem;
    margin: 0.15rem;
    font-size: 0.85em;
    transition: all 0.2s;
    text-decoration: none;
}

.username-suggestions button.suggest-username:hover {
    background: #8c70dc;
    color: white;
    border-color: #8c70dc;
}

/* Joining reason field */
.join-reason-container {
    position: relative;
}

.join-reason-container textarea {
    padding-top: 1.5rem !important;
    min-height: 100px;
}

.join-reason-container label {
    position: absolute;
    top: 0.8rem;
    left: 1rem;
    color: #6c757d;
    transition: all 0.2s ease;
    pointer-events: none;
    background: #fff;
    padding: 0 0.3em;
    border-radius: 4px;
    font-size: 0.9em;
}

.join-reason-container textarea:focus + label,
.join-reason-container textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8em;
    color: #007bff;
    background: #fff;
    padding: 0 0.5em;
    box-shadow: 0 0 0 2px #fff;
}

/* Adjust textarea floating label */
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: -0.7rem;
    left: 0.9rem;
    font-size: 0.92rem;
    color: #007bff;
    background: #fff;
    padding: 0 0.3em;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

/* Terms and Conditions Modal */
.tc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1100;
}

.tc-modal.active {
    display: flex;
}

.tc-content {
    background: #1a1a1a;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    margin: auto;
    padding: 2rem;
    border-radius: 15px;
    overflow-y: auto;
    color: #ffffff;
}

.tc-content h2 {
    margin-bottom: 1rem;
}

.tc-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tc-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.tc-buttons button {
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.accept-tc {
    background: #007bff;
    color: white;
    border: none;
}

.decline-tc {
    background: #dc3545;
    color: white;
    border: none;
}

/* Username Availability Check */
.username-status {
    font-size: 0.98em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    min-height: 1.2em;
    display: block;
    border-radius: 6px;
    padding: 0.2em 0.7em;
    font-weight: 600;
    transition: background 0.18s, color 0.18s;
}

.username-available {
    background: #28a745;
    color: #fff;
}

.username-taken {
    background: #dc3545;
    color: #fff;
}

/* Form Switch Animation */
@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.form-slide-out {
    animation: slideOut 0.3s forwards;
}

.form-slide-in {
    animation: slideIn 0.3s forwards;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 50%;
        top: 50%;
        transform: translate(50%, -50%);
        height: auto;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        max-width: 400px;
        padding: 2rem;
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-active {
        opacity: 1;
        visibility: visible;
    }

    .nav-active li {
        opacity: 1;
        transform: translateY(0);
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .burger div {
        width: 25px;
        height: 3px;
        background-color: #ffffff;
        margin: 5px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
    }

    .login-btn {
        margin-top: 1rem;
        width: 100%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

/* About Page Styles */
.about-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    color: var(--light-color);
}

.about-content {
    max-width: 800px;
}

.about-text {
    margin-top: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--light-color);
}

.mission, .vision {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mission h2, .vision h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--light-color);
}

.values h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card p {
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        font-size: 1rem;
    }
}

html {
    scroll-behavior: smooth;
}

.section-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, rgba(101, 47, 202, 0.08), rgba(145, 93, 250, 0.03));
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(145, 93, 250, 0.15);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--btn-primary-color) 20%, 
        var(--btn-accent-color) 50%, 
        var(--btn-primary-color) 80%, 
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; transform: translateX(-10px); }
    50% { opacity: 1; transform: translateX(10px); }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 30px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

/* Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(101, 47, 202, 0.4));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(101, 47, 202, 0.6));
}

.brand-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--btn-primary-color);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--btn-primary-color), var(--btn-accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Navigation Grid */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nav-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
    position: relative;
}

.nav-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--btn-primary-color), transparent);
    border-radius: 1px;
}

.nav-column nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px 0;
}

.nav-column a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 8px;
    height: 8px;
    background: var(--btn-primary-color);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-column a:hover {
    color: var(--btn-primary-color);
    transform: translateX(10px);
}

.nav-column a:hover::before {
    transform: translateY(-50%) scaleX(1);
    left: -20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--btn-primary-color), var(--btn-accent-color));
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--btn-primary-color);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(101, 47, 202, 0.3);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: relative;
}

.bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

.legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--btn-primary-color);
    transition: width 0.3s ease;
}

.legal-links a:hover {
    color: var(--btn-primary-color);
}

.legal-links a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px 20px;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .nav-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-column a::before {
        display: none;
    }
    
    .nav-column a:hover {
        transform: translateY(-2px);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, rgba(101, 47, 202, 0.1), rgba(145, 93, 250, 0.05));
    backdrop-filter: blur(20px);
    color: #ffffff;
    padding: 30px 0 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(101, 47, 202, 0.2);
    border-top: 1px solid rgba(145, 93, 250, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--btn-primary-color), var(--btn-accent-color));
    animation: gradientMove 3s linear infinite;
    box-shadow: 0 0 15px rgba(101, 47, 202, 0.5);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(101, 47, 202, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.footer-logo {
    text-align: left;
    padding-right: 10px;
}

.footer-logo img {
    max-width: 80px;
    margin-bottom: 8px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(101, 47, 202, 0.3));
}

.footer-logo img:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 0 15px rgba(101, 47, 202, 0.5));
}

.footer-logo h3 {
    font-size: 1.2rem;
    margin: 8px 0;
    color: var(--btn-primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(101, 47, 202, 0.3);
    position: relative;
    display: inline-block;
}

.footer-logo h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--btn-primary-color), transparent);
}

.quick-links {
    text-align: center;
    padding: 0 15px;
    border-left: 1px solid rgba(145, 93, 250, 0.2);
    border-right: 1px solid rgba(145, 93, 250, 0.2);
    position: relative;
}

.quick-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--btn-primary-color), transparent);
    opacity: 0.3;
}

.quick-links h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--btn-primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.quick-links h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 2px;
    background: var(--btn-primary-color);
    box-shadow: 0 0 10px var(--btn-primary-color);
}

.quick-links ul li {
    margin: 10px 0;
}

.quick-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 3px 0;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.quick-links ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--btn-primary-color);
}

.quick-links ul li a:hover {
    color: var(--btn-primary-color);
    transform: translateX(5px);
}

.quick-links ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

.contact-info {
    text-align: right;
    padding-left: 10px;
}

.contact-info h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--btn-primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.contact-info h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--btn-primary-color);
    box-shadow: 0 0 10px var(--btn-primary-color);
}

.contact-info p {
    margin: 8px 0;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-info p:hover {
    color: var(--btn-primary-color);
    transform: translateX(-5px);
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.4rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--btn-primary-color), var(--btn-accent-color));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(101, 47, 202, 0.3);
}

.social-icons a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(145, 93, 250, 0.2);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--btn-primary-color), transparent);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        gap: 20px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-logo, .contact-info {
        text-align: center;
        padding: 0;
    }

    .quick-links {
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-info h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Story Section Styles */
.story-section {
    display: flex;
    align-items: center;
    padding: 80px 5%;
    gap: 50px;
    background: rgba(26, 26, 26, 0);
    backdrop-filter: blur(10px);
    margin: 50px 0;
    border: 1px solid rgba(255, 77, 0, 0.1);
}

.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
}

.story-text p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
}

.story-image {
    flex: 1;
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: transform, box-shadow;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.story-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.01);
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.story-image:hover::after {
    opacity: 1;
}


/* Flip Cards Section Styles */
.flip-cards {
    padding: 80px 5%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    margin: 50px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-cards-text {
    width: calc(50% - 25px);
    margin-bottom: 50px;
}

.flip-cards-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
    text-align: left;
}

.flip-cards h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
    text-align: left;
    width: 100%;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.card {
    width: 300px;
    height: 400px;
    perspective: 1000px;
    background: transparent !important;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    background: transparent !important;
}

/* Additional overrides to prevent any white backgrounds */
.card *, .card-inner *, .card-front *, .card-back * {
    background: transparent !important;
    background-color: transparent !important;
}

/* Override Bootstrap card defaults specifically for flip cards */
.flip-cards .card {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.flip-cards .card-inner {
    background: transparent !important;
    background-color: transparent !important;
}

.card-front, .card-back {
    background: rgba(0, 0, 0, 0.8) !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none !important;
    box-shadow: none !important;
    background: rgba(0, 0, 0, 0.13) !important;
    background-color: rgba(0, 0, 0, 0.212) !important;
    backdrop-filter: blur(10px);
}

.card-front {
    color: #8c70dc;
    border: 1px solid rgba(140, 112, 220, 0.3) !important;
}

.card-back {
    color: #8c70dc;
    transform: rotateY(180deg);
    border: 1px solid rgba(140, 112, 220, 0.3) !important;
}

.card i {
    font-size: 3em;
    margin-bottom: 20px;
    color: #8c70dc !important;
    text-shadow: 0 0 10px rgba(140, 112, 220, 0.3);
}

.card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #8c70dc !important;
    text-shadow: 0 0 10px rgba(140, 112, 220, 0.3);
}

.card p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ffffff !important;
}

@media screen and (max-width: 768px) {
    .story-section {
        flex-direction: column;
        padding: 40px 5%;
    }

    .story-image {
        height: 300px;
    }

    .card {
        width: 280px;
        height: 380px;
    }
}

/* Hero Image Section */
.hero-image {
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    perspective: 1000px;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    will-change: transform;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transform: translateZ(0);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    pointer-events: none;
    transform: translateZ(0);
}

@media screen and (max-width: 768px) {
    .hero-image {
        height: 40vh;
        margin-top: 80px;
    }
}

/* Join Section Styles */
.join-section {
    text-align: center;
    padding: 80px 5%;
    background: rgba(26, 26, 26, 0);
    backdrop-filter: blur(10px);
    margin: 50px 0;
    border: 1px solid rgba(255, 77, 0, 0.1);
}

.join-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
}

.join-btn {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    background: var(--btn-primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.join-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 77, 0, 0.6);
    background: var(--btn-accent-color);
}

.join-btn:hover::before {
    left: 100%;
}

@media screen and (max-width: 768px) {
    .join-section h2 {
        font-size: 2em;
    }
    
    .join-btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
}

/* --- Contact Page Styles --- */
.contact-main-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 60px 0 100px 0;
    background: none;
    position: relative;
    z-index: 1;
}
.contact-container {
    display: flex;
    gap: 60px;
    width: 100%;
    max-width: 1300px;
    align-items: stretch;
    justify-content: center;
}
.contact-globe {
    flex: 1;
    min-width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#globe-canvas {
    width: 600px;
    height: 600px;
    background: transparent;
    display: block;
}
.contact-cards {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: center;
}
.contact-card {
    width: 100%;
    height: 320px;
    max-width: 320px;
    margin: 0 auto;
}
.contact-card:hover {
    box-shadow: 0 8px 32px rgba(255,77,0,0.18);
    transform: scale(1.03);
}
.contact-card .card-inner {
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.contact-card.flipped .card-inner {
    transform: rotateY(180deg);
}
.contact-action {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-top: 10px;
    text-decoration: underline;
    transition: color 0.2s;
    display: inline-block;
}
.contact-action:hover {
    color: var(--accent-color);
}
.open-form-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7em 2em;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s, transform 0.2s;
}
.open-form-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}
/* Modal Form Styles */
#contact-modal .modal-content {
    max-width: 420px;
    width: 95%;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    background: rgba(26,26,26,0.98);
    box-shadow: 0 8px 32px rgba(255,77,0,0.18);
    position: relative;
    animation: modalSlideIn 0.7s cubic-bezier(0.4,0,0.2,1);
    z-index: 1001;
}
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1002;
}
#contact-form input,
#contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.08);
    color: var(--text-color);
    transition: all 0.3s;
    resize: none;
}
#contact-form textarea {
    min-height: 100px;
    max-height: 200px;
}
#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255,77,0,0.2);
}
#contact-form button {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#contact-form button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255,77,0,0.3);
}
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .contact-globe, .contact-cards {
        width: 100%;
        min-width: unset;
    }
    #globe-canvas {
        width: 400px;
        height: 400px;
    }
    .contact-cards {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
    .contact-card {
        max-width: 100%;
        height: 280px;
    }
}
@media (max-width: 600px) {
    .contact-main-section {
        padding: 30px 0 60px 0;
    }
    #globe-canvas {
        width: 250px;
        height: 250px;
    }
    .contact-card {
        width: 90vw;
        max-width: 320px;
        height: 320px;
    }
}
/* 3D Hover for Contact Hero Image */
.contact-hero-img {
    cursor: pointer;
}

@media (max-width: 1200px) {
    #globe-canvas {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 600px) {
    #globe-canvas {
        width: 250px;
        height: 250px;
    }
}

/* Modern Glassmorphism Login/Signup Modal - Matches the provided images */
#fresh-login-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeInOverlay 0.5s cubic-bezier(.4,0,.2,1);
  pointer-events: auto !important;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
#fresh-login-modal {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  min-width: 400px;
  max-width: 500px;
  max-height: 90vh;
  margin: 0 auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modal3dPopIn 0.5s cubic-bezier(.4,0,.2,1);
  pointer-events: auto !important;
}
#fresh-login-modal .modal-logo {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
#fresh-login-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.8);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  transition: color 0.2s, transform 0.18s;
  line-height: 1;
  margin: 0;
  padding: 5px;
}
@keyframes modal3dPopIn {
  0% { opacity: 0; transform: scale(0.7) rotateY(-30deg) translateY(80px); }
  60% { opacity: 1; transform: scale(1.05) rotateY(8deg) translateY(-10px); }
  100% { opacity: 1; transform: scale(1) rotateY(0) translateY(0); }
}
#fresh-login-modal .modal-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
  background: rgba(255,255,255,0.9);
  padding: 8px;
  animation: logoGlow 2.5s infinite alternate cubic-bezier(.4,0,.2,1);
}
@keyframes logoGlow {
  0% { box-shadow: 0 0 20px rgba(0, 123, 255, 0.3); }
  100% { box-shadow: 0 0 30px rgba(0, 123, 255, 0.7); }
}
#fresh-login-modal .form-switch {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
#fresh-login-modal .switch-btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 2rem;
  border-radius: 25px;
  border: none;
  background: rgba(255,255,255,0.8);
  color: #666666;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#fresh-login-modal .switch-btn.active {
  background: #007bff;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}
#fresh-login-modal .switch-btn:not(.active):hover {
  background: rgba(255,255,255,0.9);
  color: #333333;
}
#fresh-login-modal .modal-form-content {
  background: rgba(255,255,255,0.25);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  padding: 2rem;
  width: 100%;
  min-width: 0;
  max-width: 450px;
  max-height: 70vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInForm 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInForm {
  from { opacity: 0; transform: translateY(30px) scale(0.95) rotateY(-10deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotateY(0); }
}
#fresh-login-modal h2 {
  color: #333333;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-align: center;
}
@media (max-width: 900px) {
  #fresh-login-modal {
    max-width: 99vw;
  }
  #fresh-login-modal .modal-form-content {
    max-width: 99vw;
  }
}
/* Modal closing animation */
#fresh-login-modal.closing {
  animation: modal3dClose 0.5s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes modal3dClose {
  0% { opacity: 1; transform: scale(1) rotateY(0) translateY(0); }
  100% { opacity: 0; transform: scale(0.7) rotateY(30deg) translateY(80px); }
}
#tc-popup-modal {
  background: #fff;
  color: #222;
  border-radius: 22px;
  box-shadow: 0 12px 48px 0 rgba(0,0,0,0.25);
  padding: 2.2rem 2.2rem 1.5rem 2.2rem;
  min-width: 340px;
  max-width: 95vw;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: modal3dPopIn 0.5s cubic-bezier(.4,0,.2,1);
}
#tc-popup-modal h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.3rem;
  color: #007bff;
}
#tc-popup-modal .tc-popup-content {
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
  color: #333;
}
#tc-popup-modal .tc-popup-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
#tc-popup-modal .tc-popup-accept {
  background: linear-gradient(90deg,#28a745,#6ee7b7);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.7rem;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 12px #28a74533;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
#tc-popup-modal .tc-popup-accept:hover {
  background: linear-gradient(90deg,#6ee7b7,#28a745);
  box-shadow: 0 4px 24px #28a74533;
  transform: scale(1.04);
}
#tc-popup-modal .tc-popup-decline {
  background: linear-gradient(90deg,#dc3545,#f87171);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.7rem;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 12px #dc354533;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
#tc-popup-modal .tc-popup-decline:hover {
  background: linear-gradient(90deg,#f87171,#dc3545);
  box-shadow: 0 4px 24px #dc354533;
  transform: scale(1.04);
}
#tc-popup-modal .close-modal {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.7rem;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  transition: color 0.2s, transform 0.18s;
  line-height: 1;
  margin: 0;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
}
#tc-popup-modal .close-modal:hover {
  color: #007bff;
  transform: scale(1.15) rotate(10deg);
}
@media (max-width: 700px) {
  #fresh-login-modal {
    min-width: 98vw;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  #fresh-login-modal .modal-logo {
    width: 70px; height: 70px;
  }
  #tc-popup-modal {
    min-width: 90vw;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
}
/* 3D form container effect */
#fresh-login-modal .modal-form-content:hover {
  box-shadow: 0 16px 48px 0 rgba(255,255,255,0.15), 0 2px 16px 0 rgba(0,0,0,0.13);
  transform: perspective(800px) rotateY(-4deg) scale(1.01);
}
/* 3D lift/tilt for inputs and buttons */
.floating-label {
  position: relative;
  margin-bottom: 1.2rem;
  width: 100%;
  max-width: 340px;
}
.floating-label input, .floating-label textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.9);
  color: #333333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  outline: none;
  font-family: inherit;
  font-weight: 400;
}
.floating-label input:focus, .floating-label input:hover, .floating-label textarea:focus, .floating-label textarea:hover {
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.floating-label input::placeholder, .floating-label textarea::placeholder {
  color: #999999;
}
.floating-label label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: #999999;
  font-size: 1rem;
  pointer-events: none;
  background: transparent;
  transition: 0.3s ease;
  z-index: 1;
  font-weight: 400;
}
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.8rem;
  font-size: 0.85rem;
  color: #007bff;
  background: rgba(255,255,255,0.9);
  padding: 0 0.3rem;
  border-radius: 4px;
}
.pw-tick, .cpw-tick, .mobile-status {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  color: #28a745;
  pointer-events: none;
  z-index: 2;
  transition: color 0.18s;
}
.pw-tick.error, .cpw-tick.error, .mobile-status.error {
  color: #dc3545;
}
.pw-error, .cpw-error, .mobile-error {
  color: #fff;
  background: #dc3545;
  border-radius: 6px;
  padding: 0.2em 0.7em;
  font-size: 0.98em;
  font-weight: 600;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  display: none;
}
.pw-error.active, .cpw-error.active, .mobile-error.active {
  display: block;
}
.mobile-label {
  position: relative;
}
.mobile-label .mobile-status {
  right: 1.1rem;
}
@media (max-width: 1100px) {
  .modal-form-content {
    max-width: 99vw;
  }
}

.auth-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 30, 30, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.auth-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.auth-modal-content {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 340px;
  max-width: 90vw;
  position: relative;
  animation: modalIn 0.5s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modalIn {
  0% { transform: scale(0.7) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.auth-close:hover { color: #ff5252; }
.auth-logo {
  display: block;
  margin: 0 auto 1.2rem auto;
  width: 70px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.auth-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.auth-tab {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.auth-tab.active, .auth-tab:hover {
  background: #fff;
  color: #222;
}
.auth-form {
  display: none;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 0.5rem;
  animation: fadeIn 0.4s;
}
.auth-form.active { display: flex; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}
.auth-field {
  position: relative;
  margin-bottom: 0.5rem;
}
.auth-field input {
  width: 100%;
  padding: 1rem 0.8rem 0.5rem 0.8rem;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.25);
  color: #222;
  font-size: 1rem;
  outline: none;
  transition: background 0.2s;
}
.auth-field input:focus {
  background: rgba(255,255,255,0.4);
}
.auth-field label {
  position: absolute;
  left: 0.9rem;
  top: 1.1rem;
  color: #888;
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s;
  background: transparent;
}
.auth-field input:focus + label,
.auth-field input:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.7rem;
  font-size: 0.85rem;
  color: #333;
  background: rgba(255,255,255,0.7);
  padding: 0 0.3rem;
  border-radius: 4px;
}
.auth-submit {
  background: linear-gradient(90deg, #ff9800, #ff5252);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 0;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,152,0,0.15);
  transition: background 0.2s;
}
.auth-submit:hover {
  background: linear-gradient(90deg, #ff5252, #ff9800);
}
.auth-extra {
  text-align: right;
  margin-top: -0.7rem;
}
.auth-extra a {
  color: #ff9800;
  text-decoration: none;
  font-size: 0.95rem;
}
.auth-extra a:hover { text-decoration: underline; }
@media (max-width: 500px) {
  .auth-modal-content { min-width: 90vw; padding: 1.2rem 0.5rem; }
  .auth-logo { width: 50px; }
}
#fresh-login-modal button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
#fresh-login-modal button[type="submit"]:hover:not(:disabled) {
  background: linear-gradient(135deg, #0056b3, #007bff);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
  transform: translateY(-2px);
}
#fresh-login-modal button[type="submit"]:active:not(:disabled) {
  transform: translateY(0);
}
#fresh-login-modal button[type="submit"]:active:not(:disabled) {
  transform: scale(0.98) perspective(300px) rotateX(-2deg);
}
#fresh-login-modal button[type="submit"]:disabled {
  background: #cccccc;
  cursor: not-allowed;
  color: #666666;
  box-shadow: none;
}
#fresh-login-modal .tc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.8);
  color: #007bff;
  border: 2px solid #007bff;
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#fresh-login-modal .tc-btn.accepted {
  border-color: #28a745;
  color: #28a745;
  background: rgba(40,167,69,0.1);
}
#fresh-login-modal .tc-btn:hover {
  background: rgba(255,255,255,1);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
#fresh-login-modal .tc-btn:active {
  transform: scale(0.97);
}

/* Password hint icon and tooltip */
.password-label {
  position: relative;
}
.pw-hint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff 60%, #b3e0ff 100%);
  color: #007bff;
  font-weight: bold;
  font-size: 1.1rem;
  border: 1.5px solid #007bff44;
  cursor: pointer;
  margin-left: 8px;
  margin-bottom: 2px;
  box-shadow: 0 2px 8px #007bff11;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
}
.pw-hint-icon:hover, .pw-hint-icon:focus {
  background: linear-gradient(135deg, #b3e0ff 60%, #e0e7ff 100%);
  color: #0056b3;
  box-shadow: 0 4px 16px #007bff22;
}
.pw-hint-tooltip {
  display: none;
  position: absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 240px;
  background: rgba(255,255,255,0.98);
  color: #222;
  border-radius: 10px;
  box-shadow: 0 4px 24px #007bff22;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  z-index: 10;
  text-align: left;
  font-weight: 500;
  line-height: 1.6;
  border: 1.5px solid #e0e7ff;
}
.pw-hint-icon:focus + .pw-hint-tooltip,
.pw-hint-icon:hover + .pw-hint-tooltip {
  display: block;
}
.pw-hint-tooltip ul {
  margin: 0 0 0 1.1em;
  padding: 0;
  list-style: disc;
}
.pw-hint-tooltip li {
  margin-bottom: 0.3em;
  font-size: 0.98em;
}

.signup-success-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  min-width: 320px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: modalIn 0.5s cubic-bezier(.4,0,.2,1);
}
.signup-success-tick {
  font-size: 3.5rem;
  color: #28a745;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s, transform 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signup-success-tick.show {
  opacity: 1;
  transform: scale(1.15);
  animation: tickBounce 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes tickBounce {
  0% { transform: scale(0.7); }
  60% { transform: scale(1.25); }
  80% { transform: scale(0.95); }
  100% { transform: scale(1.15); }
}
.signup-success-modal-content h2 {
  color: #28a745;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.signup-success-modal-content p {
  color: #333;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
}
.signup-success-close {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2.2rem;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px #28a74533;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.signup-success-close:hover {
  background: #218838;
  box-shadow: 0 4px 16px #28a74533;
  transform: translateY(-2px) scale(1.04);
}

.signup-row {
  display: flex;
  gap: 1.2rem;
  width: 100%;
  max-width: 860px;
}
.signup-row .floating-label {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 1.2rem;
}
.email-label {
  position: relative;
}
.email-label .email-status {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.2em;
  margin: 0;
}
.floating-label textarea {
  width: 100%;
  padding: 0.9rem 1rem 0.7rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #e0e7ef;
  font-size: 1.08rem;
  background: #f7fafd;
  color: #222;
  transition: border 0.18s, box-shadow 0.18s, background 0.18s;
  box-shadow: none;
  outline: none;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.02em;
  min-height: 48px;
  resize: vertical;
}
.floating-label textarea:focus {
  border: 1.5px solid #007bff;
  background: #fff;
  box-shadow: 0 2px 8px #007bff11;
}
@media (max-width: 1100px) {
  #fresh-login-modal {
    max-width: 99vw;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  #fresh-login-modal .modal-form-content {
    max-width: 99vw;
  }
  .signup-row {
    flex-direction: column;
    gap: 0.2rem;
    max-width: 99vw;
  }
} 

.floating-label .pw-tick,
.floating-label .cpw-tick {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1.2em;
    margin: 0;
}

.floating-label .pw-error,
.floating-label .cpw-error {
    position: absolute;
    left: 0;
    bottom: -1.2rem;
    font-size: 0.85em;
    color: #dc3545;
    margin: 0;
    padding: 0.2em 0;
}

.floating-label input.valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.floating-label input.invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.floating-label input.valid:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.floating-label input.invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
} 

/* Profile Dropdown */
.navbar .dropdown {
    position: relative;
}

.navbar .profile-btn {
    padding: 0 !important;
    border-radius: 50%;
    overflow: hidden;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: 2px solid var(--primary-color);
}

.navbar .profile-btn:hover {
    background: none !important;
    transform: scale(1.05);
}

.navbar .profile-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.navbar .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: var(--dark-bg);
    min-width: 200px;
    border-radius: 6px; /* subtle rounding */
    box-shadow: 0 2px 8px rgba(0,0,0,0.12); /* subtle shadow */
    z-index: 1001;
    padding: 0.5rem 0;
    border: 1px solid rgba(255,255,255,0.08);
    /* Remove any transform, perspective, or 3D effect */
}

.navbar .dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border: none;
    background: none;
    text-align: left;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
    /* Remove any transform or 3D effect */
}

.navbar .dropdown-content a i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.navbar .dropdown-content a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--primary-color);
}

.navbar .dropdown.open .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove chat button styles */
#openChatBtn {
    display: none;
}

/* Force remove 3D/tilt/transform/perspective from dropdown and its children */
.navbar .dropdown-content, .navbar .dropdown-content * {
    transform: none !important;
    perspective: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    filter: none !important;
    background-image: none !important;
}

/* --- Begin Coverflow Slider Styles (from reference) --- */
.container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.wgh-slider {
  position: relative;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}
.wgh-slider__viewport {
  position: relative;
  height: 100%;
  width: 100%;
}
.wgh-slider__viewbox {
  display: block;
  position: relative;
  perspective: 100vw;
  margin: 0 auto;
  width: 33.3333333333%;
  max-width: 280px;
  transform-style: preserve-3d;
  z-index: 0;
}
.wgh-slider__viewbox::before {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  content: "";
  height: 0;
  padding-bottom: 100%;
  width: 100%;
}
.wgh-slider__container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.3s;
  transform-style: preserve-3d;
}
.wgh-slider-target {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}
input.wgh-slider-target {
  display: none;
}
.wgh-slider-target:first-of-type:last-of-type ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__trigger {
  display: none;
}
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(0%);
}
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-50%);
}
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-100%);
}
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-150%);
}
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-200%);
}
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-250%);
}
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-300%);
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-350%);
}
.wgh-slider-item {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(45deg);
  transition: transform 0.6s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.15s;
}
.wgh-slider-item:nth-child(1) { left: 0%; }
.wgh-slider-item:nth-child(2) { left: 50%; }
.wgh-slider-item:nth-child(3) { left: 100%; }
.wgh-slider-item:nth-child(4) { left: 150%; }
.wgh-slider-item:nth-child(5) { left: 200%; }
.wgh-slider-item:nth-child(6) { left: 250%; }
.wgh-slider-item:nth-child(7) { left: 300%; }
.wgh-slider-item:nth-child(8) { left: 350%; }
.wgh-slider-item__trigger {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  cursor: pointer;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__trigger {
  display: none;
}
.wgh-slider-item__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transform: scale(0.75);
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0s;
  z-index: 10;
}
.wgh-slider-item__inner::before, .wgh-slider-item__inner::after {
  display: block;
  position: absolute;
  content: "";
}
.wgh-slider-item__inner::before {
  top: 24px;
  left: 24px;
  bottom: 24px;
  right: 24px;
  z-index: 0;
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.15s;
  transform: translate(-24px, 12px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.wgh-slider-item__inner::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 50%, rgba(0, 0, 0, 0) 100%);
  background-repeat: repeat-x;
  background-size: 200% 100%;
  background-position: 0% 0%;
  transition: background-position 0.3s linear;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__inner {
  transform: scale(1);
  transition-delay: 0.6s;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__inner::before {
  transform: translate(0, 24px);
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__inner::after {
  background-position: -50% 0%;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) ~ .wgh-slider-item .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) ~ .wgh-slider-item .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) ~ .wgh-slider-item .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) ~ .wgh-slider-item .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) ~ .wgh-slider-item .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) ~ .wgh-slider-item .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) ~ .wgh-slider-item .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) ~ .wgh-slider-item .wgh-slider-item__inner::before {
  transform: translate(24px, 12px);
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) ~ .wgh-slider-item .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) ~ .wgh-slider-item .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) ~ .wgh-slider-item .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) ~ .wgh-slider-item .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) ~ .wgh-slider-item .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) ~ .wgh-slider-item .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) ~ .wgh-slider-item .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) ~ .wgh-slider-item .wgh-slider-item__inner::after {
  background-position: -100% 0%;
}
.wgh-slider-item-figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.wgh-slider-item-figure__image {
  position: absolute;
  display: block;
  max-width: 100%;
  max-height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  opacity: 1;
}
.wgh-slider-item-figure__caption {
  position: absolute;
  display: block;
  overflow: hidden;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 24px;
  background-image: linear-gradient(0deg, #000 0%, transparent 100%);
  z-index: 2;
}
.wgh-slider-item-figure__caption a {
  display: inline-block;
  text-decoration: none;
  font-size: 18px;
  line-height: 20px;
  font-weight: bold;
  color: #fff;
}
.wgh-slider-item-figure__caption span {
  display: block;
  font-size: 14px;
  line-height: 16px;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8),
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7),
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6),
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5),
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4),
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3),
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2),
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) {
  transform: translate3d(0, 0, 0) rotateY(0deg);
  z-index: 9999;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) ~ .wgh-slider-item {
  transform: translate3d(0, 0, 0) rotateY(-45deg) !important;
}
/* --- End Coverflow Slider Styles --- */