/* ==========================================================================
   KONGU BUSINESS FORUM - CSS DESIGN SYSTEM & LAYOUT
   ========================================================================== */

/* 1. Design Tokens & Variables */
:root {
    --color-primary: #0B2B61;
    /* Deep Navy Blue */
    --color-primary-light: #1A4080;
    /* Brighter Slate Navy */
    --color-gold: #C29A4A;
    /* Antique Gold */
    --color-gold-hover: #AA8238;
    /* Darker Gold */
    --color-bg-light: #F6F9FD;
    /* Soft Ice/Off-White Background */
    --color-text-dark: #112340;
    /* Rich Navy for main text */
    --color-text-gray: #55688A;
    /* Muted Slate Gray for body */
    --color-white: #ffffff;
    --card-shadow: 0 20px 40px rgba(11, 43, 97, 0.08);
    --hover-shadow: 0 30px 60px rgba(11, 43, 97, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* 2. Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. Helper Components (Buttons & Dividers) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-nav-join {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn-nav-join:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11, 43, 97, 0.15);
}

.btn-nav-login {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid rgba(11, 43, 97, 0.15);
}

.btn-nav-login:hover {
    background: rgba(11, 43, 97, 0.03);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-hero-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 16px 32px;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(11, 43, 97, 0.2);
}

.btn-hero-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(11, 43, 97, 0.25);
}

.btn-hero-primary i,
.btn-hero-secondary i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i,
.btn-hero-secondary:hover i {
    transform: translateX(4px);
}

.btn-hero-secondary {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-primary);
    border: 1.5px solid rgba(11, 43, 97, 0.2);
    padding: 16px 32px;
    font-size: 15px;
    backdrop-filter: blur(5px);
}

.btn-hero-secondary:hover {
    background-color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

/* 4. Header & Navigation styling */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-emblem {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.logo-emblem img,
.footer-logo-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.brand-logo:hover .logo-emblem {
    transform: rotate(-5deg) scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.brand-location {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* Nav Menu Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 28px;
    height: 3px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

/* Header Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hamburger Toggle */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--color-primary);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Hamburger active transformation */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 5. Mobile Navigation Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(246, 249, 253, 0.98);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    pointer-events: none; /* Prevent interaction when hidden */
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Enable interaction when open */
}


.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.mobile-link {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-dark);
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--color-gold);
}

.mobile-divider {
    width: 100%;
    border: none;
    height: 1px;
    background-color: rgba(11, 43, 97, 0.1);
    margin: 12px 0;
}

.mobile-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
}

/* 6. Hero Section Styling */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-image: url('../assets/images/forum_hero_bg.png');
    background-size: cover;
    background-position: 50% 15%;
    /* Center horizontally and shift vertically to keep the face clear and statue beside card */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 90px;
    /* offset sticky header */
}

/* On desktop, the background image handles blending naturally. No overlay needed. */
.hero-overlay {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* Hero Left Column (Content) */
.hero-content {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.badge-text {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: 3px;
}

.badge-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 700;
    color: var(--color-primary-light);
    line-height: 1.5;
    margin-bottom: 16px;
}

.hero-tagline .dot {
    color: var(--color-gold);
    margin: 0 4px;
    font-size: 20px;
    vertical-align: middle;
}

.gold-divider {
    width: 70px;
    height: 3px;
    background-color: var(--color-gold);
    margin-bottom: 24px;
    border-radius: 2px;
}

.hero-description {
    font-size: clamp(15px, 1.6vw, 16px);
    color: var(--color-text-gray);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Right Column (Floating Stats Card) */
.hero-stats-wrapper {
    display: flex;
    justify-content: flex-end;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.stats-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    padding: 36px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 50px rgba(11, 43, 97, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
    animation: float 6s ease-in-out infinite;
}

.stats-card:hover {
    box-shadow: 0 30px 60px rgba(11, 43, 97, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.55);
}

/* Stats Card Header */
.stats-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.card-logo-emblem {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 10px rgba(11, 43, 97, 0.15));
}

.card-logo-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.card-brand-text {
    display: flex;
    flex-direction: column;
}

.card-brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
}

.card-brand-sub {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

.card-gold-line {
    width: 45px;
    height: 2.5px;
    background-color: var(--color-gold);
    margin-top: 16px;
    border-radius: 2px;
}

/* Stats grid layout */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 8px 32px rgba(11, 43, 97, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 30px rgba(11, 43, 97, 0.08);
}

.stat-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

/* Custom icon colors matching the mock details */
.stat-item:nth-child(1) .stat-icon-wrapper {
    background-color: rgba(11, 43, 97, 0.06);
    color: var(--color-primary);
}

.stat-item:nth-child(2) .stat-icon-wrapper {
    background-color: rgba(194, 154, 74, 0.08);
    color: var(--color-gold);
}

.stat-item:nth-child(3) .stat-icon-wrapper {
    background-color: rgba(194, 154, 74, 0.08);
    color: var(--color-gold);
}

.stat-item:nth-child(4) .stat-icon-wrapper {
    background-color: rgba(11, 43, 97, 0.06);
    color: var(--color-primary);
}

.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-gray);
    line-height: 1.3;
}



