/* ACM Student Chapter - VIT Chennai - ULTRA PREMIUM LUXURY THEME */
/* "Digital Luxury" Aesthetic: Deep, Immersive, Bespoke */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
    /* LUXURY PALETTE */
    --void-black: #020c1b;
    --midnight-navy: #0a192f;
    --deep-slate: #112240;
    --light-slate: #233554;

    --text-bright: #e6f1ff;
    --text-muted: #8892b0;
    --text-dim: #495670;

    /* ACCENTS - METALLIC */
    --gold-primary: #d4af37;
    --gold-dim: #aa8c2c;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
    --silver-accent: #e0e0e0;

    /* GLASSMORPHISM */
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* SPACING & TYPOGRAPHY */
    --font-serif: "Playfair Display", serif;
    --font-sans: "Manrope", sans-serif;

    --ease-luxury: cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--text-muted);
    font-family: var(--font-sans);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--text-bright);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.3s var(--ease-luxury);
    position: relative;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 1s var(--ease-luxury) forwards;
    opacity: 0;
}

/* Premium Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes blurIn {
    from {
        filter: blur(6px);
        opacity: 0;
    }

    to {
        filter: blur(0);
        opacity: 1;
    }
}

.animate-fade {
    animation: fadeIn 0.8s var(--ease-luxury) forwards;
    opacity: 0;
}

.animate-scale {
    animation: scaleIn 0.7s var(--ease-luxury) forwards;
    opacity: 0;
}

.animate-blur {
    animation: blurIn 0.9s var(--ease-luxury) forwards;
    opacity: 0;
}

/* Reveal utilities */
.reveal {
    opacity: 0;
    transform: translateY(24px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 700ms var(--ease-luxury);
}

/* Hero parallax */
.hero-parallax .hero-background {
    will-change: transform;
}

.hero-parallax .hero-overlay {
    will-change: opacity;
}

/* Navbar specific animation that preserves horizontal centering */
.navbar.animate-fade-up {
    animation: none;
    opacity: 1;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* ============================================
   FOOTER - LUXURY STANDARD
   ============================================ */

.footer {
    background: var(--midnight-navy);
    border-top: 1px solid var(--light-slate);
    padding: 4rem 2rem 2rem;
    color: var(--text-muted);
    margin-top: auto;
}

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

.footer-section h3 {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s var(--ease-luxury);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-email a {
    color: var(--text-bright);
    font-weight: 500;
}

.footer-email a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--light-slate);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.1rem;
    transition: all 0.3s var(--ease-luxury);
}

.social-link:hover {
    background: var(--gold-primary);
    color: var(--void-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--light-slate);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.navbar-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-bright);
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
}

/* Tablet and smaller desktop adjustments */
@media (max-width: 1200px) {
    .navbar {
        gap: 2rem;
        padding: 0.9rem 1.8rem;
    }

    .navbar-menu {
        gap: 1.5rem;
    }

    .navbar-menu a {
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    .navbar {
        width: 95%;
        max-width: 95%;
        justify-content: space-between;
        padding: 0.8rem 1.2rem;
        gap: 1rem;
        border-radius: 20px;
        top: 1rem;
    }

    .navbar-toggle {
        display: block;
        order: 3;
        flex-shrink: 0;
    }

    .navbar-logo {
        order: 1;
        font-size: 1.2rem;
    }

    .navbar-logo img {
        height: 40px;
    }

    .navbar-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        width: calc(100% - 1rem);
        flex-direction: column;
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-radius: 16px;
        border: var(--glass-border);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s var(--ease-luxury);
        gap: 1.2rem;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        order: 2;
        z-index: 999;
    }

    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu a {
        display: block;
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .navbar-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   NAVIGATION - LUXURY PILL
   ============================================ */

.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 50px;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    transition:
        transform 2.5s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.5s,
        opacity 2.5s;
}

.navbar-hidden {
    transform: translate(-50%, -200%) !important;
    opacity: 0 !important;
    pointer-events: none;
}

.navbar:hover {
    background: rgba(10, 25, 47, 0.98);
    box-shadow: 0 20px 40px -10px rgba(2, 12, 27, 0.9);
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-bright);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.navbar-logo img {
    height: 50px;
    width: auto;
}

.navbar-logo span,
.footer-logo-text span {
    color: var(--gold-primary);
}

.footer-logo {
    height: 50px;
    width: auto;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-menu a {
    /* Small mobile phones */
    @media (max-width: 600px) {
        .navbar {
            width: 98%;
            padding: 0.7rem 1rem;
            top: 0.5rem;
            border-radius: 16px;
        }

        .navbar-logo {
            font-size: 1rem;
        }

        .navbar-logo img {
            height: 35px;
        }

        .navbar-toggle {
            font-size: 1.3rem;
        }

        .navbar-menu {
            width: calc(100% - 0.5rem);
            padding: 1rem;
            gap: 1rem;
        }

        .navbar-menu a {
            font-size: 0.85rem;
            padding: 0.7rem;
        }
    }

    color: var(--text-bright);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-sans);
}

.navbar-menu a:hover {
    color: var(--gold-primary);
}

.navbar-menu a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s var(--ease-luxury);
}

.navbar-menu a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.navbar-menu li {
    position: relative;
}

.navbar-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 25, 47, 0.98);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-luxury);
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.navbar-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.dropdown a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-bright);
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--ease-luxury);
}

.dropdown a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
}

.dropdown a::after {
    display: none;
}

/* ============================================
   HERO SECTION - IMMERSIVE
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
    overflow: hidden;
    /* Center Align Update */
    justify-content: center;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.4) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(2, 12, 27, 0.9) 0%,
        rgba(2, 12, 27, 0.7) 50%,
        rgba(2, 12, 27, 0.3) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    margin: 0 auto;
    text-align: center;
    /* Explicitly center text */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Explicitly center flex children */
}

