/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo {
    height: 60px;
    width: auto;
    border-radius: 50%;
}

.nav-logo .school-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.hero:hover .hero-bg-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(29, 78, 216, 0.6));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    margin-top: 10px;
    opacity: 0.9;
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 24px;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.school-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.info-item i {
    color: #2563eb;
    font-size: 18px;
    width: 20px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Facilities Section */
.facilities-section {
    padding: 100px 0;
    background: white;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.facility-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.facility-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.facility-card:hover .facility-overlay {
    opacity: 1;
}

.facility-overlay i {
    font-size: 3rem;
    color: white;
}

.facility-content {
    padding: 25px;
}

.facility-content h3 {
    font-size: 1.4rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.facility-content p {
    color: #666;
    line-height: 1.6;
}

/* Academic Section */
.academic-section {
    padding: 100px 0;
    background: #f8fafc;
}

.academic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.academic-text h2 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.academic-subtitle {
    font-size: 1.3rem;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 20px;
}

.academic-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.academic-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-item i {
    color: #2563eb;
    font-size: 18px;
}

.academic-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: white;
}

.video-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info h3 {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.video-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

/* Messages Section */
.messages-section {
    padding: 100px 0;
    background: #f8fafc;
}

.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.message-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.message-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.message-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.message-info h3 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 5px;
}

.message-info p {
    color: #666;
    font-size: 0.9rem;
}

.message-content blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid #2563eb;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    color: #2563eb;
    margin-bottom: 8px;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 3px;
    flex-shrink: 0;
}

.footer-logo h3 {
    font-size: 1.3rem;
    color: #2563eb;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #2563eb;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}
/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Content Section */
.about-content-section {
    padding: 100px 0;
    background: white;
}

.about-intro {
    text-align: center;
    margin-bottom: 80px;
}

.about-intro h2 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.about-intro .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 20px;
    margin-top: 30px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: -30px;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.image-caption p {
    margin: 0;
    font-style: italic;
    color: #666;
    text-align: center;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.4rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Achievements Section */
.achievements-section {
    padding: 100px 0;
    background: white;
}

.achievements-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.achievement-text h3 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.achievement-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

.achievement-list i {
    color: #10b981;
    font-size: 18px;
}

.achievement-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.stat-card .stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Facilities Page Styles */
.facilities-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.8)), url('https://i.ibb.co/B2k5xWp7/Whats-App-Image-2026-01-01-at-8-07-22-PM.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.facility-detail-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.facility-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.facility-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.facility-detail-text {
    padding: 40px;
}

.facility-detail-text h3 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.facility-detail-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.facility-features {
    list-style: none;
    padding: 0;
}

.facility-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
}

.facility-features i {
    color: #2563eb;
    font-size: 16px;
}

.facility-detail-image {
    height: 300px;
    overflow: hidden;
}

.facility-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-detail-card:hover .facility-detail-image img {
    transform: scale(1.05);
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: white;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-method {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.contact-method h3 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.contact-method p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-method a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    color: #1d4ed8;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: #f8fafc;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Results Page Styles */
.results-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.8)), url('https://cdn-wordpress-info.futurelearn.com/wp-content/uploads/Exam_Results_Blog_Header_1500x750.jpg.optimal.jpg');
    background-size: cover;
    background-position: center;
}

.results-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.results-table table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th,
.results-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.results-table th {
    background: #2563eb;
    color: white;
    font-weight: 600;
}

.results-table tr:hover {
    background: #f8fafc;
}

.results-table .grade-a {
    color: #10b981;
    font-weight: 600;
}

.results-table .grade-b {
    color: #3b82f6;
    font-weight: 600;
}

/* Messages Page Styles */
.message-detail {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.message-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.message-detail-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.message-detail-info h2 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 5px;
}

.message-detail-info p {
    color: #666;
    font-size: 1.1rem;
}

.message-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.message-detail-content p {
    margin-bottom: 20px;
}

.message-quote {
    background: #f8fafc;
    padding: 30px;
    border-left: 5px solid #2563eb;
    border-radius: 10px;
    font-style: italic;
    font-size: 1.2rem;
    margin: 30px 0;
    color: #2563eb;
}