/* 7. Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* 8. Media Queries (Responsiveness) */

/* Large Tablets & Medium screens */
@media (max-width: 1024px) {
    .nav-container {
        padding: 16px 20px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
    }

    .stats-card {
        padding: 28px;
    }

    .stat-item {
        padding: 18px 14px;
    }

    .stat-number {
        font-size: 22px;
    }
}

/* Tablets and Mobile Devices */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        /* Hide desktop nav links */
    }

    .nav-actions .btn {
        display: none;
        /* Hide desktop nav CTA buttons */
    }

    .hamburger-menu {
        display: flex;
        /* Show Hamburger menu */
    }

    .hero-overlay {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            180deg,
            rgba(246, 249, 253, 0.40) 0%,
            rgba(246, 249, 253, 0.15) 35%,
            rgba(246, 249, 253, 0.55) 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    .hero-section {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 60px;
        background-size: cover;
        background-position: 60% 15%;
        background-repeat: no-repeat;
    }

    .hero-container {
        grid-template-columns: 1fr;
        /* Stack layout */
        gap: 30px;
        text-align: center;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.85);
        border-radius: 24px;
        padding: 32px 20px;
        box-shadow: 0 16px 40px rgba(11, 43, 97, 0.1);
    }

    .hero-badge {
        justify-content: center;
    }

    .gold-divider {
        margin: 0 auto 24px auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats-wrapper {
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }

    .stats-card {
        max-width: 480px;
        margin: 0 auto;
    }
}

/* Small Mobile Screens */
@media (max-width: 576px) {
    .brand-name {
        font-size: 17px;
    }

    .brand-location {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .logo-emblem {
        width: 40px;
        height: 40px;
    }

    .hero-container {
        padding: 40px 16px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-tagline {
        font-size: 14px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        /* Full width hero CTA buttons on tiny mobile */
    }

    .stats-card {
        padding: 24px 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        /* Single column stats grid on narrow mobile for better sizing */
        gap: 12px;
    }

    .stat-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 16px;
        padding: 14px 20px;
    }

    .stat-icon-wrapper {
        margin-bottom: 0;
    }

    .stat-number {
        font-size: 22px;
        margin-bottom: 0;
    }
}

/* Tablets in-between (768px) - Home page adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .hero-container {
        padding: 40px 20px;
        gap: 24px;
    }

    .hero-title {
        font-size: clamp(30px, 6vw, 42px);
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .stats-card {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 20px;
    }

    .about-section {
        padding: 60px 16px;
    }

    .about-header {
        margin-bottom: 40px;
    }

    .roadmap-card {
        padding: 28px 20px;
    }

    .roadmap-card-title {
        font-size: 20px;
    }

    .footer {
        padding: 60px 16px 0 16px;
    }
}

/* ==========================================================================
   7. About Us Section (Vision, Mission, Goal)
   ========================================================================== */

.about-section {
    position: relative;
    padding: 100px 24px;
    background-color: var(--color-bg-light);
    border-top: 1px solid rgba(11, 43, 97, 0.05);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.about-header {
    text-align: center;
    margin-bottom: 70px;
}

.about-badge {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: 3px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: var(--color-primary);
    margin-top: 10px;
}

.about-gold-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 16px auto 0 auto;
    border-radius: 2px;
}

/* Intro and Committee Grid */
.about-intro-block {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-narrative-col {
    display: flex;
    flex-direction: column;
}

.quote-icon-container {
    font-size: 36px;
    color: var(--color-gold);
    opacity: 0.8;
}

.quote-icon-container:first-of-type {
    text-align: left;
    margin-bottom: 16px;
}

.quote-icon-container:last-of-type {
    text-align: right;
    margin-top: 16px;
}

.about-story-text {
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.7;
    font-weight: 500;
    color: var(--color-text-dark);
}

.about-story-text strong {
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.about-story-text strong::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(194, 154, 74, 0.15);
    z-index: -1;
}

.about-committee-col {
    display: flex;
    flex-direction: column;
}

.committee-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-text-gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.committee-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.committee-member-card {
    background-color: var(--color-white);
    border: 1px solid rgba(11, 43, 97, 0.05);
    border-radius: 18px;
    padding: 32px 20px 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    box-shadow: 0 6px 24px rgba(11, 43, 97, 0.05);
    transition: var(--transition-smooth);
    min-height: 220px;
}

.committee-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11, 43, 97, 0.10);
    border-color: rgba(194, 154, 74, 0.25);
}

