/* ========== ROOT DESIGN TOKENS ========== */
:root {
    --color-primary: #001055;
    --color-primary-hover: #001866;
    --color-primary-light: #1a2a6c;
    --color-neutral-soft: #e5e7eb;
    --color-accent-soft: #ffb36b;
    --color-accent: #ff7900;
    --color-accent-hover: #ff8f26;
    --color-accent-glow: rgba(255, 121, 0, 0.4);
    --color-bg-base: #ffffff;
    --color-bg-soft: #f8f9fa;
    --color-bg-muted: #f1f3f5;
    --color-text-primary: #454545;
    --color-text-secondary: #58595b;
    --color-text-muted: #6b7280;
    --color-text-inverse: #ffffff;
    --color-border: #dee2e6;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-strong: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: 20px;
    --gradient-primary: linear-gradient(
        135deg,
        #001055 0%,
        #1a2a6c 50%,
        #001866 100%
    );
    --gradient-accent: linear-gradient(135deg, #ff7900 0%, #ff9f40 100%);
    --gradient-hero-overlay: linear-gradient(
        135deg,
        rgba(0, 16, 85, 0.92) 0%,
        rgba(26, 42, 108, 0.82) 50%,
        rgba(0, 24, 102, 0.88) 100%
    );
    --shadow-soft: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --shadow-card-hover:
        0 20px 40px -12px rgba(0, 16, 85, 0.25),
        0 8px 16px -8px rgba(0, 0, 0, 0.1);
    --radius-xl: 1rem;
    --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1.2vw + 10px, 18px); /* Fluid base typography */
    overflow-x: hidden;
}
body {
    font-family: "Space Grotesk", sans-serif;
    color: var(--color-text-primary);
    background: var(--color-bg-base);
    overflow-x: hidden;
    line-height: 1.7;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease-premium);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw; /* Fluid base padding */
}

/* ========== SCROLL PROGRESS BAR ========== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 10001;
    transition: width 0.1s linear;
    width: 0;
}

/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s var(--ease-premium);
}
#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}
.preloader-icon {
    width: 80px;
    height: 80px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}
.preloader-text {
    color: var(--color-text-inverse);
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.8;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1.4rem 3.5rem;
    transition: all 0.5s var(--ease-premium);
}
.navbar.scrolled {
    padding: 0.55rem 3.5rem;
    background: rgba(0, 16, 85, 0.92);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    box-shadow:
        0 1px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
/* Reduce navbar padding + font on very wide screens so it doesn't dominate */
@media (min-width: 1400px) {
    .navbar {
        padding: 1rem 4rem;
    }
    .navbar.scrolled {
        padding: 0.5rem 4rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-logo-img {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease-premium);
}
.nav-logo-img img {
    width: 100%;
    height: 100%;
    /* object-fit: contain;
    border-radius: 50%; */
}
.nav-logo:hover .nav-logo-img {
    transform: scale(1.08);
}
.nav-logo-text {
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--color-text-inverse);
    letter-spacing: 0.5px;
}
.nav-logo-text span {
    color: var(--color-accent);
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
}
.nav-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.45rem 0.95rem;
    border-radius: 8px;
    transition: all 0.3s var(--ease-premium);
    position: relative;
    letter-spacing: 0.01em;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}
.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: all 0.35s var(--ease-premium);
    transform: translateX(-50%);
    border-radius: 2px;
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 50%;
}
.nav-cta {
    background: var(--gradient-accent) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0.55rem 1.5rem !important;
    border-radius: 50px !important;
    box-shadow: 0 2px 12px var(--color-accent-glow);
    transition: all 0.35s var(--ease-premium) !important;
    font-family: "Space Grotesk", sans-serif !important;
    letter-spacing: 0.02em;
}
.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px var(--color-accent-glow) !important;
}
.nav-cta::after {
    display: none !important;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 10000;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s var(--ease-premium);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== PREMIUM HERO ========== */
.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #020b2e
        url("https://cdn.jsdelivr.net/gh/Adi15Jain/assets@main/icetcd/hero-bg.jpeg")
        center/cover no-repeat;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.6; /* Tone down the noise from three.js */
}

/* Sophisticated deep gradient overlay */
.hero-premium-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(2, 11, 46, 0.4) 0%,
            rgba(2, 11, 46, 0.85) 60%,
            rgba(2, 11, 46, 0.98) 100%
        ),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #020b2e 100%);
    z-index: 2;
}

/* Centered layout */
.hero-premium-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 6rem 5% 2rem; /* top pad clears the fixed navbar */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hero animation system */
.hero-anim {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.hero-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-accent-soft);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-accent);
}
@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.5);
    }
}

