:root {
    --navy: #002147;
    --navy-hover: #003366;
    --orange: #fd6334;
    --orange-glow: rgba(253, 99, 52, 0.15);
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-white: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 33, 71, 0.08);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 40px rgba(253, 99, 52, 0.15);
    --banner-height: 0px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand-name {
    font-family: "Montserrat", sans-serif;
}

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: var(--banner-height);
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    /* backdrop-filter: blur(15px); */
    /* -webkit-backdrop-filter: blur(15px); */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--glass-white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-brand img {
    height: 80px; /* Balanced logo size */
    width: auto;
    display: block;
    transition: all 0.3s ease;
    padding-top: 10px;
}

/* By default (dark hero background), show light logo, hide dark logo */
.nav-brand .logo-light {
    display: block;
}
.nav-brand .logo-dark {
    display: none;
}

/* When scrolled (white navbar background), hide light logo, show dark logo */
.navbar.scrolled .nav-brand .logo-light {
    display: none;
}
.navbar.scrolled .nav-brand .logo-dark {
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--orange);
}

.navbar.scrolled .nav-links a {
    color: var(--navy);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--orange);
}

.btn-register-nav {
    background: var(--orange);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: var(--shadow-md);
}

.btn-register-nav:hover {
    transform: translateY(-2px);
    background: #e5532a;
}

.btn-download-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: white !important;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600 !important;
    border: 1px solid white;
    transition: all 0.3s ease;
}

.btn-download-nav:hover {
    background: white;
    color: var(--navy) !important;
}

.navbar.scrolled .btn-download-nav {
    color: var(--navy) !important;
    border-color: var(--navy);
}

.navbar.scrolled .btn-download-nav:hover {
    background: var(--navy);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--navy);
}

/* ---------- HERO SECTION (100vh) ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(100px + var(--banner-height));
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("hero-bg.jpg");
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 33, 71, 0.9) 0%,
        rgba(0, 20, 45, 0.8) 100%
    );
    z-index: -1;
}

.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.conference-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.tag-line {
    width: 40px;
    height: 3px;
    background: var(--orange);
}
.tag-text {
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.main-title {
    font-size: 3.4rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.main-title .highlight {
    color: var(--orange);
}

.conference-id {
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 45px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--orange);
    color: white;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero .btn-outline {
    border: 2px solid white;
    color: white;
}
.hero .btn-outline:hover {
    background: white;
    color: var(--navy);
}

/* Info Cards in Hero */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(10px);
    border-color: var(--orange);
}
.card-icon {
    width: 50px;
    height: 50px;
    background: var(--orange-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}
.card-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

/* ---------- ABOUT SECTION ---------- */
.about-tmu {
    min-height: 90vh;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px; /* Accounts for navbar */
}

.about-grid {
    max-width: 1300px;
    width: 100%;
    background: white;
    border-radius: 24px;
    padding: 50px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    box-shadow: var(--shadow-sm);
    align-items: center;
}

.section-title {
    font-size: 2.6rem;
    color: var(--navy);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}
.section-title .highlight {
    color: var(--orange);
}

.about-text-content {
    margin-bottom: 25px;
}
.main-p {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.6;
}
.secondary-p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.navy-bold {
    color: var(--navy);
    font-weight: 700;
}

.ideals {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.ideal-chip {
    background: white;
    color: var(--navy);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.ideal-chip:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.facility-badges {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}
.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}
.badge i {
    color: var(--orange);
    width: 20px;
}

/* Slideshow Adjustment */
.about-visuals {
    display: flex;
    flex-direction: column;
}
.campus-slideshow {
    height: 380px;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition:
        opacity 1s ease-in-out,
        transform 1s ease-in-out;
    transform: scale(1.1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 33, 71, 0.2) 100%
    );
    z-index: 3;
    pointer-events: none;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    margin-top: -30px; /* Intentional premium overlap */
    position: relative;
    z-index: 5;
    margin-left: 20px;
    margin-right: 20px;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--orange);
    display: block;
}
.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ---------- SCROLL INDICATOR ---------- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.scroll-indicator p {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--orange);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-out;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, 10px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* ---------- UTILITIES & ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet & Smaller Laptops */
@media (max-width: 1200px) {
    .main-title {
        font-size: 3rem;
    }
    .about-grid {
        padding: 40px;
        gap: 40px;
    }
    .nav-links {
        gap: 25px;
    }
}

