body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #333;
}

/* Background utility */
.bg-light {
    background-color: #f8f9fa;
}

header {
    background: #003366;
    color: white;
    padding: 1rem 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo area - logo image + school name side by side */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-area h1 {
    font-size: 1.1rem;
    color: #ffcc00;
    margin: 0;
    line-height: 1.3;
    max-width: 280px;
}

.logo {
    height: 60px;
    vertical-align: middle;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

nav ul li a:hover {
    color: #ffcc00;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(Image/hero.JPG);
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.btn {
    background: #ffcc00;
    padding: 12px 30px;
    text-decoration: none;
    color: #003366;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn:hover {
    background: #e6b800;
}

.section {
    padding: 60px 10%;
    text-align: center;
}

.section h2 {
    color: #003366;
    font-size: 2rem;
    margin-bottom: 10px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* =====================
   DIRECTOR SECTION
   ===================== */
.director-bg {
    background-color: #ffffff;
    padding: 60px 10%;
}

.director-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}

.director-image img {
    width: 300px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    border: 5px solid #003366;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.director-text {
    flex: 1;
    min-width: 300px;
}

.director-text h2 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 2rem;
}

.director-text p {
    line-height: 1.8;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .director-container {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================
   ACADEMICS
   ===================== */
.levels-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.level-card {
    background: white;
    border-top: 5px solid #ffcc00;
    padding: 30px;
    width: 350px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.level-card:hover {
    transform: translateY(-10px);
}

.level-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.level-icon svg {
    display: block;
}

.level-card h3 {
    color: #003366;
    margin-bottom: 15px;
}

.level-card ul {
    margin-top: 15px;
    padding-left: 20px;
    color: #666;
}

.level-card ul li {
    margin-bottom: 8px;
}

/* =====================
   ADMISSIONS
   ===================== */
.requirements-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.requirement-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    text-align: left;
}

.requirement-box h3 {
    color: #003366;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.age-table {
    width: 100%;
    border-collapse: collapse;
}

.age-table th, .age-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.age-table th {
    background-color: #f8f9fa;
    color: #003366;
}

.doc-list {
    list-style: none;
    padding: 0;
}

.doc-list li {
    padding: 10px 0;
    color: #444;
    border-bottom: 1px dashed #ddd;
}

/* =====================
   DOWNLOAD CARDS
   ===================== */
.download-section {
    margin-top: 40px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #fff;
    border: 2px solid #003366;
    border-radius: 14px;
    padding: 30px 35px;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.1);
    text-align: left;
    flex-wrap: wrap;
}

.download-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
    min-width: 250px;
}

.download-info h3 {
    color: #003366;
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.download-info p {
    color: #555;
    margin: 0 0 18px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-download {
    display: inline-block;
    background: #003366;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
}

.btn-download:hover {
    background: #002244;
    transform: translateY(-2px);
}

.btn-fees {
    background: #28a745;
}

.btn-fees:hover {
    background: #218838;
}

/* Form price badge */
.form-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #003366;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 12px 0;
}

.price-label {
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 500;
}

.price-amount {
    color: #ffcc00;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.form-note {
    font-size: 0.88rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* =====================
   FEES TABLE
   ===================== */
.fees-table-wrapper {
    margin-top: 30px;
    overflow-x: auto;
}

.fees-table {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.fees-table th {
    background-color: #003366;
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-size: 0.95rem;
}

.fees-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #eee;
    color: #444;
    font-size: 0.95rem;
}

.fees-table tbody tr:hover {
    background-color: #f0f5ff;
}

.fees-table tbody tr:last-child td {
    border-bottom: none;
}

.fees-note {
    margin-top: 15px;
    font-size: 0.88rem;
    color: #888;
    font-style: italic;
}

/* =====================
   ABOUT / MISSION / VISION
   ===================== */
.about-header {
    margin-bottom: 40px;
}

.mission-vision-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.about-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px;
    width: 450px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.about-card.mission {
    border-top: 6px solid #003366;
}

.about-card.vision {
    border-top: 6px solid #ffcc00;
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-card h3 {
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-card p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.about-card strong {
    color: #003366;
}



/* =====================
   ANNOUNCEMENTS
   ===================== */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.announcement-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
    border-top: 4px solid #003366;
    transition: transform 0.3s ease;
    position: relative;
}

.announcement-card:hover {
    transform: translateY(-5px);
}

.ann-type-badge {
    display: inline-block;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ann-title {
    color: #003366;
    font-size: 1.05rem;
    margin: 0 0 8px 0;
}

.ann-date {
    color: #999;
    font-size: 0.82rem;
    margin: 0 0 12px 0;
}

.ann-message {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.no-announcements {
    color: #999;
    font-style: italic;
    margin-top: 20px;
    display: none;
}

@media (max-width: 992px) {
    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .announcements-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials-bg {
    background: linear-gradient(135deg, #003366 0%, #001f3f 100%);
    color: white;
}

.testimonials-bg h2 {
    color: #ffcc00;
}

.testimonials-bg p {
    color: #ccc;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 4px solid #ffcc00;
    border-radius: 14px;
    padding: 35px 30px 30px;
    max-width: 480px;
    flex: 1;
    min-width: 300px;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

.quote-mark {
    font-size: 5rem;
    color: #ffcc00;
    line-height: 0.6;
    margin-bottom: 20px;
    font-family: Georgia, serif;
    opacity: 0.8;
}

.testimonial-text {
    color: #e8e8e8;
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffcc00;
    color: #003366;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
}

.author-info span {
    font-size: 0.82rem;
    color: #aaa;
}

/* =====================
   GALLERY
   ===================== */
.gallery-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 51, 102, 0.92));
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 28px 12px 12px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    letter-spacing: 0.3px;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .gallery-grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid-8 {
        grid-template-columns: 1fr;
    }
}

/* =====================
   CONTACT
   ===================== */
.contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    text-align: left;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-card {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #003366;
    border-radius: 5px;
}

.contact-card h4 {
    margin: 0 0 10px 0;
    color: #003366;
}

.contact-card p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.map-container {
    flex: 1.5;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* =====================
   FOOTER
   ===================== */
.main-footer {
    background-color: #001f3f;
    color: #ffffff;
    padding: 30px 8% 10px;
    margin-top: 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.footer-column {
    flex: 1;
    min-width: 180px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 8px;
    filter: brightness(1.2);
}

.footer-column h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: #ffcc00;
}

.footer-column h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 30px;
    height: 2px;
    background-color: #ffcc00;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 6px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #ffcc00;
}

.footer-column p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 3px 0;
}

.motto {
    font-style: italic;
    color: #ffcc00 !important;
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding-top: 12px;
    font-size: 0.88rem;
    color: #888;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    nav ul {
        display: none;
    }
}