:root {
    /* Corporate Blue Color Palette - Professional & Trustworthy */
    --primary-color: #1E40AF;
    /* Deep Blue - Primary brand color */
    --secondary-color: #3B82F6;
    /* Sky Blue - Secondary color */
    --accent-color: #F59E0B;
    /* Amber - Accent color for CTAs, highlights */
    --neutral-light: #F3F4F6;
    /* Light Gray - Neutral background */
    --text-color: #1F2937;
    /* Charcoal - Main text color */

    /* Derived colors */
    --background-light: #F3F4F6;
    /* Light background */
    --background-card: #FFFFFF;
    /* Card background */
    --hover-dark: #1E3A8A;
    /* Darker blue for hover states */
    --accent-muted: #93C5FD;
    /* Muted blue for borders, subtle elements */
    --neutral-50: #F9FAFB;
    --neutral-100: #F3F4F6;
    --neutral-200: #E5E7EB;
    --neutral-800: #1F2937;
    --text-muted: #6B7280;
    --success-green: #10B981;
    --info-blue: #3B82F6;
    --section-bg: #F9FAFB;
    /* Section background */

    /* Legacy variables for compatibility */
    --accent-cta: #F59E0B;
    /* Same as accent-color */
    --accent-positive: #F59E0B;
    /* Same as accent-color */
    --accent-special: #F59E0B;
    /* Same as accent-color */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip to Content (Accessibility) */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--background-light);
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    /* White navbar */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    z-index: 2;
}

.logo-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex: 0 0 70px;
    padding: 0.12rem;
    background: #FFFFFF;
    border: 2px solid rgba(23, 69, 116, 0.14);
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(23, 69, 116, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.45);
    transform-origin: left center;
    border-color: rgba(217, 119, 6, 0.42);
    box-shadow: 0 18px 38px rgba(23, 69, 116, 0.28);
    z-index: 20;
}

.logo-text h1 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 0.125rem;
    font-weight: 800;
}

.logo-text p {
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-muted);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-muted);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ERP Login Button */
.nav-links a.erp-login-btn {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links a.erp-login-btn:hover {
    background: var(--hover-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.nav-links a.erp-login-btn::after {
    display: none;
}

.mobile-links a.erp-login-btn {
    background: var(--accent-color);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
}

.mobile-links a.erp-login-btn:hover {
    background: var(--hover-dark);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    padding: 11rem 0 8rem;
    background: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/pattern.png') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.hero-text h1 span {
    color: var(--accent-color);
    display: block;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 0.62em;
    line-height: 1.18;
    margin-top: 0.45rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0.95;
    line-height: 1.6;
    max-width: 90%;
}

.hero-stats-compact {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    background: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--neutral-200);
    display: flex;
    flex-direction: column;
    min-width: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-stat-item:hover {
    transform: translateY(-5px);
    background: var(--neutral-50);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-stat-item .number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.hero-stat-item .label {
    font-size: 0.875rem;
    color: var(--text-color);
    font-weight: 500;
    margin-top: 0.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

.btn-careers-small {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-careers-small:hover {
    background: var(--hover-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.hero-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
}

.hero-form h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--primary-color);
}

.hero-form>p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--neutral-800);
    font-weight: 500;
}

/* Contact Form Card Tile Styling */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--primary-color);
}

.contact-form>p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--neutral-800);
    font-weight: 500;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--neutral-200);
    background: var(--neutral-50);
    color: var(--neutral-800);
    font-size: 1rem;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: var(--primary-color);
    color: white;
}

.form-submit {
    width: 100%;
    background: var(--accent-color);
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 10px;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.form-submit:hover {
    background: var(--hover-dark);
    transform: translateY(-2px);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Form Messages */
.form-message {
    text-align: center;
    font-size: 0.875rem;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #e8f7ee;
    color: #2a7;
    border: 1px solid #bfd;
}

.form-message.error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-bg {
    background: var(--neutral-50);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.section-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent-color);
}

/* About section specific styling - full section with #F0F8FF background */
#about.section-bg {
    background: #F0F8FF;
    border-top: 4px solid var(--primary-color);
}

