/* =====================================================
   SAHARA MODEL SCHOOL
   PREMIUM ABOUT PAGE
   GREEN + GOLD THEME
   STATIC DESIGN — NO ANIMATION
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f8f6;
    color: #1f2937;
    line-height: 1.7;
}


/* =====================================================
   TOP HEADER
===================================================== */

.top-header {
    position: relative;
    overflow: hidden;

    text-align: center;

    padding: 45px 20px 40px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #042c1c 0%,
            #063d26 35%,
            #0f5233 70%,
            #164f36 100%
        );

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);
}


/* Decorative background */

.top-header::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    top: -190px;
    left: -110px;

    border-radius: 50%;

    background:
        rgba(245, 158, 11, 0.08);
}


.top-header::after {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    right: -150px;
    bottom: -240px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.05);
}


/* =====================================================
   SCHOOL LOGO
===================================================== */

.school-logo-box {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: center;

    margin-bottom: 20px;
}


.school-logo {
    width: 145px;
    height: 145px;

    object-fit: cover;

    border-radius: 50%;

    background: #ffffff;

    padding: 6px;

    border: 5px solid #f59e0b;

    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.10),
        0 12px 35px rgba(0, 0, 0, 0.40);
}


/* =====================================================
   SCHOOL TITLE
===================================================== */

.top-header h1 {
    position: relative;

    z-index: 2;

    color: #ffffff;

    font-size: 42px;

    font-weight: 900;

    letter-spacing: 1px;

    line-height: 1.2;

    text-shadow:
        0 4px 10px rgba(0, 0, 0, 0.35);
}


.top-header h2 {
    position: relative;

    z-index: 2;

    margin-top: 7px;

    color: #f59e0b;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 3px;
}


.school-location {
    position: relative;

    z-index: 2;

    margin-top: 5px;

    color:
        rgba(255, 255, 255, 0.85);

    font-size: 14px;
}


.school-tagline {
    position: relative;

    z-index: 2;

    max-width: 900px;

    margin: 12px auto 0;

    color: #f59e0b;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 0.5px;
}


/* =====================================================
   SOCIAL ICONS
===================================================== */

.social-icons {
    position: relative;

    z-index: 3;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin-top: 20px;
}


.social-icons a {
    width: 42px;
    height: 42px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.10);

    border:
        1px solid rgba(255, 255, 255, 0.25);

    color: #ffffff;

    text-decoration: none;

    font-size: 16px;
}


.social-icons a:hover {
    background: #f59e0b;

    color: #0f5233;
}


/* =====================================================
   WELCOME SECTION
===================================================== */

.welcome-section {
    text-align: center;

    padding: 55px 20px 50px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f5f9f7
        );

    border-bottom:
        1px solid #e3ebe6;
}


.welcome-section h1 {
    color: #0f5233;

    font-size: 34px;

    font-weight: 800;

    margin-bottom: 10px;
}


.welcome-section p {
    max-width: 750px;

    margin: auto;

    color: #667085;

    font-size: 16px;
}


/* =====================================================
   ABOUT SECTION
===================================================== */

.about-section {
    padding: 75px 20px;

    background:
        linear-gradient(
            180deg,
            #f5f9f7,
            #edf5f1
        );
}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    text-align: center;

    max-width: 900px;

    margin: 0 auto 40px;
}


.section-heading span {
    display: inline-block;

    padding: 7px 20px;

    border-radius: 50px;

    background: #0a3606;

    border:
        1px solid #f4df9f;

    color: #b77900;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.section-heading h2 {
    margin-top: 16px;

    color: #0f5233;

    font-size: 36px;

    line-height: 1.4;
}


/* =====================================================
   ABOUT CARD
===================================================== */

.about-card {
    max-width: 1000px;

    margin: auto;

    padding: 35px 40px;

    background: #0d632d;

    border-radius: 22px;

    border:
        1px solid #e1e9e4;

    border-top:
        5px solid #b1ba27;

    box-shadow:
        0 12px 35px rgba(15, 82, 51, 0.10);
}


.about-card p {
    color: white;

    font-size: 15px;

    line-height: 1.9;

    margin-bottom: 18px;
}


.about-card p:last-child {
    margin-bottom: 0;
}


/* =====================================================
   GOAL CARD
===================================================== */

.goal-card {
    max-width: 1000px;

    margin: 30px auto 0;

    padding: 35px 40px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #0f5233,
            #063d26
        );

    border-radius: 22px;

    border:
        1px solid rgba(245, 158, 11, 0.25);

    box-shadow:
        0 15px 35px rgba(15, 82, 51, 0.18);

    color: #ffffff;
}