/* Premium Title */
.hero-title-premium {
    font-family: "Outfit", sans-serif;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.accent-gradient {
    background: linear-gradient(135deg, #ea8c35 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Subtitle */
.hero-subtitle-premium {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    margin-bottom: 3.5rem;
}

/* Details Inline Row (No glass boxes) */
.hero-details-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}
.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.detail-item i {
    color: var(--color-accent);
    font-size: 1.1rem;
}
.detail-separator {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* Clean CTAs */
.hero-ctas-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.btn-premium-primary {
    background: #ffffff;
    color: #020b2e;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}
.btn-premium-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: #f0f0f0;
}
.btn-premium-secondary {
    background: transparent;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-premium-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}
.scroll-dot {
    width: 3px;
    height: 12px;
    background: #ffffff;
    border-radius: 4px;
    position: absolute;
    left: -1px;
    top: -12px;
    animation: scroll-bounce 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes scroll-bounce {
    0% {
        top: -12px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        top: 60px;
        opacity: 0;
    }
}
.scroll-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* Hero Responsive — large up */
@media (min-width: 1400px) {
    .hero-premium-content {
        padding-top: 8rem; /* Navbar is taller proportionally on big screens */
        max-width: 1400px;
    }
    .hero-title-premium {
        font-size: clamp(4rem, 5.5vw, 7.5rem);
    }
}
@media (min-width: 1800px) {
    .hero-premium-content {
        padding-top: 10rem;
    }
}
/* Hero Responsive — medium down */
@media (max-width: 992px) {
    .hero-premium-content {
        padding-top: 5rem;
    }
    .hero-details-row {
        gap: 1.2rem;
    }
    .detail-item {
        font-size: 0.95rem;
    }
}
@media (max-width: 768px) {
    .hero-details-row {
        flex-direction: column;
        gap: 1rem;
    }
    .detail-separator {
        display: none;
    }
    .hero-ctas-premium {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .btn-premium-primary,
    .btn-premium-secondary {
        width: 100%;
        max-width: 300px;
        padding: 0.9rem 2rem;
    }
}

/* ========== SECTION COMMON ========== */
.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.section-dark {
    background: var(--gradient-primary);
    color: var(--color-text-inverse);
}
.section-soft {
    background: var(--color-bg-soft);
}
.section-muted {
    background: var(--color-bg-muted);
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-badge {
    display: inline-block;
    background: linear-gradient(
        135deg,
        rgba(255, 121, 0, 0.1),
        rgba(255, 121, 0, 0.05)
    );
    color: var(--color-accent);
    font-family: "Outfit", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 121, 0, 0.2);
    margin-bottom: 1rem;
}
.section-dark .section-badge {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: var(--color-accent-soft);
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}
.section-dark .section-title {
    color: var(--color-text-inverse);
}
.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    margin: 0 auto;
    border-radius: 3px;
}
.section-desc {
    max-width: 700px;
    margin: 0.8rem auto 0;
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}
.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* ========== GLASS CARD ========== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.4s var(--ease-premium);
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}
.card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--ease-premium);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

/* ========== ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-premium);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--ease-premium);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--ease-premium);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s var(--ease-premium);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}
.stagger-1 {
    transition-delay: 0.1s;
}
.stagger-2 {
    transition-delay: 0.2s;
}
.stagger-3 {
    transition-delay: 0.3s;
}
.stagger-4 {
    transition-delay: 0.4s;
}
.stagger-5 {
    transition-delay: 0.5s;
}
.stagger-6 {
    transition-delay: 0.6s;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes pulse-glow {
    0%,
    100% {
        box-shadow: 0 0 20px var(--color-accent-glow);
    }
    50% {
        box-shadow: 0 0 40px var(--color-accent-glow);
    }
}

/* ========== ABOUT SECTION — ICISSE-STYLE PREMIUM ========== */

/* --- Full-bleed 90vh section with warm gradient (ICISSE pattern) --- */
.about-section {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(170deg, #f8f6f3 0%, #eef1f8 50%, #f5f0eb 100%);
    padding: 2.5rem 5%;
}

/* Three.js canvas fills entire section */
#about-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}
#about-canvas.visible {
    opacity: 1;
}

/* --- Layout container (no glass — content directly on section) --- */
.about-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- Section heading --- */
.about-header {
    text-align: center;
    margin-bottom: 3rem;
}
.about-header .section-badge {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
}
.about-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

/* Glowing accent underline */
.about-title-line {
    width: 10%;
    height: 5px;
    margin: 0 auto;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* --- Asymmetric split layout (ICISSE-style grid) --- */
.about-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: stretch;
    width: 100%;
}

/* Left: rich text content */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

/* --- Glassmorphic text cards (frosted white on light bg) --- */
.about-text-card {
    position: relative;
    padding: 1.8rem 2rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 4px 24px rgba(0, 16, 85, 0.06);
    overflow: hidden;
    transition: all 0.35s var(--ease-premium);
}

/* Accent left-edge bar (scales in on hover) */
.about-text-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transition: transform 0.35s var(--ease-premium);
    transform-origin: bottom;
}

.about-text-card:hover {
    transform: translateY(-5px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 36px rgba(0, 16, 85, 0.1);
    border-color: rgba(255, 121, 0, 0.2);
}
.about-text-card:hover::before {
    transform: scaleY(1);
}

.about-paragraph {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* Right: cards stack */
.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- Feature cards (ICISSE dark-gradient style) --- */
.about-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #001055 0%, #1a2a6c 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 16, 85, 0.15);
    cursor: default;
    overflow: hidden;
    transition: all 0.35s var(--ease-premium);
    will-change: transform;
}

/* Accent left-edge bar (scales in on hover) */
.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transition: transform 0.35s var(--ease-premium);
    transform-origin: bottom;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 16, 85, 0.35);
    border-color: rgba(255, 121, 0, 0.4);
    background: linear-gradient(135deg, #001866 0%, #1a2a6c 100%);
}
.about-card:hover::before {
    transform: scaleY(1);
}

/* Card glow overlay (follows cursor on hover) */
.about-card-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    opacity: 0;
    background: radial-gradient(
        circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(255, 121, 0, 0.1) 0%,
        transparent 60%
    );
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.about-card:hover .about-card-glow {
    opacity: 1;
}

/* Card icon */
.about-card-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 12px;
    background: rgba(255, 121, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: all 0.35s var(--ease-premium);
}
.about-card:hover .about-card-icon {
    background: rgba(255, 121, 0, 0.3);
    transform: scale(1.08);
}

/* Card body */
.about-card-body {
    position: relative;
    z-index: 1;
}
.about-card-body h4 {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4rem;
}
.about-card-body p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Entrance animations --- */
.about-anim {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.85s var(--ease-premium),
        transform 0.85s var(--ease-premium);
}
.about-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive — Tablet --- */
@media (max-width: 1024px) {
    .about-container {
        padding: 0;
    }
    .about-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* --- Responsive — Mobile --- */
@media (max-width: 768px) {
    .about-section {
        padding: 5vh 5vw;
        min-height: auto;
    }
    .about-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 2vh;
    }
    .about-paragraph {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }
    .about-text-card {
        padding: 2.5vh 5vw;
    }
    .about-card {
        padding: 2vh 4vw;
        gap: 3vw;
    }
    .about-card-icon {
        width: clamp(40px, 12vw, 54px);
        height: clamp(40px, 12vw, 54px);
        min-width: clamp(40px, 12vw, 54px);
    }
    .about-card-body h4 {
        font-size: clamp(1rem, 4vw, 1.15rem);
        margin-bottom: 0.5vh;
    }
    .about-card-body p {
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 4vh 4vw;
    }
    .about-split {
        gap: 4vh;
    }
}

/* ========== KEYNOTE SPEAKER — PREMIUM DARK SECTION ========== */

/* --- Full-bleed section with rich layered background --- */
.speaker-section {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            ellipse 80% 60% at 70% 20%,
            rgba(255, 121, 0, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 60% 50% at 20% 80%,
            rgba(100, 60, 255, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 70% 55% at 50% 50%,
            rgba(0, 180, 220, 0.06) 0%,
            transparent 50%
        ),
        linear-gradient(
            170deg,
            #020b2e 0%,
            #0a1444 30%,
            #110a30 60%,
            #0d0820 100%
        );
    padding: clamp(4rem, 8vh, 7rem) 5%;
}

/* Animated aurora gradient mesh overlay */
.speaker-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 50% 40% at 80% 30%,
            rgba(255, 100, 0, 0.12) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse 45% 50% at 15% 70%,
            rgba(120, 40, 255, 0.1) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse 55% 35% at 50% 10%,
            rgba(0, 200, 255, 0.07) 0%,
            transparent 50%
        );
    z-index: 0;
    animation: speakerAurora 12s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes speakerAurora {
    0% {
        opacity: 0.6;
        transform: scale(1) translate(0, 0);
    }
    33% {
        opacity: 0.9;
        transform: scale(1.05) translate(15px, -10px);
    }
    66% {
        opacity: 0.7;
        transform: scale(0.98) translate(-10px, 8px);
    }
    100% {
        opacity: 1;
        transform: scale(1.03) translate(5px, -5px);
    }
}

/* Subtle dot-grid pattern overlay */
.speaker-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.035) 1px,
        transparent 1px
    );
    background-size: 28px 28px;
    z-index: 0;
    pointer-events: none;
}

/* --- Floating decorative blobs (animated, vivid) --- */
.speaker-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.speaker-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(255, 121, 0, 0.35) 0%,
        rgba(255, 60, 0, 0.1) 40%,
        transparent 70%
    );
    top: -15%;
    right: -8%;
    filter: blur(60px);
    opacity: 0.5;
    animation: speakerFloat1 9s ease-in-out infinite;
}
.speaker-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(80, 120, 255, 0.3) 0%,
        rgba(60, 40, 200, 0.1) 40%,
        transparent 70%
    );
    bottom: -12%;
    left: -5%;
    filter: blur(70px);
    opacity: 0.45;
    animation: speakerFloat2 11s ease-in-out infinite;
}
.speaker-shape-3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(
        circle,
        rgba(180, 50, 255, 0.3) 0%,
        rgba(120, 0, 200, 0.08) 45%,
        transparent 70%
    );
    top: 20%;
    left: 10%;
    filter: blur(65px);
    opacity: 0.4;
    animation: speakerFloat3 13s ease-in-out infinite;
}

@keyframes speakerFloat1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-35px, 20px) scale(1.1);
    }
    66% {
        transform: translate(15px, -10px) scale(0.95);
    }
}
@keyframes speakerFloat2 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -25px) scale(1.08);
    }
    66% {
        transform: translate(-20px, 15px) scale(0.97);
    }
}
@keyframes speakerFloat3 {
    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-20px, -35px) scale(1.12) rotate(3deg);
    }
}

/* --- Layout container --- */
.speaker-container {
    position: relative;
    z-index: 2;
    max-width: min(900px, 90vw);
    margin: 0 auto;
    width: 100%;
}
@media (min-width: 1400px) {
    .speaker-container {
        max-width: 1000px;
    }
    .speaker-card {
        padding: 3rem;
        gap: 3rem;
    }
    .speaker-photo-wrap {
        width: 220px;
        height: 220px;
    }
    .speaker-img {
        width: 200%;
        height: 200%;
    }
    .speaker-name {
        font-size: 1.9rem;
    }
}

/* --- Section heading (light on dark) --- */
.speaker-header {
    text-align: center;
    margin-bottom: 3rem;
}
.speaker-badge {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--color-accent-soft) !important;
}
.speaker-title-heading {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}
.speaker-title-line {
    width: 10%;
    height: 5px;
    margin: 0 auto;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* --- Glassmorphic speaker card --- */
.speaker-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2.3rem 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all 0.45s var(--ease-premium);
    will-change: transform;
}

/* Accent left-edge bar */
.speaker-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transition: transform 0.4s var(--ease-premium);
    transform-origin: bottom;
    z-index: 3;
}
.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 121, 0, 0.25);
    background: rgba(255, 255, 255, 0.06);
}
.speaker-card:hover::before {
    transform: scaleY(1);
}

/* Cursor-following glow on the card */
.speaker-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    opacity: 0;
    background: radial-gradient(
        600px circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(255, 121, 0, 0.08) 0%,
        transparent 50%
    );
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.speaker-card:hover .speaker-card-glow {
    opacity: 1;
}

/* --- Speaker photo with animated ring --- */
.speaker-photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    z-index: 1;
}
.speaker-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #001055 0%, #1a2a6c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(255, 121, 0, 0.1);
}
.speaker-photo i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}
.speaker-img {
    width: 200%;
    height: 200%;
    object-fit: cover;
    object-position: right center;
    transform: translate(-10%, -5%);
    border-radius: 50%;
}

/* Animated spinning gradient ring around photo */
.speaker-photo-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--color-accent),
        var(--color-primary),
        rgba(160, 68, 255, 0.6),
        var(--color-accent)
    );
    animation: spin 6s linear infinite;
    z-index: 0;
}
.speaker-photo-ring::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #001055 0%, #1a2a6c 100%);
}