/* Tablet (Portrait) & Small Screens */
@media (max-width: 900px) {
    /* Layout Adjustments */
    .hero,
    .about-tmu {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px;
    }
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-cards,
    .about-visuals {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    /* Typography */
    .main-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.4rem;
    }
    .tagline {
        margin: 0 auto 30px;
    }
    .conference-tag {
        justify-content: center;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
    }

    /* Elements */
    .hero-btns {
        justify-content: center;
    }
    .ideals,
    .facility-badges {
        justify-content: center;
    }
    .stats-row {
        margin: -30px 10px 0;
        padding: 20px 10px;
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Mobile Phones (Strict) */
@media (max-width: 600px) {
    .hero-grid {
        padding: 0;
    }
    .about-grid {
        padding: 40px 25px;
    }

    .nav-brand img {
        height: 65px;
    }

    .main-title {
        font-size: 2.2rem;
    }

    /* Buttons */
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }

    /* Hero Cards Constraints */
    .info-card {
        padding: 20px;
        gap: 15px;
        text-align: left;
    }
    .card-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    .card-value {
        font-size: 1rem;
    }

    /* Slideshow */
    .campus-slideshow {
        height: 300px;
    }

    /* Stats */
    .stats-row {
        flex-direction: column;
        margin-top: 15px;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    .stat-item {
        background: white;
        padding: 15px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        box-shadow: var(--shadow-sm);
    }

    .scroll-indicator {
    }
}

/* ========== ABOUT CCSIT SECTION ========== */
.about-ccsit {
    min-height: 90vh;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
}

.ccsit-wrapper {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.ccsit-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Tab Buttons */
.ccsit-tabs {
    display: flex;
    gap: 12px;
    background: var(--bg-soft);
    padding: 8px;
    border-radius: 16px;
    width: fit-content;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn svg {
    width: 18px;
    height: 18px;
}

.tab-btn:hover {
    color: var(--navy);
    background: white;
}

.tab-btn.active {
    background: white;
    color: var(--orange);
    box-shadow: var(--shadow-sm);
}

.tab-btn.active svg {
    color: var(--orange);
}

/* Tab Panels */
.tab-panel {
    display: none;
    animation: fadeSlideIn 0.4s ease-out forwards;
}

.tab-panel.active {
    display: block;
}

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

/* Inner Grid */
.ccsit-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

#tab-college .ccsit-content-grid {
    grid-template-columns: 1fr;
}

/* Text Block */
.ccsit-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ccsit-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 8px;
}

.ccsit-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.ccsit-text p strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Feature Cards */
.ccsit-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: 16px;
    border: 1px solid #e8edf3;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Orange Accent Cards (Conference tab) */
.orange-card {
    background: white;
    border-color: var(--orange-glow);
}

.orange-icon {
    background: var(--orange-glow);
    color: var(--orange);
}

/* ===== Responsive: CCSIT ===== */
@media (max-width: 900px) {
    .about-ccsit {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    .ccsit-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ccsit-tabs {
        width: 100%;
    }
    .tab-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
    }
}

@media (max-width: 600px) {
    .ccsit-features {
        grid-template-columns: 1fr;
    }
    .tab-btn span {
        font-size: 0.85rem;
    }
    .ccsit-subtitle {
        font-size: 1.25rem;
    }
}

/* ========== CONFERENCE TRACKS SECTION ========== */
.conf-tracks {
    min-height: 90vh;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

.tracks-header {
    text-align: center;
    padding: 0 40px;
    margin-bottom: 40px;
}

.tracks-header .section-tag {
    justify-content: center;
}

.tracks-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 10px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Carousel Wrapper — clips overflow */
.tracks-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0 30px;
}

/* The scrolling row */
.tracks-carousel {
    display: flex;
    gap: 24px;
    padding: 0 60px;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

/* Individual Card */
.track-card {
    flex: 0 0 320px;
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8edf3;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
    cursor: pointer;
}

.track-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--orange);
}

/* Image Area */
.track-img-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.track-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.track-card:hover .track-img-wrap img {
    transform: scale(1.06);
}

/* Numbered badge */
.track-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 2.2rem;
    font-weight: 900;
    font-family: "Montserrat", sans-serif;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1;
    letter-spacing: -2px;
}

/* Card Body */
.track-body {
    padding: 22px 24px 26px;
}

.track-icon {
    width: 42px;
    height: 42px;
    background: var(--orange-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin-bottom: 14px;
}

.track-icon svg {
    width: 20px;
    height: 20px;
}

.track-body h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.35;
}

.track-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Controls row */
.tracks-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.track-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--navy);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.track-nav-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    box-shadow: var(--shadow-hover);
}

.track-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Dots */
.track-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.track-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.track-dot.active {
    background: var(--orange);
    width: 24px;
    border-radius: 4px;
}