.hero-pretitle {
    color: var(--gold-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--text-muted);
    /* or transparent outline text effect */
    -webkit-text-stroke: 1px var(--text-muted);
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    /* Increased for center layout */
    margin: 0 auto 3rem auto;
    /* Auto margins for center */
    color: var(--text-muted);
}

.btn-luxury {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-luxury);
    cursor: pointer;
}

.btn-luxury:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

/* ============================================
   SECTIONS - BENTO & MODERN
   ============================================ */

.section-padding {
    padding: 8rem 0;
}

.container,
.section-container {
    /* Mapping old class to new container */
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 10;
}

.section-header {
    margin-bottom: 5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid var(--light-slate);
    padding-bottom: 2rem;
}

.section-title {
    /* Restore old class support */
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-bright);
}

.text-center {
    text-align: center;
}

/* BENTO GRID */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bento-card {
    background: var(--deep-slate);
    padding: 3rem;
    border-radius: 4px;
    transition: all 0.4s var(--ease-luxury);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    background: var(--light-slate);
}

.bento-card.large {
    grid-column: span 2;
}

.bento-card.tall {
    grid-row: span 2;
}

.card-icon {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 2rem;
}

.bento-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.bento-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ============================================
   MISSING UTILITY CLASSES (Restored)
   ============================================ */

/* GRID SYSTEM RESTORED */
.grid-container {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* TWO COLUMN LAYOUT RESTORED */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.two-column-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.two-column img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5);
}

/* GENERIC CARD RESTORED */
.card {
    background: var(--deep-slate);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--light-slate);
    transition: all 0.3s var(--ease-luxury);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   TIMELINE (Updated for Dark Mode)
   ============================================ */

/* ============================================
   TIMELINE - ZIGZAG LUXURY
   ============================================ */

.timeline-container {
    position: relative;
    max-width: 860px;
    margin: 2.5rem auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        to bottom,
        var(--light-slate),
        rgba(212, 175, 55, 0.5)
    );
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 28px;
    margin-bottom: 2.2rem;
    box-sizing: border-box;
}

/* Left Side Items (1st, 3rd... which are 2nd, 4th child) */
.timeline-item:nth-child(even) {
    left: 0;
    text-align: right;
}

/* Right Side Items (2nd, 4th... which are 3rd, 5th child) */
.timeline-item:nth-child(odd) {
    left: 50%;
    text-align: left;
}

.timeline-content {
    background: var(--deep-slate);
    padding: 1.2rem 1.4rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    /* Helps with text alignment sizing */
    width: 100%;
    text-align: left;
    /* Keep internal text left for readability */
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

/* Markers */
.timeline-marker {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--void-black);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    z-index: 10;
}

/* Left Item Marker (on Right edge) */
.timeline-item:nth-child(even) .timeline-marker {
    right: -11px;
    left: auto;
}

/* Right Item Marker (on Left edge) */
.timeline-item:nth-child(odd) .timeline-marker {
    left: -11px;
}

/* Hover Effects */
.timeline-content:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.timeline-content h3 {
    font-size: 1.15rem;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.timeline-content .date {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

/* Responsive Mobile Fallback */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        /* Force reset */
        padding-left: 48px;
        padding-right: 0;
        text-align: left;
        margin-bottom: 1.75rem;
    }

    .timeline-item:nth-child(even) .timeline-marker,
    .timeline-item:nth-child(odd) .timeline-marker {
        left: 11px;
        right: auto;
    }
}

/* ============================================
   ABOUT SPLIT
   ============================================ */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 80vh;
    min-height: 600px;
}

.split-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-luxury);
    filter: grayscale(100%) contrast(1.1);
}

.split-section:hover .split-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.split-content {
    background: var(--midnight-navy);
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ============================================
   HOMEPAGE CLUB INSIGHTS
   ============================================ */

.insights-section {
    background: linear-gradient(
        180deg,
        rgba(17, 34, 64, 0.45) 0%,
        rgba(10, 25, 47, 0.92) 65%,
        rgba(2, 12, 27, 1) 100%
    );
}

.insights-embed-shell {
    background: var(--deep-slate);
    border: 1px solid var(--light-slate);
    border-radius: 16px;
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem;
    box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.7);
}

.insights-iframe-wrap {
    width: 100%;
    aspect-ratio: 960 / 749;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--void-black);
}

.insights-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.insights-caption {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
}

/* ============================================
   HOMEPAGE REPORTS & STATISTICS
   ============================================ */

.impact-section {
    background:
        radial-gradient(circle at 12% 20%, rgba(212, 175, 55, 0.1), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(126, 176, 255, 0.14), transparent 38%),
        linear-gradient(180deg, rgba(2, 12, 27, 1) 0%, rgba(10, 25, 47, 0.98) 52%, rgba(17, 34, 64, 0.88) 100%);
}

.impact-intro {
    max-width: 980px;
    margin: 0 auto 2.2rem;
    text-align: center;
    color: var(--text-muted);
}

.impact-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.impact-kpi-card {
    background: linear-gradient(165deg, rgba(17, 34, 64, 0.97) 0%, rgba(10, 25, 47, 0.95) 100%);
    border: 1px solid var(--light-slate);
    border-radius: 12px;
    padding: 1rem 0.85rem;
    text-align: center;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury);
}

.impact-kpi-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.75);
}

.impact-kpi-value {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 2.8vw, 2.45rem);
    line-height: 1.1;
    color: var(--gold-primary);
    margin-bottom: 0.35rem;
}