/* Pulse glow behind photo */
.speaker-photo-wrap::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 121, 0, 0.15) 0%,
        transparent 70%
    );
    animation: speakerPulse 3s ease-in-out infinite;
    z-index: -1;
}
@keyframes speakerPulse {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.08);
    }
}

/* --- Speaker details text --- */
.speaker-details {
    position: relative;
    z-index: 1;
    flex: 1;
}
.speaker-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-soft);
    margin-bottom: 0.8rem;
}
.speaker-flag i {
    font-size: 0.75rem;
}
.speaker-name {
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.speaker-role {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}
.speaker-role i {
    font-size: 0.85rem;
}
.speaker-affiliation {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}
.speaker-affiliation i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}
.speaker-bio {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin: 0;
}

/* --- Entrance animations --- */
.speaker-anim {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.85s var(--ease-premium),
        transform 0.85s var(--ease-premium);
}
.speaker-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive — Tablet/Mobile --- */
@media (max-width: 768px) {
    .speaker-section {
        padding: 6vh 5vw;
        height: auto;
        min-height: auto;
    }
    .speaker-card {
        flex-direction: column;
        text-align: center;
        padding: 4vh 6vw;
        gap: 3vh;
    }
    .speaker-photo-wrap {
        width: clamp(140px, 35vw, 180px);
        height: clamp(140px, 35vw, 180px);
    }
    .speaker-name {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 0.5vh;
    }
    .speaker-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .speaker-role {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        margin-bottom: 1vh;
    }
    .speaker-affiliation {
        justify-content: center;
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        margin-bottom: 2vh;
    }
    .speaker-bio {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
    }
    .speaker-title-heading {
        font-size: clamp(2rem, 6vw, 2.8rem);
        margin-bottom: 1.5vh;
    }
}
@media (max-width: 480px) {
    .speaker-section {
        padding: 4vh 4vw;
    }
    .speaker-card {
        padding: 3vh 5vw;
    }
    .speaker-photo-wrap {
        width: clamp(120px, 40vw, 150px);
        height: clamp(120px, 40vw, 150px);
    }
}

/* ========== WHY ATTEND — PREMIUM LIGHT SECTION ========== */

/* --- Full-bleed section with warm light gradient --- */
.why-section {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            ellipse 80% 60% at 75% 15%,
            rgba(255, 121, 0, 0.15) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse 65% 55% at 10% 80%,
            rgba(0, 60, 200, 0.12) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 55% 45% at 50% 50%,
            rgba(160, 68, 255, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 70% 40% at 90% 70%,
            rgba(255, 200, 60, 0.1) 0%,
            transparent 50%
        ),
        linear-gradient(
            160deg,
            #fdf5ed 0%,
            #eae4f6 30%,
            #dce8f8 55%,
            #fef0e3 80%,
            #e8edf8 100%
        );
    padding: 4rem 5%;
}

/* Subtle dot-grid pattern */
.why-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(0, 16, 85, 0.05) 1px,
        transparent 1px
    );
    background-size: 28px 28px;
    z-index: 0;
    pointer-events: none;
}

/* --- Large coloured floating shapes (ICISSE-style) --- */
.why-float {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

/* Shape 1: Large warm orange circle — top-right */
.why-float-1 {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 121, 0, 0.12);
    top: -6%;
    right: -4%;
    filter: blur(2px);
    animation: whyDrift1 16s ease-in-out infinite;
}

/* Shape 2: Large deep blue rounded rect — bottom-left */
.why-float-2 {
    width: 220px;
    height: 220px;
    border-radius: 30%;
    background: rgba(0, 16, 85, 0.08);
    bottom: -4%;
    left: -3%;
    filter: blur(2px);
    animation: whyDrift2 20s ease-in-out infinite;
}

/* Shape 3: Medium purple circle — centre-left */
.why-float-3 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(160, 68, 255, 0.1);
    top: 35%;
    left: 6%;
    filter: blur(2px);
    animation: whyDrift3 18s ease-in-out infinite;
}

/* Shape 4: Small teal rounded rect — top-centre */
.why-float-4 {
    width: 140px;
    height: 140px;
    border-radius: 35%;
    background: rgba(0, 180, 220, 0.09);
    top: 5%;
    left: 40%;
    filter: blur(2px);
    animation: whyDrift4 22s ease-in-out infinite;
}

/* Shape 5: Medium pink/rose circle — bottom-right */
.why-float-5 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 80, 130, 0.08);
    bottom: 8%;
    right: 8%;
    filter: blur(2px);
    animation: whyDrift5 24s ease-in-out infinite;
}

/* --- Smooth drifting keyframes --- */
@keyframes whyDrift1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-30px, 20px) scale(1.06);
    }
    66% {
        transform: translate(15px, -15px) scale(0.97);
    }
}
@keyframes whyDrift2 {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(25px, -20px) rotate(15deg);
    }
}
@keyframes whyDrift3 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -25px) scale(1.08);
    }
    50% {
        transform: translate(-10px, -40px) scale(1.03);
    }
    75% {
        transform: translate(15px, -10px) scale(0.95);
    }
}
@keyframes whyDrift4 {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-15px, 18px) rotate(-10deg);
    }
    66% {
        transform: translate(20px, -12px) rotate(12deg);
    }
}
@keyframes whyDrift5 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -25px) scale(1.1);
    }
}

/* --- Layout container --- */
.why-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- Section heading --- */
.why-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.why-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}
.why-title-line {
    width: 10%;
    height: 5px;
    margin: 0 auto;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* --- Card grid --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

/* --- Glassmorphic cards (frosted white on light bg) --- */
.why-card {
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-xl);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 4px 24px rgba(0, 16, 85, 0.06);
    overflow: hidden;
    transition: all 0.45s var(--ease-premium);
    will-change: transform;
}

/* Accent top-edge bar (scales on hover) */
.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-premium);
    z-index: 3;
}
.why-card:hover::before {
    transform: scaleX(1);
}
.why-card:hover {
    transform: translateY(-10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 20px 50px rgba(0, 16, 85, 0.12);
    border-color: rgba(255, 121, 0, 0.2);
    background: rgba(255, 255, 255, 0.75);
}

/* Cursor-following glow */
.why-card-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    opacity: 0;
    background: radial-gradient(
        500px circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(255, 121, 0, 0.06) 0%,
        transparent 50%
    );
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.why-card:hover .why-card-glow {
    opacity: 1;
}

/* Numbered corner badge */
.why-card-number {
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: "Outfit", sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(0, 16, 85, 0.08);
    font-size: 2.5rem;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s var(--ease-premium);
}
.why-card:hover .why-card-number {
    color: rgba(255, 121, 0, 0.12);
}

/* Icon */
.why-icon {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(0, 16, 85, 0.06),
        rgba(0, 16, 85, 0.12)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: all 0.4s var(--ease-premium);
}
.why-card:hover .why-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1) rotate(-3deg);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 16, 85, 0.2);
}

/* Text */
.why-card h3 {
    position: relative;
    z-index: 1;
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}
.why-card p {
    position: relative;
    z-index: 1;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* --- Entrance animations --- */
.why-anim {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.85s var(--ease-premium),
        transform 0.85s var(--ease-premium);
}
.why-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .why-section {
        padding: 6vh 5vw;
        height: auto;
        min-height: auto;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3vw;
    }
    .why-card {
        padding: 3vh 3vw 2.5vh;
    }
    .why-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 2vh;
    }
    .why-header {
        margin-bottom: 4vh;
    }
}
@media (max-width: 480px) {
    .why-section {
        padding: 4vh 4vw;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== REGISTRATION — PREMIUM DARK SECTION ========== */

/* --- 90vh dark gradient section --- */
.reg-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            ellipse 75% 55% at 70% 25%,
            rgba(255, 121, 0, 0.07) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 60% 50% at 20% 75%,
            rgba(100, 60, 255, 0.08) 0%,
            transparent 50%
        ),
        linear-gradient(
            170deg,
            #020b2e 0%,
            #0a1444 30%,
            #110a30 60%,
            #0d0820 100%
        );
    padding: 3rem 5%;
}

/* Dot-grid overlay */
.reg-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px
    );
    background-size: 28px 28px;
    z-index: 0;
    pointer-events: none;
}

/* Floating shapes */
.reg-float {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.reg-float-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 121, 0, 0.08);
    top: -8%;
    right: -5%;
    filter: blur(2px);
    animation: regDrift1 18s ease-in-out infinite;
}
.reg-float-2 {
    width: 240px;
    height: 240px;
    border-radius: 35%;
    background: rgba(80, 60, 220, 0.07);
    bottom: -6%;
    left: -3%;
    filter: blur(2px);
    animation: regDrift2 22s ease-in-out infinite;
}
.reg-float-3 {
    width: 180px;
    height: 180px;
    background: rgba(0, 200, 220, 0.06);
    top: 40%;
    left: 8%;
    filter: blur(2px);
    animation: regDrift3 20s ease-in-out infinite;
}