.goal-card h2 {
    color: #f59e0b;

    font-size: 28px;

    margin-bottom: 12px;
}


.goal-card p {
    max-width: 850px;

    margin: 10px auto;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 15px;

    line-height: 1.9;
}


.goal-tagline {
    max-width: 850px;

    margin: 20px auto;

    padding: 15px 20px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(245, 158, 11, 0.30);

    color: #f59e0b;

    font-size: 15px;

    font-weight: 800;
}


/* =====================================================
   FACILITIES INTRO
===================================================== */

.facilities {
    padding: 65px 20px 20px;

    background: #ffffff;
}


.progress-heading {
    max-width: 900px;

    margin: auto;

    text-align: center;
}


.progress-heading h2 {
    color: #0f5233;

    font-size: 34px;

    margin-bottom: 8px;
}


.progress-heading p {
    color: #667085;

    font-size: 15px;
}


/* =====================================================
   FACILITIES SECTION
===================================================== */

.facilities-section {
    padding: 70px 20px 80px;

    background:
        linear-gradient(
            135deg,
            #063d26,
            #0f5233
        );
}


/* =====================================================
   FACILITIES HEADER
===================================================== */

.facilities-header {
    max-width: 900px;

    margin:
        0 auto 45px;

    text-align: center;

    color: #ffffff;
}


.facilities-header span {
    display: inline-block;

    padding: 7px 20px;

    border-radius: 50px;

    background:
        rgba(245, 158, 11, 0.14);

    border:
        1px solid rgba(245, 158, 11, 0.30);

    color: #f59e0b;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.facilities-header h2 {
    margin-top: 16px;

    color: #ffffff;

    font-size: 38px;

    line-height: 1.3;
}


.facilities-header p {
    max-width: 750px;

    margin: 12px auto 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 15px;
}


/* =====================================================
   FACILITIES GRID
===================================================== */

.facilities-grid {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;
}


/* =====================================================
   FACILITY CARD
===================================================== */

.facility-card {
    display: block;

    padding: 28px 20px;

    text-align: center;

    text-decoration: none;

    color: #0f5233;

    background:
        rgba(15, 43, 12, 0.98);

    border-radius: 20px;

    border:
        2px solid transparent;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.14);
}


.facility-card:hover {
    border-color: #f59e0b;

    color: #0f5233;
}


/* =====================================================
   FACILITY ICON
===================================================== */

.facility-icon {
    width: 72px;
    height: 72px;

    margin:
        0 auto 16px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #fff3c4,
            #fff9e8
        );

    border:
        1px solid #f6df9c;

    font-size: 34px;

    box-shadow:
        0 7px 18px rgba(245, 158, 11, 0.15);
}


.facility-card h3 {
    color: #cac717;

    font-size: 18px;

    margin-bottom: 7px;
}


.facility-card p {
    min-height: 48px;

    color: white;

    font-size: 13px;

    line-height: 1.6;
}


/* =====================================================
   FACILITY BUTTON
===================================================== */

.facility-button {
    display: inline-block;

    margin-top: 15px;

    padding: 7px 15px;

    border-radius: 50px;

    background: #0f5233;

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;
}


.facility-card:hover .facility-button {
    background: #f59e0b;

    color: #173b2a;
}


/* =====================================================
   SCHOOL PORTAL
===================================================== */

.school-portal {
    padding: 75px 20px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #2b511d,
            #5f2f1b
        );
}


.portal-heading {
    max-width: 900px;

    margin:
        0 auto 40px;
}


.portal-heading h2 {
    color: white;

    font-size: 34px;

    margin-bottom: 8px;
}


.portal-subtitle {
    color: white;

    font-size: 15px;
}


/* =====================================================
   PORTAL GRID
===================================================== */