.member-icon-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(11, 43, 97, 0.05);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(194, 154, 74, 0.35);
    box-shadow: 0 4px 16px rgba(11, 43, 97, 0.08);
    margin-bottom: 18px;
}

.member-icon-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 2;
    transition: var(--transition-smooth);
}

/* Dr. K. Moorthy — face re-centered (576×1024px selfie) */
.member-icon-box img.moorthy-img {
    object-position: center 38%;
}

.committee-member-card:hover .member-icon-box {
    border-color: var(--color-gold);
    box-shadow: 0 6px 20px rgba(194, 154, 74, 0.20);
}

.committee-member-card:hover .member-icon-box img {
    transform: scale(1.06);
}

.member-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.member-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.35;
    letter-spacing: 0.1px;
}

.member-designation {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-gold);
    margin-top: 0;
    line-height: 1.4;
}

/* Values Grid (Vision, Mission, Goal Cards) */
.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.roadmap-card {
    background-color: var(--color-white);
    border: 1px solid rgba(11, 43, 97, 0.04);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(11, 43, 97, 0.02);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.roadmap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 43, 97, 0.07);
    border-color: rgba(11, 43, 97, 0.08);
}

.roadmap-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.vision-icon {
    background-color: rgba(11, 43, 97, 0.06);
    color: var(--color-primary);
}

.mission-icon {
    background-color: rgba(194, 154, 74, 0.08);
    color: var(--color-gold);
}

.goal-icon {
    background-color: rgba(11, 43, 97, 0.06);
    color: var(--color-primary);
}

.roadmap-card:hover .roadmap-icon-box {
    transform: scale(1.05);
}

.roadmap-card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.roadmap-card-text {
    font-size: 15px;
    color: var(--color-text-gray);
    line-height: 1.7;
}

/* Highlighted Goal Card */
.goal-card-highlight {
    border: 2px solid var(--color-gold);
    box-shadow: 0 15px 35px rgba(194, 154, 74, 0.05);
}

.goal-card-highlight:hover {
    box-shadow: 0 20px 45px rgba(194, 154, 74, 0.12);
    border-color: var(--color-gold-hover);
}

.goal-card-highlight .roadmap-icon-box {
    background-color: rgba(194, 154, 74, 0.1);
    color: var(--color-gold);
}

.goal-highlight-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(194, 154, 74, 0.2);
}

.goal-card-highlight strong {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 800;
}