@keyframes regDrift1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-25px, 20px) scale(1.06);
    }
}
@keyframes regDrift2 {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, -18px) rotate(12deg);
    }
}
@keyframes regDrift3 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-15px, -20px) scale(1.08);
    }
}

/* --- Container --- */
.reg-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* --- Header (light on dark) --- */
.reg-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.reg-badge {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--color-accent-soft) !important;
}
.reg-heading {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.reg-heading-line {
    width: 8%;
    height: 4px;
    margin: 0 auto;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* --- Glassmorphic table --- */
.reg-table-wrap {
    overflow-x: auto;
    border-radius: 1rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.reg-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.reg-table thead {
    background: linear-gradient(
        135deg,
        rgba(255, 121, 0, 0.85),
        rgba(255, 80, 0, 0.95)
    );
}
.reg-table th {
    padding: 0.9rem 1rem;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: center;
}
.reg-table th small {
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0;
    text-transform: none;
}
.reg-table td {
    padding: 0.8rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    font-family: "Space Grotesk", sans-serif;
}
.reg-table tbody tr {
    transition: background 0.3s ease;
}
.reg-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}
.reg-table .category {
    text-align: left;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Payment grid (bank details + QR) --- */
.reg-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    margin-bottom: 1.8rem;
}

/* Bank details card */
.reg-bank-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.reg-bank-card h4 {
    font-family: "Outfit", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.reg-bank-card h4 i {
    color: var(--color-accent);
}
.reg-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.83rem;
}
.reg-detail-row:last-child {
    border-bottom: none;
}
.reg-label {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}
.reg-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-align: right;
}

/* QR code card */
.reg-qr-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.reg-qr-card h4 {
    font-family: "Outfit", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.reg-qr-card h4 i {
    color: var(--color-accent);
}
.reg-qr-img-wrap {
    width: 150px;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reg-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.reg-qr-caption {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.6rem;
}

/* CTA */
.reg-cta {
    text-align: center;
}
/* Register button — base styles (no framework override) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2.4rem;
    border: none;
    border-radius: 50px;
    background: var(--gradient-accent);
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.35s var(--ease-premium);
    box-shadow: 0 4px 20px var(--color-accent-glow);
    letter-spacing: 0.01em;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px var(--color-accent-glow);
}
.btn-primary:active {
    transform: translateY(-1px) scale(0.99);
}

/* --- Entrance animations --- */
.reg-anim {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.85s var(--ease-premium),
        transform 0.85s var(--ease-premium);
}
.reg-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .reg-section {
        height: auto;
        min-height: 90vh;
        padding: 6vh 5vw;
    }
    .reg-payment-grid {
        grid-template-columns: 1fr;
        gap: 3vh;
    }
    .reg-heading {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
        margin-bottom: 1vh;
    }
    .reg-header {
        margin-bottom: 3vh;
    }
}
@media (max-width: 480px) {
    .reg-section {
        padding: 4vh 4vw;
    }
}

/* ========== CALL FOR ABSTRACTS — PREMIUM LIGHT SECTION ========== */

/* --- 90vh light gradient section (contrast with dark reg section above) --- */
.cfa-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse 70% 50% at 25% 30%,
            rgba(255, 200, 150, 0.18) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 65% 55% at 75% 70%,
            rgba(180, 160, 255, 0.14) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse 50% 40% at 50% 50%,
            rgba(160, 220, 255, 0.1) 0%,
            transparent 50%
        ),
        linear-gradient(
            170deg,
            #fff7f0 0%,
            #fef4ea 20%,
            #f3eeff 45%,
            #eaf2ff 70%,
            #f0f6ff 100%
        );
    padding: 3rem 5%;
}

/* Subtle dot-grid overlay */
.cfa-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(0, 16, 85, 0.04) 1px,
        transparent 1px
    );
    background-size: 28px 28px;
    z-index: 0;
    pointer-events: none;
}

/* --- Floating decorative shapes --- */
.cfa-float {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.cfa-float-1 {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 160, 60, 0.1);
    top: -5%;
    right: -3%;
    filter: blur(2px);
    animation: cfaDrift1 17s ease-in-out infinite;
}
.cfa-float-2 {
    width: 200px;
    height: 200px;
    border-radius: 35%;
    background: rgba(140, 100, 255, 0.08);
    bottom: -4%;
    left: -2%;
    filter: blur(2px);
    animation: cfaDrift2 21s ease-in-out infinite;
}
.cfa-float-3 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(0, 180, 220, 0.08);
    top: 30%;
    left: 5%;
    filter: blur(2px);
    animation: cfaDrift3 19s ease-in-out infinite;
}
.cfa-float-4 {
    width: 130px;
    height: 130px;
    border-radius: 40%;
    background: rgba(255, 100, 140, 0.07);
    top: 8%;
    left: 45%;
    filter: blur(2px);
    animation: cfaDrift4 23s ease-in-out infinite;
}
.cfa-float-5 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(80, 200, 120, 0.06);
    bottom: 10%;
    right: 6%;
    filter: blur(2px);
    animation: cfaDrift5 25s ease-in-out infinite;
}

@keyframes cfaDrift1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-25px, 18px) scale(1.05);
    }
    66% {
        transform: translate(12px, -12px) scale(0.97);
    }
}
@keyframes cfaDrift2 {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(22px, -16px) rotate(14deg);
    }
}
@keyframes cfaDrift3 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(18px, -20px) scale(1.07);
    }
    50% {
        transform: translate(-8px, -35px) scale(1.02);
    }
    75% {
        transform: translate(12px, -8px) scale(0.96);
    }
}
@keyframes cfaDrift4 {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-12px, 15px) rotate(-8deg);
    }
    66% {
        transform: translate(16px, -10px) rotate(10deg);
    }
}
@keyframes cfaDrift5 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-18px, -20px) scale(1.08);
    }
}

/* --- Container --- */
.cfa-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- Header --- */
.cfa-header {
    text-align: center;
    margin-bottom: 3rem;
}
.cfa-heading {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}
.cfa-heading-line {
    width: 10%;
    height: 5px;
    margin: 0 auto;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* --- Cards grid --- */
.cfa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* --- Glassmorphic cards --- */
.cfa-card {
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-xl);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 4px 24px rgba(0, 16, 85, 0.06);
    overflow: hidden;
    transition: all 0.45s var(--ease-premium);
    will-change: transform;
}

/* Accent top-edge bar */
.cfa-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-premium);
    z-index: 3;
}
.cfa-card:hover::before {
    transform: scaleX(1);
}
.cfa-card:hover {
    transform: translateY(-10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 20px 50px rgba(0, 16, 85, 0.12);
    border-color: rgba(255, 121, 0, 0.2);
    background: rgba(255, 255, 255, 0.75);
}

/* Cursor-following glow */
.cfa-card-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    opacity: 0;
    background: radial-gradient(
        500px circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(255, 121, 0, 0.06) 0%,
        transparent 50%
    );
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.cfa-card:hover .cfa-card-glow {
    opacity: 1;
}

/* Numbered corner badge */
.cfa-card-number {
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(0, 16, 85, 0.07);
    font-size: 2.5rem;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s var(--ease-premium);
}
.cfa-card:hover .cfa-card-number {
    color: rgba(255, 121, 0, 0.12);
}

/* Icon */
.cfa-icon {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(0, 16, 85, 0.06),
        rgba(0, 16, 85, 0.12)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: all 0.4s var(--ease-premium);
}
.cfa-card:hover .cfa-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1) rotate(-3deg);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 16, 85, 0.2);
}

/* Text */
.cfa-card h3 {
    position: relative;
    z-index: 1;
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}
.cfa-card p {
    position: relative;
    z-index: 1;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* --- Awards card --- */
.cfa-awards-card {
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.45),
        rgba(255, 224, 230, 0.35),
        rgba(230, 240, 255, 0.4),
        rgba(255, 255, 255, 0.5)
    );
    background-size: 300% 300%;
    animation: gradientPan 10s ease infinite;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 15px 40px rgba(0, 16, 85, 0.08);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.45s var(--ease-premium),
        box-shadow 0.45s var(--ease-premium);
}

.cfa-awards-card:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 20px 50px rgba(0, 16, 85, 0.12);
}

/* Floating Sparkles */
.cfa-sparkle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
    z-index: 1;
    animation: cfaSparkleAnim 4s infinite alternate ease-in-out;
}
.cfa-sparkle-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}
.cfa-sparkle-2 {
    bottom: 20%;
    right: 10%;
    width: 90px;
    height: 90px;
    animation-delay: -1s;
}
.cfa-sparkle-3 {
    top: 40%;
    right: 40%;
    width: 40px;
    height: 40px;
    animation-delay: -2.5s;
}

