:root {
    --primary-navy: #0f2942;
    --secondary-crimson: #8b1e24;
    --accent-gold: #c59b27;
    --bg-ivory: #f8f9fa;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-soft: 0 4px 20px rgba(15, 41, 66, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-ivory);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    color: var(--primary-navy);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-navy);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Header & Navigation */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.brand-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.brand-acronym {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: 0.5px;
}
.brand-subtitle {
    font-size: 0.75rem;
    color: var(--secondary-crimson);
    text-transform: uppercase;
    font-weight: 600;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 22px;
}
.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 4px;
    transition: color 0.2s;
}
.nav-list a:hover, .nav-list a.active {
    color: var(--secondary-crimson);
}

/* Dropdown Sub-Menus */
.has-dropdown {
    position: relative;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    list-style: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-top: 3px solid var(--secondary-crimson);
    border-radius: 0 0 6px 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 18px;
    border-bottom: 1px solid #f1f5f9;
}
.dropdown li a:hover {
    background: #f8fafc;
    padding-left: 22px;
}

/* CTA Buttons */
.btn-nav-cta, .btn-primary {
    background: var(--secondary-crimson);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}
.btn-nav-cta:hover, .btn-primary:hover {
    background: #6e161b;
}
.btn-outline {
    border: 2px solid var(--accent-gold);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 12px;
}

/* Hero & Page Banners */
.hero-banner {
    background: linear-gradient(135deg, rgba(15, 41, 66, 0.94), rgba(139, 30, 36, 0.88)), url('../images/campus-bg.jpg') center/cover;
    color: var(--white);
    padding: 90px 0;
    text-align: center;
}
.hero-content h1 {
    color: var(--white);
    font-size: 2.3rem;
    max-width: 900px;
    margin: 18px auto;
    line-height: 1.35;
}
.badge-pill {
    background: rgba(197, 155, 39, 0.25);
    border: 1px solid var(--accent-gold);
    color: #fde047;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}
.hero-sub {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.page-banner {
    background: var(--primary-navy);
    color: var(--white);
    padding: 45px 0;
    border-bottom: 4px solid var(--accent-gold);
}
.page-banner h1 { color: var(--white); font-size: 2rem; }
.breadcrumb { font-size: 0.9rem; color: #cbd5e1; margin-top: 6px; }
.breadcrumb a { color: var(--accent-gold); text-decoration: none; }

/* Main Content Area */
.main-content {
    padding: 50px 20px;
    min-height: 55vh;
}
.card-panel {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary-navy);
}

/* Three-Column Footer */
.site-footer {
    background: var(--primary-navy);
    color: #cbd5e1;
    padding-top: 60px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 45px;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    background: var(--accent-gold);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-gold); }
.footer-bottom {
    background: #091929;
    text-align: center;
    padding: 18px 0;
    font-size: 0.85rem;
}

/* Mobile Responsiveness */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-navy);
    cursor: pointer;
}

@media (max-width: 992px) {
    .mobile-menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px;
    }
    .main-nav.open { display: block; }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid var(--secondary-crimson);
        margin-left: 12px;
        display: none;
    }
    .has-dropdown.active .dropdown { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
}



/* Utility Spacing */
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-25 { margin-top: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.text-muted { color: var(--text-muted); }

/* Section Headers */
.section-header {
    margin-bottom: 28px;
}
.section-header h2 {
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 8px;
}
.section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-crimson);
}
.section-tag {
    background: var(--primary-navy);
    color: var(--accent-gold);
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Responsive 3-Column Card Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Sub-Theme Cards */
.academic-card {
    background: var(--white);
    padding: 28px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--primary-navy);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.academic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 41, 66, 0.14);
    border-top-color: var(--secondary-crimson);
}
.card-badge {
    display: inline-block;
    background: #f1f5f9;
    color: var(--secondary-crimson);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.academic-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
.academic-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Two-Column Guidelines Layout */
.two-col-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
    align-items: start;
}
.guideline-block h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary-crimson);
}
.academic-list {
    list-style: none;
}
.academic-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
}
.academic-list li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
    line-height: 1;
}