#about.section-bg::after {
    background: var(--primary-color);
}

/* Improve text contrast for About section */
#about .section-title h2 {
    color: var(--primary-color);
}

#about .section-title p {
    color: var(--text-color);
    font-weight: 500;
}

/* Academics section background */
#academics {
    background: #F0F8FF;
}

/* About section background */
#about {
    background: #F0F8FF;
}

/* Leadership section background */
#leadership {
    background: #F0F8FF;
}

/* Facilities section background */
#facilities {
    background: #F0F8FF;
}

/* Careers section background */
#careers {
    background: #FFFFFF;
}

/* Contact section background */
#contact {
    background: #F0F8FF;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* About Cards */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 20px;
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.1);
    background: var(--background-light);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--section-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
    /* Amber shadow using --accent-color */
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--neutral-800);
    opacity: 0.8;
}

/* Interactive Card Styles */
.card-summary {
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.card-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
    animation: fadeIn 0.5s ease;
}

.card-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-details ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-details li {
    margin-bottom: 0.5rem;
    color: var(--neutral-800);
}

.card-details strong {
    color: var(--primary-color);
    font-weight: 700;
}

.card-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.card-toggle-btn:hover {
    background: var(--hover-dark);
    transform: translateY(-2px);
}

.card-toggle-btn i {
    transition: transform 0.3s ease;
}

.about-card.expanded .card-toggle-btn i,
.academic-card.expanded .card-toggle-btn i {
    transform: rotate(180deg);
}

.about-card.expanded .card-summary,
.academic-card.expanded .card-summary {
    opacity: 0.7;
}

.about-card.expanded,
.academic-card.expanded {
    padding-bottom: 2.5rem;
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.15);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Careers Section Styles */
.careers-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--background-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.05);
    border-left: 4px solid var(--accent-color);
}

.careers-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-800);
}

.careers-cta {
    background: var(--neutral-50);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid var(--neutral-200);
}

.careers-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.careers-cta p {
    margin-bottom: 1rem;
}

.careers-cta .btn {
    margin-top: 1rem;
    display: inline-flex;
    gap: 0.5rem;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--background-card);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--neutral-800);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent-color);
}

/* Read More About Us Section */
.read-more-section {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 2px solid #FFBB00;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.read-more-section .section-title {
    margin-bottom: 2rem;
    text-align: center;
}

.read-more-section .section-title h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.read-more-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-800);
}

.read-more-content p {
    margin-bottom: 1.5rem;
}

.read-more-summary {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--neutral-800);
}

.read-more-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
}

.read-more-details p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 0 1.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.read-more-toggle-btn:hover {
    background: var(--hover-dark);
    transform: translateY(-2px);
}

.read-more-toggle-btn i {
    transition: transform 0.3s ease;
}

.read-more-section.expanded .read-more-toggle-btn i {
    transform: rotate(180deg);
}

.school-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-item {
    background: #10B981;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border-bottom: 3px solid #0A8F6B;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.highlight-item i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.8rem;
}

.highlight-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0.9;
    margin-bottom: 0;
}

/* Responsive adjustments for school highlights */
@media (max-width: 1024px) {
    .school-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .read-more-section {
        padding: 2rem;
        margin-top: 3rem;
    }

    .school-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .read-more-section .section-title h3 {
        font-size: 1.7rem;
    }
}

/* Academics */
.academics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.academic-card {
    background: var(--background-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--neutral-100);
}

.academic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: var(--accent-muted);
}

.card-header {
    height: 200px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.card-body {
    padding: 2rem;
}

.card-body h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--accent-muted);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: var(--primary-color);
}

/* Stats */
.stats {
    background: var(--primary-color);
    position: relative;
    color: white;
    padding: 6rem 0;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--neutral-200);
    color: var(--text-color);
}

.stat-box .number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stat-box .label {
    font-size: 1.125rem;
    opacity: 0.9;
    color: var(--neutral-800);
}

/* Leadership Messages */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.leadership-card {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.05);
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.leadership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.1);
}