/* Responsive Adjustments for New Styles */
@media (max-width: 992px) {
    .about-details,
    .achievements-content,
    .facility-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .achievement-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-intro h2 {
        font-size: 2rem;
    }
    
    .about-intro .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .about-content-section,
    .values-section,
    .achievements-section {
        padding: 60px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .value-card {
        padding: 30px 25px;
    }
    
    .achievement-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .facility-detail-text {
        padding: 30px;
    }
    
    .message-detail {
        padding: 30px;
    }
    
    .message-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .results-table th,
    .results-table td {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .about-intro h2 {
        font-size: 1.6rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .facility-detail-text {
        padding: 25px;
    }
    
    .message-detail {
        padding: 25px;
    }
    
    .message-detail-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 200px;
    }
}
/* Contact Form Enhancements */
.contact-form-section {
    padding: 100px 0;
    background: #f8fafc;
}

.contact-highlights {
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.highlight-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.1rem;
    color: #2563eb;
    margin-bottom: 5px;
}

.highlight-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
}

/* Map Info */
.map-info {
    margin-top: 40px;
}

.map-info-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-info-content h3 {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.map-info-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.transport-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.transport-item i {
    color: #2563eb;
    font-size: 20px;
    width: 25px;
}

.transport-item span {
    color: #555;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #2563eb;
    margin: 0;
}

.faq-question i {
    color: #2563eb;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 200px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Academics Page Styles */
.academics-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.8)), url('https://i.ibb.co/4gmXqNp/science-lab2.jpg');
    background-size: cover;
    background-position: center;
}

.curriculum-section {
    padding: 100px 0;
    background: white;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.curriculum-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.curriculum-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.curriculum-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.curriculum-card h3 {
    font-size: 1.4rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.curriculum-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.subject-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.subject-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #555;
}

.subject-list li:last-child {
    border-bottom: none;
}

.subject-list li i {
    color: #2563eb;
    margin-right: 8px;
}

/* Teaching Methods Section */
.teaching-methods {
    padding: 100px 0;
    background: #f8fafc;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.method-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.method-card h3 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.method-card p {
    color: #666;
    line-height: 1.6;
}

/* Assessment Section */
.assessment-section {
    padding: 100px 0;
    background: white;
}

.assessment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.assessment-text h2 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.assessment-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.assessment-features {
    list-style: none;
    padding: 0;
}

.assessment-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

.assessment-features i {
    color: #10b981;
    font-size: 18px;
}

.assessment-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments for Contact and Other Pages */
@media (max-width: 992px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .transport-info {
        grid-template-columns: 1fr;
    }
    
    .curriculum-grid,
    .methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .assessment-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .map-info-content {
        padding: 30px;
    }
    
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-answer {
        padding: 0 25px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px 25px;
    }
    
    .highlight-item {
        padding: 12px;
    }
    
    .curriculum-card,
    .method-card {
        padding: 25px;
    }
    
    .curriculum-icon,
    .method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-method {
        padding: 25px;
    }
    
    .contact-method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .form-row {
        gap: 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
    }
    
    .map-info-content {
        padding: 25px;
    }
    
    .transport-item {
        padding: 12px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    
    .curriculum-grid,
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .curriculum-card,
    .method-card {
        padding: 20px;
    }
}
/* Messages Page Styles */
.message-section {
    padding: 60px 0;
    background: white;
}

.message-section:nth-child(even) {
    background: #f8fafc;
}

/* Vision Mission Section */
.vision-mission-section {
    padding: 100px 0;
    background: white;
}

.vision-mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-card,
.mission-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.vision-card {
    border-top: 5px solid #2563eb;
}

.mission-card {
    border-top: 5px solid #10b981;
}

.vm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.vision-card .vm-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.mission-card .vm-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.vision-card h3,
.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.vision-card h3 {
    color: #2563eb;
}

.mission-card h3 {
    color: #10b981;
}

.vision-card p,
.mission-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Core Values Section */
.core-values-section {
    padding: 100px 0;
    background: #f8fafc;
}

.values-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Items 2 and 4 (even) have content first, so they need right alignment */
.value-item:nth-child(even) {
    text-align: right;
}

.value-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
}

.value-content {
    flex: 1;
}

.value-content h3 {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.value-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Gallery Page Styles */
.gallery-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.8)), url('https://i.ibb.co/svMPGkDd/Whats-App-Image-2026-01-01-at-8-08-03-PM.jpg ');
    background-size: cover;
    background-position: center;
}

.gallery-section {
    padding: 100px 0;
    background: white;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #2563eb;
    background: transparent;
    color: #2563eb;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2563eb;
    color: white;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
}

/* Results Page Styles */
.results-section {
    padding: 100px 0;
    background: white;
}

.results-intro {
    text-align: center;
    margin-bottom: 60px;
}

