 :root {
            --primary-accent: #8feff2;  /* Main teal color */
            --primary-dark: #00a8b5;    /* Darker teal for contrast */
            --primary-light: #d6f9fa;   /* Very light teal for backgrounds */
            --secondary-1: #8E44AD;     /* Purple */
            --secondary-2: #E74C3C;     /* Red */
            --secondary-3: #3498DB;     /* Blue */
            --secondary-4: #F39C12;     /* Orange */
            --secondary-5: #2C3E50;     /* Dark blue */
            --text-dark: #2C3E50;
            --text-medium: #5D6D7E;
            --text-light: #7F8C8D;
            --bg-light: #f8f9fa;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }
        
        /* Top Navigation Banner */
        .top-banner {
            background-color: var(--secondary-5);
            color: white;
            padding: 0.5rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .banner-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }
        
        .nav-logo {
            font-weight: bold;
            font-size: 1.2rem;
            color: white;
            text-decoration: none;
        }
        
        .nav-logo span {
            color: var(--primary-accent);
        }
        
        .main-nav {
            display: flex;
            gap: 1.5rem;
            position: relative;
        }
        
        .main-nav > li {
            list-style: none;
            position: relative;
        }
        
        .main-nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            padding: 0.5rem 0;
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .main-nav a:hover {
            color: var(--primary-accent);
        }
        
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-accent);
            transition: width 0.3s;
        }
        
        .main-nav a:hover::after {
            width: 100%;
        }
        
        /* Dropdown styles */
        .dropdown {
            position: relative;
        }
        
        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-radius: 4px;
            z-index: 1001;
            padding: 0.5rem 0;
        }
        
        .dropdown:hover .dropdown-menu {
            display: block;
        }
        
        .dropdown-menu li {
            list-style: none;
        }
        
        .dropdown-menu a {
            color: var(--text-dark);
            padding: 0.5rem 1rem;
            display: block;
            transition: all 0.3s;
        }
        
        .dropdown-menu a:hover {
            background-color: var(--primary-light);
            color: var(--primary-dark);
        }
        
        .dropdown-menu a::after {
            display: none;
        }
        
        /* Departments dropdown */
        .departments-dropdown {
            position: relative;
        }
        
        .departments-dropdown-menu {
            display: none;
            position: absolute;
            top: 0;
            left: 100%;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-radius: 4px;
            z-index: 1001;
            padding: 0.5rem 0;
        }
        
        .departments-dropdown:hover .departments-dropdown-menu {
            display: block;
        }
        
        /* Login Portal */
        .login-portal {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .login-btn {
            background-color: var(--primary-accent);
            color: var(--secondary-5);
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .login-btn:hover {
            background-color: var(--primary-dark);
            color: white;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .header {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .header h1 {
            font-size: 2.5rem;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }
        
        .header h1::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--primary-accent);
            border-radius: 2px;
        }
        
        .header p {
            color: var(--text-medium);
            max-width: 700px;
            margin: 0 auto;
        }
        
        .filter-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 2.5rem;
        }
        
        .filter-btn {
            padding: 0.5rem 1.25rem;
            border-radius: 2rem;
            background-color: var(--primary-light);
            color: var(--primary-dark);
            border: 2px solid var(--primary-accent);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
        }
        
        .filter-btn:hover {
            background-color: var(--primary-accent);
            color: white;
        }
        
        .filter-btn.active {
            background-color: var(--primary-dark);
            color: white;
            border-color: var(--primary-dark);
        }
        
        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 1.5rem;
        }
        
        .program-card {
            background: white;
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border-top: 4px solid var(--primary-accent);
        }
        
        .program-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        }
        
        .card-content {
            padding: 1.75rem;
        }
        
        .card-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.25rem;
        }
        
        .icon-container {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            background-color: var(--primary-light);
        }
        
        .icon-container i {
            font-size: 1.5rem;
            color: var(--primary-dark);
        }
        
        .card-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0;
        }
        
        .card-description {
            color: var(--text-medium);
            margin-bottom: 1.75rem;
        }
        
        .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.75rem;
        }
        
        .tag {
            padding: 0.35rem 0.85rem;
            border-radius: 2rem;
            font-size: 0.75rem;
            font-weight: 600;
            background-color: var(--primary-light);
            color: var(--primary-dark);
        }
        
        .card-link {
            display: inline-flex;
            align-items: center;
            font-weight: 600;
            text-decoration: none;
            color: var(--primary-dark);
            transition: all 0.3s ease;
        }
        
        .card-link i {
            margin-left: 0.5rem;
            transition: transform 0.3s ease;
        }
        
        .card-link:hover {
            color: var(--secondary-5);
        }
        
        .card-link:hover i {
            transform: translateX(3px);
        }
        
        /* Program-specific accent colors */
        .pa .icon-container { background-color: rgba(142, 68, 173, 0.1); }
        .pa .icon-container i { color: var(--secondary-1); }
        .pa .tag { background-color: rgba(142, 68, 173, 0.1); color: var(--secondary-1); }
        
        .cad .icon-container { background-color: rgba(231, 76, 60, 0.1); }
        .cad .icon-container i { color: var(--secondary-2); }
        .cad .tag { background-color: rgba(231, 76, 60, 0.1); color: var(--secondary-2); }
        
        .business .icon-container { background-color: rgba(52, 152, 219, 0.1); }
        .business .icon-container i { color: var(--secondary-3); }
        .business .tag { background-color: rgba(52, 152, 219, 0.1); color: var(--secondary-3); }
        
        .comm .icon-container { background-color: rgba(22, 160, 133, 0.1); }
        .comm .icon-container i { color: var(--secondary-4); }
        .comm .tag { background-color: rgba(22, 160, 133, 0.1); color: var(--secondary-4); }
        
        .leadership .icon-container { background-color: rgba(44, 62, 80, 0.1); }
        .leadership .icon-container i { color: var(--secondary-5); }
        .leadership .tag { background-color: rgba(44, 62, 80, 0.1); color: var(--secondary-5); }
        
        /* Update mobile banner layout */