.leadership-icon {
    width: 80px;
    height: 80px;
    background: var(--section-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 2.5rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
}

.leadership-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.leadership-content {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.leadership-content p {
    color: var(--neutral-800);
    line-height: 1.7;
    font-size: 1.05rem;
    opacity: 0.9;
}

.leadership-signature {
    border-top: 1px solid var(--neutral-200);
    padding-top: 1.5rem;
    margin-top: auto;
}

.signature-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.signature-title {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive adjustments for leadership section */
@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leadership-card {
        padding: 2rem;
    }

    .leadership-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

/* Timings */
.timings {
    background: var(--section-bg);
}

.timings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
}

.timings-table thead {
    background: var(--primary-color);
    color: white;
}

.timings-table th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.timings-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--neutral-200);
    color: var(--text-color);
    font-weight: 500;
}

.timings-table tbody tr {
    background: #FFFFFF;
}

.timings-table tbody tr:nth-child(even) {
    background: var(--neutral-50);
}

.timings-table tbody tr:last-child td {
    border-bottom: none;
}

.timings-table tbody tr:hover {
    background: var(--neutral-100);
}

/* Contact */
.contact {
    background: var(--section-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--background-card);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 3px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.12);
}

.info-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--neutral-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.info-card-content h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-card-content p {
    font-size: 0.9rem;
    color: var(--neutral-800);
    line-height: 1.5;
    margin: 0;
}

.info-card-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.info-card-content a:hover {
    text-decoration: underline;
}

.contact-info h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info > h3 {
    margin-bottom: 1rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-item p {
    color: #000000;
    font-weight: 500;
}

.contact-item a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--neutral-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-muted);
    color: white;
    transform: translateY(-3px);
}

.social-links .btn-careers-small {
    height: 45px;
    margin-top: 0;
    padding: 0 1.15rem;
    display: inline-flex;
    align-items: center;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--neutral-200);
    border-radius: 10px;
    background: var(--neutral-50);
    color: var(--neutral-800);
    font-size: 1rem;
}

.contact-form .form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Form Labels and Help Text */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.form-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Campus Maps */
.campus-maps {
    background: #FFFFFF;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.map-card {
    background: var(--neutral-50);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--neutral-200);
}

.map-info {
    padding: 2rem;
}

.map-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.map-info p {
    color: var(--text-color);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    line-height: 1.5;
}

.map-info p i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.map-iframe {
    width: 100%;
    line-height: 0;
}

@media (max-width: 992px) {
    .maps-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.footer p {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .academics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {

    .hero-content,
    .about-cards,
    .academics-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }

    .mobile-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-links a {
        color: var(--primary-color);
        text-decoration: none;
        padding: 0.75rem;
        border-radius: 5px;
        transition: background 0.3s ease;
    }

    .mobile-links a:hover {
        background: var(--neutral-100);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-stats-compact {
        justify-content: center;
        gap: 1rem;
    }



    .section-title h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.875rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .timings-table {
        font-size: 0.875rem;
    }

    .timings-table th,
    .timings-table td {
        padding: 0.75rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    z-index: 9999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-buttons .btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-buttons .btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

.cookie-buttons .btn-primary:hover {
    background-color: var(--hover-dark);
    border-color: var(--hover-dark);
}

.cookie-buttons .btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-buttons .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    
    .cookie-content p {
        flex: 1;
        margin-right: 2rem;
    }
}

/* UI Revamp */
:root {
    --primary-color: #174574;
    --secondary-color: #2F80ED;
    --accent-color: #D97706;
    --accent-muted: #0F766E;
    --neutral-light: #F6F8FB;
    --text-color: #172033;
    --background-light: #F6F8FB;
    --background-card: #FFFFFF;
    --hover-dark: #0F3154;
    --neutral-50: #F9FBFD;
    --neutral-100: #EEF3F7;
    --neutral-200: #D9E3EA;
    --neutral-800: #253043;
    --text-muted: #607086;
    --section-bg: #F1F7F4;
}

html {
    scroll-padding-top: 92px;
}

body {
    background: var(--background-light);
}

.container {
    max-width: 1180px;
    padding: 0 1.25rem;
}

.navbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(23, 69, 116, 0.1);
    box-shadow: 0 10px 30px rgba(23, 69, 116, 0.08);
}

.navbar.scrolled {
    box-shadow: 0 14px 34px rgba(23, 69, 116, 0.12);
}

.nav-container {
    padding: 0.75rem 0;
}

.logo-icon {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
}

.logo-icon:hover {
    transform: scale(1.52);
}

.logo-text h1 {
    font-size: 1.2rem;
    letter-spacing: 0;
    font-weight: 800;
}

.logo-text p {
    color: var(--text-muted);
    letter-spacing: 0;
    font-size: 0.8rem;
    font-weight: 700;
}

.nav-links {
    align-items: center;
    gap: 0.65rem;
}

.nav-links a {
    color: var(--neutral-800);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.94rem;
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: #EEF7F5;
}

.nav-links a.erp-login-btn,
.mobile-links a.erp-login-btn {
    background: var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.22);
}

.nav-links a.erp-login-btn:hover,
.mobile-links a.erp-login-btn:hover {
    background: var(--hover-dark);
}

.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
}