.impact-kpi-label {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.impact-main-grid,
.impact-lower-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.impact-card {
    background: linear-gradient(160deg, rgba(17, 34, 64, 0.97) 0%, rgba(10, 25, 47, 0.96) 100%);
    border: 1px solid var(--light-slate);
    border-radius: 14px;
    padding: 1.45rem;
    box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.85);
}

.impact-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.impact-bars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.78rem;
}

.impact-bar-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-bright);
}

.impact-bar-track {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(136, 146, 176, 0.2);
    margin-top: 0.25rem;
}

.impact-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3c72c6 0%, #5e90e4 40%, #d4af37 100%);
}

.impact-note {
    margin: 1rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(136, 146, 176, 0.26);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.impact-satisfaction-card {
    display: flex;
    flex-direction: column;
}

.impact-donut {
    width: min(260px, 100%);
    aspect-ratio: 1;
    margin: 0.35rem auto 1rem;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(
        #e9ca93 0% 58.2%,
        #b8a6c3 58.2% 92.7%,
        #99c9a5 92.7% 96.3%,
        #9fbed8 96.3% 98.1%,
        #e5a4ab 98.1% 100%
    );
}

.impact-donut::before {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    background: var(--midnight-navy);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.impact-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
}

.impact-donut-center strong {
    font-family: var(--font-serif);
    color: var(--gold-primary);
    font-size: 2rem;
    line-height: 1;
}

.impact-donut-center span {
    margin-top: 0.45rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.impact-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.impact-legend li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.impact-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.impact-dot.rating-5 {
    background: #e9ca93;
}

.impact-dot.rating-4 {
    background: #b8a6c3;
}

.impact-dot.rating-3 {
    background: #99c9a5;
}

.impact-dot.rating-2 {
    background: #9fbed8;
}

.impact-dot.rating-1 {
    background: #e5a4ab;
}

.impact-reach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.reach-pill {
    background: rgba(2, 12, 27, 0.52);
    border: 1px solid rgba(136, 146, 176, 0.25);
    border-radius: 11px;
    padding: 0.75rem;
    min-height: 94px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reach-pill strong {
    font-family: var(--font-serif);
    color: var(--gold-primary);
    font-size: 1.4rem;
    line-height: 1.1;
}

.reach-pill span {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.impact-achievement-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.72rem;
}

.impact-achievement-list li {
    background: rgba(2, 12, 27, 0.52);
    border: 1px solid rgba(136, 146, 176, 0.25);
    border-radius: 10px;
    padding: 0.72rem 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 1200px) {
    .impact-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .impact-main-grid,
    .impact-lower-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .impact-intro {
        text-align: left;
    }

    .impact-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact-kpi-card {
        min-height: 122px;
        padding: 0.9rem 0.75rem;
    }

    .impact-card {
        padding: 1.05rem;
    }

    .impact-card h3 {
        font-size: 1.12rem;
    }

    .impact-bar-head {
        font-size: 0.84rem;
    }

    .impact-donut {
        width: min(210px, 100%);
    }

    .impact-donut-center strong {
        font-size: 1.6rem;
    }

    .impact-reach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact-achievement-list li {
        font-size: 0.86rem;
    }
}

@media (max-width: 520px) {
    .impact-kpi-grid,
    .impact-reach-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HOMEPAGE DIGITAL OUTCOMES
   ============================================ */

.home-page .section-header {
    gap: 1rem;
    flex-wrap: wrap;
}

.home-page .section-header h2 {
    margin-bottom: 0;
}

.home-page .section-header .subtitle {
    color: var(--gold-primary);
    font-size: 0.8rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.08);
}

.outcomes-section {
    background:
        radial-gradient(circle at 12% 20%, rgba(70, 130, 220, 0.2), transparent 38%),
        radial-gradient(circle at 86% 8%, rgba(212, 175, 55, 0.2), transparent 32%),
        linear-gradient(180deg, rgba(10, 25, 47, 0.95) 0%, rgba(17, 34, 64, 0.88) 100%);
}

.outcomes-intro {
    max-width: 960px;
    margin: 0 auto 2.2rem;
    text-align: center;
    color: var(--text-muted);
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.outcome-card {
    background: linear-gradient(165deg, rgba(17, 34, 64, 0.98) 0%, rgba(10, 25, 47, 0.95) 100%);
    border: 1px solid var(--light-slate);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury);
}

.outcome-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.72);
}

.outcome-image {
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid rgba(136, 146, 176, 0.2);
}

.outcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-luxury), filter 0.6s var(--ease-luxury);
    filter: saturate(0.95) brightness(0.85);
}

.outcome-card:hover .outcome-image img {
    transform: scale(1.06);
    filter: saturate(1.1) brightness(0.94);
}

.outcome-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.outcome-kicker {
    display: inline-block;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.73rem;
    letter-spacing: 1.1px;
    margin-bottom: 0.45rem;
}

.outcome-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.outcome-content p {
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.outcome-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    align-self: flex-start;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.outcome-link:hover {
    background: rgba(212, 175, 55, 0.12);
}

.outcomes-links-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 1.4rem;
}

.outcomes-links-strip a {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(136, 146, 176, 0.4);
    background: rgba(2, 12, 27, 0.45);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.outcomes-links-strip a:hover {
    border-color: rgba(212, 175, 55, 0.65);
    color: var(--gold-primary);
}

/* ============================================
   HOMEPAGE TESTIMONIALS
   ============================================ */

.testimonials-section {
    background:
        radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.14), transparent 34%),
        radial-gradient(circle at 85% 25%, rgba(92, 151, 235, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(17, 34, 64, 0.9) 0%, rgba(10, 25, 47, 1) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.testimonial-card {
    background: linear-gradient(160deg, rgba(17, 34, 64, 0.97) 0%, rgba(10, 25, 47, 0.96) 100%);
    border: 1px solid var(--light-slate);
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    transition: transform 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.75);
}

.testimonial-card.featured {
    grid-column: span 2;
    background: linear-gradient(145deg, rgba(22, 45, 82, 0.98) 0%, rgba(12, 30, 56, 0.96) 100%);
}

.testimonial-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-head img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.45);
    flex-shrink: 0;
}

