/* ==========================================================================
   1. ROOT VARIABLES & THEME CONFIGURATION
   ========================================================================== */
:root {
    /* ------------------------------
       Color Palette (Updated to Requested Hex Codes)
       ------------------------------ */
    --primary: #16507B;          /* Navy Blue */
    --primary-dark: #0f3a5a;     /* Darker Navy for Text/Hovers */
    --primary-light: #3a7ab0;    /* Lighter Blue for Accents */
    
    --accent: #F2A93B;           /* Vivid Orange */
    --accent-hover: #d48e2a;     /* Darker Orange */
    --accent-light: #fef6e6;     /* Very Light Orange for backgrounds */

    /* ------------------------------
       Neutrals & Backgrounds
       ------------------------------ */
    --white: #ffffff;
    --off-white: #f4f7fa;        /* White with slight Blue tint */
    --bg-body: #ffffff;          /* Pure White Body */
    --bg-card: #fdfdfd;
    --bg-footer: #16507B;        /* Footer uses Primary Blue */

    /* ------------------------------
       Typography Colors
       ------------------------------ */
    --text-main: #16507B;        /* Primary Blue text */
    --text-secondary: #4a657a;   /* Muted Blue-Grey */
    --text-light: #7d9cb6;       /* Light Blue-Grey */
    --text-white: #ffffff;

    /* ------------------------------
       UI Properties
       ------------------------------ */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 50px;

    /* Shadows tinted with new primary color */
    --shadow-sm: 0 2px 4px rgba(22, 80, 123, 0.1);
    --shadow-md: 0 8px 16px rgba(22, 80, 123, 0.15);
    --shadow-lg: 0 15px 30px rgba(22, 80, 123, 0.2);
    --shadow-inset: inset 0 2px 4px rgba(22, 80, 123, 0.05);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s ease-in-out;

    --font-primary: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   2. RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom Selection Style */
::selection {
    background-color: var(--accent);
    color: var(--white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Images & Media */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   3. ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(242, 169, 59, 0.4); } 
    70% { box-shadow: 0 0 0 10px rgba(242, 169, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 169, 59, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   4. HEADER & NAVIGATION (Updated Design)
   ========================================================================== */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    
    /* Design Change: Solid Orange Bar at Bottom */
    border-bottom: 5px solid var(--accent); 
}

.header-main {
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; 
    flex-wrap: nowrap; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-image {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text h1 {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
    white-space: normal;
}

.accreditation {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    max-width: 1000px;
}

/* --- Desktop Navigation --- */
.desktop-nav {
    background-color: var(--primary);
    padding: 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.desktop-nav a {
    position: relative;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 16px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 4px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--accent);
}

/* --- Mobile Menu Toggle (UPDATED) --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--accent); /* CHANGED: Blue -> Orange to match image */
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 10px;
}

.mobile-menu-btn:hover {
    color: var(--accent-hover); /* CHANGED: Darker orange on hover */
    transform: scale(1.1);
}
.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--accent);
    cursor: pointer;
    transition: var(--transition-fast);
    
    /* FIX: Removes the grey background/flash when tapping on mobile */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    outline: none;
}

.mobile-menu-btn:focus,
.mobile-menu-btn:active {
    background: transparent;
    outline: none;
}
/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    background: url('background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 140px 0 180px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: -60px;
}

.hero .overlay {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeIn 1s ease-out;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(15, 58, 90, 0.5);
}

.hero h2 b {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: #fff; 
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px 45px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(242, 169, 59, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(22, 80, 123, 0.3);
    animation: none;
}

/* ==========================================================================
   6. SECTIONS COMMON STYLING
   ========================================================================== */
.page-content {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    display: inline-block;
    padding-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--accent);
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   7. HIGHLIGHT CARDS
   ========================================================================== */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
    margin-top: -100px;
    padding-bottom: 60px;
}

.highlight-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-normal);
    border-bottom: 5px solid var(--accent);
    border-top: 1px solid var(--off-white);
    opacity: 0;
    animation: slideDown 0.8s ease-out forwards;
}

.highlight-card:nth-child(1) { animation-delay: 0.1s; }
.highlight-card:nth-child(2) { animation-delay: 0.2s; }
.highlight-card:nth-child(3) { animation-delay: 0.3s; }
.highlight-card:nth-child(4) { animation-delay: 0.4s; }

.highlight-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(22, 80, 123, 0.25);
}