.hero {
    padding: 9rem 0 5.5rem;
    background: var(--background-light);
    color: var(--text-color);
}

.hero::before {
    background: url('../assets/images/pattern.png') repeat;
    opacity: 0.08;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
    background: var(--section-bg);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3.25rem;
}

.hero-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.42rem 0.75rem;
    border-radius: 8px;
    background: #FFF7E8;
    color: var(--accent-color);
    border: 1px solid rgba(217, 119, 6, 0.2);
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-text h1 {
    color: var(--text-color);
    font-size: 4rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0;
}

.hero-text h1 span {
    color: var(--accent-muted);
    text-shadow: none;
    font-size: 0.58em;
    line-height: 1.2;
}

.hero-text p {
    color: var(--neutral-800);
    font-size: 1.12rem;
    max-width: 640px;
    margin-bottom: 1.5rem;
}

.btn {
    border-radius: 8px;
    padding: 0.82rem 1.3rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #FFFFFF;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--hover-dark);
    border-color: var(--hover-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(23, 69, 116, 0.24);
}

.btn-outline {
    background: #FFFFFF;
    color: var(--primary-color);
    border: 1px solid var(--neutral-200);
}

.btn-outline:hover {
    border-color: var(--accent-muted);
    color: var(--accent-muted);
    transform: translateY(-2px);
}

.hero-stats-compact {
    display: grid;
    grid-template-columns: repeat(4, minmax(105px, 1fr));
    gap: 0.85rem;
    max-width: 660px;
    margin-top: 0;
}

.hero-stat-item {
    min-width: 0;
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
    border-top: 3px solid var(--accent-muted);
    box-shadow: 0 10px 24px rgba(23, 69, 116, 0.08);
}

.hero-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(23, 69, 116, 0.12);
}

.hero-stat-item .number {
    color: var(--primary-color);
}

.hero-form,
.contact-form {
    border-radius: 8px;
    border: 1px solid rgba(23, 69, 116, 0.14);
    border-top: 4px solid var(--accent-color);
    background: #FFFFFF;
    box-shadow: 0 22px 45px rgba(23, 69, 116, 0.14);
}

.hero-form h3,
.contact-form h3 {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.contact-form .form-group input,
.contact-form .form-group textarea {
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid var(--neutral-200);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-muted);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.form-submit {
    border-radius: 8px;
    background: var(--accent-color);
    box-shadow: 0 12px 22px rgba(217, 119, 6, 0.2);
}

.form-submit:hover {
    background: var(--hover-dark);
}

.section {
    padding: 5rem 0;
}

.section-bg {
    border-top: 0;
}

.section-bg::after {
    display: none;
}

#about,
#leadership,
#facilities {
    background: var(--section-bg);
}

#academics,
#contact,
.campus-maps {
    background: #FFFFFF;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 2.6rem;
}

.section-title h2 {
    color: var(--primary-color);
    font-size: 2.55rem;
    letter-spacing: 0;
}

.section-title p {
    color: var(--text-muted);
    font-weight: 500;
}

.about-cards,
.leadership-grid,
.maps-grid {
    gap: 1.25rem;
}