@keyframes cfaSparkleAnim {
    0% {
        transform: translate(0, 0) scale(0.8);
        opacity: 0.4;
    }
    100% {
        transform: translate(15px, -15px) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes gradientPan {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cfa-awards-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.cfa-awards-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.cfa-awards-icon-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.cfa-awards-icon-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(
        circle,
        rgba(255, 121, 0, 0.6) 0%,
        rgba(255, 121, 0, 0) 70%
    );
    border-radius: 50%;
    animation: cfaPulseGlow 3s infinite alternate;
}

@keyframes cfaPulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.cfa-awards-icon {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff9500, #ff6a00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 121, 0, 0.35);
    z-index: 2;
}

.cfa-awards-text {
    flex: 1;
}

.cfa-awards-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 0.4rem;
    letter-spacing: -0.5px;
}

.cfa-awards-subtitle {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Award badges */
.cfa-award-badges {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}
.cfa-award-badge {
    flex: 1;
    min-width: 190px;
    max-width: 240px;
    padding: 1.8rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.4s var(--ease-premium),
        box-shadow 0.4s var(--ease-premium);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.cfa-award-badge:hover {
    transform: translateY(-8px) scale(1.03);
}

.cfa-award-gold:hover {
    box-shadow: 0 20px 40px rgba(255, 143, 0, 0.25);
}

.cfa-award-silver:hover {
    box-shadow: 0 20px 40px rgba(96, 125, 139, 0.25);
}

.cfa-award-gold {
    background: linear-gradient(135deg, #fffcf2, #fff3cd);
    border: 1px solid rgba(255, 193, 7, 0.35);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.15);
}

.cfa-award-silver {
    background: linear-gradient(135deg, #f8faff, #eef2fa);
    border: 1px solid rgba(160, 170, 200, 0.35);
    box-shadow: 0 8px 25px rgba(100, 120, 180, 0.12);
}

.cfa-award-medal {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    transition: transform 0.4s var(--ease-premium);
}

.cfa-award-badge:hover .cfa-award-medal {
    transform: scale(1.15) rotate(10deg);
}

.cfa-award-gold .cfa-award-medal {
    background: linear-gradient(135deg, #ffca28, #ff8f00);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 143, 0, 0.4);
}

.cfa-award-silver .cfa-award-medal {
    background: linear-gradient(135deg, #90a4ae, #607d8b);
    color: #fff;
    box-shadow: 0 6px 18px rgba(96, 125, 139, 0.4);
}
.cfa-award-amount {
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}
.cfa-award-label {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

/* --- Entrance animations --- */
.cfa-anim {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.85s var(--ease-premium),
        transform 0.85s var(--ease-premium);
}
.cfa-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .cfa-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .cfa-section {
        height: auto;
        min-height: 90vh;
        padding: 6vh 5vw;
    }
    .cfa-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5vw;
    }
    .cfa-card {
        padding: 3vh 3vw 2.5vh;
    }
    .cfa-heading {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }
    .cfa-awards-card {
        padding: 4vh 5vw;
    }
    .cfa-awards-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .cfa-awards-header {
        flex-direction: column;
        gap: 1rem;
    }
    .cfa-award-badges {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .cfa-section {
        padding: 4vh 4vw;
    }
    .cfa-grid {
        grid-template-columns: 1fr;
    }
    .cfa-award-badges {
        flex-direction: column;
        align-items: center;
    }
    .cfa-award-badge {
        max-width: 100%;
        width: 100%;
    }
}

/* ========== VENUE ========== */
/* ========== VENUE ========== */
.venue-section {
    position: relative;
    padding: 3rem 5%;
    min-height: 90vh; /* Strict 90vh height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #001233; /* Pure dark professional blue */
    color: #fff;
    overflow: hidden;
}

/* Animated 3D Grid Effect Background */
.venue-section::before {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 150%;
    background-image:
        linear-gradient(rgba(0, 150, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 150, 255, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    transform: perspective(1000px) rotateX(70deg) translateY(0);
    animation: venueGridAnim 15s linear infinite;
    pointer-events: none;
}

/* Subtle glow at the bottom to transition the grid into black/dark */
.venue-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center 120%,
        rgba(0, 100, 255, 0.2) 0%,
        transparent 70%
    );
    z-index: 1;
    pointer-events: none;
}

@keyframes venueGridAnim {
    0% {
        transform: perspective(1000px) rotateX(70deg) translateY(0);
    }
    100% {
        transform: perspective(1000px) rotateX(70deg) translateY(60px);
    }
}

.cfa-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.venue-header {
    text-align: center;
    margin-bottom: 4rem;
}
.venue-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #a0c4ff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(160, 196, 255, 0.2);
    backdrop-filter: blur(10px);
}
.venue-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.venue-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Main Intro Cards - Asymmetric Split */
.venue-intro-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.venue-main-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.5s var(--ease-premium),
        box-shadow 0.5s var(--ease-premium),
        border-color 0.5s var(--ease-premium);
    cursor: default;
}

/* Background image fills the entire card */
.venue-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition:
        transform 0.7s var(--ease-premium),
        filter 0.7s var(--ease-premium);
    filter: brightness(0.55) saturate(1.1);
}

/* Dark gradient overlay for text readability */
.venue-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        160deg,
        rgba(0, 18, 51, 0.88) 0%,
        rgba(0, 18, 51, 0.7) 40%,
        rgba(0, 18, 51, 0.5) 70%,
        rgba(0, 40, 100, 0.45) 100%
    );
    transition: background 0.5s var(--ease-premium);
}

/* Subtle animated shimmer on hover */
.venue-main-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 150, 255, 0.08) 0%,
        transparent 60%
    );
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s var(--ease-premium);
    pointer-events: none;
}

/* Content sits on top */
.venue-card-content {
    position: relative;
    z-index: 4;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

/* Icon badge */
.venue-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(0, 150, 255, 0.25),
        rgba(0, 100, 255, 0.15)
    );
    border: 1px solid rgba(0, 150, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #a0c4ff;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.4s var(--ease-premium),
        background 0.4s var(--ease-premium);
}

/* Hover effects */
.venue-main-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 100, 255, 0.2),
        0 0 0 1px rgba(0, 150, 255, 0.15);
    border-color: rgba(0, 150, 255, 0.25);
}

.venue-main-card:hover .venue-card-bg {
    transform: scale(1.08);
    filter: brightness(0.65) saturate(1.2);
}

.venue-main-card:hover .venue-card-overlay {
    background: linear-gradient(
        160deg,
        rgba(0, 18, 51, 0.82) 0%,
        rgba(0, 18, 51, 0.6) 40%,
        rgba(0, 18, 51, 0.4) 70%,
        rgba(0, 40, 100, 0.35) 100%
    );
}

.venue-main-card:hover::before {
    opacity: 1;
}

.venue-main-card:hover .venue-card-icon {
    transform: scale(1.1);
    background: linear-gradient(
        135deg,
        rgba(0, 150, 255, 0.4),
        rgba(0, 100, 255, 0.3)
    );
}

.venue-main-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.venue-main-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Image Gallery Grid */
.venue-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center; /* helps with staggered look */
}

.venue-gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition:
        transform 0.4s var(--ease-premium),
        box-shadow 0.4s var(--ease-premium);
}

.venue-gallery-item:nth-child(even) {
    margin-top: 2.5rem;
}

.venue-gallery-item:hover {
    box-shadow: 0 15px 40px rgba(0, 150, 255, 0.3);
    z-index: 10;
}

.venue-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-premium);
}

.venue-gallery-item:hover .venue-img {
    transform: scale(1.1);
}

.venue-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.4s var(--ease-premium);
}

.venue-gallery-item:hover .venue-gallery-overlay {
    opacity: 1;
}

.venue-label {
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    transform: translateY(15px);
    transition: transform 0.4s var(--ease-premium);
}

.venue-gallery-item:hover .venue-label {
    transform: translateY(0);
}

/* Venue Entrance Animations */
.venue-anim {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s var(--ease-premium),
        transform 0.8s var(--ease-premium);
}

.venue-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== COMMITTEE ========== */
.comm-section {
    position: relative;
    padding: 3rem 5%;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #f0f4ff 0%,
        #e8f0fe 20%,
        #fef6f0 50%,
        #f3eefe 75%,
        #eef6ff 100%
    );
    overflow: hidden;
}

/* Subtle mesh pattern overlay */
.comm-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 20% 30%,
            rgba(99, 102, 241, 0.06) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255, 121, 0, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(16, 185, 129, 0.04) 0%,
            transparent 40%
        );
    z-index: 1;
    pointer-events: none;
}