.testimonial-head h3 {
    margin-bottom: 0.2rem;
    font-size: 1.08rem;
}

.testimonial-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.testimonial-quote {
    margin: 0;
    color: var(--silver-accent);
    font-size: 0.92rem;
    line-height: 1.62;
    border-left: 3px solid rgba(212, 175, 55, 0.55);
    padding-left: 0.8rem;
}

.testimonial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.testimonial-tags span {
    font-size: 0.74rem;
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 999px;
    padding: 0.3rem 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1200px) {
    .outcomes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .home-page .section-header .subtitle {
        font-size: 0.74rem;
        letter-spacing: 1px;
    }

    .outcomes-intro {
        text-align: left;
    }

    .outcomes-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .testimonial-card.featured {
        grid-column: span 1;
    }

    .outcome-image {
        height: 165px;
    }

    .testimonial-card,
    .outcome-content {
        padding: 1rem;
    }
}

/* ============================================
   HOMEPAGE PARTNERS & SPEAKERS
   ============================================ */

.partners-section {
    background: linear-gradient(
        180deg,
        rgba(2, 12, 27, 1) 0%,
        rgba(10, 25, 47, 0.96) 50%,
        rgba(17, 34, 64, 0.65) 100%
    );
}

.partners-intro {
    max-width: 980px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--text-muted);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.partner-card {
    background: linear-gradient(
        160deg,
        rgba(17, 34, 64, 0.96) 0%,
        rgba(10, 25, 47, 0.95) 100%
    );
    border: 1px solid var(--light-slate);
    border-radius: 14px;
    padding: 2rem;
    transition: transform 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury);
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.7);
}

.partner-card h3 {
    margin-bottom: 0.5rem;
}

.partner-role {
    color: var(--gold-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    margin-bottom: 1rem;
}

.partner-about {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.partner-quote {
    border-left: 3px solid rgba(212, 175, 55, 0.7);
    padding-left: 0.9rem;
    margin-bottom: 1.25rem;
    color: var(--silver-accent);
    font-style: italic;
    font-size: 0.94rem;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border: 1px solid var(--gold-primary);
    border-radius: 999px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.partner-link:hover {
    background: rgba(212, 175, 55, 0.12);
}

.partner-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.partner-embed-shell {
    background: var(--deep-slate);
    border: 1px solid var(--light-slate);
    border-radius: 14px;
    max-width: none;
    margin: 0;
    padding: 1rem;
}

.partner-embed-shell h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.partner-embed-frame {
    max-width: 504px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--void-black);
}

.partner-embed-frame iframe {
    width: 100%;
    height: 669px;
    border: 0;
    display: block;
}

.linkedin-embed-fallback {
    min-height: 230px;
    padding: 1.1rem;
    display: grid;
    place-items: center;
    gap: 0.8rem;
    text-align: center;
    color: var(--text-muted);
}

.linkedin-embed-fallback p {
    margin: 0;
    font-size: 0.92rem;
}

.partner-embed-frame.embed-fallback-visible {
    max-width: 100%;
    border-style: dashed;
}

.partner-embed-frame.embed-fallback-visible iframe {
    display: none;
}

/* ============================================
   GALLERY - MASONRY STYLE
   ============================================ */

.luxury-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.gallery-tile {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease-luxury);
    filter: brightness(0.7);
}

/* ============================================
   LUXURY EVENT GALLERY
   ============================================ */

.luxury-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    padding: 1.75rem 0;
}

.gallery-event-card {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    animation: fadeIn 1.2s ease-in-out forwards;
    opacity: 0;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.gallery-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.5s var(--ease-luxury),
        filter 0.5s var(--ease-luxury);
    filter: brightness(0.85);
}

/* Current markup uses .gallery-image-wrapper and .gallery-overlay */
.gallery-image-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    animation: fadeIn 1.2s ease-in-out forwards;
    opacity: 0;
    width: 100%;
    height: 100%;
    background-color: #020c1b;
}

.gallery-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.5s var(--ease-luxury),
        filter 0.5s var(--ease-luxury);
    filter: brightness(0.85);
}

/* Legacy class support (if present) */
.gallery-event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #020c1b;
    transition: transform 0.5s var(--ease-luxury);
    filter: brightness(0.85);
}

.gallery-overlay,
.gallery-event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(2, 12, 27, 0.95) 0%,
        rgba(2, 12, 27, 0.8) 50%,
        rgba(2, 12, 27, 0.4) 100%
    );
    /* and darker gradient for better text readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center text vertically for better focus */
    align-items: center;
    /* Center text horizontally */
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-luxury);
}

/* Hover Effects */
.gallery-event-card:hover img,
.gallery-image-wrapper:hover img {
    transform: perspective(2000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
    filter: brightness(0.55);
}

.gallery-event-card:hover .gallery-event-overlay,
.gallery-event-card:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .gallery-event-card {
        height: 260px;
    }
}

/* Always show title slightly? Optional. For now full reveal. */

.gallery-event-date {
    color: var(--gold-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.gallery-event-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-bright);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gallery-event-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s 0.1s;
}

.gallery-event-card:hover .gallery-event-desc {
    transform: translateY(0);
}

.btn-gallery {
    display: inline-block;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: 1px solid var(--gold-primary);
    padding-bottom: 5px;
}

.gallery-tile:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.gallery-tile:nth-child(1) {
    grid-column: span 2;
}