/* About Section Media Query Overrides */
@media (max-width: 992px) {
    .about-section {
        padding: 70px 20px;
    }

    .about-header {
        margin-bottom: 50px;
    }

    .about-intro-block {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 60px 16px;
    }

    .about-title {
        font-size: 28px;
    }

    .committee-cards-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 24px;
    }

    .committee-member-card {
        width: 92%;
        max-width: 340px;
        padding: 24px;
        min-height: 190px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .member-icon-box {
        width: 96px;
        height: 96px;
        font-size: 28px;
        margin-bottom: 16px;
    }

    .member-name {
        font-size: 13.5px;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-wrap: break-word;
        line-height: 1.3;
    }

    .member-designation {
        font-size: 11px;
        text-align: center;
    }

    .roadmap-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   8. Footer Section
   ========================================================================== */

.footer {
    background-color: var(--color-primary);
    color: #a5b9dd;
    padding: 80px 24px 0 24px;
    border-top: 4px solid var(--color-gold);
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 60px;
    margin-bottom: 50px;
}

/* Left Column: Branding and Social Links */
.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-emblem {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.2;
}

.footer-brand-location {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
    display: block;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 360px;
    color: #b4c5e4;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(194, 154, 74, 0.25);
}

/* Middle & Right Columns Header styling */
.footer-heading {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
    margin-top: 8px;
    border-radius: 2px;
}

/* Quick Links Menu */
.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    font-size: 14px;
    font-weight: 600;
    color: #b4c5e4;
    display: inline-block;
    transition: var(--transition-smooth);
}

.footer-menu a:hover {
    color: var(--color-gold);
    transform: translateX(4px);
}

/* Contact Info Column */
.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #b4c5e4;
}

.footer-contact-info li i {
    color: var(--color-gold);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    margin-top: 40px;
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #8fa8d4;
}

.credit-text {
    font-weight: 600;
    color: var(--color-gold);
}

.credit-text a {
    color: var(--color-gold);
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.credit-text a:hover {
    color: var(--color-white);
}

/* Footer Responsive Styles */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ==========================================================================
   7b. Gallery Section Styles
   ========================================================================== */

/* ── Section shell ── */
.kbf-gallery-section {
    background: linear-gradient(175deg, #f6f9fd 0%, #eef3fb 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.kbf-gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 0% 0%, rgba(11,43,97,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(194,154,74,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.kbf-gallery-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* ── Header ── */
.kbf-gallery-header {
    text-align: center;
    margin-bottom: 52px;
}

.kbf-gallery-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(194,154,74,0.1);
    border: 1px solid rgba(194,154,74,0.25);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.kbf-gallery-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.15;
    margin-bottom: 16px;
}

.kbf-gallery-gold-line {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-hover));
    border-radius: 99px;
    margin: 0 auto 18px;
}

.kbf-gallery-subtitle {
    font-size: 16px;
    color: var(--color-text-gray);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Filter chips ── */
.kbf-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.kbf-gf-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 100px;
    border: 1.5px solid rgba(11,43,97,0.15);
    background: var(--color-white);
    color: var(--color-text-gray);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(11,43,97,0.05);
}

.kbf-gf-chip i {
    font-size: 12px;
}

.kbf-gf-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11,43,97,0.12);
}

.kbf-gf-chip.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(11,43,97,0.25);
}

/* ── Image grid ── */
.kbf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* ── Individual item ── */
.kbf-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: #d8e3f0;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.kbf-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
    display: block;
}

.kbf-gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
}

.kbf-gallery-item:hover img {
    transform: scale(1.07);
}

/* Overlay on hover */
.kbf-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(11,43,97,0.82) 0%,
        rgba(11,43,97,0.25) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px 16px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.kbf-gallery-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.kbf-gallery-overlay i {
    color: var(--color-gold);
    font-size: 16px;
    flex-shrink: 0;
}

/* Hidden / filtered state */
.kbf-gallery-item.kbf-hidden {
    display: none;
}

/* ── Load More ── */
.kbf-gallery-load-more-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 44px;
}

.kbf-gallery-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 100px;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
}

.kbf-gallery-load-more-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(11,43,97,0.2);
}

.kbf-gallery-load-more-btn:disabled,
.kbf-gallery-load-more-btn[hidden] {
    display: none;
}

.kbf-gallery-count {
    font-size: 13px;
    color: var(--color-text-gray);
    font-weight: 500;
}

/* ==========================================================================
   7c. Gallery Lightbox Styles
   ========================================================================== */

.kbf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(5, 15, 35, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.kbf-lightbox.kbf-lb-active {
    opacity: 1;
    pointer-events: all;
}

.kbf-lb-content {
    position: relative;
    max-width: 88vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.kbf-lb-img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    display: block;
}

.kbf-lb-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 4px;
}