.about-card,
.academic-card,
.leadership-card,
.map-card,
.read-more-section,
.careers-content,
.careers-cta,
.modal-content {
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(23, 69, 116, 0.08);
}

.about-card,
.leadership-card {
    border: 1px solid rgba(23, 69, 116, 0.1);
    border-top: 3px solid var(--accent-color);
}

.about-card:hover,
.academic-card:hover,
.leadership-card:hover,
.info-card:hover,
.map-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(23, 69, 116, 0.12);
}

.card-icon,
.leadership-icon,
.info-card-icon {
    border-radius: 8px;
    background: #FFF7E8;
    color: var(--accent-color);
    box-shadow: none;
}

.card-toggle-btn,
.read-more-toggle-btn,
.btn-careers-small {
    border-radius: 8px;
    background: var(--primary-color);
}

.card-toggle-btn:hover,
.read-more-toggle-btn:hover,
.btn-careers-small:hover {
    background: var(--accent-muted);
}

.read-more-section {
    background: #FFFFFF;
    border: 1px solid rgba(23, 69, 116, 0.1);
    border-left: 4px solid var(--accent-muted);
}

.school-highlights {
    gap: 1rem;
}

.highlight-item {
    background: #FFFFFF;
    color: var(--neutral-800);
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
    border-top: 3px solid var(--accent-muted);
    box-shadow: 0 8px 20px rgba(23, 69, 116, 0.06);
}

.highlight-item i,
.highlight-item h4 {
    color: var(--accent-muted);
}

.highlight-item p {
    color: var(--neutral-800);
}

.academics-grid {
    gap: 1.25rem;
}

.academic-card {
    border: 1px solid rgba(23, 69, 116, 0.1);
}

.card-header {
    height: 132px;
    background: #E8F4F1;
    color: var(--primary-color);
    font-size: 2.35rem;
}

.card-body {
    padding: 1.6rem;
}

.card-body h3,
.leadership-card h3,
.contact-info h3,
.map-info h3 {
    color: var(--primary-color);
}

.leadership-content p,
.card-body p,
.about-card p {
    color: var(--neutral-800);
    opacity: 1;
}

.table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(23, 69, 116, 0.08);
}

.timings-table {
    border-radius: 8px;
    box-shadow: none;
}

.timings-table thead {
    background: var(--primary-color);
}

.timings-table th,
.timings-table td {
    white-space: nowrap;
}

.timings-table tbody tr:hover {
    background: #EEF7F5;
}

.contact-grid {
    gap: 2rem;
}

.info-card {
    border-radius: 8px;
    border: 1px solid rgba(23, 69, 116, 0.1);
    border-left: 3px solid var(--accent-muted);
    box-shadow: 0 8px 20px rgba(23, 69, 116, 0.06);
}

.social-link {
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid var(--neutral-200);
}

.social-link:hover {
    background: var(--accent-muted);
}

.map-card {
    background: #FFFFFF;
    border: 1px solid rgba(23, 69, 116, 0.1);
}

.map-iframe iframe {
    height: 320px;
}

.footer {
    background: #14213D;
    border-top-color: var(--accent-color);
    padding: 2.5rem 0;
}

.cookie-banner {
    background: #14213D;
}

@media (max-width: 1024px) {
    .hero {
        padding: 8rem 0 4.5rem;
    }

    .hero::after {
        display: none;
    }

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

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        max-width: 100%;
    }

    .mobile-menu {
        top: 78px;
        border-bottom: 1px solid var(--neutral-200);
    }

    .mobile-links a {
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.65rem 0;
    }

    .logo-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .logo-icon:hover {
        transform: scale(1.32);
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.68rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero {
        padding: 7rem 0 3.5rem;
    }

    .hero-text h1 {
        font-size: 2.45rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-stats-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-form,
    .contact-form,
    .read-more-section,
    .leadership-card,
    .about-card {
        padding: 1.5rem;
    }

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

    .maps-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2.05rem;
    }

    .hero-stats-compact {
        grid-template-columns: 1fr;
    }

    .hero-stat-item {
        padding: 0.9rem 1rem;
    }

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