.gallery-tile:nth-child(4) {
    grid-column: span 2;
}

/* ============================================
   TEAM CAROUSEL - DARK
   ============================================ */
/* ============================================
   CUSTOM SCROLLBAR (Luxury Dark)
   ============================================ */

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) rgba(255, 255, 255, 0.08);
}

/* WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: rgba(2, 12, 27, 0.55);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(212, 175, 55, 0.9),
        rgba(212, 175, 55, 0.6)
    );
    border-radius: 10px;
    border: 2px solid rgba(2, 12, 27, 0.8);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(212, 175, 55, 1),
        rgba(212, 175, 55, 0.7)
    );
}

::-webkit-scrollbar-corner {
    background: transparent;
}

.team-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    background: var(--midnight-navy);
}

.team-carousel-track {
    display: flex;
    gap: 1.25rem;
    animation: scrollTeam 45s linear infinite;
    width: max-content;
}

@keyframes scrollTeam {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.team-card {
    flex: 0 0 260px;
    background: var(--deep-slate);
    border: 1px solid var(--light-slate);
    transition: all 0.3s var(--ease-luxury);
}

.team-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
}

.team-card-image {
    height: 220px;
    filter: grayscale(100%);
    object-fit: cover;
}

.team-card:hover .team-card-image {
    filter: grayscale(0%);
}

.team-card-content {
    padding: 1rem;
    border-top: 1px solid var(--light-slate);
}

/* Team card typography tuning */
.team-card-content h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.team-card-content .role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.team-card-content .description {
    font-size: 0.85rem;
}
.members-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px; /* gap between rows */
    margin-top: 30px;
}

/* Header */
.members-table th {
    text-align: left;
    padding: 14px 18px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-primary);
    opacity: 0.8;
}

/* Row card style */
.members-table tbody tr {
    background: linear-gradient(145deg, #0f1f3a, #0b172c);
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Make row look like a card */
.members-table td {
    padding: 18px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* Rounded corners for row */
.members-table tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.members-table tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Hover effect (like your cards) */
.members-table tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Name styling */
.members-table td:first-child {
    font-weight: 600;
    color: #ffffff;
}

/* GitHub link styling */
.members-table a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.members-table a:hover {
    opacity: 0.7;
}

/* Responsive adjustments for team cards */
@media (max-width: 1024px) {
    .team-card {
        flex: 0 0 220px;
    }

    .team-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .team-carousel-track {
        gap: 1rem;
    }

    .team-card {
        flex: 0 0 200px;
    }

    .team-card-image {
        height: 180px;
    }

    .team-card-content h3 {
        font-size: 0.95rem;
    }

    .team-card-content .role,
    .team-card-content .description {
        font-size: 0.8rem;
    }
}

/* ============================================
   EVENTS LIST - MINIMAL
   ============================================ */

.event-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--light-slate);
    transition: all 0.3s ease;
}

.event-row:hover {
    background: var(--midnight-navy);
    padding-left: 2rem;
    padding-right: 2rem;
    border-color: var(--gold-primary);
}

.event-date {
    font-family: var(--font-sans);
    color: var(--gold-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 150px;
}

.event-title {
    flex: 1;
    font-size: 2rem;
    margin: 0;
    color: var(--text-bright);
}

.event-arrow {
    font-size: 2rem;
    color: var(--gold-primary);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.event-row:hover .event-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Utility */
.text-gold {
    color: var(--gold-primary);
}

.btn {
    /* Re-add generic btn class */
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--gold-primary);
    color: var(--void-black);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--text-bright);
    color: var(--void-black);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        width: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 0 0 16px 16px;
        border: none;
        border-bottom: 1px solid var(--light-slate);
        padding: 1rem;
        max-width: 100%;
    }

    .navbar-hidden {
        transform: translate(-50%, -100%) !important;
    }

    .navbar-logo img {
        height: 40px;
    }

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

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

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

    .bento-card.large {
        grid-column: span 1;
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .luxury-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-tile {
        grid-column: span 1 !important;
    }

    .insights-embed-shell {
        padding: 0.8rem;
        max-width: 100%;
    }

    .insights-iframe-wrap {
        min-height: 250px;
    }

    .insights-caption {
        font-size: 0.88rem;
    }

    .partners-intro {
        text-align: left;
        margin-bottom: 1.8rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .partner-posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .partner-card {
        padding: 1.35rem;
    }

    .partner-about,
    .partner-quote {
        font-size: 0.9rem;
    }

    .partner-embed-shell {
        padding: 0.8rem;
    }

    .partner-embed-frame iframe {
        height: 620px;
    }
}

/* ============================================
   CONTACT CARDS - PREMIUM
   ============================================ */

.contact-cards-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: var(--deep-slate);
    border: 1px solid var(--light-slate);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s var(--ease-luxury);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.1) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold-primary);
    background: rgba(10, 25, 47, 0.95);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 2rem;
    transition: transform 0.4s var(--ease-luxury);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-btn {
    background: var(--gold-primary);
    color: var(--void-black);
}

@media (max-width: 900px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }
}

/* ============================================
   POST-EVENT REPORT STYLES
   ============================================ */