/* Floating decorative shapes */
.comm-float {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    animation: commFloatAnim 12s ease-in-out infinite alternate;
}
.comm-float-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.4),
        rgba(139, 92, 246, 0.3)
    );
    top: -5%;
    left: -8%;
    animation-delay: 0s;
}
.comm-float-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(
        135deg,
        rgba(255, 149, 0, 0.35),
        rgba(255, 106, 0, 0.25)
    );
    top: 10%;
    right: -6%;
    animation-delay: -3s;
}
.comm-float-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.35),
        rgba(52, 211, 153, 0.25)
    );
    bottom: 10%;
    left: 5%;
    animation-delay: -6s;
}
.comm-float-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(
        135deg,
        rgba(236, 72, 153, 0.3),
        rgba(244, 114, 182, 0.2)
    );
    bottom: -5%;
    right: 10%;
    animation-delay: -9s;
}
.comm-float-5 {
    width: 300px;
    height: 300px;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.35),
        rgba(96, 165, 250, 0.25)
    );
    top: 45%;
    right: 25%;
    animation-delay: -4s;
}

@keyframes commFloatAnim {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(20px, -15px) rotate(60deg) scale(1.1);
    }
    66% {
        transform: translate(-10px, 20px) rotate(120deg) scale(0.95);
    }
    100% {
        transform: translate(15px, -10px) rotate(180deg) scale(1.05);
    }
}

/* Container */
.comm-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.comm-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.comm-badge {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.12),
        rgba(139, 92, 246, 0.08)
    );
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.2);
}
.comm-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.comm-title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ff9500);
    margin: 0 auto;
    border-radius: 2px;
}

/* Category blocks */
.comm-category {
    margin-bottom: 4.5rem;
}
.comm-category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.comm-category-header h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}
.comm-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffca28, #ff8f00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 143, 0, 0.3);
    flex-shrink: 0;
}
.comm-cat-icon-blue {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.comm-cat-icon-green {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.comm-cat-icon-purple {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* ========== PORTRAIT CARDS (Background Image) ========== */
.comm-portrait-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    justify-content: center;
}
.comm-portrait-grid-left {
    justify-content: start;
    grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
}

/* Offset for the second Patron card to center the layout visually on desktops */
@media (min-width: 769px) {
    .patron-card-offset {
        margin-left: 2rem;
    }
}

.comm-portrait {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    cursor: pointer;
    will-change: transform;
    box-shadow:
        0 12px 40px rgba(31, 38, 135, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.5s var(--ease-premium),
        box-shadow 0.5s var(--ease-premium);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Background image */
.comm-portrait-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition:
        transform 0.6s var(--ease-premium),
        filter 0.6s var(--ease-premium);
    z-index: 1;
}

/* Dark gradient overlay */
.comm-portrait-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(15, 23, 42, 0.6) 35%,
        rgba(15, 23, 42, 0.1) 55%,
        transparent 70%
    );
    transition: background 0.5s var(--ease-premium);
}
.comm-portrait-overlay-blue {
    background: linear-gradient(
        to top,
        rgba(22, 34, 72, 0.92) 0%,
        rgba(22, 34, 72, 0.6) 35%,
        rgba(22, 34, 72, 0.1) 55%,
        transparent 70%
    );
}
.comm-portrait-overlay-green {
    background: linear-gradient(
        to top,
        rgba(5, 46, 36, 0.92) 0%,
        rgba(5, 46, 36, 0.6) 35%,
        rgba(5, 46, 36, 0.1) 55%,
        transparent 70%
    );
}

/* Cursor-following glow for portraits */
.comm-card-glow {
    --glow-x: 50%;
    --glow-y: 50%;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        500px circle at var(--glow-x) var(--glow-y),
        rgba(255, 255, 255, 0.15),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s var(--ease-premium);
    pointer-events: none;
    z-index: 5;
}
.comm-portrait:hover .comm-card-glow,
.comm-core-card:hover .comm-card-glow {
    opacity: 1;
}

/* Info at the bottom */
.comm-portrait-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 1.5rem 1.8rem;
    transform: translateY(5px);
    transition: transform 0.5s var(--ease-premium);
}
.comm-portrait:hover .comm-portrait-info {
    transform: translateY(0);
}
.comm-portrait-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    background: linear-gradient(
        135deg,
        rgba(255, 202, 40, 0.25),
        rgba(255, 143, 0, 0.2)
    );
    color: #ffd54f;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 202, 40, 0.3);
    backdrop-filter: blur(8px);
}
.comm-portrait-badge-blue {
    background: linear-gradient(
        135deg,
        rgba(96, 165, 250, 0.25),
        rgba(59, 130, 246, 0.2)
    );
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.3);
}
.comm-portrait-badge-green {
    background: linear-gradient(
        135deg,
        rgba(52, 211, 153, 0.25),
        rgba(16, 185, 129, 0.2)
    );
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, 0.3);
}
.comm-portrait-info h4 {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.comm-portrait-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hover effects */
.comm-portrait:hover {
    box-shadow:
        0 24px 60px rgba(31, 38, 135, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 202, 40, 0.4);
}
.comm-portrait-blue:hover {
    border-color: rgba(96, 165, 250, 0.4);
}
.comm-portrait-green:hover {
    border-color: rgba(52, 211, 153, 0.4);
}
.comm-portrait:hover .comm-portrait-img {
    transform: scale(1.08);
    filter: brightness(1.1);
}
.comm-portrait:hover .comm-portrait-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.5) 40%,
        rgba(15, 23, 42, 0.05) 60%,
        transparent 75%
    );
}

/* Core committee grid */
.comm-core-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Core compact cards */
.comm-core-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(255, 149, 0, 0.05);
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s var(--ease-premium),
        border-color 0.4s var(--ease-premium),
        background 0.4s var(--ease-premium);
    will-change: transform;
}
.comm-core-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(255, 149, 0, 0.15),
        0 8px 16px rgba(255, 106, 0, 0.1);
    border-color: rgba(255, 149, 0, 0.4);
    background: rgba(255, 255, 255, 0.75);
}
.comm-core-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffca28, #ff8f00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 143, 0, 0.3);
    transition:
        transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s var(--ease-premium);
}
.comm-core-card:hover .comm-core-avatar {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 20px rgba(255, 143, 0, 0.45);
}
.comm-core-info h4 {
    font-family: "Outfit", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.15rem;
    transition: color 0.3s ease;
}
.comm-core-card:hover .comm-core-info h4 {
    color: #ff8f00;
}
.comm-role-text {
    font-size: 0.78rem;
    color: #f59e0b;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.2px;
}
.comm-sub-text {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin: 2px 0 0 0;
}

/* Entrance animations */
.comm-anim {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.85s var(--ease-premium),
        transform 0.85s var(--ease-premium);
}
.comm-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .comm-section {
        padding: 6vh 5vw;
        height: auto;
        min-height: auto;
    }
    .comm-portrait-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5vw;
    }
    .comm-portrait {
        max-width: 100%;
        height: clamp(250px, 40vh, 300px);
    }
    .comm-core-grid {
        grid-template-columns: 1fr;
        gap: 2.5vh;
    }
}
@media (max-width: 480px) {
    .comm-section {
        padding: 4vh 4vw;
    }
    .comm-portrait-grid {
        grid-template-columns: 1fr;
    }
    .comm-portrait {
        height: clamp(300px, 45vh, 340px);
    }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gradient-primary);
    color: var(--color-text-inverse);
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col h4 {
    font-family: "Outfit", sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}
.footer-col p,
.footer-col a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}
.footer-col a:hover {
    color: var(--color-accent);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.3rem;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== BACK TO TOP ========== */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-premium);
    box-shadow: 0 4px 15px var(--color-accent-glow);
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--color-accent-glow);
}

/* ========== FLOATING ABSTRACT BTN ========== */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s var(--ease-premium);
}
.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-premium);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(30px);
    transition: all 0.4s var(--ease-premium);
    box-shadow: var(--shadow-hover);
}
.modal-overlay.active .modal {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-muted);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    transition: all 0.3s var(--ease-premium);
}
.modal-close:hover {
    background: var(--color-primary);
    color: #fff;
}
.modal h2 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 0.4rem;
    font-family: "Outfit", sans-serif;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-premium);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.1);
}
.btn-submit {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 50px;
    background: var(--gradient-accent);
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-premium);
    box-shadow: 0 4px 15px var(--color-accent-glow);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-accent-glow);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-content {
        padding: 6rem 3rem 4rem 3rem;
        gap: 2rem;
    }
    .hero-right {
        width: 400px;
    }
    .venue-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Hamburger nav — activate at 1100px to cover iPad landscape ── */
