*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    
}
header {
    position: sticky;
    top: 0;
    z-index: 100;
}
.silveroak-educationalcomplex-admission {
    background-color: #7c0404;
    color: white;
    text-align: center;
    padding: 5px;
    font-weight: bold;
   
 
}
.silveroak-adm {
    color: #ffff;
}

@media screen and (max-width: 480px) {
    .contact-hero-content h2 {
        font-size: 1.8rem;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    .silveroak-educationalcomplex-admission{
        font-size: 0.5rem;
    }

}


.hero {
   background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/silveroakeducationalcomplexmain image.jpg') no-repeat center center;

    background-size: cover;
    padding: 100px 5%;
    height: 85vh;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin:0 auto ;
    
}
.hero-content h2 {
    font-size: 2.5rem;
    padding-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom:30px ;
}
.hero-content button {
    padding:12px 24px;
    border-radius:25px;
    background-color: #f0a500;
    
   
}

.hero-content button a{
    color: white;
     text-transform:uppercase;
    transform: 0.3s ease;
    font-weight:bold;
    cursor: pointer;
padding:12px 24px;

}
.hero-content button a:hover {
    background-color: #cd9111;
}
/* General styling */
  .card-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    text-align: center;
}

/* Header styling */
.cardheader h4 {
    color: #7c0404;
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.cardheader h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #7c0404;
}

/* Paragraph styling */
.cardheader p {
    font-size: 1.0rem;
    color: #050505;
    line-height: 1.6;
    margin: 20px auto 40px;
    max-width: 800px;
}

/* Cards container */
.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Individual card styling */
.card {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 15px;
    background: #fff;
}

.card-content h3 {
    color: #7c0404;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.card-content p {
    color: #666;
    font-size: 1rem;
}

/* Responsive design */
@media (min-width: 768px) {
    .card-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .card {
        flex: 0 0 calc(50% - 30px);
        margin: 15px;
    }
}

@media (min-width: 1024px) {
    .card {
        flex: 0 0 calc(33.333% - 30px);
    }
}





@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .cardheader h4 {
        font-size: 1.8rem;
    }

    .cardheader p {
        font-size: 1rem;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.1rem;
    }

    .cardheader h4 {
        font-size: 1.5rem;
    }

    .commitments {
        padding: 30px 15px;
    }

    .commitments-text {
        padding: 0 10px;
    }
}
*/




.commitments{
    display: flex;
    height: 100vh;
    
}
.commitments-image img {
    width: 70%; 
    height: 100%;
    
    object-fit: contain; 
}
/* CSS Solution */
.commited {
    background-color: #092b8f;
    padding: 2rem 0;
    color: white; /* Assuming you want white text on the blue background */
    overflow: hidden; 
}

.commitments {
    display: flex;
    max-width: 1200px; 
    margin: 0 auto;
}

.commitments-text {
    flex: 1;
    padding: 2rem;
    box-sizing: border-box;
}

.commitments-image {
    flex: 1;
}

.commitments-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


