/* ==========================================================================
   FCPT-2027 Mint-Teal & Saffron-Coral Premium Design System
   Uses standard fonts: Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif
   ========================================================================== */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Root tokens ── */
:root {
    --hero-emerald: #10b981;
    --hero-emerald-dim: #059669;
    --hero-blue: #3b82f6;
    --hero-cyan: #06b6d4;

    /* Vivid Mint-Teal & Warm Saffron Premium Palette */
    --primary-color: #0D9488;
    /* Vibrant Mint-Teal */
    --primary-dark: #0F766E;
    --primary-light: rgba(13, 148, 136, 0.08);
    --secondary-color: #F97316;
    /* Sunset Saffron-Coral / Orange */
    --secondary-dark: #EA580C;
    --midnight-green: #072C26;
    /* Deep Mint Obsidian */
    --midnight-teal: #072C26;
    /* Cross-compatibility layout variable */

    /* Light Mode Interface Variables */
    --bg-color: #F4FAF8;
    /* Soft Mist Teal */
    --bg-alt: #EBF5F2;
    /* Soft Organic Teal Mint tint */
    --text-color: #0F172A;
    /* Slate 900 */
    --text-muted: #475569;
    /* Slate 600 */
    --text-muted-dev: #64748b;
    --card-bg: #FFFFFF;
    --border-color: #D1E5E0;
    /* Soft Minty border */
    --nav-bg: rgba(244, 250, 248, 0.9);
    --shadow-color: rgba(7, 44, 38, 0.04);
    --shadow-glow: rgba(13, 148, 136, 0.12);

    /* Structure */
    --border-radius-xl: 20px;
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
    --transition-speed: 0.35s;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Dark Mode Variables Override */
[data-theme="dark"] {
    --bg-color: #030A08;
    /* Deep Mint Obsidian */
    --bg-alt: #081411;
    /* Dark Green Teal Slate */
    --text-color: #F8FAFC;
    /* Crystal */
    --text-muted: #94A3B8;
    /* Slate 400 */
    --text-muted-dev: #64748b;
    --card-bg: #0C1A16;
    /* Obsidian forest card */
    --border-color: #1A2F2B;
    --nav-bg: rgba(3, 10, 8, 0.9);
    --shadow-color: rgba(0, 0, 0, 0.6);
    --shadow-glow: rgba(13, 148, 136, 0.08);
    --primary-light: rgba(13, 148, 136, 0.15);
}

/* --------------------------------------------------------------------------
   Global Layout & Resets (Clean Font verified)
   -------------------------------------------------------------------------- */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
    overflow-x: hidden;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-color);
}

section {
    padding: 3rem 0 !important;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.bg-alt {
    background-color: var(--bg-alt);
}

.text-primary-dev {
    color: var(--primary-color) !important;
}

.text-secondary-dev {
    color: var(--secondary-color) !important;
}

/* --------------------------------------------------------------------------
   Interactive Preloader
   -------------------------------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------------------
   PREMIUM NAV: Floating Glass Capsule
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 15px;
    left: 0;
    right: 0;
    width: 90%;
    /* max-width: 1200px; */
    margin: 0 auto;
    background-color: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: 0px 28px;
    box-shadow: 0 10px 30px var(--shadow-color);
    z-index: 9999;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.brand-text-wrapper {
    color: var(--text-color) !important;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px !important;
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--primary-light);
}

/* HOVER DROPDOWN MENU FIX WITH GAP BRIDGE */
@media (min-width: 992px) {

    .navbar-nav .nav-item.dropdown:hover .dropdown-menu,
    .navbar-nav .nav-item.dropdown .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto;
    }

    .navbar-nav .nav-item.dropdown .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease-out;
        pointer-events: none;
    }

    /* Transparent pseudo-bridge to cover the hover gap */
    .navbar-nav .nav-item.dropdown .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        right: 0;
        height: 20px;
        background: transparent;
    }
}

.dropdown-menu {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 8px;
    box-shadow: 0 15px 40px var(--shadow-color);
}

.dropdown-item {
    color: var(--text-color);
    border-radius: 6px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--primary-light);
    color: var(--primary-color) !important;
}

#theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

#theme-toggle:hover {
    background-color: var(--primary-color);
    color: #050806;
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   OVERHAULED HERO: Spacious Three-Dimensional Glass Overlay Card
   Refactored with hardware-accelerated pseudo-element background layering 
   to fix visibility issues and display the new premium food chemistry banner.
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    background-color: var(--midnight-green);
    overflow: hidden;
    z-index: 1;
}

/* Renders the high-res food chemistry background image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1606787366850-de6330128bfc?q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: -2;
    transition: opacity var(--transition-speed) ease;
}

/* Renders the organic high-contrast gradient overlay (light mode) */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(7, 44, 38, 0.93) 0%, rgba(7, 44, 38, 0.82) 40%, rgba(7, 44, 38, 0.35) 100%);
    z-index: -1;
    transition: background var(--transition-speed) ease;
}