@media (max-width: 1100px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 72%;
        max-width: 320px;
        height: 100vh;
        background: rgba(0, 16, 85, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 0.5rem;
        transition: right 0.4s var(--ease-premium);
        z-index: 9998;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-menu a {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    .nav-cta {
        margin-top: 1rem;
        font-size: clamp(0.8rem, 3.5vw, 0.95rem) !important;
        padding: 0.5rem 1.2rem !important;
    }
}

@media (max-width: 768px) {
    .hamburger {
        /* hamburger already shown at 1100px; confirm visible here too */
        display: flex;
    }
    .footer {
        padding: 6vh 5vw 4vh 5vw;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4vh;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(0, 16, 85, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 0.5rem;
        transition: right 0.4s var(--ease-premium);
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-menu a {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    .nav-cta {
        margin-top: 1rem;
        font-size: clamp(0.8rem, 3.5vw, 0.95rem) !important;
        padding: 0.5rem 1.2rem !important;
    }
    .nav-logo-text {
        font-size: clamp(1.2rem, 5vw, 1.7rem);
    }
    .nav-logo-img {
        width: clamp(45px, 12vw, 64px);
        height: clamp(45px, 12vw, 64px);
    }

    /* Hero Responsive */
    .hero-content {
        flex-direction: column;
        padding: 12vh 5vw 4vh 5vw;
        text-align: center;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }
    .hero-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2vh;
    }
    .hero-right {
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        gap: clamp(0.5rem, 1.5vh, 1rem);
    }
    .hero-badge {
        margin: 0 auto 1.5vh auto;
        padding: 0.8vh 3vw;
        font-size: clamp(0.65rem, 2vw, 0.9rem);
    }
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3.5rem);
        margin-bottom: 1.5vh;
        line-height: 1.1;
    }
    .hero-conf-name {
        margin-top: 0.5vh;
        font-size: clamp(0.85rem, 3vw, 1.4rem);
    }
    .hero-info-card {
        padding: clamp(0.8rem, 1.5vh, 1.5rem) 5vw;
        gap: 3vw;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    .hero-info-text {
        align-items: flex-start;
    }
    .hero-info-icon {
        width: clamp(32px, 8vw, 48px);
        height: clamp(32px, 8vw, 48px);
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }
    .hero-info-value {
        font-size: clamp(0.85rem, 3.5vw, 1.15rem);
    }
    .hero-info-label {
        font-size: clamp(0.6rem, 2vw, 0.75rem);
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: clamp(0.5rem, 1.5vh, 1rem);
        margin-top: 1vh;
    }
    .btn-primary,
    .btn-outline {
        width: 100%;
        padding: clamp(0.8rem, 1.8vh, 1.2rem) 4vw;
        font-size: clamp(0.85rem, 4vw, 1.1rem);
        justify-content: center;
        text-align: center;
    }

    .floating-btn {
        bottom: 3vh;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        padding: 1.5vh 6vw;
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        white-space: nowrap;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    .floating-btn:hover {
        transform: translate(-50%, -3px);
    }

    .scroll-indicator {
        display: none;
    }

    /* General layout adjustments */
    .section {
        padding: 3.5rem 0;
    }
    .venue-intro-grid {
        grid-template-columns: 1fr;
        gap: 3vh;
    }
    .venue-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .nav-logo-text {
        font-size: clamp(1rem, 4.5vw, 1.3rem);
    }
    .nav-logo-img {
        width: clamp(35px, 10vw, 45px);
        height: clamp(35px, 10vw, 45px);
    }
    .venue-gallery {
        grid-template-columns: 1fr;
    }
    .cfa-award-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ========== AUTHOR GUIDELINES SECTION ========== */
.guide-section {
    position: relative;
    padding: 6vh 5vw 8vh;
    background:
        /* strong orange radial top-right */
        radial-gradient(
            ellipse 65% 55% at 95% 0%,
            rgba(255, 121, 0, 0.14) 0%,
            transparent 55%
        ),
        /* warm amber mid-right */
        radial-gradient(
                ellipse 45% 40% at 80% 60%,
                rgba(255, 179, 107, 0.1) 0%,
                transparent 55%
            ),
        /* soft blue bottom-left counterbalance */
        radial-gradient(
                ellipse 60% 50% at 6% 95%,
                rgba(59, 130, 246, 0.09) 0%,
                transparent 55%
            ),
        /* pearl base */
        linear-gradient(155deg, #fffaf6 0%, #fff7f0 40%, #fdf9ff 100%);
    overflow: hidden;
    min-height: 100vh;
}

/* Fine dot grid */
.guide-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(255, 121, 0, 0.06) 1px,
        transparent 1px
    );
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative arc / ring shapes */
.guide-section::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 60px solid rgba(255, 121, 0, 0.07);
    pointer-events: none;
    z-index: 0;
    animation: guideRing 16s ease-in-out infinite alternate;
}
@keyframes guideRing {
    from {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }
    to {
        transform: scale(1.1) rotate(15deg);
        opacity: 1;
    }
}

/* Extra decorative rings via pseudo on container */
.guide-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.guide-deco-1 {
    width: 320px;
    height: 320px;
    border: 40px solid rgba(255, 121, 0, 0.05);
    bottom: -80px;
    left: -80px;
    animation: guideRing 20s 3s ease-in-out infinite alternate-reverse;
}
.guide-deco-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(255, 121, 0, 0.08),
        transparent 70%
    );
    filter: blur(30px);
    top: 38%;
    left: 52%;
    animation: floatDrift 18s 5s ease-in-out infinite alternate;
}

/* Floating blobs — warm orange palette */
.guide-float {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.22;
    pointer-events: none;
    animation: floatDrift 14s ease-in-out infinite alternate;
}
.guide-float-1 {
    width: 460px;
    height: 460px;
    background: radial-gradient(
        circle,
        rgba(255, 121, 0, 0.45),
        transparent 70%
    );
    top: -100px;
    right: -120px;
    animation-delay: 0s;
}
.guide-float-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(
        circle,
        rgba(255, 179, 107, 0.4),
        transparent 70%
    );
    bottom: 6%;
    left: -80px;
    animation-delay: 4s;
}
.guide-float-3 {
    width: 220px;
    height: 220px;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.18),
        transparent 70%
    );
    top: 50%;
    left: 46%;
    animation-delay: 8s;
}

/* Container */
.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1; /* above the ::before dot-grid and ::after aurora */
}

/* Header */
.guide-header {
    text-align: center;
    margin-bottom: 2rem;
}
.guide-badge {
    background: rgba(255, 121, 0, 0.08);
    color: #c45200;
    border: 1px solid rgba(255, 121, 0, 0.22);
}
.guide-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}
.guide-title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff7900, #ffb36b);
    margin: 0 auto 0.8rem;
    border-radius: 2px;
}
.guide-subtitle {
    color: var(--color-text-secondary);
    font-size: 1rem;
    font-style: italic;
}

/* ── Tab Nav ── */
.guide-tabs {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}
.guide-tab {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 121, 0, 0.18);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    color: var(--color-text-secondary);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-premium);
}
.guide-tab i {
    font-size: 0.82rem;
}
.guide-tab:hover {
    border-color: rgba(255, 121, 0, 0.45);
    color: #c45200;
    background: rgba(255, 121, 0, 0.06);
    transform: translateY(-2px);
}
.guide-tab.active {
    background: linear-gradient(135deg, #ff7900, #ffb36b);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 121, 0, 0.32);
}

/* ── Panels ── */
.guide-panel {
    display: none;
    animation: guideFadeIn 0.4s ease-out;
}
.guide-panel.active {
    display: block;
}

@keyframes guideFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Panel Grid (submission tab) ── */
.guide-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.guide-info-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 121, 0, 0.1);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 4px 20px rgba(255, 121, 0, 0.05);
    transition:
        transform 0.35s var(--ease-premium),
        box-shadow 0.35s var(--ease-premium);
}
.guide-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(255, 121, 0, 0.11);
}
.guide-info-card--wide {
    grid-column: 1 / -1;
}
.guide-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff7900, #ffb36b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 14px rgba(255, 121, 0, 0.3);
}
.guide-card-icon--gold {
    background: linear-gradient(135deg, #ff7900, #ef4444);
    box-shadow: 0 4px 14px rgba(255, 121, 0, 0.35);
}
.guide-info-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}
.guide-info-card p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* Email button */
.guide-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff7900, #ffb36b);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: "Space Grotesk", sans-serif;
    text-decoration: none;
    transition: all 0.3s var(--ease-premium);
    box-shadow: 0 4px 14px rgba(255, 121, 0, 0.28);
    word-break: break-all;
}
.guide-email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 121, 0, 0.42);
}

