:root {
    --primary: #1a4b8c;
    --primary-dark: #0d3a70;
    --secondary: #f9a826;
    --secondary-dark: #e8970f;
    --accent: #2c6eb5;
    --light: #f8f9fa;
    --dark: #333;
    --text: #444;
    --text-light: #666;
    --border: #eaeaea;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--secondary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    gap: 8px;
    min-height: 44px; /* Touch-friendly minimum size */
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    min-height: 70px;
}

.header-container nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    line-height: 1;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Language Switcher Dropdown Styles */
.lang-dropdown-wrapper {
    position: relative;
    margin-left: 30px;
    display: flex;
    align-items: center;
}

/* Desktop: Show desktop switcher, hide header switcher */
.lang-switcher-header {
    margin-left: 0;
    display: none !important; /* Hidden on desktop */
}

.lang-switcher-desktop {
    display: flex !important; /* Shown on desktop */
    align-items: center;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    line-height: 1;
    white-space: nowrap;
}

.lang-toggle::after {
    display: none; /* Remove nav link underline effect */
}

.lang-toggle:hover {
    background-color: var(--light);
    border-color: var(--primary);
    color: var(--primary);
}

.lang-toggle .fi {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-toggle .lang-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.lang-toggle.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid var(--border);
    display: block;
    overflow: hidden;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdownFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown li {
    margin: 0;
    border-bottom: 1px solid var(--border);
    display: block;
    width: 100%;
}

.lang-dropdown li:last-child {
    border-bottom: none;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    border-radius: 4px;
    margin: 2px 8px;
}

.lang-dropdown li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: var(--primary);
    border-radius: 0 2px 2px 0;
    transition: height 0.2s ease;
}

.lang-dropdown li a:hover {
    background-color: rgba(26, 75, 140, 0.08);
    color: var(--primary);
    transform: translateX(2px);
}

.lang-dropdown li a:hover::before {
    height: 60%;
}

.lang-dropdown li a.active {
    background-color: rgba(26, 75, 140, 0.05);
    color: var(--primary);
}

.lang-dropdown li a .fi {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-dropdown li a .fa-check {
    color: var(--primary);
    font-size: 0.9rem;
}

.lang-dropdown li a span:first-of-type {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* About Dropdown Styles */
.about-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.about-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background-color: transparent;
    color: var(--dark);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    line-height: 1;
    white-space: nowrap;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    font-family: inherit;
}

.about-toggle:hover {
    color: var(--primary);
}

.about-toggle.active {
    color: var(--primary);
}

.about-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.about-toggle.active .about-arrow {
    transform: rotate(180deg);
}

.about-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transform-origin: top left;
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1001;
    border: 1px solid var(--border);
    display: block;
}

.about-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.about-dropdown li {
    margin: 0;
    border-bottom: 1px solid var(--border);
    display: block;
    width: 100%;
}

.about-dropdown li:last-child {
    border-bottom: none;
}

.about-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.about-dropdown li a:hover {
    background-color: rgba(26, 75, 140, 0.08);
    color: var(--primary);
    padding-left: 24px;
    transform: translateX(2px);
}

.about-dropdown li a i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    transition: transform 0.2s ease;
}

.about-dropdown li a:hover i {
    transform: scale(1.1);
}

.about-dropdown li a span {
    flex: 1;
}

/* Mobile specific styles for About dropdown */
@media (max-width: 768px) {
    nav ul li.about-dropdown-wrapper {
        display: flex;
        flex-direction: column;
        padding: 0;
        text-align: left;
        align-items: flex-start;
    }
    
    .about-toggle {
        padding: 15px 0;
        border: none;
        background-color: transparent;
        color: var(--dark);
        box-shadow: none;
        border-radius: 0;
        font-weight: 500;
        order: 1;
        text-align: left;
        justify-content: flex-start;
        width: 100%;
        margin-left: 0;
    }
    
    .about-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--border);
        background-color: var(--light);
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 0;
        padding: 0;
        display: none;
        order: 2;
    }
    
    .about-dropdown.show {
        display: block !important;
    }
    
    .about-dropdown li a {
        padding: 16px 20px 16px 48px; /* Indent dropdown items */
    }
}