/* Dark mode gradient override */
[data-theme="dark"] .hero::after {
    background: linear-gradient(to right, rgba(3, 10, 8, 0.95) 0%, rgba(3, 10, 8, 0.85) 40%, rgba(3, 10, 8, 0.4) 100%);
}

@media(max-width: 991px) {
    .hero::after {
        background: linear-gradient(to bottom, rgba(7, 44, 38, 0.93) 0%, rgba(7, 44, 38, 0.88) 100%);
    }

    [data-theme="dark"] .hero::after {
        background: linear-gradient(to bottom, rgba(3, 10, 8, 0.95) 0%, rgba(3, 10, 8, 0.9) 100%);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Translucent Asymmetrical overlay glass container */
.hero-glass-container {
    /* background-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-xl); */
    padding: 55px 45px;
    /* box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); */
    color: #ffffff !important;
}

[data-theme="dark"] .hero-glass-container {
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-glass-container h1,
.hero-glass-container h5,
.hero-glass-container p {
    color: #ffffff !important;
}

.badge-premium {
    /* background-color: rgba(34, 197, 94, 0.15); */
    color: var(--primary-color);
    font-weight: 800;
    padding: 8px 18px;
    /* border-radius: var(--border-radius-md); */
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: inline-block;
    /* border: 1px solid rgba(34, 197, 94, 0.3); */
}

/* --------------------------------------------------------------------------
   Typography Scale (Standard styling verified)
   -------------------------------------------------------------------------- */
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.title-underline {
    height: 5px;
    width: 50px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.lead-dev {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    border-radius: var(--border-radius-md);
    padding: 15px 34px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.25);
}

.btn-dark {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.hero-glass-container .btn-dark:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--midnight-green);
    transform: translateY(-3px);
}

.btn-dark:not(.hero-glass-container .btn-dark) {
    border-color: var(--border-color);
    color: var(--text-color);
}

.btn-dark:not(.hero-glass-container .btn-dark):hover {
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Corporate Bento Cards & Numeric System
   -------------------------------------------------------------------------- */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px var(--shadow-color);
    border-color: var(--primary-color);
}

.card-icon-container {
    width: 55px;
    height: 55px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card:hover .card-icon-container {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

.card:hover .card-icon-container i {
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Checkerboard Target Audience Grid
   -------------------------------------------------------------------------- */
.attendance-card {
    border-left: 3px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    background-color: var(--card-bg);
}

.attendance-card:hover {
    background-color: var(--primary-light);
}

/* --------------------------------------------------------------------------
   Scientific Sessions Technical Accordion
   -------------------------------------------------------------------------- */
.custom-accordion .accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.custom-accordion .accordion-button {
    background-color: var(--card-bg);
    color: var(--text-color);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 20px 24px;
    box-shadow: none;
    border: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--bg-alt);
    color: var(--primary-color);
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2322C55E'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------------------
   Pricing Grid Cards
   -------------------------------------------------------------------------- */
.pricing-card {
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color) !important;
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 15px 45px var(--shadow-glow);
}

@media(max-width: 991px) {
    .pricing-card.featured {
        transform: scale(1);
    }
}

.pricing-card .badge-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #050806;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
}

.display-4 {
    font-size: 3.2rem;
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   Technical Input Forms
   -------------------------------------------------------------------------- */
.form-control {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 12px 18px;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-control::placeholder {
    color: var(--text-muted-dev);
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Scroll Animation reveal
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.15s;
}

.delay-3 {
    transition-delay: 0.2s;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stat-box-dummy {
    padding: 12px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* --------------------------------------------------------------------------
   Footer Layout
   -------------------------------------------------------------------------- */
footer {
    background-color: #050806;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    border-top: 1px solid #1a291e;
}

footer h4,
footer h5 {
    color: #ffffff;
    font-weight: 700;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--primary-color);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #050806;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

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

.inner-page-header {
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, var(--midnight-green), #030a08) !important;
    overflow: hidden;
    /* margin-bottom: 3rem; */
    padding-top: 12rem;
    padding-bottom: 5rem;
}

/* ── Section shell ── */
#home.hero-v2 {
    /* min-height: 100vh; */
    background: #070b12;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    font-family: 'Inter', sans-serif;
}

/* ── Video background layer ── */
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    display: block;
}

/* ── Dark gradient overlay on top of video ── */
.hero-photo::after,
#home.hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 11, 18, 0.88) 0%, rgba(7, 11, 18, 0.72) 50%, rgba(7, 11, 18, 0.60) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ── Glowing orbs ── */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.hero-orb-1 {
    width: 45vw;
    height: 45vw;
    top: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
}

.hero-orb-2 {
    width: 35vw;
    height: 35vw;
    bottom: -15%;
    right: 5%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.hero-orb-3 {
    width: 20vw;
    height: 20vw;
    top: 30%;
    left: 40%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.10) 0%, transparent 70%);
}

/* ── Dot-grid overlay ── */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.08;
}

/* ── Content wrapper ── */
.hero-v2-inner {
    position: relative;
    z-index: 5;
    padding: 15rem 0 5rem;
}

/* ── Badge ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    border-radius: 99px;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--hero-emerald);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    animation: fadeDown 0.6s ease both;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hero-emerald);
    box-shadow: 0 0 10px var(--hero-emerald);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 8px var(--hero-emerald);
    }

    50% {
        box-shadow: 0 0 20px var(--hero-emerald);
    }
}

/* ── Main headline ── */
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    animation: fadeUp 0.7s 0.15s ease both;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--hero-emerald) 0%, var(--hero-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-edition {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    letter-spacing: 2px;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 0.7s 0.25s ease both;
}

/* ── Info pills ── */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.25rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: border-color 0.3s;
    animation: fadeUp 0.7s 0.35s ease both;
}

.hero-pill:hover {
    border-color: var(--hero-emerald);
}

.hero-pill i {
    color: var(--hero-emerald);
}

/* ── Glass theme card ── */
.hero-theme-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.7s 0.45s ease both;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 60%;
    margin: auto;
}