/* List */
.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}
.guide-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    /* allow text + strong to wrap naturally within the flex item */
    flex-wrap: wrap;
    /* keep the icon anchored, let text flow */
    align-items: baseline;
}
/* The icon inside a list item must not shrink or wrap */
.guide-list li > i.fas,
.guide-list li > i.far,
.guide-list li > i.fab {
    color: #ff7900;
    font-size: 0.78rem;
    flex-shrink: 0;
    margin-top: 0.18rem;
    /* prevent it from participating in wrap */
    align-self: flex-start;
}
.guide-list li strong {
    /* inline-block ensures bold text stays in the text flow */
    display: inline;
    font-weight: 700;
    color: var(--color-primary);
}
/* Span wrapper takes all remaining width */
.guide-list li > span {
    flex: 1;
    min-width: 0;
}
.guide-list--numbered {
    list-style: none;
    counter-reset: guide-counter;
    gap: 0.6rem;
}
.guide-list--numbered li {
    counter-increment: guide-counter;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    /* important: don't wrap the whole flex row */
    flex-wrap: nowrap;
}
/* The number badge is an inline-block pseudo, fixed size */
.guide-list--numbered li::before {
    content: counter(guide-counter);
    background: linear-gradient(135deg, #ff7900, #ffb36b);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.18rem;
    /* force it to not be a block */
    float: none;
}
/* Wrap the text portion naturally */
.guide-list--numbered li > *,
.guide-list--numbered li::after {
    flex: 1;
    min-width: 0;
}

/* Note — used in pub cards; icon stays left, text wraps */
.guide-note {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
    line-height: 1.6;
}
.guide-note i {
    color: #ff7900;
    margin-top: 0.18rem;
    flex-shrink: 0;
}
/* Ensure the text after the icon fills remaining space */
.guide-note > i + * {
    flex: 1;
    min-width: 0;
}
/* Plain note text (no icon) — keeps strong inline */
.guide-note-text {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.guide-note-text strong {
    font-weight: 700;
    color: var(--color-primary);
}

/* Steps */
.guide-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.4rem;
}
.guide-step {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.guide-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7900, #ffb36b);
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 121, 0, 0.32);
}
.guide-step-body h4 {
    font-family: "Outfit", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}
.guide-step-body p {
    font-size: 0.83rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Category chips */
.guide-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.guide-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    background: rgba(255, 121, 0, 0.07);
    border: 1px solid rgba(255, 121, 0, 0.18);
    color: #c45200;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: "Space Grotesk", sans-serif;
    transition: all 0.25s ease;
}
.guide-chip:hover {
    background: rgba(255, 121, 0, 0.14);
    transform: translateY(-2px);
}

/* ── Dates Tab ── */
.guide-dates-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 580px;
    margin: 0 auto;
    align-items: center;
}
.guide-date-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 121, 0, 0.1);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 18px rgba(255, 121, 0, 0.05);
    transition:
        transform 0.3s var(--ease-premium),
        box-shadow 0.3s var(--ease-premium);
}
.guide-date-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(255, 121, 0, 0.11);
}
.guide-date-card--highlight {
    border-color: rgba(255, 121, 0, 0.3);
    box-shadow: 0 6px 22px rgba(255, 121, 0, 0.1);
}
.guide-date-card--highlight:hover {
    box-shadow: 0 14px 36px rgba(255, 121, 0, 0.18);
}
.guide-date-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7900, #ffb36b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 5px 16px rgba(255, 121, 0, 0.32);
}
.guide-date-card--highlight .guide-date-icon {
    background: linear-gradient(135deg, #ff7900, #ef4444);
    box-shadow: 0 5px 16px rgba(255, 121, 0, 0.4);
}
.guide-date-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.guide-date-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: var(--color-text-muted);
    font-family: "Space Grotesk", sans-serif;
}
.guide-date-value {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}
.guide-date-card--highlight .guide-date-value {
    color: #c45200;
}
.guide-date-sub {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
}

/* ── Abstract Tab ── */
.guide-abstract-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guide-rules-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 121, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 18px rgba(255, 121, 0, 0.04);
}
.guide-rules-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.guide-rules-card h3 i {
    color: #ff7900;
}

.guide-format-heading {
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.guide-format-heading i {
    color: #ff7900;
}

/* Accordion */
.guide-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.guide-acc-item {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 121, 0, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.guide-acc-item:hover {
    box-shadow: 0 6px 20px rgba(255, 121, 0, 0.09);
}

.guide-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: background 0.25s ease;
}
.guide-acc-trigger span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.guide-acc-trigger span i {
    color: #ff7900;
}
.guide-acc-trigger:hover {
    background: rgba(255, 121, 0, 0.04);
}
.guide-acc-trigger.open {
    color: #c45200;
}

.guide-acc-arrow {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: transform 0.3s var(--ease-premium);
    flex-shrink: 0;
}
.guide-acc-trigger.open .guide-acc-arrow {
    transform: rotate(180deg);
    color: #ff7900;
}

.guide-acc-body {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s var(--ease-premium),
        padding 0.3s ease;
    padding: 0 1.4rem;
}
.guide-acc-body.open {
    max-height: 400px;
    padding: 0.5rem 1.4rem 1.2rem;
}
.guide-acc-body ol {
    padding-left: 1.3rem;
    margin: 0;
}
.guide-acc-body ol li {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    padding: 0.15rem 0;
}

/* ── Presentation Tab ── */
.guide-pres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.guide-pres-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 121, 0, 0.1);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.35s var(--ease-premium),
        box-shadow 0.35s var(--ease-premium);
}
.guide-pres-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 121, 0, 0.1);
}

.guide-pres-header {
    padding: 1.8rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.guide-pres-header--paper {
    background: linear-gradient(
        135deg,
        rgba(255, 121, 0, 0.1),
        rgba(255, 179, 107, 0.07)
    );
    border-bottom: 1px solid rgba(255, 121, 0, 0.14);
}
.guide-pres-header--poster {
    background: linear-gradient(
        135deg,
        rgba(255, 121, 0, 0.07),
        rgba(251, 146, 60, 0.05)
    );
    border-bottom: 1px solid rgba(255, 121, 0, 0.1);
}
.guide-pres-header i {
    font-size: 1.4rem;
    color: #ff7900;
}
.guide-pres-header--poster i {
    color: #ffb36b;
}
.guide-pres-header h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
}
.guide-time-badge {
    display: inline-flex;
    flex-direction: column;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #c45200;
    border: 1px solid rgba(255, 121, 0, 0.2);
    align-self: flex-start;
    gap: 0.2rem;
}
.guide-pres-header--poster .guide-time-badge {
    color: #c45200;
    border-color: rgba(255, 121, 0, 0.2);
}
.guide-time-breakdown {
    font-size: 0.73rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.guide-pres-body {
    padding: 1.2rem 1.6rem 1.6rem;
}

.guide-mode-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.guide-mode-box {
    background: rgba(255, 248, 242, 0.8);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 121, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.guide-mode-box i {
    font-size: 1rem;
    color: #ff7900;
}
.guide-mode-box strong {
    font-size: 0.88rem;
    color: var(--color-primary);
}
.guide-mode-box p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.guide-slide-heading {
    font-family: "Outfit", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.guide-slide-heading i {
    color: #ff7900;
}
.guide-slide-heading small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.guide-slides {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.guide-slide-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.85rem;
    border-radius: 9px;
    background: rgba(255, 121, 0, 0.04);
    border: 1px solid rgba(255, 121, 0, 0.08);
    font-size: 0.83rem;
    color: var(--color-text-secondary);
}
.guide-slide-num {
    min-width: 30px;
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff7900, #ffb36b);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    flex-shrink: 0;
}

.guide-poster-list li {
    font-size: 0.86rem;
}

/* ── Publication Tab ── */
.guide-pub-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.guide-pub-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 121, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 18px rgba(255, 121, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition:
        transform 0.35s var(--ease-premium),
        box-shadow 0.35s var(--ease-premium);
}
.guide-pub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 121, 0, 0.1);
}
.guide-pub-card--awards {
    border-color: rgba(255, 121, 0, 0.22);
    box-shadow: 0 4px 18px rgba(255, 121, 0, 0.07);
}
.guide-pub-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
}
.guide-pub-card > p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin: 0;
}

.guide-award-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.guide-award-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    border-radius: 14px;
    flex: 1;
    min-width: 130px;
}
.guide-award-pill--gold {
    background: linear-gradient(
        135deg,
        rgba(251, 191, 36, 0.15),
        rgba(245, 158, 11, 0.1)
    );
    border: 1.5px solid rgba(245, 158, 11, 0.3);
}
.guide-award-pill i {
    font-size: 1.4rem;
    color: #f59e0b;
}
.guide-award-pill div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.guide-award-pill strong {
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #d97706;
}
.guide-award-pill span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .guide-panel-grid {
        grid-template-columns: 1fr;
    }
    .guide-info-card--wide {
        grid-column: auto;
    }
    .guide-steps {
        grid-template-columns: 1fr;
    }
    .guide-pres-grid {
        grid-template-columns: 1fr;
    }
    .guide-pub-wrap {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .guide-section {
        padding: 6vh 4vw 8vh;
    }
    /* Compact centered flex-wrap — stays as pills like desktop */
    .guide-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
    }
    .guide-tab:last-child {
        grid-column: unset;
    }
    .guide-tab {
        flex-direction: row;
        gap: 0.35rem;
        padding: 0.42rem 0.85rem;
        border-radius: 50px;
        font-size: 0.72rem;
        line-height: 1;
        text-align: left;
    }
    /* Show text labels */
    .guide-tab span {
        display: inline;
        white-space: nowrap;
    }
    .guide-tab i {
        font-size: 0.72rem;
    }
    .guide-mode-row {
        grid-template-columns: 1fr;
    }
    .guide-award-row {
        flex-direction: column;
    }
    .guide-date-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