@media (max-width: 768px) {
    .commitments {
        flex-direction: column;
    }
    
    .commitments-image {
        height: 300px; 
    }
}
.stats {
      margin-top: 100px;
}
.stats-container {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 280px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(8, 8, 8, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-title {
    color:#0e0d0d;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0e0d0d;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
   
    transform: scale(1.1);
}

.stat-description {
    color: #0c0c0c;
    font-size: 0.9rem;
    line-height: 1.5;
}

.animate {
    animation: countUp 1.5s ease-out forwards;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive design */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
}


.corevalues {
    padding-top:50px;
    padding-bottom:50px;
}
 .container {
            position: relative;
            width: 100%;
           
            height: 80vh;
            margin: 20px;
        }
.container h4 {
    color: #18047c;
    font-size: 24px;
   justify-content: center;
    text-align: center;
    
   

   
}

        .center-logo {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 120px;
            height: 120px;
            background-color: #1e3a8a;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-weight: bold;
            text-align: center;
            font-size: 14px;
            z-index: 10;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border: 4px solid white;
            cursor: pointer;
        }

        .value-circle {
            position: absolute;
            width: 70px;
            height: 90px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.4s ease;
            z-index: 5;
            text-align: center;
        }

        .value-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border: 3px solid #1e3a8a;
            transition: all 0.4s ease;
        }

        .value-circle i {
            font-size: 24px;
            color: #1e3a8a;
            transition: opacity 0.3s ease;
        }

        .value-name {
            font-size: 11px;
            font-weight: bold;
            margin-top: 5px;
            color: #1e3a8a;
            text-align: center;
            width: 100%;
        }

        .value-circle.active .value-icon {
            width: 180px;
            height: 180px;
            z-index: 20;
            background-color: #1e3a8a;
            transform: scale(1.1) translate(var(--tx, 0), var(--ty, 0));
        }

        .value-circle.active i {
            opacity: 0;
        }

        .value-content {
            display: none;
            padding: 15px;
            color: white;
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease 0.2s;
            width: 100%;
            height: 100%;
            overflow: auto;
        }

        .value-circle.active .value-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            opacity: 1;
        }

        .value-content h3 {
            margin-bottom: 8px;
            font-size: 16px;
        }

        .value-content p {
            font-size: 12px;
            line-height: 1.4;
        }

        .close-btn {
            position: absolute;
            top: 8px;
            right: 8px;
            background: none;
            border: none;
            color: white;
            font-size: 14px;
            cursor: pointer;
        }

        /* Overlay to catch clicks outside */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 15;
            display: none;
        }

        .overlay.active {
            display: block;
        }

        @media (max-width: 768px) {
            .container {
                height: 90vh;
            }

            .center-logo {
                width: 100px;
                height: 100px;
                font-size: 12px;
            }

            .value-icon {
                width: 50px;
                height: 50px;
            }

            .value-circle i {
                font-size: 20px;
            }

            .value-name {
                font-size: 10px;
            }

            .value-circle.active .value-icon {
                width: 150px;
                height: 150px;
            }

            .value-content h3 {
                font-size: 15px;
            }

            .value-content p {
                font-size: 11px;
            }
        }

        @media (max-width: 480px) {
            .center-logo {
                width: 80px;
                height: 80px;
                font-size: 11px;
            }

            .value-icon {
                width: 40px;
                height: 40px;
            }

            .value-circle i {
                font-size: 18px;
            }

            .value-name {
                font-size: 9px;
            }

            .value-circle.active .value-icon {
                width: 130px;
                height: 130px;
            }

            .value-content {
                padding: 10px;
            }
        }
  /* Rectangle Section */
.rectangle {
    background-color: #7c0404;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
    padding: 20px;
}

.rectanglecontent {
    padding: 20px;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    text-align: center;
}

/* Co-curricular Section */
.co-curricular {
    background-color: #092b8f;
    text-align: center;
    color: #fff;
    padding: 60px 20px;
}