.kbf-lb-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kbf-lb-counter {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* Close button */
.kbf-lb-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
}

.kbf-lb-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1) rotate(90deg);
}

/* Prev / Next nav */
.kbf-lb-nav {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: var(--color-white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kbf-lb-nav:hover {
    background: rgba(194,154,74,0.3);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: scale(1.1);
}

/* ==========================================================================
   Gallery Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .kbf-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .kbf-gallery-section {
        padding: 72px 0 60px;
    }
    .kbf-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .kbf-gallery-filters {
        gap: 8px;
    }
    .kbf-gf-chip {
        padding: 8px 14px;
        font-size: 12px;
    }
    .kbf-lb-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .kbf-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .kbf-lb-nav {
        display: none;
    }
}

/* ==========================================================================
   8. Events Page Specific Styles
   ========================================================================== */


.events-page-body {
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

.events-main {
    padding-top: 90px;
    /* Offset header */
    min-height: 80vh;
}

/* Events & Gallery Hero (Glassmorphism design system) */
.events-hero {
    position: relative;
    padding: 70px 0;
    background: linear-gradient(135deg, #092047 0%, #0c2b61 50%, #051430 100%);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 620px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.events-hero-decorations .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.events-hero-decorations .shape-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(194, 154, 74, 0.3) 0%, rgba(194, 154, 74, 0) 70%);
    top: -150px;
    right: -100px;
    animation: floatShape1 18s infinite alternate ease-in-out;
}

.events-hero-decorations .shape-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(50, 160, 255, 0.18) 0%, rgba(50, 160, 255, 0) 70%);
    bottom: -200px;
    left: -150px;
    animation: floatShape2 25s infinite alternate ease-in-out;
}

.events-hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    width: 100%;
    padding: 0 40px;
}

/* Glass Layout Container */
.hero-glass-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-glass-text-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 500px;
    overflow: hidden;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-glass-text-card.hide-card {
    max-height: 0;
    opacity: 0;
    padding: 0 40px;
    border-top-width: 0;
    border-bottom-width: 0;
    pointer-events: none;
}

.glass-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.glass-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.glass-breadcrumb a:hover {
    color: var(--color-gold);
}

.glass-breadcrumb .active {
    color: var(--color-white);
}

.glass-breadcrumb .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
}

.glass-badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold);
    background: rgba(194, 154, 74, 0.12);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(194, 154, 74, 0.2);
    text-transform: uppercase;
}

.glass-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
}

.glass-desc {
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
}

.glass-subdesc {
    font-size: clamp(13px, 0.9vw, 15px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* Glass Pillars Grid */
.hero-glass-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.pillar-glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pillar-glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 43, 97, 0.3);
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
}