/* Eportal Dropdown Styles */
.eportal-dropdown-wrapper {
    position: relative;
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.eportal-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 0.95rem;
    position: relative;
    line-height: 1;
    white-space: nowrap;
}

.eportal-toggle::after {
    display: none; /* Remove nav link underline effect */
}

.eportal-toggle:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.eportal-toggle .eportal-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.eportal-toggle.active .eportal-arrow {
    transform: rotate(180deg);
}

.eportal-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid var(--border);
    display: block;
    overflow: hidden;
}

.eportal-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdownFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.eportal-dropdown li {
    margin: 0;
    border-bottom: 1px solid var(--border);
    display: block;
    width: 100%;
}

.eportal-dropdown li:first-child {
    border-top: none;
}

.eportal-dropdown li:last-child {
    border-bottom: none;
}

.eportal-dropdown li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    border-radius: 4px;
    margin: 2px 8px;
}

.eportal-dropdown li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: var(--primary);
    border-radius: 0 2px 2px 0;
    transition: height 0.2s ease;
}

.eportal-dropdown li a:hover {
    background-color: rgba(26, 75, 140, 0.08);
    color: var(--primary);
    padding-left: 24px;
    transform: translateX(2px);
}

.eportal-dropdown li a:hover::before {
    height: 60%;
}

.eportal-dropdown li a i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    transition: transform 0.2s ease;
}

.eportal-dropdown li a:hover i {
    transform: scale(1.1);
}

.eportal-dropdown li a span {
    flex: 1;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
    transition: var(--transition);
}

.mobile-menu:hover {
    color: var(--secondary);
}

.mobile-menu.active {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 75, 140, 0.85), rgba(26, 75, 140, 0.9)), url('/assets/images/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: left;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(249, 168, 38, 0.2);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.9;
}

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

.hero-btns .btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.hero-btns .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.hero-stat-text {
    font-size: 1rem;
    opacity: 0.9;
}

/* Quick Info Bar */
.quick-info {
    background-color: var(--primary);
    color: white;
    padding: 20px 0;
}

.quick-info-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.about {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-img {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(249, 168, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.program-content {
    padding: 25px;
}

.program-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.program-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.program-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.program-age, .program-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(rgba(26, 75, 140, 0.9), rgba(26, 75, 140, 0.9)), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    padding: 20px;
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.2rem;
}

/* Admissions Section */
.admissions {
    background-color: var(--light);
}

.admissions-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.admissions-text {
    flex: 1;
}

.admissions-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.admissions-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.admissions-list {
    list-style: none;
    margin: 25px 0;
}

.admissions-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.admissions-list li i {
    color: var(--secondary);
    margin-top: 5px;
}

.admissions-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.1);
}

/* Testimonials */
.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    display: none;
    position: relative;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 1s ease;
}

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

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    line-height: 1.8;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary);
    position: absolute;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text::before {
    top: -10px;
    left: -15px;
}

.testimonial-text::after {
    bottom: -30px;
    right: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary);
}

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

.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary);
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #bbb;
}