.portal-grid {
    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


/* =====================================================
   PORTAL CARD
===================================================== */

.portal-card {
    display: block;

    padding: 27px 16px;

    text-decoration: none;

    color: #0f5233;

    background: #0c220c;

    border-radius: 20px;

    border:
        2px solid #e4ebe7;

    box-shadow:
        0 8px 25px rgba(15, 82, 51, 0.08);
}


.portal-card:hover {
    border-color: #f59e0b;

    color: #0f5233;
}


.portal-icon {
    font-size: 40px;

    margin-bottom: 10px;
}


.portal-card h3 {
    font-size: 18px;
color:rgb(29, 149, 147);
    margin-bottom: 5px;
}


.portal-card p {
    color: white;

    font-size: 13px;

    margin-bottom: 10px;
}


.portal-card span {
    display: inline-block;

    color: #b77900;

    font-size: 12px;

    font-weight: 800;
}


/* =====================================================
   FACULTY SECTION
===================================================== */

.faculty-section {
    padding: 75px 20px;

    background: #33120a;
}


.faculty-heading {
    max-width: 900px;

    margin:
        0 auto 45px;

    text-align: center;
}


.faculty-heading > span {
    display: inline-block;

    padding: 7px 20px;

    border-radius: 50px;

    background: #fff7df;

    border:
        1px solid #f4df9f;

    color: #b77900;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}


.faculty-heading h2 {
    margin-top: 15px;

    color: #0f5233;

    font-size: 35px;
}


.faculty-heading p {
    margin-top: 10px;

    color: #667085;

    font-size: 15px;
}


/* =====================================================
   FACULTY GRID
===================================================== */

.faculty-grid {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 23px;
}


/* =====================================================
   FACULTY CARD
===================================================== */

.faculty-card {
    padding: 25px 18px;

    text-align: center;

    background: #081a0d;

    border-radius: 22px;

    border:
        1px solid #e1e9e4;

    box-shadow:
        0 8px 25px rgba(15, 82, 51, 0.08);
}


.faculty-card:hover {
    border-color: #f59e0b;
}


/* =====================================================
   TEACHER IMAGE
===================================================== */

.teacher-image {
    display: flex;

    justify-content: center;

    margin-bottom: 17px;
}


.teacher-image img {
    width: 125px;
    height: 125px;

    object-fit: cover;

    border-radius: 50%;

    border:
        4px solid #ede32f;

    padding: 3px;

    background: #042a08;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.14);
}


.faculty-card h3 {
    color: #cdae13;

    font-size: 17px;

    margin-bottom: 8px;
}


.faculty-card p {
    color:white;

    font-size: 13px;

    margin: 4px 0;
}


.faculty-card p strong {
    color: white;
}


/* =====================================================
   TEACHER SOCIAL
===================================================== */

.teacher-social {
    display: flex;

    justify-content: center;

    gap: 8px;

    margin-top: 14px;
}


.teacher-social a {
    width: 34px;
    height: 34px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: #0f5233;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
}


.teacher-social a:hover {
    background: #f59e0b;

    color: #0f5233;
}


/* =====================================================
   QUICK FACILITIES
===================================================== */

.quick-facilities {
    padding: 60px 20px;

    text-align: center;

    background: #ffffff;
}


.quick-facilities h2 {
    color: #0f5233;

    font-size: 30px;

    margin-bottom: 25px;
}


.quick-list {
    max-width: 950px;

    margin: auto;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


.quick-list a {
    display: inline-block;

    padding: 10px 18px;

    border-radius: 50px;

    background: #f1f7f4;

    border:
        1px solid #dce9e2;

    color: #0f5233;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}


.quick-list a:hover {
    background: #f59e0b;

    color: #173b2a;

    border-color: #f59e0b;
}


/* =====================================================
   ADMISSION
===================================================== */

.admission {
    padding: 75px 20px;

    text-align: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0f5233,
            #063d26
        );
}


.admission-content {
    max-width: 850px;

    margin: auto;
}


.admission-content > span {
    display: inline-block;

    padding: 7px 18px;

    border-radius: 50px;

    background:
        rgba(245, 158, 11, 0.14);

    border:
        1px solid rgba(245, 158, 11, 0.35);

    color: #f59e0b;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.admission h2 {
    margin-top: 15px;

    color: #ffffff;

    font-size: 34px;
}


.admission p {
    max-width: 700px;

    margin: 10px auto 25px;

    color:
        rgba(255, 255, 255, 0.84);

    font-size: 15px;
}


.apply-button {
    display: inline-block;

    padding: 12px 28px;

    border-radius: 50px;

    background: #f59e0b;

    color: #173b2a;

    text-decoration: none;

    font-size: 15px;

    font-weight: 800;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.20);
}


.apply-button:hover {
    background: #ffc14d;

    color: #173b2a;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
    padding: 70px 20px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f4f8f6
        );
}


.contact-heading {
    text-align: center;

    margin-bottom: 35px;
}


.contact-heading span {
    display: inline-block;

    padding: 7px 18px;

    border-radius: 50px;

    background: #fff7df;

    color: #b77900;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}


.contact-heading h2 {
    color: #0f5233;

    font-size: 34px;

    margin-top: 13px;
}


/* =====================================================
   CONTACT GRID
===================================================== */

.contact-grid {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.contact-item {
    padding: 28px 20px;

    text-align: center;

    background: #ffffff;

    border-radius: 20px;

    border:
        1px solid #e1e9e4;

    box-shadow:
        0 8px 25px rgba(15, 82, 51, 0.07);
}


.contact-item > div {
    width: 58px;
    height: 58px;

    margin:
        0 auto 12px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #fff3c4,
            #fff9e8
        );

    font-size: 27px;
}


.contact-item h3 {
    color: #0f5233;

    font-size: 18px;

    margin-bottom: 6px;
}


.contact-item p {
    color: #667085;

    font-size: 13px;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 35px 20px 25px;

    text-align: center;

    color:
        rgba(255, 255, 255, 0.80);

    background: #052d1d;
}


.footer-logo img {
    width: 75px;
    height: 75px;

    object-fit: cover;

    border-radius: 50%;

    padding: 3px;

    background: #ffffff;

    border:
        3px solid #f59e0b;

    margin-bottom: 10px;
}


footer h3 {
    color: #ffffff;

    font-size: 18px;

    margin-bottom: 7px;
}


footer p {
    font-size: 13px;

    color:
        rgba(255, 255, 255, 0.70);
}


footer .copyright {
    margin-top: 10px;

    color: #f59e0b;

    font-weight: 600;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .facilities-grid,
    .faculty-grid,
    .portal-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .top-header {
        padding:
            35px 15px;
    }


    .school-logo {
        width: 120px;
        height: 120px;
    }


    .top-header h1 {
        font-size: 29px;
    }


    .top-header h2 {
        font-size: 15px;
    }


    .school-location {
        font-size: 12px;
    }


    .school-tagline {
        font-size: 12px;

        line-height: 1.7;
    }


    .welcome-section {
        padding:
            45px 18px;
    }


    .welcome-section h1 {
        font-size: 27px;
    }


    .about-section {
        padding:
            55px 15px;
    }


    .section-heading h2 {
        font-size: 28px;
    }


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


    .goal-card {
        padding:
            28px 20px;
    }


    .goal-card h2 {
        font-size: 25px;
    }


    .facilities {
        padding:
            50px 15px 15px;
    }


    .progress-heading h2 {
        font-size: 27px;
    }


    .facilities-section {
        padding:
            55px 15px;
    }


    .facilities-header h2 {
        font-size: 28px;
    }


    .facilities-grid,
    .faculty-grid,
    .portal-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 15px;
    }


    .facility-card {
        padding:
            22px 12px;
    }


    .faculty-card {
        padding:
            20px 12px;
    }


    .teacher-image img {
        width: 110px;
        height: 110px;
    }


    .school-portal {
        padding:
            55px 15px;
    }


    .portal-heading h2 {
        font-size: 27px;
    }


    .admission {
        padding:
            55px 18px;
    }


    .admission h2 {
        font-size: 28px;
    }


    .contact {
        padding:
            55px 15px;
    }


    .contact-grid {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 450px) {

    .school-logo {
        width: 105px;
        height: 105px;
    }


    .top-header h1 {
        font-size: 24px;
    }


    .top-header h2 {
        font-size: 12px;

        letter-spacing: 2px;
    }


    .school-tagline {
        font-size: 11px;
    }


    .social-icons a {
        width: 38px;
        height: 38px;
    }


    .welcome-section h1 {
        font-size: 24px;
    }


    .section-heading h2 {
        font-size: 24px;
    }


    .about-card p,
    .goal-card p {
        font-size: 13px;
    }


    .goal-tagline {
        font-size: 12px;

        padding:
            12px 10px;
    }


    .facilities-grid,
    .faculty-grid,
    .portal-grid {
        grid-template-columns: 1fr;
    }


    .facilities-header h2 {
        font-size: 25px;
    }


    .faculty-heading h2 {
        font-size: 27px;
    }


    .admission h2 {
        font-size: 25px;
    }


    .contact-heading h2 {
        font-size: 27px;
    }


    .quick-facilities h2 {
        font-size: 26px;
    }

}

/* =====================================================
   BACK BUTTON
===================================================== */

.back-btn {

    display: inline-block;

    margin: 20px;

    padding: 11px 22px;

    background: #0F5233;

    color: #ffffff;

    text-decoration: none;

    border-radius: 8px;

    font-size: 15px;

    font-weight: bold;

    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.back-btn:hover {
    background: #083d26;
}