.hero-theme-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.08);
}

.hero-theme-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hero-emerald), var(--hero-cyan), var(--hero-blue));
}

.hero-theme-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hero-emerald);
    font-family: 'Space Grotesk', sans-serif;
}

.hero-theme-text {
    font-size: 1rem;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.7;
    margin: 0;
}

/* ── CTA Buttons ── */
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--hero-emerald), var(--hero-cyan));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
    transition: transform 0.25s, box-shadow 0.25s;
    animation: fadeUp 0.7s 0.55s ease both;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.5);
    color: #fff;
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    animation: fadeUp 0.7s 0.60s ease both;
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    color: #fff;
}

/* ── Stats row ── */
.hero-stat-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: center;
    transition: border-color 0.3s;
    animation: fadeUp 0.7s 0.65s ease both;
}

.hero-stat-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.hero-stat-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--hero-emerald), var(--hero-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-lbl {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* ── Organiser strip ── */
.hero-org {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    animation: fadeUp 0.7s 0.70s ease both;
}

.hero-org strong {
    color: rgba(255, 255, 255, 0.9);
}

/* ── Animations ── */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ==========================================================================
   Speakers Page Styles (No inline styles)
   ========================================================================== */
.speakers-header-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
}

.speakers-header-orb-left {
    top: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
}

.speakers-header-orb-right {
    bottom: -50px;
    right: -50px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.1) 0%, transparent 70%);
}

.z-index-1 {
    z-index: 1;
}

.speakers-section {
    padding: 4rem 0 !important;
    background-color: var(--bg-color);
}

.min-w-0 {
    min-width: 0;
}

.spk-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    box-shadow: 0 6px 28px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--sp-accent);
}

.spk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.spk-card-photo-wrapper {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    background: color-mix(in srgb, var(--sp-accent) 13%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.spk-card-photo {
    /* width: 100%; */
    height: auto;
    object-fit: cover;
    object-position: top;
}

.spk-card-info {
    flex: 1;
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.spk-card-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 0.2rem;
    line-height: 1.3;
}

.spk-card-affiliation {
    margin: 0.6rem 0;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    gap: 0.6rem;
}

.spk-card-logo {
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
    background: #fff;
    padding: 2px;
    height: 60px;
}

.spk-card-icon-fallback {
    border-radius: 8px;
    background-color: var(--sp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.spk-card-icon-fallback i {
    color: #fff;
    font-size: 0.85rem;
}

.spk-card-univ-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.spk-card-country-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.spk-card-marker {
    color: var(--sp-accent);
    font-size: 0.8rem;
}

.spk-card-country-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.spk-card-country-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: var(--border-color);
    border-radius: 1px;
    flex-shrink: 0;
}

.spk-card-flag {
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.spk-card-profiles-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.spk-card-profiles-icon {
    color: var(--sp-accent);
    margin-right: 4px;
}

.spk-card-profiles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spk-card-profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.spk-card-profile-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    color: #fff;
}

.spk-card-profile-link.linkedin {
    background: #0A66C2;
}

.spk-card-profile-link.scholar {
    background: #4285F4;
}

.spk-card-profile-link.researchgate {
    background: #00CCBB;
}

.spk-card-profile-link.orcid {
    background: #A6CE39;
}

@media (min-width: 576px) {
    .spk-card {
        flex-direction: row;
    }

    .spk-card-photo-wrapper {
        width: 200px;
        min-height: 220px;
        height: auto;
    }

    .spk-card-photo {
        width: 200px;
        height: 100%;
        object-fit: cover;
    }
}