.results-intro h2 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.results-intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.result-stat {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.result-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.result-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.results-table-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.results-table-header {
    background: #2563eb;
    color: white;
    padding: 20px 30px;
}

.results-table-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th,
.results-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.results-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #2563eb;
}

.results-table tbody tr:hover {
    background: #f8fafc;
}

.grade-a {
    color: #10b981;
    font-weight: 600;
}

.grade-b {
    color: #3b82f6;
    font-weight: 600;
}

.grade-c {
    color: #f59e0b;
    font-weight: 600;
}

/* Academics Page Styles */
.academics-section {
    padding: 100px 0;
    background: white;
}

.academics-intro {
    text-align: center;
    margin-bottom: 80px;
}

.academics-intro h2 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.academics-intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Facilities Page Styles */
.facilities-section {
    padding: 100px 0;
    background: white;
}

.facility-detail-card {
    margin-bottom: 60px;
}

.facility-detail-card:nth-child(even) .facility-detail-content {
    grid-template-columns: 1fr 1fr;
}

.facility-detail-card:nth-child(odd) .facility-detail-content {
    grid-template-columns: 1fr 1fr;
}

.facility-detail-card:nth-child(even) .facility-detail-image {
    order: -1;
}

/* Responsive Adjustments for Messages and Other Pages */
@media (max-width: 992px) {
    .vision-mission-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .value-item {
        gap: 20px;
        padding: 25px;
    }
    
    .value-item:nth-child(even) {
        text-align: right;
    }
    
    .value-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .results-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-filters {
        gap: 15px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .message-section {
        padding: 40px 0;
    }
    
    .vision-mission-section,
    .core-values-section {
        padding: 60px 0;
    }
    
    .vision-card,
    .mission-card {
        padding: 30px;
    }
    
    .vm-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .vision-card h3,
    .mission-card h3 {
        font-size: 1.5rem;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .value-item:nth-child(even) {
        text-align: center;
    }
    
    .value-number {
        margin: 0 auto;
    }
    
    .results-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .result-stat {
        padding: 25px;
    }
    
    .result-stat-number {
        font-size: 2rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .vision-card,
    .mission-card {
        padding: 25px;
    }
    
    .vm-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .vision-card h3,
    .mission-card h3 {
        font-size: 1.3rem;
    }
    
    .value-item {
        padding: 15px;
    }
    
    .value-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .value-content h3 {
        font-size: 1.3rem;
    }
    
    .value-content p {
        font-size: 1rem;
    }
    
    .result-stat {
        padding: 20px;
    }
    
    .result-stat-number {
        font-size: 1.8rem;
    }
    
    .results-table-header {
        padding: 15px 20px;
    }
    
    .results-table-header h3 {
        font-size: 1.3rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
}
/* Additional Facilities Section */
.additional-facilities {
    padding: 100px 0;
    background: #f8fafc;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.amenity-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.amenity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.amenity-card h3 {
    font-size: 1.4rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.amenity-card p {
    color: #666;
    line-height: 1.6;
}

/* Infrastructure Stats */
.infrastructure-stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.infrastructure-stats .section-title,
.infrastructure-stats .section-subtitle {
    color: white;
}

.infrastructure-stats .section-subtitle {
    opacity: 0.9;
}

/* Results Page Additional Styles */
.results-achievements {
    padding: 100px 0;
    background: #f8fafc;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.achievement-item h3 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.achievement-item p {
    color: #666;
    line-height: 1.6;
}

/* Academics Page Additional Styles */
.curriculum-overview {
    padding: 100px 0;
    background: white;
}

.curriculum-intro {
    text-align: center;
    margin-bottom: 80px;
}

.curriculum-intro h2 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.curriculum-intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.grade-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.grade-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.grade-card:hover {
    border-color: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.grade-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.grade-card h3 {
    font-size: 1.4rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.grade-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.subjects-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.subjects-list li {
    padding: 5px 0;
    color: #555;
    font-size: 0.9rem;
}

.subjects-list li::before {
    content: '•';
    color: #2563eb;
    margin-right: 8px;
}

/* Teaching Excellence Section */
.teaching-excellence {
    padding: 100px 0;
    background: #f8fafc;
}

.excellence-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.excellence-text h2 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.excellence-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.excellence-features {
    list-style: none;
    padding: 0;
}

.excellence-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

.excellence-features i {
    color: #10b981;
    font-size: 18px;
}

.excellence-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments for New Components */
@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .grade-levels {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .excellence-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .additional-facilities,
    .infrastructure-stats,
    .results-achievements,
    .curriculum-overview,
    .teaching-excellence {
        padding: 60px 0;
    }
    
    .amenities-grid,
    .achievement-grid,
    .grade-levels {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .amenity-card,
    .achievement-item,
    .grade-card {
        padding: 25px;
    }
    
    .amenity-icon,
    .achievement-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .grade-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .curriculum-intro h2,
    .excellence-text h2 {
        font-size: 2rem;
    }
    
    .curriculum-intro p,
    .excellence-text p {
        font-size: 1rem;
    }
    
    .excellence-image img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .amenity-card,
    .achievement-item,
    .grade-card {
        padding: 20px;
    }
    
    .amenity-icon,
    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .amenity-card h3,
    .achievement-item h3,
    .grade-card h3 {
        font-size: 1.2rem;
    }
    
    .amenity-card p,
    .achievement-item p,
    .grade-card p {
        font-size: 0.9rem;
    }
    
    .curriculum-intro h2,
    .excellence-text h2 {
        font-size: 1.8rem;
    }
    
    .subjects-list li {
        font-size: 0.8rem;
    }
    
    .excellence-features li {
        font-size: 1rem;
    }
}
/* Success Stories Section */
.success-stories {
    padding: 100px 0;
    background: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.story-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #2563eb;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.story-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 2rem;
}

.story-content h3 {
    font-size: 1.4rem;
    color: #2563eb;
    margin-bottom: 5px;
}

.story-position {
    color: #10b981;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.story-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.story-achievement {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.story-achievement i {
    color: #f59e0b;
}

/* Academics Page Styles */
.academics-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.8)), url('https://d21zeai4l2a92w.cloudfront.net/wp-content/uploads/2023/12/23BCSI051-RAK-Sponsored-Content-01_2024_Kinder_group.jpg');
    background-size: cover;
    background-position: center;
}

.academics-section {
    padding: 100px 0;
    background: white;
}

.academics-intro {
    text-align: center;
    margin-bottom: 80px;
}

.academics-intro h2 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.academics-intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Final Responsive Adjustments */
@media (max-width: 992px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .success-stories {
        padding: 60px 0;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .story-card {
        padding: 25px;
    }
    
    .story-image {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .story-content h3 {
        font-size: 1.2rem;
    }
    
    .story-text {
        font-size: 0.9rem;
    }
    
    .story-achievement {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .story-card {
        padding: 20px;
    }
    
    .story-image {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .story-content h3 {
        font-size: 1.1rem;
    }
    
    .story-position {
        font-size: 0.9rem;
    }
    
    .story-text {
        font-size: 0.85rem;
    }
}

/* Print Styles Enhancement */
@media print {
    .results-table {
        font-size: 10pt;
    }
    
    .results-table th,
    .results-table td {
        padding: 5px 8px;
    }
    
    .story-card {
        break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .achievement-item {
        break-inside: avoid;
        margin-bottom: 15px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-bg-image {
        transform: none !important;
    }
    
    .scroll-indicator {
        animation: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border-color: #000;
    }
    
    .btn-secondary {
        border-color: #000;
        color: #000;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #000;
    }
    
    .section-title {
        color: #000;
    }
}

/* Focus Styles for Better Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Error States */
.form-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: '⚠';
    font-size: 0.75rem;
}

/* Success States */
.form-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.success-message {
    color: #10b981;
    font-size: 0.875rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.success-message::before {
    content: '✓';
    font-size: 0.75rem;
}
/* Thank You Page Styles */
.thank-you-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 4rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.thank-you-content h1 {
    font-size: 3.5rem;
    color: #2563eb;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.thank-you-content h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 25px;
    font-weight: 500;
}

.thank-you-message {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.next-steps {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.next-steps h3 {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    color: #2563eb;
    margin-bottom: 5px;
}

.step-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.contact-info-box h3 {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 25px;
}



.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Styles for Thank You Page */
@media (max-width: 768px) {
    .thank-you-section {
        padding: 100px 0 60px;
    }
    
    .thank-you-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .thank-you-content h1 {
        font-size: 2.5rem;
    }
    
    .thank-you-content h2 {
        font-size: 1.4rem;
    }
    
    .thank-you-message {
        font-size: 1.1rem;
    }
    
    .next-steps,
    .contact-info-box {
        padding: 25px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .thank-you-content h2 {
        font-size: 1.2rem;
    }
    
    .thank-you-message {
        font-size: 1rem;
    }
    
    .next-steps,
    .contact-info-box {
        padding: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}