.pillar-icon-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.knowledge-glow {
    color: #ffca28;
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.25);
    background: radial-gradient(circle, rgba(255, 194, 0, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.network-glow {
    color: #00f2fe;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.visit-glow {
    color: #ff7043;
    box-shadow: 0 0 15px rgba(255, 112, 67, 0.25);
    background: radial-gradient(circle, rgba(255, 112, 67, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.pillar-info h3 {
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.pillar-info p {
    font-size: clamp(12px, 0.85vw, 13.5px);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

/* Interactive Pillar Cards styling */
.pillar-glass-card {
    cursor: pointer;
    user-select: none;
    outline: none;
}

.pillar-glass-card:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

.pillar-glass-card.active {
    background: rgba(255, 255, 255, 0.08); /* Darker overlay for active state */
    transform: translateY(-2px);
}

.pillar-glass-card[data-pillar="knowledge"].active {
    border-color: rgba(255, 202, 40, 0.5);
    box-shadow: 0 15px 35px rgba(255, 202, 40, 0.15), 0 0 15px rgba(255, 202, 40, 0.2);
}

.pillar-glass-card[data-pillar="network"].active {
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15), 0 0 15px rgba(0, 242, 254, 0.2);
}

.pillar-glass-card[data-pillar="industrial-visit"].active {
    border-color: rgba(255, 112, 67, 0.5);
    box-shadow: 0 15px 35px rgba(255, 112, 67, 0.15), 0 0 15px rgba(255, 112, 67, 0.2);
}

/* Pillar Detail Card Container */
.hero-glass-left-col {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pillar-detail-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0 28px; /* Collapse padding-top/bottom initially */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                margin 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}

.pillar-detail-card.active {
    max-height: 400px; /* Safe bounds to display content fully */
    opacity: 1;
    padding: 24px 28px;
    margin-top: 10px;
    border-width: 1px;
}

/* Add subtle category specific ambient glows to detail card */
.pillar-detail-card.knowledge-glow-active {
    border-color: rgba(255, 202, 40, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 0 30px rgba(255, 194, 0, 0.08);
}

.pillar-detail-card.network-glow-active {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 0 30px rgba(0, 242, 254, 0.08);
}

.pillar-detail-card.visit-glow-active {
    border-color: rgba(255, 112, 67, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 0 30px rgba(255, 112, 67, 0.08);
}

/* Detail Card Inner Layout */
.pillar-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.pillar-detail-badge-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pillar-detail-header .pillar-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 16px;
}

.pillar-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 800;
    color: #ffffff;
}

.pillar-detail-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.pillar-detail-close:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.pillar-detail-content {
    font-size: clamp(14px, 0.95vw, 15px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 4px 0 8px 0;
}

.pillar-detail-footer {
    display: flex;
    justify-content: flex-start;
}

/* Action button inside Detail Card */
.btn-pillar-action {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.btn-pillar-action i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.btn-pillar-action:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-pillar-action:hover i {
    transform: translateX(4px);
}

/* Customized category hover accents for action buttons */
.btn-pillar-action.knowledge-btn-hover:hover {
    background: #ffca28;
    color: var(--color-text-dark);
    border-color: #ffca28;
}

.btn-pillar-action.network-btn-hover:hover {
    background: #00f2fe;
    color: var(--color-text-dark);
    border-color: #00f2fe;
}

.btn-pillar-action.visit-btn-hover:hover {
    background: #ff7043;
    color: var(--color-white);
    border-color: #ff7043;
}

/* Float Animations for blobs */
@keyframes floatShape1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 50px) scale(1.1); }
}

@keyframes floatShape2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -40px) scale(0.9); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Section Layout */
.events-content-section {
    position: relative;
    padding: 60px 24px 100px 24px;
    overflow-x: hidden;
    overflow-y: visible;
}

.events-section-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.events-section-decorations .decor-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.events-section-decorations .circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(11, 43, 97, 0.03);
    top: 20%;
    left: -100px;
}

.events-section-decorations .circle-2 {
    width: 500px;
    height: 500px;
    background: rgba(194, 154, 74, 0.04);
    bottom: 10%;
    right: -150px;
}

.events-content-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    z-index: 2;
}

/* Category Filter Bar */
.filter-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    width: 100%;
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(11, 43, 97, 0.03);
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    /* Hide standard scrollbar for clean chip style */
    -ms-overflow-style: none;
    /* Hide IE scrollbar */
}

.filter-container::-webkit-scrollbar {
    display: none;
    /* Hide Chrome/Safari scrollbar */
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-dark);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
}

.filter-chip:hover {
    color: var(--color-primary-light);
    background: rgba(255, 255, 255, 0.6);
}

.filter-chip.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px rgba(11, 43, 97, 0.15);
}

.filter-chip.active i {
    color: var(--color-gold);
}

.filter-chip i {
    font-size: 14px;
    color: var(--color-text-gray);
    transition: all 0.3s ease;
}

.filter-chip.active:hover {
    background-color: var(--color-primary-light);
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    min-height: 400px;
    /* Prevent collapse when empty */
}

/* Event Card Design */
.event-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(11, 43, 97, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    transform: translateY(30px);
}

.event-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(11, 43, 97, 0.10), 0 0 20px rgba(194, 154, 74, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    border-color: rgba(194, 154, 74, 0.45);
}

/* Card Image Wrapper */
.event-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.event-card:hover .event-card-img {
    transform: scale(1.05);
}