/* TERMINAL FEEDBACK */
.terminal-container {
    background: #1e1e1e;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 4rem auto;
    max-width: 800px;
    font-family: "Fira Code", "Courier New", monospace;
    overflow: hidden;
    border: 1px solid #333;
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red {
    background: #ff5f56;
}

.terminal-dot.yellow {
    background: #ffbd2e;
}

.terminal-dot.green {
    background: #27c93f;
}

.terminal-body {
    padding: 2rem;
    color: #d4d4d4;
    font-size: 0.95rem;
    line-height: 1.6;
}

.command-line {
    color: #4af626;
    /* Terminal Green */
    margin-bottom: 1rem;
}

.command-output {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: block;
}

/* WINNERS HIGHLIGHT */
.winner-card {
    position: relative;
    overflow: hidden;
}

.winner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.winner-card.gold {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.winner-card.silver {
    border-color: #c0c0c0;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.1);
}

.winner-card.bronze {
    border-color: #cd7f32;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.1);
}

/* REPORT TYPOGRAPHY */
.report-content h3 {
    color: var(--gold-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.report-content p {
    margin-bottom: 1.5rem;
}

/* ============================================
   HERO SPLIT - LUXURY POSTER LAYOUT
   ============================================ */

/* Define generic fadeIn if missing */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-split {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    /* Increased gap */
    padding: 120px 5% 4rem;
    /* More top padding for safe navbar clearance */
    overflow: hidden;
    max-width: 1600px;
    /* Constrain on ultra-wide screens */
    margin: 0 auto;
}

.hero-split-text {
    flex: 1;
    z-index: 2;
    text-align: left;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    /* Fixed: fadeUp -> fadeInUp */
    opacity: 0;
    /* Ensure it starts invisible for animation */
}

.hero-split-text h1 {
    font-size: 4rem;
    /* Adjusted for better fit */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-split-text p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-split-image {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Center image in its half */
    align-items: center;
    z-index: 2;
    position: relative;
    animation: fadeIn 1.2s ease-in-out forwards;
    opacity: 0;
    /* Ensure start invisible */
}

.hero-split-image img {
    width: 100%;
    max-width: 450px;
    /* Increased slightly */
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(2000px) rotateY(-10deg) rotateX(2deg);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(5px);
}

.hero-split-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: var(--gold-primary);
    filter: blur(90px);
    opacity: 0.15;
    z-index: -1;
}

.hero-split-image img:hover {
    transform: perspective(2000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-split {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        padding-top: 150px;
        /* Even more clickable space */
        gap: 3rem;
        height: auto;
        min-height: auto;
    }

    .hero-split-text {
        text-align: center;
        flex: auto;
        order: 1;
        /* Ensure text is first */
    }

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

    .hero-split-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-split-image {
        flex: auto;
        width: 100%;
        order: 2;
        margin-bottom: 2rem;
    }

    .hero-split-image img {
        max-width: 350px;
        transform: none;
        /* No tilt on mobile */
    }
}

/* ============================================
   SCROLLING GALLERY (MARQUEE)
   ============================================ */
.scrolling-gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

.scrolling-gallery-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.scrolling-gallery-track:hover {
    animation-play-state: paused;
}

.scrolling-gallery-item {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.scrolling-gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.scrolling-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the combined width */
    }
}

/* ============================================
   LIGHTBOX MODAL
   ============================================ */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--gold-primary);
}

/* MODAL STYLES */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(
        2,
        12,
        27,
        0.9
    ); /* Dark semi-transparent background */
}

.modal-content {
    background-color: var(--dark-navy-alt);
    padding: 2rem;
    border: 1px solid var(--gold-primary);
    border-radius: 8px;
    max-width: 900px;
    width: 90%; /* Responsive width */
    position: absolute; /* Position relative to .modal */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
    box-shadow: var(--glass-shadow);
    animation: fadeInScale 0.3s ease-out;
}

.close-button {
    color: var(--text-light);
    font-size: 2.5rem; /* Make 'X' larger */
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

/* Animation for modal entry */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    .close-button {
        font-size: 2rem;
        top: 5px;
        right: 15px;
    }
}

/* NEWS TICKER */
.news-ticker {
    display: block;
    background: var(--gold-primary);
    color: var(--void-black);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    z-index: 100;
    text-decoration: none;
    cursor: pointer;
}

.news-ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: news-ticker-scroll 30s linear infinite;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.news-ticker:hover .news-ticker-content {
    animation-play-state: paused;
}

@keyframes news-ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* MEMBERSHIP BANNER – Centred content, scrolling perks, scroll reveal */
.membership-banner {
    overflow: hidden;
}

.membership-banner.section-padding {
    padding: 3.5rem 0;
}

.membership-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.membership-banner-inner .section-title {
    margin-bottom: 1rem;
}

/* Main text centred */
.membership-tagline {
    max-width: 720px;
    margin: 0 auto 1.25rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--deep-slate);
    text-align: center;
}

/* Scroll-in transition: content starts hidden, reveals when section is in view */
.membership-banner .membership-reveal-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s var(--ease-luxury), transform 0.55s var(--ease-luxury);
}

.membership-banner.is-visible .section-title.membership-reveal-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.membership-banner.is-visible .membership-tagline.membership-reveal-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

.membership-banner.is-visible .membership-perks-wrap.membership-reveal-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.24s;
}

.membership-banner.is-visible .membership-btn.membership-reveal-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.36s;
}

.membership-perks-wrap {
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0.75rem 0;
    position: relative;
}

.membership-perks-wrap::before,
.membership-perks-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.membership-perks-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--gold-primary), transparent);
}

.membership-perks-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--gold-primary), transparent);
}

.membership-perks-track {
    display: flex;
    width: max-content;
    animation: membership-perks-scroll 35s linear infinite;
}

.perks-set {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    padding: 0 0.5rem;
}


.perk-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    color: var(--midnight-navy);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    background: rgba(2, 12, 27, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(2, 12, 27, 0.15);
    flex-shrink: 0;
    transition: background 0.25s var(--ease-luxury), transform 0.25s var(--ease-luxury);
}

.membership-btn {
    margin-top: 1.25rem;
}

.perk-item i {
    color: var(--deep-slate);
    font-size: 0.9rem;
}

