:root {
    --primary: #f16624;
    --primary-rgb: 241, 102, 36;
    --primary-light: #ff7e42;
    --secondary: #0c80a1;
    --secondary-rgb: 12, 128, 161;
    --secondary-light: #1299c1;
    --accent: #ffae00;

    --bg-main: #fcfdfe;
    --bg-card: #ffffff;
    --bg-bento: #f3f5f8;
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --border: rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-heavy: rgba(255, 255, 255, 0.9);
    --glass-shine: rgba(255, 255, 255, 0.5);
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    --radius-lg: 32px;
    --radius-md: 20px;

    /* Fluid Typography Engine */
    --font-xl: clamp(2.5rem, 8vw, 4.5rem);
    --font-lg: clamp(1.8rem, 6vw, 3rem);
    --font-md: clamp(1.2rem, 4vw, 1.8rem);
    --font-sm: clamp(0.9rem, 2vw, 1.1rem);

    /* Responsive Spacing */
    --section-pad: clamp(4rem, 10vh, 8rem);
    --container-pad: clamp(1.5rem, 5vw, 4rem);
}

body.dark-theme {
    --bg-main: #000000;
    --bg-card: #0a0a0a;
    --bg-bento: #050505;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: rgba(255, 255, 255, 0.05);
    --glass: rgba(10, 10, 10, 0.6);
    --glass-heavy: rgba(20, 20, 20, 0.85);
    --glass-shine: rgba(255, 255, 255, 0.02);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    --hover-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    animation: imageFadeIn 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Bento Layout System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
    padding: 2rem 0;
}

.bento-item {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary);
    z-index: 10;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--shine-x, 100%) var(--shine-y, 100%), var(--glass-shine), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-item i,