/* Sidebar & Important Dates Timeline */
.sidebar-box {
    background: var(--white);
    padding: 28px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--accent-gold);
}
.timeline-list {
    list-style: none;
    margin-top: 15px;
}
.timeline-list li {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px dashed #cbd5e1;
}
.timeline-list li:last-child { border-bottom: none; }
.date-label { font-size: 0.85rem; color: var(--text-muted); }
.date-val { font-size: 1rem; color: var(--primary-navy); }
.date-val.highlight { color: var(--secondary-crimson); }

.full-width { width: 100%; text-align: center; }
.btn-download {
    display: block;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--primary-navy);
    color: var(--primary-navy);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-download:hover { background: #f1f5f9; }

/* Committee Profile Cards */
.profile-card {
    background: var(--white);
    padding: 28px 22px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border-bottom: 3px solid var(--primary-navy);
}
.featured-profile {
    border-bottom: 4px solid var(--accent-gold);
}
.profile-avatar {
    width: 64px;
    height: 64px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 14px;
}
.role-pill {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.country-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-crimson);
    margin-bottom: 8px;
}
.profile-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.designation { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.affiliation { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.compact-member-card {
    background: var(--white);
    padding: 18px 20px;
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--secondary-crimson);
}
.compact-member-card h4 { font-size: 1rem; margin-bottom: 4px; }
.compact-member-card span { font-size: 0.85rem; color: var(--text-muted); }

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .two-col-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .grid-3 { grid-template-columns: 1fr; }
}







/* Two-column Equal Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Collaboration Banner */
.collab-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 25px;
    gap: 20px;
}
.collab-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-crimson);
    font-weight: 700;
}
.collab-divider {
    font-size: 1.8rem;
    color: var(--accent-gold);
    font-weight: 700;
}

/* Academic Fee Table */
.academic-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
}
.academic-table th {
    background: var(--primary-navy);
    color: var(--white);
    text-align: left;
    padding: 14px 18px;
    font-size: 0.95rem;
}
.academic-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #e2e8f0;
}
.fee-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-crimson);
}

/* Bank Details Grid */
.bank-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.bank-item {
    background: #f8fafc;
    padding: 16px;
    border-radius: 6px;
    border-left: 3px solid var(--accent-gold);
}
.bank-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}
.bank-value {
    font-size: 1.05rem;
    color: var(--primary-navy);
}
.note-alert {
    background: #fffbeb;
    border-left: 4px solid var(--accent-gold);
    padding: 14px 18px;
    font-size: 0.9rem;
    color: #92400e;
    border-radius: 4px;
}

/* Resource Person Card Typography */
.rp-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary-crimson);
    margin: 4px 0;
}
.rp-inst {
    display: block;
    font-size: 0.84rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .grid-2, .bank-grid { grid-template-columns: 1fr; }
    .collab-banner { flex-direction: column; text-align: center; }
}


/*Google Map */
/* Responsive Google Map Frame */
.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(15, 41, 66, 0.1);
    border: 2px solid #e2e8f0;
    line-height: 0;
}

.map-container iframe {
    width: 100% !important;
    height: 420px;
    border: 0;
}

.map-container.map-small iframe {
    height: 220px;
}

.footer-map iframe {
    width: 100% !important;
    height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}


/* Past Seminar */
/* Past Seminar Timeline Cards */
.past-seminar-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--primary-navy);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.past-seminar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 41, 66, 0.12);
    border-left-color: var(--secondary-crimson);
}
.seminar-year-badge {
    align-self: flex-start;
    background: var(--secondary-crimson);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.seminar-theme-title {
    font-family: 'Merriweather', serif;
    font-size: 1.15rem;
    color: var(--primary-navy);
    font-weight: 700;
    margin-top: 4px;
}
.seminar-meta {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.seminar-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.seminar-links .btn-download {
    font-size: 0.85rem;
    padding: 8px 14px;
}


/* Logo */
/* Prominent Footer Logos */
.footer-logos-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-logo-box {
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-logo-box img {
    height: 70px; /* Increased from 40px to make them much larger and clear */
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .footer-logo-box img {
        height: 55px; /* Slightly adjusted for mobile screens */
    }
}