.highlight-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: var(--off-white);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.highlight-card:hover i {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.highlight-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.highlight-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   8. ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
    padding: 10px;
}

.image-placeholder img {
    border-radius: 30px; 
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white); 
    width: 100%;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 30px;
    z-index: 1;
    background: transparent;
}

.about-text h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
    border-left: 5px solid var(--accent);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: justify;
}

.about-text ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.about-text li {
    background: var(--off-white);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--primary);
    border-left: 3px solid var(--accent);
}

/* ==========================================================================
   9. DEPARTMENTS & COURSES
   ========================================================================== */
.departments-container, 
.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.department-card, 
.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--off-white);
    display: flex;
    flex-direction: column;
}

.department-card:hover, 
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.department-header {
    background: var(--primary);
    color: var(--white);
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.department-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
}

.department-body {
    padding: 30px;
    color: var(--text-secondary);
    background-color: var(--white);
    flex-grow: 1;
}

.course-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.15);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(22, 80, 123, 0.8));
    opacity: 0;
    transition: opacity 0.3s;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.course-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--off-white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.course-details p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.course-details i {
    color: var(--accent);
}

.course-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.course-features h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

.course-features ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.course-features ul li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ==========================================================================
   10. LEADERSHIP SECTION
   ========================================================================== */
.leadership-section {
    margin-top: 60px;
}

.leadership-grid {
    display: flex;
    justify-content: center;
}

.leadership-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    border-top: 6px solid var(--primary);
}

.leader-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    padding: 3px;
    background: var(--white);
    flex-shrink: 0;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.leader-info h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.leader-info .title {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

/* ==========================================================================
   11. COMMITTEE & TABLE STYLES
   ========================================================================== */
.committee-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    border-left: 5px solid var(--primary);
}

.committee-card h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--off-white);
    padding-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
}

table th {
    background-color: var(--primary);
    color: var(--white);
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--off-white);
    color: var(--text-secondary);
}

table tr:nth-child(even) {
    background-color: var(--off-white);
}

table tr:hover {
    background-color: #e6f0ff; /* Very light blue hover */
}

/* ==========================================================================
   12. CONTACT SECTION & FORMS
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info, 
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--off-white);
}

.contact-info h3, 
.contact-form h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    background: var(--off-white);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.contact-item:hover i {
    background: var(--accent);
    color: var(--white);
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #d0e1f5; /* Light blue border */
    border-radius: var(--radius-md);
    background: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    color: var(--text-main);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 4px rgba(242, 169, 59, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-normal);
}

.submit-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   13. AFFILIATION BADGES
   ========================================================================== */
.affiliation-info {
    text-align: center;
    margin-top: 60px;
}