.mobile-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--secondary-5);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
/* Ensure menu button stays on left */
.mobile-menu-toggle {
    order: 1; /* Forces to left */
    margin-right: auto; /* Pushes other items right */
}

.mobile-banner-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content; /* Prevents title from affecting layout */
}

.mobile-login {
    order: 3; /* Forces to right */
    margin-left: auto; /* Pushes to far right */
}

        
        .mobile-banner-title span {
            color: var(--primary-accent);
        }
        
        .mobile-menu-toggle, .mobile-login {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Mobile Side Menu */
        .mobile-side-menu {
            position: fixed;
            top: 0;
            left: -300px;
            width: 280px;
            height: 100%;
            background-color: white;
            z-index: 1100;
            transition: left 0.3s ease;
            overflow-y: auto;
            box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        }
        
        .mobile-side-menu.active {
            left: 0;
        }
        
        .mobile-side-menu-header {
            background-color: var(--secondary-5);
            color: white;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .close-mobile-menu {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        .mobile-nav {
            padding: 1rem;
        }
        
        .mobile-nav li {
            list-style: none;
            margin-bottom: 0.5rem;
        }
        
        .mobile-nav a {
            color: var(--text-dark);
            text-decoration: none;
            display: block;
            padding: 0.75rem;
            border-radius: 4px;
            transition: all 0.3s;
        }
        
        .mobile-nav a:hover {
            background-color: var(--primary-light);
            color: var(--primary-dark);
        }
        
        .mobile-dropdown-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
       

/* Mobile version */
.mobile-dropdown-menu .departments-dropdown-menu {
    position: static;
    width: auto;
    box-shadow: none;
    padding-left: 1rem;
}



/* ===== BANNER COLORS ===== */
.top-banner,
.mobile-banner,
.mobile-side-menu-header {
    background-color: var(--secondary-5);
}
        
        .mobile-dropdown.active .mobile-dropdown-menu {
            display: block;
        }
        
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1050;
            display: none;
        }
        
        .overlay.active {
            display: block;
        }
        
        @media (max-width: 768px) {
            .top-banner {
                display: none;
            }
            
            .mobile-banner {
                display: flex;
            }
            
            .banner-container {
                padding: 1rem;
            }
            
            .main-nav {
                display: none;
            }
            
            .login-portal {
                display: none;
            }
            
            .programs-grid {
                grid-template-columns: 1fr;
            }
            
            .header h1 {
                font-size: 2rem;
                margin-top: 1rem;
            }
            
            .container {
                padding: 1rem;
            }

            /* Center the login portal on mobile */
            #loginPage {
                display: flex !important;
                align-items: center;
                justify-content: center;
                padding: 1rem;
            }

            #loginPage > div {
                width: 100%;
                max-width: 100%;
                margin: 0;
            }
        }
}
/* Mobile dropdown styles */
.mobile-dropdown-menu {
    display: none;
    padding-left: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
    max-height: 500px; /* Adjust based on your content */
}

/* Chevron animation */
.mobile-dropdown-toggle i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

/* ... (continue with all shared styles) ... */