/* ===== Responsive: Tracks ===== */
@media (max-width: 900px) {
    .conf-tracks {
        padding: 100px 0 60px;
        min-height: auto;
    }
    .track-card {
        flex: 0 0 75vw; /* viewport-relative so it never overflows */
    }
    .tracks-carousel {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .track-card {
        flex: 0 0 calc(100vw - 64px); /* full width minus side padding */
    }
    .tracks-carousel {
        padding: 0 20px;
        gap: 14px;
    }
    .tracks-carousel-wrapper {
        overflow: hidden;
        /* ensure nothing bleeds past the right edge */
        max-width: 100vw;
    }
    .tracks-header {
        padding: 0 20px;
    }
    .track-img-wrap {
        height: 160px;
    }
}

/* ========== GUIDELINES SECTION ========== */
.guidelines-section {
    min-height: 90vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
}

.guidelines-wrapper {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.guidelines-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.guide-card {
    background: var(--bg-color);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid #e8edf3;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 33, 71, 0.1);
}

.note-card {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    background: white;
}

@media (max-width: 768px) {
    .note-card {
        flex-direction: column;
    }
}

.guide-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

.guide-icon svg {
    width: 24px;
    height: 24px;
}

.guide-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    font-family: "Montserrat", sans-serif;
}

.guide-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guide-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.guide-list li::before {
    content: "•";
    color: var(--orange);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.guide-list li strong {
    color: var(--navy);
    font-weight: 700;
}

.text-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: var(--navy);
    text-decoration: underline;
}

/* Highlighted Publication Card */
.highlight-guide {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

.highlight-guide h3 {
    color: white;
}

.highlight-guide .guide-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--orange);
    box-shadow: none;
}

.highlight-guide .guide-list li {
    color: rgba(255, 255, 255, 0.85);
}

.highlight-guide .guide-list li strong {
    color: white;
}

/* Responsive: Guidelines */
@media (max-width: 1100px) {
    .guidelines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .guidelines-section {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
    .guide-card {
        padding: 25px 20px;
    }
}

/* ========== REGISTRATION & INFO SECTION ========== */
.registration-section {
    position: relative;
    min-height: 90vh;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

.registration-wrapper {
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.registration-header {
    text-align: center;
    margin-bottom: 10px;
}

.registration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.fees-column,
.details-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Common Card Styles */
.fees-card,
.reg-info-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e8edf3;
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8edf3;
}

.card-header i {
    color: var(--orange);
    width: 28px;
    height: 28px;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    font-family: "Montserrat", sans-serif;
    margin: 0;
}

/* Horizontal Cards */
.horizontal-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.card-side-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 100px;
    padding-right: 15px;
    border-right: 1px solid #e8edf3;
}

.card-side-header i {
    color: var(--orange);
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
}

.card-side-header h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
    font-family: "Montserrat", sans-serif;
    line-height: 1.3;
    margin: 0;
}

.payment-card .card-side-header h3 {
    color: white;
}

.card-side-content {
    flex: 1;
}

.fees-column .mt-30 {
    margin-top: 0;
}

.mt-30 {
    margin-top: 30px;
}
.mt-20 {
    margin-top: 20px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
}

.fee-table th {
    text-align: left;
    background: var(--bg-color);
    color: var(--navy);
    font-weight: 700;
    padding: 10px 12px;
    font-size: 0.9rem;
}

.fee-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e8edf3;
    color: var(--text-color);
    font-size: 0.9rem;
}

.fee-table tbody tr:last-child td {
    border-bottom: none;
}

.fee-table td:first-child {
    font-weight: 600;
    color: var(--navy);
}

/* Timeline / Dates */
.details-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.timeline-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-badge {
    background: white;
    color: var(--navy);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 120px;
    text-align: center;
    border: 1px solid #e8edf3;
    box-shadow: var(--shadow-sm);
}

.orange-badge {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
}

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

.highlight-date .date-text {
    color: var(--navy);
    font-weight: 800;
}

/* Payment Card (Highlighted) */
.payment-card {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Payment Flex */
.payment-content-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.payment-content-flex .payment-details {
    flex: 1;
}

.register-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    white-space: nowrap;
    height: fit-content;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pay-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 8px;
    border-left: 3px solid var(--orange);
}