.co-curricular h4 {
    font-size: clamp(22px, 5vw, 28px);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.co-curricular h4::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #FFD700;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Activities Grid Container */
.co-curricular-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.co-curricular-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Activity Cards */
.curricular {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curricular:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.curricular img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid #7c0404;
}

.curricular h5 {
    color: #092b8f;
    padding: 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .rectangle {
        width: 95%;
        margin: 30px auto;
    }
    
    .co-curricular {
        padding: 50px 20px;
    }
    
    .co-curricular-slider {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .co-curricular-slider {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .curricular {
        max-width: 100%;
    }
    
    .rectanglecontent {
        padding: 15px;
    }
}

        

      
        
        .footer {
  background-color: #092b8f;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer {
    margin-top: 160px;
  background-color: #092b8f;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 250px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  color: #ffcc00;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ffcc00;
}

.footer-section .social-icons a {
  color: white;
  margin-right: 10px;
  font-size: 20px;
  text-decoration: none;
}

.footer-section .social-icons a:hover {
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #ffffff44;
  padding-top: 10px;
  font-size: 14px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-section {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-section h3,
  .footer-section h4 {
    text-align: left;
  }

  .footer-bottom {
    text-align: center;
  }
  
.footer-section h4 {
  display:none;
}

}
/*contact us */
.map-container {
    width: 100%;
    height:100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}
iframe {
    width: 80%;
    height: 500px;
    filter: invert(100%);
}

.map-container h5{
    font-size: 60px;
    margin-bottom: 60px;
    margin-top: 60px;
    color: #7c0404;
}
/* General Styles */
:root {
    --primary-color: #7c0404;
    --secondary-color: #f8f1e5;
    --accent-color: #d4af37;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #555;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #5a0303;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #e8e1d5;
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/jss school.JPG');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-cta-buttons {
    margin-top: 30px;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-info-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-info-card p {
    margin: 8px 0;
}

.contact-hours {
    font-style: italic;
    color: var(--dark-gray);
    margin-top: 15px !important;
    font-size: 14px;
}

/* Contact Form Section */
.contact-form-section, .tour-form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

/* Visit Section */
.visit-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.visit-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.visit-content {
    flex: 1;
}

.visit-image {
    flex: 1;
}

.visit-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.visit-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.visit-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.visit-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.visit-features i {
    color: var(--primary-color);
    margin-right: 10px;
}




/* Map Section */
.map-container {
    width: 100%;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--light-gray);
}

.map-container h5 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
}

iframe {
    width: 90%;
    max-width: 1000px;
    height: 500px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-instructions {
    max-width: 800px;
    margin-top: 30px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-instructions p {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.map-instructions i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Staff Contact Section */
.staff-contact-section {
    padding: 80px 0;
    background-color: white;
}

.staff-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.staff-container h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.staff-container p {
    max-width: 700px;
    margin: 0 auto 40px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.staff-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.staff-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.staff-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.staff-card p {
    margin: 8px 0;
    font-size: 15px;
}

@media (max-width: 992px) {
    .visit-container {
        flex-direction: column;
    }
    
    .visit-content, .visit-image {
        width: 100%;
    }
    
    .contact-info-card {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .social-media-icons {
        margin: 30px 0 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .contact-hero h2 {
        font-size: 32px;
    }
    
    .contact-cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .map-container h5 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .contact-info-card {
        min-width: 100%;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .footer-section {
        min-width: 100%;
        text-align: center;
    }
    
    .footer-section h3::after, .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}
/*ACADEMICS PAGE */
/* Academic Page Specific Styles */

/* Academic Hero Section */
.academic-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('images/silveroakschoolgrounds.JPG') no-repeat center center;
    background-size: cover;
    padding: 120px 5%;
    color: white;
    text-align: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.academic-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.academic-hero-content p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
}

/* CBC Introduction Section */
.cbc-intro {
    padding: 60px 5%;
    background-color: #f9f9f9;
}

.cbc-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.cbc-text {
    flex: 1;
    min-width: 300px;
}

.cbc-text h2 {
    color: #7c0404;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.cbc-text h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #7c0404;
}

.cbc-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.cbc-text ul {
    list-style: none;
    padding: 0;
}

.cbc-text ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #333;
}

.cbc-text ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #092b8f;
}

.cbc-image {
    flex: 1;
    min-width: 300px;
}

.cbc-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Grade Levels Section */
.grade-levels {
    padding: 60px 5%;
    background-color: #fff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-header h2 {
    color: #7c0404;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 3px;
    background-color: #092b8f;
    margin: 0 auto 20px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.levels-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.level-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #092b8f;
}

.level-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.level-icon {
    background-color: #7c0404;
    color: white;
    font-size: 2rem;
    padding: 25px 0;
    text-align: center;
}

.level-card h3 {
    color: #092b8f;
    text-align: center;
    padding: 15px;
    margin: 0;
    font-size: 1.4rem;
}

.level-card p {
    text-align: center;
    color: #7c0404;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.level-content {
    padding: 0 20px 20px;
}

.level-content h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.level-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.level-content ul li {
    padding: 5px 0;
    color: #555;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.level-content ul li::before {
    content: "•";
    color: #7c0404;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.learn-more {
    display: inline-block;
    color: #092b8f;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #7c0404;
}

.learn-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Teaching Methodology Section */
.methodology {
    padding: 60px 5%;
    background-color: #f9f9f9;
}

.methodology-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.methodology-image {
    flex: 1;
    min-width: 300px;
}

.methodology-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.methodology-text {
    flex: 1;
    min-width: 300px;
}

.methodology-text h2 {
    color: #7c0404;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.methodology-text h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #7c0404;
}

.methodology-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

.method-card {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.method-icon {
    background-color: #092b8f;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-content h3 {
    color: #092b8f;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.method-content p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Assessment Section */
.assessment {
    padding: 60px 5%;
    background-color: #fff;
}

.assessment-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.assessment-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #7c0404;
}

.assessment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.assessment-icon {
    background-color: #092b8f;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.assessment-card h3 {
    color: #7c0404;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.assessment-card ul {
    list-style: none;
    padding: 0;
}

.assessment-card ul li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.assessment-card ul li::before {
    content: "✓";
    color: #092b8f;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .academic-hero {
        height: auto;
        padding: 80px 5%;
    }
    
    .academic-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .academic-hero-content p {
        font-size: 1.2rem;
    }
    
    .cbc-text h2,
    .methodology-text h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .levels-container,
    .assessment-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .academic-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .academic-hero-content p {
        font-size: 1rem;
    }
    
    .cbc-text h2,
    .methodology-text h2,
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .level-card,
    .assessment-card {
        padding: 20px;
    }
}
/* Sidebar menu */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(9, 43, 143, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;       /* hidden by default */
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 999;        
}

.sidebar li {
  width: 100%;
}
.sidebar a {
  width: 100%;
}

/* Hide hamburger on desktop */
.menu-button {
  display: none;
}

/* Show hamburger and hide desktop links on mobile */
@media (max-width: 768px) {
  .hideOnMobile {
    display: none;
  }
  .menu-button {
    display: block;
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 100%;
  }
}
.onmobile {
    display: none;
}

nav {
  background: #092b8f;
  height: 80px;              /* fixed height instead of vh for consistent alignment */
  width: 100%;
  display: flex;             /* make nav a flex container */
  justify-content: space-between;
  align-items: center;       /* vertical centering */
  padding: 0 50px;           /* spacing left/right */
  box-sizing: border-box;
}

label.logo {
  color: white;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
}

nav ul {
  display: flex;             /* put links in a row */
  gap: 20px;                 /* space between links */
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}
nav ul li a {
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  
}
a.active,
a:hover {
  background: #7c0404;
  transition: .5s;
}
.social-media-icons {
  display: flex;
  justify-content: center;   /* center them under the links */
  gap: 20px;                 /* space between icons */
  margin-top: 30px;          /* add space above icons */
}

.social-media-icons a {
  color: #fff;
  font-size: 22px;           /* icon size */
  transition: color 0.3s ease;
}

.social-media-icons a:hover {
  color: #7c0404;            /* hover color */
}

.checkbtn {
  font-size: 22px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 30px;
  cursor: pointer;
  display: none;
}
#check {
  display: none;
}
@media (max-width: 1050px) {
  label.logo {
    padding-left: 30px;
  }
  nav ul li a {
    font-size: 16px;
  }
}
/* Responsive media query code for small screen */
@media (max-width: 890px) {
  .checkbtn {
    display: block;
  }
  label.logo {
    font-size: 10px;
  }
  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #092bf8;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }
  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav ul li a {
    font-size: 20px;
  }
  a:hover,
  a.active {
    background: none;
    color: #7c0404(254, 6, 6);
  }
  #check:checked~ul {
    left: 0;
  }
}
 @media (max-width: 1050px) {
      label.logo {
        font-size: 22px;
      }
      nav ul li a {
        font-size: 16px;
      }
    }

    @media (max-width: 890px) {
      .checkbtn {
        display: block;
      }

      nav {
        padding: 0 30px;
      }

      nav ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #092b8f;
        top: 80px;
        left: -100%;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        transition: all 0.5s;
      }

      nav ul li {
        margin: 30px 0;
      }

      nav ul li a {
        font-size: 20px;
      }

      a:hover,
      a.active {
        background: none;
        color: #7c0404(254, 6, 6);
      }

      #check:checked ~ ul {
        left: 0;
      }
    }
 /* Close button inside menu */
      .closebtn {
        display: block;
        position: absolute;
        top: 15px;
        right: 25px;
        font-size: 28px;
        color: white;
        cursor: pointer;
      }
    

    /* hide close button on desktop */
    .closebtn {
      display: none;
    }
    /* Hide close button on desktop */
.closebtn {
  display: none;
}

/* Show close button only on mobile */
@media (max-width: 890px) {
  .closebtn {
    display: block;
  }
}

/* By default, show desktop version */
.logo-desktop { display: inline; }
.logo-mobile { display: none; }


/* On mobile (below 890px), switch them */
@media (max-width: 890px) {
  .logo-desktop { display: none; }
  .logo-mobile { display: inline; }
}
/* General logo styling */
.logo {
  text-decoration: none;   /* remove underline */
  font-weight: bold;       /* bold for logo effect */
  color: white;            /* text color */
  font-size: 25px;         /* base size */
  cursor: pointer;
}

/* Desktop version */
.logo-desktop {
  display: inline;
}

/* Mobile version hidden by default */
.logo-mobile {
  display: none;
}

/* On mobile, show the short logo */
@media (max-width: 890px) {
  .logo-desktop {
    display: none;
  }
  .logo-mobile {
    display: inline;
    font-size: 22px;   /* slightly smaller for mobile */
  }
}