/* Mobile Base Styles (applies to all screens) */
.container {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Centering all text and block elements */
.mobile-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsive Typography */
html {
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 1.8rem !important;
    margin: 0.5em 0 !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .top-banner {
    padding: 10px 0;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
  }
  
  .mobile-menu-toggle, .mobile-login {
    font-size: 1.5rem;
  }
}

/* Card Adjustments */
@media (max-width: 768px) {
  .program-card {
    width: 90%;
    margin: 0 auto 20px;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .icon-container {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
  }
}

/* Form Elements */
@media (max-width: 768px) {
  input, select, textarea, button {
    width: 100% !important;
    max-width: 300px;
    margin: 0 auto 15px;
    display: block;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 80%;
    margin-bottom: 10px;
  }
}

/* Department Page Specific */
@media (max-width: 768px) {
  .department-header {
    padding: 2rem 15px;
  }
  
  .faculty-grid {
    grid-template-columns: 1fr;
  }
  
  .program-highlights {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .highlight-card {
    width: 90%;
    margin: 0 auto;
  }
}

/* Login Modal Adjustments */
@media (max-width: 768px) {
  #loginPage > div {
    width: 90% !important;
    padding: 1rem !important;
  }
  
  .login-btn {
    width: 100%;
  }
}/* Navigation Error Fallback */
.nav-error {
  padding: 1rem;
  background: #ffebee;
  text-align: center;
}
.nav-error a {
  color: #c62828;
  padding: 0 1rem;
}

/* Faculty Section Base Styles */
.faculty-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faculty-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image Container with Aspect Ratio */
.image-container {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 aspect ratio */
    overflow: hidden;
}

.faculty-portrait {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

/* Overlay for better text visibility */
.faculty-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

/* Faculty Info Section */
.faculty-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.faculty-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.faculty-title {
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.faculty-info p {
    margin: 0.5rem 0 0 0;
    flex-grow: 1;
}

/* Mobile-Specific Adjustments */
@media (max-width: 767px) {
    .faculty-section {
        padding: 1.5rem 0.5rem;
    }
    
    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .image-container {
        padding-top: 120%; /* Slightly taller aspect ratio for mobile */
    }
    
    .faculty-info {
        padding: 1rem;
    }
    
    .faculty-info h3 {
        font-size: 1.1rem;
    }
}

/* Hover effects for non-touch devices */
@media (hover: hover) {
    .faculty-card:hover {
        transform: translateY(-5px);
    }
    
    .faculty-card:hover .faculty-portrait {
        transform: scale(1.03);
    }
}
/* University Photo Styles */
.university-photo {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    margin-top: 70px; /* Matches navigation height */
}

/* Navigation Styles */
#navigation-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    color: white;
}

/* Content spacing */
.hero {
    padding-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .university-photo {
        max-height: 300px;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .university-photo {
        max-height: 200px;
        margin-top: 50px;
    }
}
/* HERO BANNER STYLES */
.hero {
    position: relative;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../images/hero-banner.jpg') no-repeat center center/cover;
    height: calc(100vh - var(--nav-height));
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    animation: fadeIn 1s ease-in-out;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: slideInDown 0.8s ease-out;
}

.hero h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-in-out 0.3s both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeIn 1s ease-in-out 0.6s both;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    animation: fadeIn 1s ease-in-out 0.9s both;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(143, 239, 242, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HERO SECTION WITH IMAGE ===== */
    .hero {
        position: relative;
        height: 100vh;
        min-height: 600px;
        max-height: 1200px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-align: center;
    }
    
    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
        /* Dark overlay for better text contrast */
        &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
        }
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        padding: 0 2rem;
        animation: fadeInUp 1s ease-out;
    }
    
    .hero h1 {
        font-size: 4rem;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    }
    
    .hero h2 {
        font-size: 1.8rem;
        font-weight: 300;
        margin-bottom: 2rem;
        font-style: italic;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 3rem;
        line-height: 1.6;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }
    
    .hero .btn {
        display: inline-block;
        padding: 1rem 2.5rem;
        background: linear-gradient(135deg, #8feff2, #00a8b5);
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .hero .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        background: linear-gradient(135deg, #8feff2, #00a8b5);
    }
    
    /* Animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .hero {
            height: 90vh;
            min-height: 500px;
        }
        
        .hero h1 {
            font-size: 2.5rem;
            letter-spacing: 2px;
        }
        
        .hero h2 {
            font-size: 1.4rem;
        }
        
        .hero p {
            font-size: 1rem;
        }
    }
/* Add this to your existing CSS */
body {
    padding-top: 80px; /* Adjust this value to match your navigation height */
}

.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Ensures nav stays above other content */
    background: var(--secondary-5); /* Or whatever your nav background color is */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: adds shadow for better separation */
}

.mobile-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--secondary-5); /* Now matches desktop */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: white; /* Ensures text remains visible */
}

/* Adjust for mobile if needed */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Adjust for mobile banner height */
    }
}