.bento-item img {
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.bento-item:hover i,
.bento-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.bento-1x1 {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-2x1 {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-4x2 {
    grid-column: span 4;
    grid-row: span 2;
}

/* Navbar - Floating Glassmorphism */
header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(180%);
    border-radius: 24px;
    border: 0.5px solid var(--border);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-inner {
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    max-width: 100%;
}

.logo img {
    height: 95px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle,
.mobile-toggle {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mobile-toggle {
    display: none;
}

.theme-toggle:hover,
.mobile-toggle:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(241, 102, 36, 0.3);
}

.theme-toggle:active,
.mobile-toggle:active {
    transform: scale(0.9);
}

/* Hero - Ultra Modern */
.hero-bento {
    padding-top: 180px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-large {
    grid-column: span 3;
    grid-row: span 2;
    background: linear-gradient(135deg, var(--secondary) 0%, #000 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
}

.hero-large h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-stats {
    grid-column: span 1;
    grid-row: span 2;
    background: var(--primary);
    color: white;
    text-align: center;
}

/* Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(241, 102, 36, 0.4);
}

.btn-modern:active {
    transform: scale(0.95);
}

/* Footer */
footer {
    /* background: var(--glass); */
    backdrop-filter: blur(10px) saturate(180%);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

/* Responsive Layout Helpers */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.split-layout-responsive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.responsive-grid {
    display: grid;
    gap: 2rem;
}

.stats-grid-responsive {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .split-layout-responsive {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid-responsive {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }

    .glass-panel {
        padding: 2rem;
    }
}

/* Visible Badge Component */
.badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    display: inline-block;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* High Contrast Intro Text */
.intro-text {
    color: var(--text-main) !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

@media (max-width: 320px) {
    :root {
        --container-pad: 0.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-modern {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    .glass-panel {
        padding: 1.2rem 0.8rem;
    }

    .nav-inner {
        padding: 0 1rem;
    }
}

/* Responsive Grid / Bento Management */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-inner {
        height: 70px;
    }

    .logo img {
        height: 40px;
    }

    .hero-bento {
        padding-top: 100px;
    }

    .hero-large {
        grid-column: span 2;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        left: 5%;
        width: 90%;
        background: var(--glass-heavy);
        backdrop-filter: blur(40px);
        flex-direction: column;
        padding: 3rem 2rem;
        border-radius: 24px;
        border: 1px solid var(--border);
        gap: 1.5rem;
        visibility: hidden;
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        pointer-events: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: scale(1) translateY(0);
        pointer-events: all;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        text-transform: none;
        letter-spacing: 0;
        padding: 0;
        font-family: 'Inter', sans-serif;
    }

    .nav-links a::after {
        display: none;
    }

    .theme-toggle,
    .mobile-toggle {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid-responsive {
        grid-template-columns: 1fr;
    }

    .hero-large {
        grid-column: span 1;
    }

    .bento-2x2,
    .bento-2x1 {
        grid-column: span 1;
    }
}

/* Custom Elements */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Design System Enhancements */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.floating-img-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.6s;
}

.floating-img-container:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.floating-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.floating-img-container:hover img {
    transform: scale(1.1);
}

.section-title {
    font-size: var(--font-xl);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.marquee-logos {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 5rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee-track img {
    height: 140px;
    border-radius: 12px;
    filter: grayscale(0.2) opacity(0.85);
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    object-fit: cover;
}

.marquee-track img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Service Grid Revamp */
.asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

/* --- Premium Modern Card Component --- */
.card-modern {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.card-img {
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    backdrop-filter: none;
    /* No blur in normal state to keep image sharp */
    -webkit-backdrop-filter: none;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    width: fit-content;
}

.card-modern h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 700;
    transition: margin 0.5s ease;
}

.card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-top: 1rem;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Hover States */
.card-modern:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.3);
}

.card-modern:hover .card-img {
    transform: scale(1.08);
}

.card-modern:hover .card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-modern:hover h3 {
    margin-bottom: 0.5rem;
}

.card-modern:hover .card-desc {
    height: auto;
    opacity: 1;
    margin-top: 0.5rem;
}

/* Maintain Asymmetric Grid Proportions */
.card-modern:nth-child(4n+1) {
    grid-column: span 5;
}

.card-modern:nth-child(4n+2) {
    grid-column: span 7;
}

.card-modern:nth-child(4n+3) {
    grid-column: span 7;
}

.card-modern:nth-child(4n+4) {
    grid-column: span 5;
}

@media (max-width: 992px) {
    .asymmetric-grid {
        grid-template-columns: 1fr;
    }

    .card-modern,
    .card-modern:nth-child(n) {
        grid-column: span 1 !important;
        margin-bottom: 1rem;
        min-height: 320px;
    }

    .card-overlay {
        transform: translateY(0);
        padding: 1.5rem;
    }
}

/* Event Gallery Tabs - Premium Redesign */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-tab {
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}

.gallery-tab:hover {
    color: white;
    transform: translateY(-2px);
}

.gallery-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
}

.gallery-tab.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* --- Performance-First Mosaic Gallery --- */
.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 1.5rem;
    padding: 2rem 0;
}

.bento-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: var(--bg-card);
    border: 1px solid var(--border);
}

/* Bento Sizing Logic */
.bento-card.tall {
    grid-row: span 2;
}

.bento-card.wide {
    grid-column: span 2;
}

.bento-card .card-img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.bento-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-card .card-overlay-simple {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.bento-card:hover .card-overlay-simple {
    opacity: 1;
    transform: translateY(0);
}

.bento-card:hover .card-img {
    transform: scale(1.05);
}

/* --- High-Response Lightbox --- */
#lightbox-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#lightbox-wrapper.active {
    display: flex;
    opacity: 1;
}

#lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

#lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .bento-card.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .gallery-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .gallery-tabs::-webkit-scrollbar {
        display: none;
    }

    .gallery-tab {
        white-space: nowrap;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* --- Integrated Footer Styles --- */
footer {
    background: #080808;
    /* Deep Midnight */
    padding: 100px 0 40px 0;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    overflow: hidden;
}

/* Subtle background glow for depth */
footer::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-col h4 {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    /* Slightly brighter */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a::before {
    content: '→';
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(3px);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-cta-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.signature-bar {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .signature-bar {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* --- Vibrant Glass Bento Redesign --- */
.mesh-gradient-team {
    background: #000;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Animated Mesh Background */
.mesh-gradient-team::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(241, 102, 36, 0.15), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(12, 128, 161, 0.15), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 174, 0, 0.1), transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(241, 102, 36, 0.1), transparent 50%);
    filter: blur(80px);
    animation: meshFlow 20s ease-in-out infinite alternate;
}

@keyframes meshFlow {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.2) translate(20px, -20px);
    }

    100% {
        transform: scale(1) translate(-20px, 20px);
    }
}

.bento-team-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 2rem;
}

.bento-team-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 3rem;
    position: relative;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    overflow: visible;
    /* For floating effect in leadership */
}

/* Specific flow for standard cards to avoid overlap */
.bento-team-card.standard {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.bento-team-card.leadership {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    justify-content: flex-start;
    padding: 4rem;
}

@media (max-width: 1200px) {
    .bento-team-card.leadership {
        gap: 2rem;
        padding: 3rem;
    }
}

/* Bento Sizing */
.bento-team-card.leadership {
    grid-column: span 6;
    grid-row: span 2;
}

.bento-team-card.standard {
    grid-column: span 3;
    grid-row: span 2;
}

@media (max-width: 1024px) {
    .bento-team-card.leadership {
        grid-column: span 12;
    }

    .bento-team-card.standard {
        grid-column: span 6;
    }
}

@media (max-width: 600px) {
    .bento-team-card.standard {
        grid-column: span 12;
    }
}

.bento-team-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

/* Floating Portrait Effect */
.bento-portrait {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.leadership .bento-portrait {
    position: relative;
    top: 0;
    right: 0;
    width: 240px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 40px;
}

@media (max-width: 768px) {
    .bento-team-card.leadership {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 6rem 1.5rem 2rem;
    }

    .leadership .bento-portrait {
        position: relative;
        top: 0;
        right: 0;
        margin: -6rem auto 1.5rem;
        width: 151px;
        height: 151px;
    }

    .leadership .bento-name {
        font-size: 2rem;
    }

    .leadership .bento-bio {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .leadership .bento-socials {
        justify-content: center;
    }
}

.standard .bento-portrait {
    position: relative;
    width: 140px;
    height: 140px;
    margin: -1rem auto 1.5rem;
    /* Slightly pulled up but relative */
    border-radius: 40px;
}

.bento-team-card:hover .bento-portrait {
    transform: translateY(-20px) rotate(3deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.bento-portrait img,
.bento-portrait i {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.bento-role {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.bento-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.leadership .bento-name {
    font-size: 2.8rem;
}

.bento-bio {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 100%;
}

.standard .bento-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.standard .bento-bio {
    font-size: 0.9rem;
    max-width: 100%;
}

.standard .bento-socials {
    justify-content: center;
    margin-top: 1.5rem;
}

.bento-socials {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.bento-socials a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    transition: 0.3s;
}

.bento-socials a:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Hover Accent Glow */
.bento-team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
}

.bento-team-card:hover::after {
    opacity: 1;
}

.member-portrait img {
    transition: filter 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.member-card:hover .member-portrait img {
    filter: grayscale(0) !important;
}

@media (max-width: 768px) {
    .bento-team-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        /* More space for floating portraits in standard rows */
    }
}