/* Category Badge Over Image */
.event-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(11, 43, 97, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.event-category-badge i {
    color: var(--color-gold);
    font-size: 11px;
    transition: all 0.3s ease;
}

/* --- Category Specific Animations --- */

/* Knowledge Category (Blue Glow & Rotate Icon) */
.event-card[data-category="knowledge"]:hover {
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 25px 50px rgba(11, 43, 97, 0.10), 0 0 20px rgba(52, 152, 219, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}
.event-card[data-category="knowledge"]:hover .event-category-badge {
    background: rgba(52, 152, 219, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
.event-card[data-category="knowledge"]:hover .event-category-badge i {
    color: white;
    transform: rotate(360deg);
}

/* Network Category (Green Glow & Shake Icon) */
.event-card[data-category="network"]:hover {
    border-color: rgba(46, 204, 113, 0.4);
    box-shadow: 0 25px 50px rgba(11, 43, 97, 0.10), 0 0 20px rgba(46, 204, 113, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}
.event-card[data-category="network"]:hover .event-category-badge {
    background: rgba(46, 204, 113, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}
.event-card[data-category="network"]:hover .event-category-badge i {
    color: white;
    animation: badge-shake 0.5s ease;
}

/* Industrial Visit Category (Purple Glow & Scale Icon) */
.event-card[data-category="industrial-visit"]:hover {
    border-color: rgba(155, 89, 182, 0.4);
    box-shadow: 0 25px 50px rgba(11, 43, 97, 0.10), 0 0 20px rgba(155, 89, 182, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}
.event-card[data-category="industrial-visit"]:hover .event-category-badge {
    background: rgba(155, 89, 182, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}
.event-card[data-category="industrial-visit"]:hover .event-category-badge i {
    color: white;
    transform: scale(1.2);
}

@keyframes badge-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px) rotate(-5deg); }
    50% { transform: translateX(2px) rotate(5deg); }
    75% { transform: translateX(-2px) rotate(-5deg); }
}

/* Glass Date Badge */
.event-glass-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.event-glass-date .date-day {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.event-glass-date .date-month {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Card Details */
.event-card-details {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.event-card:hover .event-card-title {
    color: var(--color-primary-light);
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-gray);
}

.event-card-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-card-meta i {
    color: var(--color-gold);
    font-size: 14px;
}

.event-card-description {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Button */
.btn-event-details {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid rgba(11, 43, 97, 0.15);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    width: 100%;
    margin-top: auto;
    /* Push button to bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-event-details i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-event-details:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(11, 43, 97, 0.12);
}

.btn-event-details:hover i {
    transform: translateX(4px);
}

/* Pagination Styles */
.pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 8px;
}

.page-numbers-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-link {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--color-text-dark);
    padding: 10px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.page-link i {
    font-size: 11px;
}

.page-link:hover:not(:disabled) {
    background: var(--color-white);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11, 43, 97, 0.05);
}

.page-link.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.page-link:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Bottom View All CTA */
.events-bottom-cta {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-view-all-events {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(11, 43, 97, 0.15);
    transition: var(--transition-smooth);
}

.btn-view-all-events i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-view-all-events:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 43, 97, 0.20);
}

.btn-view-all-events:hover i {
    transform: translateX(4px);
}

/* Keyboard accessibility outline highlights */
.filter-chip:focus-visible,
.btn-event-details:focus-visible,
.page-link:focus-visible,
.btn-view-all-events:focus-visible,
.brand-logo:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

/* Accessibility: respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    .event-card,
    .event-card-img,
    .btn-event-details i,
    .btn-view-all-events i,
    .filter-chip,
    .page-link {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* Responsive Overrides for Events Page */

@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .events-hero {
        aspect-ratio: auto;
        min-height: auto;
        padding: 80px 24px;
    }

    .hero-glass-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .events-hero {
        padding: 60px 20px;
    }

    .events-hero-container {
        padding: 0;
    }

    .hero-glass-text-card {
        padding: 30px 20px;
        gap: 12px;
    }

    .events-content-section {
        padding: 40px 20px 60px 20px;
    }
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .event-card {
        border-radius: 20px;
    }

    .event-card-details {
        padding: 20px;
    }

    .event-card-title {
        font-size: 18px;
    }

    /* Horizontal Scrolling Chips on mobile — contained overflow */
    .filter-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        padding: 0;
    }

    .filter-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
        background: transparent;
        border-color: rgba(11, 43, 97, 0.05);
        box-shadow: none;
        padding: 4px 0;
        width: max-content;
        min-width: 100%;
    }

    .filter-chip {
        padding: 10px 18px;
        font-size: 13px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(11, 43, 97, 0.08);
    }

    .filter-chip.active {
        background-color: var(--color-primary);
        border-color: var(--color-gold);
    }

    .pagination-nav {
        margin-top: 10px;
    }

    .page-link {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* Event page buttons should NOT stretch to 100% */
    .btn-view-all-events {
        width: auto;
        padding: 12px 24px;
        font-size: 14px;
    }

    .events-hero-title {
        font-size: 32px;
    }

    .events-hero-subtitle {
        font-size: 15px;
    }
}

/* ==========================================================================
   9. Event Detail Modal & Lightbox
   ========================================================================== */

/* Modal Overlay */
.event-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.event-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.event-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 20, 45, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Modal Container */
.event-modal-container {
    position: relative;
    width: 94%;
    max-width: 960px;
    max-height: 92vh;
    background: var(--color-white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    z-index: 2;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-modal-overlay.active .event-modal-container {
    transform: translateY(0) scale(1);
}

.event-modal-scroll-wrapper {
    overflow-y: auto;
    max-height: 92vh;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) transparent;
}

.event-modal-scroll-wrapper::-webkit-scrollbar {
    width: 6px;
}

.event-modal-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 10px;
}

/* Close Button */
.event-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.event-modal-close:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(90deg);
}

/* Modal Hero Image */
.modal-hero-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

.modal-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-category-badge {
    position: absolute;
    bottom: 20px;
    left: 24px;
    background: rgba(11, 43, 97, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-category-badge i {
    color: var(--color-gold);
}

.modal-glass-date {
    position: absolute;
    bottom: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    width: 68px;
    height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Modal Body */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 0;
    padding: 36px 36px 20px 36px;
}

.modal-info-col {
    padding-right: 36px;
    border-right: 1px solid rgba(11, 43, 97, 0.06);
}

.modal-event-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.25;
    margin-bottom: 16px;
}

.modal-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-gray);
}

.modal-meta-item i {
    color: var(--color-gold);
    font-size: 15px;
}

.modal-divider {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 2px;
    margin-bottom: 20px;
}

.modal-description {
    font-size: 15px;
    color: var(--color-text-gray);
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Modal Highlights */
.modal-section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section-title i {
    color: var(--color-gold);
    font-size: 16px;
}

.modal-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-highlights-list li {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
}

.modal-highlights-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gold);
}

/* Modal Sidebar */
.modal-sidebar-col {
    padding-left: 32px;
}

.modal-sidebar-card {
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid rgba(11, 43, 97, 0.04);
}

.sidebar-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-gold);
}