.perk-item:hover {
    background: rgba(2, 12, 27, 0.14);
    transform: scale(1.04);
}

@keyframes membership-perks-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .perks-set {
        gap: 1rem;
    }
    .membership-perks-track {
        animation-duration: 45s;
    }
    .perk-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }
    .membership-perks-wrap::before,
    .membership-perks-wrap::after {
        width: 40px;
    }
}



/* ============================================
   BLOGS & NEWSLETTERS HUB PAGE
   ============================================ */

.blogs-hub-page .section-header {
    gap: 1rem;
    flex-wrap: wrap;
}

.blogs-hub-page .section-header h2 {
    margin-bottom: 0;
}

.blogs-hub-page .section-header .subtitle {
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.08);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.38rem 0.85rem;
    font-size: 0.78rem;
}

.bn-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8.5rem 2rem 4.5rem;
}

.bn-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) brightness(0.42);
}

.bn-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 20%, rgba(212, 175, 55, 0.24), transparent 36%),
        radial-gradient(circle at 88% 16%, rgba(89, 143, 227, 0.2), transparent 38%),
        linear-gradient(180deg, rgba(2, 12, 27, 0.72) 0%, rgba(2, 12, 27, 0.92) 100%);
}

.bn-hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    text-align: center;
}

.bn-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.88rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold-primary);
    font-size: 0.78rem;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    background: rgba(2, 12, 27, 0.5);
}

.bn-hero-content h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 1.08;
}

.bn-hero-content p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--silver-accent);
}

.bn-hero-stats {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    justify-content: center;
}

.bn-hero-stats span {
    border: 1px solid rgba(136, 146, 176, 0.45);
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    background: rgba(2, 12, 27, 0.4);
}

.bn-section {
    background:
        radial-gradient(circle at 12% 20%, rgba(212, 175, 55, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(10, 25, 47, 0.96) 0%, rgba(17, 34, 64, 0.88) 100%);
}

.bn-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.bn-card {
    background: linear-gradient(165deg, rgba(17, 34, 64, 0.97) 0%, rgba(10, 25, 47, 0.95) 100%);
    border: 1px solid var(--light-slate);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease-luxury), border-color 0.35s var(--ease-luxury);
}

.bn-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.75);
}

.bn-thumb {
    height: 178px;
    overflow: hidden;
}

.bn-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.84);
    transition: transform 0.55s var(--ease-luxury), filter 0.55s var(--ease-luxury);
}

.bn-card:hover .bn-thumb img {
    transform: scale(1.06);
    filter: brightness(0.95);
}

.bn-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.68rem;
    flex: 1;
}