/* ===== UNIVERSAL FOOTER STYLES ===== */
.site-footer {
  background: var(--secondary-5);
  color: #e0e0e0;
  padding: 4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section {
  margin-bottom: 2.5rem;
}

.footer-heading {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #8feff2, #00a8b5);
  border-radius: 3px;
}

.footer-links li, 
.footer-contact li {
  margin-bottom: 1rem;
  list-style: none;
}

.footer-links a, 
.footer-contact a {
  color: #bbb;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.footer-links a:hover, 
.footer-contact a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a::after, 
.footer-contact a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #ff7e5f;
  transition: width 0.3s ease;
}

.footer-links a:hover::after, 
.footer-contact a:hover::after {
  width: 100%;
}

.footer-contact i {
  margin-right: 0.75rem;
  color: #ff7e5f;
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.1rem;
}

.social-links a:hover {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
}

.newsletter h4 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.newsletter-form {
  display: flex;
  max-width: 320px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255,255,255,0.2);
}

.newsletter-form input::placeholder {
  color: #aaa;
  font-weight: 300;
}

.newsletter-form button {
  background: linear-gradient(135deg, #8feff2, #00a8b5);
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #8feff2, #00a8b5);
  letter-spacing: 1px;
}

.footer-bottom {
  background: #111;
  padding: 1.75rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  margin: 0.5rem 0;
  color: #888;
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.legal-links a {
  color: #999;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.legal-links a:hover {
  color: #ff7e5f;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }
  
  .newsletter-form {
    max-width: 100%;
  }
}
/* ===== FOOTER IMPROVEMENTS ===== */
.site-footer {
    background: var(--secondary-5);
    color: #e0e0e0;
    padding: 3rem 0 0;
    margin-top: 4rem; /* Adds space above footer */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.25rem 0;
    margin-top: 2rem;
}


@media (min-width: 992px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .legal-links {
    margin-top: 0;
  }
}


/* ===== STATISTICS SECTION FIXES ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    margin-bottom: 5rem !important
    padding: 0 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin: 0.5rem 0;
}

.stat-title {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: auto; /* Pushes title to bottom of card */
    margin-bottom: 3rem;
}

/* ===== NEWS SECTION FIXES ===== */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;

}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.news-summary {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto; /* Pushes button to bottom */
}

.read-more:hover {
    background: #008c99;
    transform: translateY(-2px);
}

/* ===== CENTERED SECTION HEADERS ===== */
.section-title {
    text-align: center;
    margin: 2rem auto;
    color: var(--text-dark);
    font-size: 2rem;
    position: relative;
    width: fit-content;
    padding: 0 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-dark);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* Add this after your existing .section-title styles */
.section-title {
    margin-bottom: 3rem; /* Increased from 2rem */
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .stats-container,
    .news-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .stat-card,
    .news-card {
        max-width: 100%;
    }
    
    .site-footer {
        padding: 2rem 0 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .stats-container,
    .news-container {
        padding: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        margin-bottom: 2.5rem;
    }
    
    .stats-container {
        margin-bottom: 4rem !important;
    }
    
    .news-container {
        margin-top: 1.5rem !important;
    }
    
    .section-divider {
        margin: 3rem auto;
    }
}

/* ===== FIX OVERLAPPING HEADER ISSUE ===== */
body {
    padding-top: 80px; /* Ensure content starts below fixed header */
}


/* ===== HEADER SPACING ADJUSTMENT ===== */
.header-spacer {
    height: 80px; /* Matches the body padding-top */
}


/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Adjust for mobile header height */
    }
    
    .header-spacer {
        height: 60px;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin: 1.5rem auto;
    }
}