.sidebar-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sidebar-info-list li>i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(194, 154, 74, 0.1);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.sidebar-info-list li div {
    display: flex;
    flex-direction: column;
}

.sidebar-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.sidebar-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-dark);
}

/* Modal Gallery */
.modal-gallery-section {
    padding: 20px 36px 40px 36px;
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.modal-gallery-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.modal-gallery-thumb:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 43, 97, 0.1);
}

.modal-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modal-gallery-thumb:hover img {
    transform: scale(1.08);
}

.modal-gallery-thumb::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 43, 97, 0.4);
    color: white;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.modal-gallery-thumb:hover::after {
    opacity: 1;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    background: rgba(2, 8, 20, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-img-wrapper {
    max-width: 85vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

.lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .event-modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .event-modal-scroll-wrapper {
        max-height: 100vh;
    }

    .modal-hero-img-wrapper {
        aspect-ratio: 16 / 9;
    }

    .modal-body {
        grid-template-columns: 1fr;
        padding: 24px 20px 16px 20px;
    }

    .modal-info-col {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(11, 43, 97, 0.06);
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .modal-sidebar-col {
        padding-left: 0;
    }

    .modal-event-title {
        font-size: 22px;
    }

    .modal-gallery-section {
        padding: 16px 20px 32px 20px;
    }

    .modal-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}