.bn-kicker {
    color: var(--gold-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.bn-card-content h3 {
    margin: 0;
    font-size: 1.15rem;
}

.bn-card-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bn-meta {
    margin-top: 0.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.bn-meta i {
    color: var(--gold-primary);
}

.bn-link-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    border-radius: 999px;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 0.5rem 0.88rem;
    text-transform: uppercase;
}

.bn-link-btn:hover {
    background: rgba(212, 175, 55, 0.12);
}

.bn-newsletter-section {
    background:
        radial-gradient(circle at 84% 20%, rgba(91, 146, 225, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(17, 34, 64, 0.9) 0%, rgba(10, 25, 47, 1) 100%);
}

.bn-newsletter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.bn-newsletter-card {
    background: linear-gradient(160deg, rgba(17, 34, 64, 0.97) 0%, rgba(10, 25, 47, 0.95) 100%);
    border: 1px solid var(--light-slate);
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.bn-newsletter-card .bn-issue {
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    font-size: 0.75rem;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.bn-newsletter-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.bn-newsletter-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bn-newsletter-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    display: grid;
    gap: 0.42rem;
    font-size: 0.86rem;
}

.bn-links-section {
    background: linear-gradient(180deg, rgba(10, 25, 47, 1) 0%, rgba(17, 34, 64, 0.86) 100%);
}

.bn-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.bn-evidence-card {
    background: rgba(2, 12, 27, 0.5);
    border: 1px solid var(--light-slate);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.bn-evidence-card i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.bn-evidence-card h3 {
    margin: 0;
    font-size: 1.04rem;
}

.bn-evidence-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.bn-evidence-card:hover {
    border-color: rgba(212, 175, 55, 0.72);
    transform: translateY(-4px);
}

.bn-cta-section {
    background: linear-gradient(180deg, rgba(17, 34, 64, 0.86) 0%, rgba(2, 12, 27, 1) 100%);
}

.bn-cta-box {
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(130deg, rgba(17, 34, 64, 0.97) 0%, rgba(10, 25, 47, 0.96) 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.bn-cta-box h2 {
    margin-bottom: 0.75rem;
}

.bn-cta-box p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

.bn-cta-actions {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

.bn-secondary-btn {
    border-color: rgba(136, 146, 176, 0.5);
    color: var(--text-muted);
}

@media (max-width: 1200px) {
    .bn-card-grid,
    .bn-newsletter-grid,
    .bn-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .bn-hero {
        min-height: 64vh;
        padding: 7.5rem 1.2rem 3.6rem;
    }

    .bn-hero-content p {
        font-size: 0.95rem;
    }

    .bn-card-grid,
    .bn-newsletter-grid,
    .bn-link-grid {
        grid-template-columns: 1fr;
    }

    .bn-thumb {
        height: 165px;
    }

    .bn-card-content,
    .bn-newsletter-card,
    .bn-evidence-card {
        padding: 0.95rem;
    }

    .bn-cta-box {
        padding: 1.2rem;
    }
}

/* ============================================
   BEST TECHNICAL CHAPTER AWARD SECTION — COMPACT
   ============================================ */

.best-chapter-section {
    background: linear-gradient(180deg, var(--void-black) 0%, var(--midnight-navy) 50%, var(--void-black) 100%);
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.best-chapter-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Two-column container */
.bc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* ── LEFT COLUMN ── */
.bc-left-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Badge + title inline row */
.bc-title-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Trophy badge — smaller for compact layout */
.award-badge-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.award-badge {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #d4af37, #aa8c2c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 32px rgba(212, 175, 55, 0.4), 0 0 64px rgba(212, 175, 55, 0.15);
    z-index: 2;
    position: relative;
    animation: badgePulse 3s ease-in-out infinite;
}

.award-badge-icon {
    font-size: 2.6rem;
    line-height: 1;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 24px rgba(212, 175, 55, 0.4), 0 0 48px rgba(212, 175, 55, 0.12); }
    50%       { box-shadow: 0 0 36px rgba(212, 175, 55, 0.6), 0 0 72px rgba(212, 175, 55, 0.22); }
}

.award-rays {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; height: 120px;
    background: conic-gradient(
        rgba(212, 175, 55, 0.1) 0deg, transparent 20deg,
        rgba(212, 175, 55, 0.1) 40deg, transparent 60deg,
        rgba(212, 175, 55, 0.1) 80deg, transparent 100deg,
        rgba(212, 175, 55, 0.1) 120deg, transparent 140deg,
        rgba(212, 175, 55, 0.1) 160deg, transparent 180deg,
        rgba(212, 175, 55, 0.1) 200deg, transparent 220deg,
        rgba(212, 175, 55, 0.1) 240deg, transparent 260deg,
        rgba(212, 175, 55, 0.1) 280deg, transparent 300deg,
        rgba(212, 175, 55, 0.1) 320deg, transparent 340deg,
        rgba(212, 175, 55, 0.1) 360deg
    );
    border-radius: 50%;
    animation: rotateRays 20s linear infinite;
    z-index: 1;
}

@keyframes rotateRays {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.bc-title-text {
    display: flex;
    flex-direction: column;
}

.best-chapter-title {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 0;
    color: var(--text-bright);
}

.best-chapter-subtitle-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.best-chapter-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.best-chapter-desc strong {
    color: var(--gold-primary);
    font-weight: 600;
}

/* Compact stats chips — 3 per row */
.bc-stats-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.bc-chip {
    background: var(--deep-slate);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    transition: all 0.3s var(--ease-luxury);
    position: relative;
    overflow: hidden;
}

.bc-chip::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-luxury);
}

.bc-chip:hover::after { transform: scaleX(1); }

.bc-chip:hover {
    border-color: rgba(212, 175, 55, 0.25);
    background: var(--light-slate);
    transform: translateY(-3px);
}

.bc-chip.bc-chip-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(170, 140, 44, 0.04));
    border-color: rgba(212, 175, 55, 0.25);
}

.bc-chip.bc-chip-purple {
    background: linear-gradient(135deg, rgba(100, 60, 180, 0.12), rgba(212, 175, 55, 0.05));
    border-color: rgba(130, 80, 220, 0.25);
}

.bc-chip-num {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    display: block;
    text-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

.bc-chip-lbl {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
}

/* Inline partners row */
.bc-partners-inline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding-top: 0.25rem;
}

.bc-partners-label {
    color: var(--text-dim);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    margin-bottom: 0;
}

.bc-partner-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50px;
    color: var(--gold-primary);
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-sans);
    background: rgba(212, 175, 55, 0.05);
    transition: all 0.3s var(--ease-luxury);
}

.bc-partner-pill:hover {
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-2px);
}

/* ── RIGHT COLUMN ── */
.bc-right-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bc-gallery-header {
    display: flex;
    flex-direction: column;
}

.bc-gallery-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 0;
    font-weight: 600;
}

/* Gallery grid — cert left, photos stacked right */
.bc-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1rem;
    height: 420px;
}

.bc-gallery-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bc-gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.bc-gallery-item.bc-gallery-cert {
    height: 100%;
}

.bc-gallery-right .bc-gallery-item {
    flex: 1;
    min-height: 0;
}

.bc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-luxury), filter 0.3s ease;
    filter: brightness(0.88);
}

.bc-gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.bc-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 12, 27, 0.8) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bc-gallery-item:hover .bc-gallery-overlay { opacity: 1; }

.bc-gallery-overlay span {
    color: var(--text-bright);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    padding: 0.25rem 0.6rem;
    backdrop-filter: blur(4px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .bc-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bc-gallery-grid {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .best-chapter-title {
        font-size: 1.5rem;
    }

    .bc-stats-chips {
        grid-template-columns: repeat(3, 1fr);
    }

    .bc-gallery-grid {
        height: 220px;
    }

    .bc-title-row {
        gap: 1rem;
    }

    .award-badge {
        width: 56px;
        height: 56px;
    }

    .award-badge-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bc-stats-chips {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .bc-chip-num {
        font-size: 1.1rem;
    }

    .bc-gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .bc-gallery-item.bc-gallery-cert {
        height: 240px;
    }

    .bc-gallery-right {
        flex-direction: row;
        gap: 0.5rem;
    }

    .bc-gallery-right .bc-gallery-item {
        height: 140px;
        flex: 1;
    }
}

/* ============================================
   HERO VICTORY STRIP
   ============================================ */

.hero-victory-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.92) 0%, rgba(170, 140, 44, 0.92) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    padding: 0.75rem 0;
    z-index: 20;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-victory-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
    animation: hvScroll 30s linear infinite;
    width: max-content;
}

@keyframes hvScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hv-item {
    color: var(--void-black);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.hv-sep {
    color: rgba(2, 12, 27, 0.45);
    font-size: 0.7rem;
    flex-shrink: 0;
}