/* Login Page format */
  :root {
            --primary-dark: #00a8b5;
            --primary-light: #d6f9fa;
            --text-dark: #2C3E50;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
        }
        
        .login-container {
            max-width: 500px;
            margin: 2rem auto;
            background: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .back-arrow {
            position: absolute;
            top: 1.5rem;
            left: 1.5rem;
            font-size: 1.5rem;
            color: var(--primary-dark);
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .back-arrow:hover {
            transform: translateX(-3px);
        }
        
        .login-header {
            text-align: center;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
        }
        
        .news-section {
            background-color: var(--primary-light);
            padding: 1rem;
            border-radius: 6px;
            margin-bottom: 1.5rem;
        }
        
        .form-group {
            margin-bottom: 1rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        
        .form-control {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }
        
        .login-btn {
            width: 100%;
            padding: 0.75rem;
            background-color: var(--primary-dark);
            color: white;
            border: none;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .login-btn:hover {
            background-color: #008c99;
        }
        
        .close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

/* ===== MOBILE NAVIGATION LAYOUT FIX ===== */
.mobile-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--secondary-5);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Menu toggle on the left */
.mobile-menu-toggle {
    order: 1;
    flex: 1;
    text-align: left;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Logo in the center */
.mobile-banner-title {
    order: 2;
    flex: 1;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.5rem;
}

.mobile-banner-title span {
    color: var(--primary-accent);
}

/* Login icon on the right */
.mobile-login {
    order: 3;
    flex: 1;
    text-align: right;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Ensure the navigation stays on top of other content */
#navigation-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Adjust body padding to account for fixed header */
body {
    padding-top: 60px;
}

@media (max-width: 768px) {
    /* Hide desktop navigation on mobile */
    .top-banner {
        display: none;
    }
    
    /* Show mobile navigation */
    .mobile-banner {
        display: flex;
    }
    
    /* Adjust content spacing */
    .container {
        padding-top: 1rem;
    }
}

/* Mobile Side Menu Styles (keep existing styles) */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background-color: white;
    z-index: 1100;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-side-menu.active {
    left: 0;
}

.mobile-side-menu-header {
    background-color: var(--secondary-5);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-mobile-menu {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    padding: 1rem;
}

.mobile-nav li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.mobile-nav a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 0.75rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-nav a:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

/* Overlay for when menu is open */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1050;
    display: none;
}

.overlay.active {
    display: block;
}
/* ===== FIXED MOBILE NAVIGATION OVERFLOW ===== */
.mobile-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--secondary-5);
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    box-sizing: border-box; /* Include padding in width calculation */
    z-index: 1000;
    overflow: hidden; /* Prevent any child elements from causing overflow */
}

/* Menu toggle button */
.mobile-menu-toggle {
    flex: 0 0 auto; /* Don't grow or shrink */
    margin-right: auto; /* Push to far left */
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    padding: 0;
    min-width: 24px; /* Ensure touch target size */
}

/* Centered logo/title */
.mobile-banner-title {
    flex: 1 1 auto;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.5rem;
    margin: 0 auto; /* Center with auto margins */
    max-width: calc(100vw - 100px); /* Prevent overflow */
}

/* Login button */
.mobile-login {
    flex: 0 0 auto; /* Don't grow or shrink */
    margin-left: auto; /* Push to far right */
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    padding: 0;
    min-width: 24px; /* Ensure touch target size */
}

/* Additional safety measures */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
        width: 100%;
    }
    
    .mobile-banner {
        padding: 1rem 15px; /* Add horizontal padding */
    }
    
    /* Ensure no element can cause horizontal overflow */
    * {
        max-width: 100%;
    }
}
/*Contacts page*/

.contact-container {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            justify-content: center;
        }

        .contact-info {
            flex: 1;
            min-width: 300px;
            background-color: var(--light-color);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .contact-info h3 {
            margin-bottom: 20px;
            color: var(--primary-color);
        }

        .contact-info p {
            margin-bottom: 15px;
        }

        .contact-info i {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .contact-form {
            flex: 1;
            min-width: 300px;
            background-color: var(--light-color);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }

        .form-group textarea {
            height: 150px;
            resize: vertical;
        }

        .error {
            color: var(--accent-color);
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }

        .staff-directory {
            background-color: var(--light-color);
        }

        .staff-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
            padding: 0 20px;
        }

        .staff-card {
            background-color: var(--text-light);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }

        .staff-card:hover {
            transform: translateY(-10px);
        }

        .staff-img {
            height: 200px;
            overflow: hidden;
        }

        .staff-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .staff-card:hover .staff-img img {
            transform: scale(1.1);
        }

        .staff-info {
            padding: 20px;
        }

        .staff-info h3 {
            margin-bottom: 5px;
            color: var(--primary-color);
        }

        .staff-info p {
            margin-bottom: 10px;
            color: #666;
        }

        .staff-info .role {
            font-weight: bold;
            color: var(--secondary-color);
        }

        .staff-info .email {
            color: var(--accent-color);
            word-break: break-all;
        }

        .map-container {
            margin-top: 80px;
            height: 400px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