.section-subtitle {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.affiliation-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.badge {
    background: var(--white);
    padding: 15px 30px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-weight: 600;
    border: 1px solid #d0e1f5;
    transition: transform 0.3s;
}

.badge:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.badge i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
footer {
    background-color: var(--bg-footer);
    color: var(--white);
    padding: 80px 0 20px;
    margin-top: auto;
    border-top: 5px solid var(--accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--white);
    opacity: 0.5;
}

.footer-column p {
    color: #cbd5e1; /* Light blue-grey */
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links {
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #dbeafe; /* Very light blue */
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.footer-links a::before {
    content: '›';
    color: var(--accent);
    font-weight: bold;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social Media Icons */
.social-links {
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px) rotate(360deg);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ==========================================================================
   15. RESPONSIVE DESIGN (Updated for Mobile Navbar)
   ========================================================================== */
   @media (max-width: 992px) {
    .header-container { 
        padding: 0 15px; 
        position: relative; 
    }
    
    .logo {
        max-width: 80%; 
        padding-right: 50px; /* Ensure text doesn't hit the button */
    }

    .logo-text h1 { 
        font-size: 1rem;
        white-space: normal; 
        line-height: 1.3;
    }
    
    .accreditation { display: none; }
    
    /* --- Hamburger Menu Positioning --- */
    .mobile-menu-btn { 
        display: flex; /* Use flex to perfectly center the icon */
        align-items: center;
        justify-content: center;
        
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
        
        /* Fixed size ensures the button doesn't "jump" when switching icons */
        width: 44px;
        height: 44px;
    }
    
    .mobile-menu-btn:hover {
        color: var(--accent-hover);
        transform: translateY(-50%) scale(1.1); /* Keep the Y-center alignment on hover */
    }
    
    /* --- Mobile Dropdown --- */
    .desktop-nav {
        position: absolute;
        top: 100%; /* Drops directly below the orange header border */
        left: 0;
        width: 100%;
        background-color: var(--primary);
        box-shadow: 0 15px 30px rgba(22, 80, 123, 0.2);
        display: none;
        border-top: none; /* Removed internal border to keep it clean */
        animation: slideDown 0.3s ease-out forwards;
        z-index: 1001;
    }
    
    .desktop-nav.active { display: block; }
    
    .nav-container { 
        flex-direction: column; 
        overflow-x: visible; 
    }
    
    .desktop-nav ul { 
        flex-direction: column; 
        width: 100%; 
        padding: 0;
    }
    
    .desktop-nav li { width: 100%; }
    
    .desktop-nav a {
        color: var(--white);
        padding: 16px 25px;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        background: transparent;
        white-space: normal;
        text-align: left;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    
    .desktop-nav a:last-child {
        border-bottom: none;
    }
    
    .desktop-nav a:hover, .desktop-nav a.active {
        background-color: var(--primary-dark);
        color: var(--accent);
        padding-left: 35px;
        border-left: 5px solid var(--accent);
    }
    
    /* Adjust Hero and Highlight spacing for mobile */
    .hero {
        padding: 100px 20px 180px; 
        background-attachment: scroll;
    }
    .hero h2 { font-size: 2.2rem; }
    .highlights { margin-top: -60px; }
    
    .about-content { grid-template-columns: 1fr; }
    .leadership-card { flex-direction: column; text-align: center; padding: 30px; }
}
@media (max-width: 992px) {
    .header-container { 
        padding: 0 15px; 
        position: relative; 
    }
    
    .logo {
        max-width: 85%; 
        padding-right: 40px; 
    }

    .logo-text h1 { 
        font-size: 1rem;
        white-space: normal; 
        line-height: 1.3;
    }
    
    .accreditation { display: none; }
    
    /* --- Hamburger Menu Positioning --- */
    .mobile-menu-btn { 
        display: block; 
        font-size: 1.8rem;
        color: var(--accent); /* CHANGED: Ensure it stays Orange in mobile view */
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }
    
    /* Ensure the mobile nav behaves well */
    .desktop-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        box-shadow: 0 15px 30px rgba(22, 80, 123, 0.2);
        display: none;
        border-top: 2px solid var(--accent);
        animation: slideDown 0.3s ease-out forwards;
        z-index: 1001;
    }
    
    .desktop-nav.active { display: block; }
    
    .nav-container { 
        flex-direction: column; 
        overflow-x: visible; 
    }
    
    .desktop-nav ul { 
        flex-direction: column; 
        width: 100%; 
        padding: 10px 0; 
    }
    
    .desktop-nav li { width: 100%; }
    
    .desktop-nav a {
        color: var(--white);
        padding: 15px 25px;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        background: transparent;
        white-space: normal;
        text-align: left;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    
    .desktop-nav a:last-child {
        border-bottom: none;
    }
    
    .desktop-nav a:hover, .desktop-nav a.active {
        background-color: var(--primary-dark);
        color: var(--accent);
        padding-left: 30px;
        border-left: 5px solid var(--accent);
    }
    
    .desktop-nav a::before { display: none; }
    
    /* --- Increased Gap for Mobile Hero --- */
    .hero {
        padding: 100px 20px 180px; 
        background-attachment: scroll;
    }
    .hero h2 { font-size: 2.2rem; }
    
    .highlights { margin-top: -60px; }
    
    .about-content { grid-template-columns: 1fr; }
    .leadership-card { flex-direction: column; text-align: center; padding: 30px; }
}
/* ==========================================================================
   16. MODALS & EXTRAS
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 80, 123, 0.8); /* Dark Blue Overlay */
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(22, 80, 123, 0.3);
    position: relative;
    text-align: center;
}

.dashboard-box {
    max-width: 900px;
    overflow-x: auto;
}

#secret-trigger {
    cursor: pointer;
    user-select: none;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    border: 1px solid #d0e1f5;
    padding: 8px;
    text-align: left;
    font-size: 14px;
    color: var(--text-main);
}

.data-table th {
    background-color: var(--off-white);
    font-weight: bold;
    color: var(--primary);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}