.pay-row span {
    font-size: 0.7rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.pay-row strong {
    font-size: 0.85rem;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

.pay-row .ifsc {
    color: var(--orange);
    letter-spacing: 1px;
}

.full-btn {
    width: 100%;
    justify-content: center;
}

/* Contact Card */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 12px 15px;
    background: var(--bg-soft);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-links a i {
    color: var(--orange);
}

.contact-links a:hover {
    background: white;
    color: var(--orange);
    border-color: var(--orange);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 1024px) {
    .registration-grid {
        grid-template-columns: 1fr;
    }
    .registration-section {
        padding: 100px 20px 60px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .horizontal-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .card-side-header {
        border-right: none;
        border-bottom: 1px solid #e8edf3;
        padding-right: 0;
        padding-bottom: 15px;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
    }
    .payment-card.horizontal-card .card-side-header {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    .card-side-header i {
        margin-bottom: 0;
    }
    .payment-content-flex {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .fees-card,
    .reg-info-card {
        padding: 20px;
    }
    .timeline-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .date-badge {
        font-size: 0.85rem;
        padding: 4px 10px;
    }
}

/* ========== COMMITTEE SECTION ========== */
.comm-section {
    position: relative;
    padding: 80px 20px 100px;
    background: linear-gradient(135deg, #e8edf3 0%, #fdfbfb 50%, #fff7e6 100%);
    overflow: hidden;
}

.comm-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.comm-header {
    text-align: center;
    margin-bottom: 50px;
}

.comm-title {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy);
    font-style: italic;
    margin: 10px 0;
}

.comm-badge {
    display: inline-block;
    padding: 6px 16px;
    background: white;
    color: var(--orange);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.comm-category {
    margin-bottom: 60px;
}

.comm-category-header {
    text-align: center;
    margin-bottom: 40px;
}

.comm-category-header h3 {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--navy);
    display: inline-block;
    position: relative;
}

.comm-portrait-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

.comm-portrait {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
}

.comm-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.comm-portrait:hover .comm-portrait-img {
    transform: scale(1.05);
}

.comm-portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 30, 48, 0.95) 0%,
        rgba(20, 30, 48, 0.6) 0%,
        transparent 100%
    );
}

.comm-portrait-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.comm-portrait-badge {
    background: var(--orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 50px;
    margin-bottom: 5px;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.comm-portrait-info h4 {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin: 0 0 5px 0;
}

.comm-portrait-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* No-Image Lists */
.comm-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.comm-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.comm-list-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e8edf3;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease;
}

.comm-list-item:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
}

.comm-list-item h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 5px 0;
}

.comm-list-item p {
    font-size: 0.85rem;
    color: var(--text-color);
    margin: 0;
}

@media (max-width: 1024px) {
    .comm-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .comm-list-grid {
        grid-template-columns: 1fr;
    }
    .comm-title {
        font-size: 2.2rem;
    }
}

/* ========== FOOTER ========== */
.site-footer {
    background-color: var(--navy);
    color: white;
    padding: 40px 0 0 0;
    position: relative;
    font-family: "Inter", sans-serif;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

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

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

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

.footer-brand-text strong {
    font-size: 1.3rem;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.5px;
}

.footer-brand-text span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 90%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer-links a svg {
    color: var(--orange);
    width: 14px;
    height: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact svg {
    color: var(--orange);
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.contact-highlight,
.contact-highlight a {
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-social-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a i {
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#back-to-top svg {
    width: 24px;
    height: 24px;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.6);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    #back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   ANNOUNCEMENT POPUP MODAL STYLES
   ========================================================================== */

.announcement-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.announcement-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.announcement-popup-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 
                0 0 40px rgba(253, 99, 52, 0.1);
    border: 1px solid rgba(253, 99, 52, 0.15);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.announcement-popup-overlay.active .announcement-popup-card {
    transform: scale(1) translateY(0);
}

.popup-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.popup-close-btn:hover {
    background: var(--bg-soft);
    color: var(--navy);
}

.popup-close-btn svg {
    width: 20px;
    height: 20px;
}

.popup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.popup-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--orange-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin-bottom: 16px;
    animation: popupIconPulse 2s infinite;
}

.popup-icon {
    width: 30px;
    height: 30px;
}

@keyframes popupIconPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 99, 52, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(253, 99, 52, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(253, 99, 52, 0);
    }
}

.popup-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.popup-header h2 {
    font-size: 1.8rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
}

.popup-body {
    margin-bottom: 30px;
}

.popup-message {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.popup-date-container {
    background: var(--bg-soft);
    border: 1px dashed rgba(253, 99, 52, 0.4);
    border-radius: 16px;
    padding: 16px 20px;
    margin: 20px 0;
}

.popup-date-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.popup-date-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.5px;
    font-family: "Montserrat", sans-serif;
}

.popup-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-popup-primary {
    background: var(--orange);
    color: white !important;
    flex: 1;
    text-decoration: none;
    text-align: center;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-popup-primary:hover {
    background: #e5532a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-popup-secondary {
    background: var(--bg-soft);
    color: var(--navy) !important;
    border: 1px solid var(--glass-border);
    flex: 1;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-popup-secondary:hover {
    background: rgba(0, 33, 71, 0.05);
    color: var(--navy) !important;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .announcement-popup-card {
        padding: 30px 20px;
    }
    .popup-header h2 {
        font-size: 1.5rem;
    }
    .popup-date-value {
        font-size: 1.5rem;
    }
    .popup-actions {
        flex-direction: column;
        gap: 10px;
    }
}