/* News & Announcements Section */
.news {
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.news-meta i {
    color: var(--secondary);
}

/* Events Section */
.events {
    background-color: var(--light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary);
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

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

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.event-month {
    display: flex;
    flex-direction: column;
}

.event-month span:first-child {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.event-month span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.event-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.event-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.event-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.event-time i {
    color: var(--secondary);
}

/* Gallery Section */
.gallery {
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: white;
    font-weight: 600;
}

/* Faculty Section */
.faculty {
    background-color: var(--light);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.faculty-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.faculty-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--secondary);
}

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

.faculty-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.faculty-card .faculty-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.faculty-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.faculty-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.faculty-social a {
    width: 35px;
    height: 35px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.faculty-social a:hover {
    background-color: var(--primary);
    color: white;
}

.faculty-view-all {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    width: 100%;
}

.faculty-view-all .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faculty-grade-section {
    margin-bottom: 60px;
}

.faculty-grade-section:last-of-type {
    margin-bottom: 40px;
}

.faculty-grade-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.faculty-grade-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-dark);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Styles */
@media (max-width: 992px) {
    section {
        padding: 70px 0;
    }

    .about-content, .admissions-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .quick-info-container {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .faculty-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }

    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .container {
        width: 95%;
        padding: 0 10px;
    }

    /* Header & Navigation */
    nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        text-align: left;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    /* Ensure desktop language switcher is hidden in mobile menu */
    nav ul li.lang-switcher-desktop,
    nav ul.active li.lang-switcher-desktop {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        overflow: hidden !important;
        opacity: 0 !important;
    }

    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 0;
        width: 100%;
        min-height: 44px; /* Touch-friendly */
        display: flex;
        align-items: center;
    }

    nav ul li a.btn {
        text-align: center;
        width: 100%;
    }

    /* Hide desktop language switcher in mobile menu */
    nav ul li.lang-switcher-desktop {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        overflow: hidden !important;
    }

    /* Language Switcher Mobile - Header Position */
    .lang-switcher-header {
        display: flex !important;
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }

    /* Hide desktop language switcher in mobile */
    .lang-switcher-desktop {
        display: none !important;
    }

    .lang-switcher-header .lang-toggle {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-height: 40px;
    }

    .lang-switcher-header .lang-toggle .fi {
        font-size: 1rem;
    }

    .lang-switcher-header .lang-dropdown {
        right: 0;
        left: auto;
    }

    .lang-dropdown li {
        border-bottom: 1px solid rgba(26, 75, 140, 0.1);
        margin: 0;
        width: 100%;
        transition: background-color 0.2s ease;
    }

    .lang-dropdown li:first-child {
        margin-top: 4px;
    }

    .lang-dropdown li:last-child {
        border-bottom: none;
        margin-bottom: 4px;
    }

    .lang-dropdown li a {
        padding: 16px 20px 16px 48px;
        color: var(--dark);
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        -webkit-tap-highlight-color: rgba(26, 75, 140, 0.1);
        touch-action: manipulation;
        pointer-events: auto;
        transition: all 0.2s ease;
        position: relative;
        margin: 0;
        border-radius: 0;
    }

    .lang-dropdown li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background-color: var(--primary);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .lang-dropdown li a:hover,
    .lang-dropdown li a:active {
        background-color: rgba(26, 75, 140, 0.08);
        padding-left: 52px;
        color: var(--primary);
    }

    .lang-dropdown li a:hover::before,
    .lang-dropdown li a:active::before {
        opacity: 1;
    }

    .lang-dropdown li a.active {
        background-color: rgba(26, 75, 140, 0.1);
        color: var(--primary);
    }

    .lang-dropdown li a .fi {
        font-size: 1.2rem;
    }

    .lang-dropdown li a .fa-check {
        color: var(--primary);
        font-size: 0.9rem;
    }

    /* Eportal Dropdown Mobile */
    nav ul li.eportal-dropdown-wrapper {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
        position: relative;
        pointer-events: auto;
        z-index: 1;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    nav ul li.eportal-dropdown-wrapper:last-child {
        border-bottom: none;
    }

    .eportal-toggle {
        width: 100%;
        justify-content: space-between;
        text-align: left;
        margin: 0;
        padding: 15px 0;
        background-color: transparent;
        color: var(--dark);
        box-shadow: none;
        border-radius: 0;
        font-weight: 500;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(26, 75, 140, 0.1);
        min-height: 44px; /* Touch-friendly */
        display: flex;
        align-items: center;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        pointer-events: auto;
        z-index: 1;
        position: relative;
        border: none;
        order: 1;
    }

    .eportal-toggle:hover,
    .eportal-toggle:active,
    .eportal-toggle:focus {
        background-color: transparent;
        transform: none;
        box-shadow: none;
        color: var(--primary);
        outline: none;
    }

    .eportal-toggle.active {
        color: var(--primary);
        background-color: rgba(26, 75, 140, 0.05);
    }

    /* Make Eportal button look like other nav links in mobile */
    nav ul li.eportal-dropdown-wrapper .eportal-toggle {
        font-size: inherit;
        font-weight: 500;
        text-transform: none;
        letter-spacing: normal;
    }

    .eportal-toggle i.fa-th-large {
        margin-right: 8px;
    }

    .eportal-toggle .eportal-arrow {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .eportal-toggle.active .eportal-arrow {
        transform: rotate(180deg);
    }

    .eportal-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--border);
        background-color: rgba(26, 75, 140, 0.02);
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 0;
        padding: 8px 0;
        display: none;
        pointer-events: auto;
        z-index: 2;
        width: 100%;
        list-style: none;
        order: 2;
        border-radius: 0;
    }

    .eportal-dropdown.show {
        display: block !important;
        visibility: visible !important;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }

    .eportal-dropdown li {
        border-bottom: 1px solid rgba(26, 75, 140, 0.1);
        margin: 0;
        width: 100%;
        transition: background-color 0.2s ease;
    }

    .eportal-dropdown li:first-child {
        margin-top: 4px;
    }

    .eportal-dropdown li:last-child {
        border-bottom: none;
        margin-bottom: 4px;
    }

    .eportal-dropdown li a {
        padding: 16px 20px 16px 48px;
        color: var(--dark);
        min-height: 48px; /* Touch-friendly */
        display: flex;
        align-items: center;
        gap: 14px;
        -webkit-tap-highlight-color: rgba(26, 75, 140, 0.1);
        touch-action: manipulation;
        pointer-events: auto;
        transition: all 0.2s ease;
        position: relative;
    }

    .eportal-dropdown li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background-color: var(--primary);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .eportal-dropdown li a:hover,
    .eportal-dropdown li a:active {
        background-color: rgba(26, 75, 140, 0.08);
        padding-left: 52px;
        color: var(--primary);
    }

    .eportal-dropdown li a:hover::before,
    .eportal-dropdown li a:active::before {
        opacity: 1;
    }

    .eportal-dropdown li a i {
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
        color: var(--primary);
        transition: transform 0.2s ease;
    }

    .eportal-dropdown li a:hover i,
    .eportal-dropdown li a:active i {
        transform: scale(1.1);
    }
    
    .header-container nav {
        justify-content: flex-end;
    }

    .mobile-menu {
        display: block;
        z-index: 1001;
        order: 3;
    }

    .header-container {
        padding: 15px 0;
    }

    .logo-img {
        max-height: 50px;
    }
    
    /* Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 40px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    /* Quick Info */
    .quick-info {
        padding: 25px 0;
    }

    .quick-info-container {
        flex-direction: column;
        gap: 20px;
    }

    .info-item {
        justify-content: center;
        text-align: center;
    }

    /* About Section */
    .about-text h3 {
        font-size: 1.7rem;
    }

    /* Programs */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .program-content {
        padding: 20px;
    }

    /* Stats */
    .stats {
        background-attachment: scroll;
        padding: 60px 0;
        background-size: cover;
        background-position: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item i {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-text {
        font-size: 1rem;
    }

    /* News Section */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .news-content {
        padding: 20px;
    }

    .news-content h3 {
        font-size: 1.2rem;
    }

    .news-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Events Section */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .event-card {
        padding: 25px;
    }

    .event-day {
        font-size: 2rem;
    }

    .event-content h3 {
        font-size: 1.2rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Faculty */
    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faculty-img {
        width: 120px;
        height: 120px;
    }

    .faculty-view-all {
        margin-top: 40px;
    }

    .faculty-view-all .btn {
        width: 100%;
        max-width: 300px;
    }

    .faculty-grade-section {
        margin-bottom: 50px;
    }

    .faculty-grade-title {
        font-size: 1.5rem;
    }

    .faculty-filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonial-slide {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 60px 0;
    }

    .newsletter h2 {
        font-size: 2rem;
    }

    .newsletter p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        padding: 15px;
    }

    /* Admissions */
    .admissions-form {
        padding: 25px 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column {
        text-align: left;
    }

    .footer-column h3::after {
        left: 0;
        transform: none;
    }

    .social-links {
        justify-content: flex-start;
    }

    /* Scroll to Top */
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* Hero */
    .hero {
        padding: 90px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-btns .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 15px;
        margin-top: 30px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .hero-stat-text {
        font-size: 0.9rem;
    }

    /* About */
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .feature {
        gap: 12px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    /* Programs */
    .program-content h3 {
        font-size: 1.3rem;
    }

    .program-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

    .stat-item {
        padding: 15px;
    }

    .stat-item i {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-text {
        font-size: 0.95rem;
    }

    /* News */
    .news-img {
        height: 180px;
    }

    .news-date {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    .news-content p {
        font-size: 0.9rem;
    }

    /* Events */
    .event-card {
        padding: 20px;
    }

    .event-day {
        font-size: 1.8rem;
    }

    .event-content h3 {
        font-size: 1.1rem;
    }

    .event-content p {
        font-size: 0.9rem;
    }

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

    /* Faculty */
    .faculty-img {
        width: 100px;
        height: 100px;
    }

    .faculty-card h3 {
        font-size: 1.1rem;
    }

    .faculty-card p {
        font-size: 0.85rem;
    }

    .faculty-view-all {
        margin-top: 30px;
    }

    .faculty-view-all .btn {
        width: 100%;
        max-width: 100%;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .faculty-grade-section {
        margin-bottom: 40px;
    }

    .faculty-grade-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .faculty-filter-buttons {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    /* Testimonials */
    .testimonial-slide {
        padding: 25px 15px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-img {
        width: 60px;
        height: 60px;
    }

    .author-info h4 {
        font-size: 1.1rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 50px 0;
    }

    .newsletter h2 {
        font-size: 1.8rem;
    }

    .newsletter p {
        font-size: 0.95rem;
    }

    /* Admissions */
    .admissions-form {
        padding: 20px 15px;
    }

    .admissions-text h3 {
        font-size: 1.6rem;
    }

    .admissions-list li {
        font-size: 0.9rem;
    }

    /* CTA */
    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        gap: 25px;
    }

    .footer-column h3 {
        font-size: 1.2rem;
    }

    .contact-info li {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* Scroll to Top */
    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Quick Info */
    .info-text h4 {
        font-size: 0.95rem;
    }

    .info-text p {
        font-size: 0.85rem;
    }

    .info-item i {
        font-size: 1.3rem;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .newsletter h2 {
        font-size: 1.6rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }
}

/* About Pages Styles */
.page-banner {
    background: linear-gradient(rgba(26, 75, 140, 0.85), rgba(26, 75, 140, 0.9)), url('/assets/images/hero.jpeg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: #fff;
    text-align: center;
    position: relative;
    margin-top: 70px; /* Account for fixed header */
}

.page-banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.about-page {
    padding: 80px 0;
}

.about-page.bg-light {
    background-color: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-content.reverse .about-img {
    order: 2;
}

.about-content.reverse .about-text {
    order: 1;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.about-card {
    padding: 30px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.btn-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--secondary-dark);
    gap: 12px;
}

.section-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.values-grid,
.philosophy-grid,
.aims-grid,
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card,
.philosophy-card,
.aim-card,
.facility-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover,
.philosophy-card:hover,
.aim-card:hover,
.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon,
.philosophy-icon,
.aim-icon,
.facility-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h3,
.philosophy-card h3,
.aim-card h3,
.facility-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.value-card p,
.philosophy-card p,
.aim-card p,
.facility-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.management-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.management-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.management-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.management-content {
    padding: 30px;
}

.management-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.management-content .designation {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.management-content .description {
    color: var(--text-light);
    line-height: 1.8;
}

.objectives-content {
    max-width: 900px;
    margin: 0 auto;
}

.objectives-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.objective-item i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.objective-item span {
    color: var(--text);
    line-height: 1.8;
}

/* Mobile Responsive for About Pages */
@media (max-width: 768px) {
    .page-banner {
        padding: 80px 0 40px;
        background-attachment: scroll;
        margin-top: 70px; /* Account for fixed header on mobile */
    }

    .page-banner-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .breadcrumb {
        font-size: 0.85rem;
        flex-wrap: wrap;
        gap: 5px;
    }

    .about-page {
        padding: 50px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content.reverse .about-img {
        order: 1;
    }

    .about-content.reverse .about-text {
        order: 2;
    }

    .about-img img {
        margin-bottom: 20px;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }

    .about-card {
        padding: 25px 20px;
    }

    .about-card-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .about-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .section-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .values-grid,
    .philosophy-grid,
    .aims-grid,
    .facilities-grid,
    .management-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .value-card,
    .philosophy-card,
    .aim-card,
    .facility-card {
        padding: 30px 20px;
    }

    .value-icon,
    .philosophy-icon,
    .aim-icon,
    .facility-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .value-card h3,
    .philosophy-card h3,
    .aim-card h3,
    .facility-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .value-card p,
    .philosophy-card p,
    .aim-card p,
    .facility-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .management-grid {
        gap: 25px;
    }

    .management-card {
        margin-bottom: 0;
    }

    .management-img {
        height: 250px;
    }

    .management-content {
        padding: 25px 20px;
    }

    .management-content h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .management-content .designation {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .management-content .description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .objectives-content {
        max-width: 100%;
    }

    .objectives-list {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .objective-item {
        padding: 18px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .objective-item i {
        font-size: 1.3rem;
        margin-top: 0;
    }

    .objective-item span {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-link {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .page-banner {
        padding: 70px 0 30px;
        margin-top: 70px; /* Account for fixed header on mobile */
    }

    .page-banner-content h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .about-page {
        padding: 40px 0;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-card {
        padding: 20px 15px;
    }

    .about-card-icon {
        font-size: 2rem;
    }

    .about-card h3 {
        font-size: 1.2rem;
    }

    .section-icon {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .value-card,
    .philosophy-card,
    .aim-card,
    .facility-card {
        padding: 25px 15px;
    }

    .value-icon,
    .philosophy-icon,
    .aim-icon,
    .facility-icon {
        font-size: 2rem;
    }

    .value-card h3,
    .philosophy-card h3,
    .aim-card h3,
    .facility-card h3 {
        font-size: 1.2rem;
    }

    .management-img {
        height: 200px;
    }

    .management-content {
        padding: 20px 15px;
    }

    .management-content h3 {
        font-size: 1.2rem;
    }

    .objective-item {
        padding: 15px 12px;
    }

    .objective-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .page-banner-content h1 {
        font-size: 1.3rem;
    }

    .about-text h2 {
        font-size: 1.3rem;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 75, 140, 0.1);
    border-radius: 50%;
}

.contact-info-text h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info-text p {
    color: var(--text);
    line-height: 1.8;
    margin: 5px 0;
}

.contact-info-text a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-text a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.contact-form-section {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-section h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-control {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: #fff;
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-map-section {
    padding: 0;
    margin-top: 0;
}

.contact-map {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 0;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-card {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }

    .contact-info-icon {
        margin: 0 auto;
    }

    .contact-form-section {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-map {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-info-card {
        padding: 20px 15px;
    }

    .contact-info-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .contact-info-text h3 {
        font-size: 1.1rem;
    }

    .contact-form-section {
        padding: 25px 15px;
    }

    .contact-form-section h3 {
        font-size: 1.5rem;
    }

    .contact-map {
        height: 300px;
    }
}

/* News & Events Page Styles */
.news-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-card-page {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.news-card-page:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img-page {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-img-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: #fff;
    padding: 8px 15px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.news-content-page {
    padding: 25px;
}

.news-meta-page {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.news-meta-page span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta-page i {
    color: var(--primary);
}

.news-content-page h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.news-content-page p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.news-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.news-link:hover {
    color: var(--secondary-dark);
    gap: 12px;
}

.events-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.event-card-page {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    display: flex;
    gap: 25px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.event-card-page:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary);
}

.event-date-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.event-month {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.event-year {
    font-size: 0.85rem;
    opacity: 0.9;
}

.event-content-box {
    flex: 1;
}

.event-content-box h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.event-content-box p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-details i {
    color: var(--primary);
}

/* Mobile Responsive for News & Events Page */
@media (max-width: 768px) {
    .news-grid-page {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .news-img-page {
        height: 200px;
    }

    .news-content-page {
        padding: 20px;
    }

    .news-content-page h3 {
        font-size: 1.2rem;
    }

    .events-grid-page {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .event-card-page {
        flex-direction: column;
        padding: 25px 20px;
    }

    .event-date-box {
        align-self: flex-start;
        min-width: 70px;
        padding: 15px;
    }

    .event-day {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .news-img-page {
        height: 180px;
    }

    .news-content-page {
        padding: 18px 15px;
    }

    .news-content-page h3 {
        font-size: 1.1rem;
    }

    .news-meta-page {
        flex-direction: column;
        gap: 8px;
    }

    .event-card-page {
        padding: 20px 15px;
    }

    .event-date-box {
        min-width: 60px;
        padding: 12px;
    }

    .event-day {
        font-size: 1.5rem;
    }

    .event-content-box h3 {
        font-size: 1.1rem;
    }

    .event-details {
        flex-direction: column;
        gap: 10px;
    }
}