/* =========================================================
   GYANDEEP PUBLIC SCHOOL
   MODERN RED + DARK BLUE THEME
   Fully Responsive CSS
   ========================================================= */

/* =========================
   ROOT VARIABLES
========================= */

:root {
    --red: #c1121f;
    --red-dark: #8b0000;
    --red-light: #fff1f2;
    --red-soft: #fde7e9;

    --blue: #0b2d4d;
    --blue-dark: #061b30;
    --blue-light: #123f68;

    --gold: #f4b942;

    --white: #ffffff;
    --light: #f7f9fc;
    --border: #e5eaf0;

    --text: #263442;
    --muted: #6b7785;

    --shadow: 0 10px 30px rgba(6, 27, 48, .08);
    --shadow-hover: 0 18px 45px rgba(6, 27, 48, .14);

    --radius: 18px;
}


/* =========================
   GLOBAL
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.container {
    position: relative;
    z-index: 2;
}


/* =========================
   TOP BAR
========================= */

.top-bar {
    background: var(--blue-dark);
    color: #fff;
    padding: 9px 0;
    font-size: 13px;
}

.top-bar i {
    color: var(--gold);
    margin-right: 5px;
}

.top-right a {
    color: #fff;
    margin-left: 20px;
    transition: .3s ease;
}

.top-right a:hover {
    color: var(--gold);
}


/* =========================
   HEADER / NAVBAR
========================= */

.main-header {
    background: rgba(255,255,255,.98);
    padding: 10px 0;
    box-shadow: 0 5px 25px rgba(6,27,48,.10);
    position: relative;
    z-index: 1050;
}

.main-header .navbar {
    min-height: 78px;
}

.navbar-brand {
    flex-shrink: 0;
}

.school-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.school-name {
    margin-left: 12px;
}

.school-name h1 {
    margin: 0;
    color: var(--blue);
    font-size: 23px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: .2px;
}

.school-name p {
    margin: 6px 0 0;
    color: #7a858f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
}


/* NAV */

.navbar-nav {
    gap: 3px;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    position: relative;
    color: #263442 !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 13px !important;
    border-radius: 8px;
    transition: all .25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--red) !important;
    background: var(--red-light);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    content: "";
    position: absolute;
    height: 3px;
    left: 13px;
    right: 13px;
    bottom: 3px;
    border-radius: 10px;
    background: var(--red);
}


/* APPLY BUTTON */

.admission-btn {
    background: var(--red) !important;
    color: #fff !important;
    padding: 11px 21px !important;
    border-radius: 30px !important;
    margin-left: 8px;
    box-shadow: 0 8px 20px rgba(193,18,31,.22);
}

.admission-btn:hover {
    background: var(--red-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
}


/* MOBILE TOGGLE */

.navbar-toggler {
    width: 45px;
    height: 42px;
    padding: 8px;
    border: 1px solid #ead2d5 !important;
    border-radius: 10px;
    background: var(--red-light);
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(193,18,31,.12) !important;
}

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 25px;
    height: 22px;
}

.navbar-toggler-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 25px;
    height: 2px;
    border-radius: 5px;
    background: var(--red);
    box-shadow:
        0 8px 0 var(--red),
        0 16px 0 var(--red);
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 650px;

    background:
        linear-gradient(
            90deg,
            rgba(6,27,48,.97) 0%,
            rgba(11,45,77,.90) 40%,
            rgba(193,18,31,.30) 100%
        ),
        url("assets/school-bus.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 70px solid rgba(255,255,255,.035);
    border-radius: 50%;
    right: -180px;
    top: -160px;
}

.hero-content {
    max-width: 680px;
    padding: 80px 0 160px;
    color: #fff;
}

.hero-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.22);

    padding: 9px 17px;
    border-radius: 30px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-small i {
    color: var(--gold);
}

.hero h2 {
    font-size: 58px;
    line-height: 1.12;
    font-weight: 800;
    margin: 22px 0 18px;
}

.hero h2 span {
    color: var(--gold);
}

.hero p {
    max-width: 600px;
    color: #e5edf4;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 30px;
}


/* HERO BUTTONS */

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 14px 24px;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

    transition: .3s ease;
    margin-right: 8px;
}

.btn-yellow {
    background: var(--gold);
    color: var(--blue-dark);
}

.btn-yellow:hover {
    background: #fff;
    color: var(--blue);
    transform: translateY(-3px);
}

.btn-outline-light-custom {
    border: 1px solid rgba(255,255,255,.8);
    color: #fff;
}

.btn-outline-light-custom:hover {
    background: #fff;
    color: var(--blue);
    transform: translateY(-3px);
}


/* =========================
   HERO INFO
========================= */

.hero-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background: rgba(6,27,48,.95);
    backdrop-filter: blur(10px);
}

.info-box {
    padding: 19px 15px;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.10);
}

.info-box:last-child {
    border-right: none;
}

.info-box i {
    color: var(--gold);
    font-size: 25px;
    margin-right: 8px;
}

.info-box strong {
    display: block;
    font-size: 14px;
}

.info-box span {
    color: #bfcbd6;
    font-size: 11px;
}


/* =========================
   COMMON SECTION
========================= */

.section {
    padding: 90px 0;
}

.section-title {
    margin-bottom: 45px;
}

.section-title .small-title {
    display: inline-block;

    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    color: var(--blue);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
    margin-top: 8px;
}

.section-title p {
    max-width: 680px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}


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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 22px;

    box-shadow: var(--shadow);
}

.experience-box {
    position: absolute;
    right: -20px;
    bottom: 20px;

    background: var(--red);
    color: #fff;

    padding: 20px 27px;
    border-radius: 15px;

    text-align: center;

    box-shadow: 0 15px 35px rgba(193,18,31,.25);
}

.experience-box h3 {
    color: var(--gold);
    font-size: 34px;
    font-weight: 800;
    margin: 0;
}

.experience-box span {
    font-size: 11px;
}

.about-content h3 {
    color: var(--blue);
    font-size: 30px;
    font-weight: 700;
}

.about-content p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.about-list li {
    margin-bottom: 13px;
    font-size: 14px;
    font-weight: 500;
}

.about-list i {
    color: var(--red);
    margin-right: 8px;
}


/* ABOUT READ MORE */

.about-content .btn-success {
    background: var(--red) !important;
    border: none;
}

.about-content .btn-success:hover {
    background: var(--red-dark) !important;
}


/* =========================
   FEATURES
========================= */

.feature-section {
    background: var(--light);
}

.feature-card {
    height: 100%;
    padding: 35px 25px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    text-align: center;

    transition: all .35s ease;
}

.feature-card:hover {
    transform: translateY(-9px);
    border-color: #f0c8cc;
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto auto 20px;

    background: var(--red-soft);
    color: var(--red);

    border-radius: 50%;

    font-size: 28px;

    transition: .3s;
}

.feature-card:hover .feature-icon {
    background: var(--red);
    color: #fff;
    transform: rotate(5deg);
}

.feature-card h4 {
    color: var(--blue);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================
   MESSAGE / VISION
========================= */

.message-section {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue)
        );

    color: #fff;
}

.message-section::before {
    content: "";
    position: absolute;

    width: 380px;
    height: 380px;

    border: 70px solid rgba(193,18,31,.12);
    border-radius: 50%;

    right: -160px;
    top: -160px;
}

.message-section::after {
    content: "";
    position: absolute;

    width: 250px;
    height: 250px;

    border: 40px solid rgba(244,185,66,.06);
    border-radius: 50%;

    left: -130px;
    bottom: -130px;
}

.message-section h2 {
    font-size: 36px;
    font-weight: 800;
}

.message-section p {
    color: #d8e2eb;
    font-size: 14px;
    line-height: 1.9;
}

.message-section strong {
    color: var(--gold);
}

.quote-icon {
    font-size: 55px;
    color: var(--red);
}


/* =========================
   STATS
========================= */

.stats-section {
    background: var(--red);
    color: #fff;
    position: relative;
}

.stat-box {
    padding: 15px;
    text-align: center;
}

.stat-box i {
    color: var(--gold);
    font-size: 29px;
}

.stat-box h3 {
    font-size: 34px;
    font-weight: 800;
    margin: 9px 0 3px;
}

.stat-box p {
    margin: 0;
    color: #ffe9eb;
    font-size: 12px;
}


/* =========================
   NOTICE SECTION
========================= */

.notice-section {
    position: relative;
    background: #f7f9fc;
    overflow: hidden;
}

.notice-section::before {
    content: "";
    position: absolute;

    width: 280px;
    height: 280px;

    border: 45px solid rgba(11,45,77,.035);
    border-radius: 50%;

    left: -140px;
    top: -120px;
}

.notice-section::after {
    content: "";
    position: absolute;

    width: 230px;
    height: 230px;

    border: 35px solid rgba(193,18,31,.035);
    border-radius: 50%;

    right: -100px;
    bottom: -100px;
}


/* NOTICE CARD */

.notice-card {
    position: relative;
    z-index: 2;

    display: flex;
    gap: 18px;

    height: 100%;

    padding: 23px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(6,27,48,.06);

    overflow: hidden;

    transition: all .35s ease;
}

.notice-card::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background: linear-gradient(
        180deg,
        var(--red),
        var(--blue)
    );
}

.notice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}


/* NOTICE DATE */

.notice-date {
    min-width: 64px;
    height: 74px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: var(--blue);
    color: #fff;

    border-radius: 12px;

    flex-shrink: 0;
}

.notice-date strong {
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
}

.notice-date span {
    margin-top: 5px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* NOTICE CONTENT */

.notice-content {
    flex: 1;
}

.notice-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: var(--red);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 7px;
}

.notice-category i {
    color: var(--gold);
}

.notice-content h4 {
    color: var(--blue);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 8px;
}

.notice-content p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.notice-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--red);

    font-size: 12px;
    font-weight: 700;

    transition: .3s;
}

.notice-link:hover {
    color: var(--blue);
}

.notice-link i {
    transition: .3s;
}

.notice-link:hover i {
    transform: translateX(5px);
}


/* VIEW ALL */

.all-notice-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 13px 27px;

    background: var(--red);
    color: #fff;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 8px 20px rgba(193,18,31,.20);

    transition: .3s;
}

.all-notice-btn:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-3px);
}


/* =========================
   GALLERY
========================= */

.school-gallery {
    background: #fff;
    position: relative;
}

.gallery-subtitle {
    display: inline-block;

    color: var(--red);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 7px;
}

.section-heading h2 {
    color: var(--blue);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-heading h2 span {
    color: var(--red);
}

.section-heading p {
    max-width: 650px;
    margin: auto;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}


/* GALLERY CARD */

.gallery-card {
    position: relative;

    height: 360px;

    overflow: hidden;

    background: #eee;

    border-radius: 18px;

    box-shadow: 0 10px 30px rgba(6,27,48,.10);
}

.small-gallery {
    height: 280px;
}

.gallery-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .6s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}


/* GALLERY OVERLAY */

.gallery-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    min-height: 48%;

    padding: 25px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    color: #fff;

    background:
        linear-gradient(
            transparent,
            rgba(6,27,48,.95)
        );
}

.gallery-overlay span {
    color: #f4d98c;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-overlay h4 {
    margin: 5px 0 0;

    font-size: 20px;
    font-weight: 700;
}

.gallery-overlay a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--red);
    color: #fff;

    border-radius: 50%;

    transition: .3s;
}

.gallery-overlay a:hover {
    background: var(--gold);
    color: var(--blue-dark);
    transform: rotate(10deg);
}


/* GALLERY BUTTON */

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 13px 27px;

    background: var(--red);
    color: #fff;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;

    transition: .3s;
}

.gallery-btn:hover {
    background: var(--blue);
    color: #fff;

    transform: translateY(-3px);
}


/* =========================
   CTA
========================= */

.cta {
    position: relative;

    padding: 85px 0;

    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(6,27,48,.97),
            rgba(11,45,77,.90)
        ),
        url("assets/school-bus.jpg");

    background-size: cover;
    background-position: center;
}

.cta::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border: 40px solid rgba(193,18,31,.10);

    border-radius: 50%;

    right: -100px;
    top: -100px;
}

.cta h2 {
    font-size: 38px;
    font-weight: 800;
}

.cta p {
    color: #d8e2eb;
    font-size: 14px;
    margin-top: 10px;
}


/* CTA BUTTON */

.cta .btn-warning {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--blue-dark) !important;
}

.cta .btn-warning:hover {
    background: #fff !important;
    border-color: #fff !important;
}


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

footer {
    position: relative;

    background: var(--blue-dark);

    color: #c8d4df;

    padding-top: 65px;
}

.footer-logo {
    width: 82px;
    margin-bottom: 15px;
}

footer h5 {
    color: #fff;

    font-size: 17px;
    font-weight: 700;

    margin-bottom: 18px;
}

footer p,
footer li {
    color: #b9c7d3;

    font-size: 13px;
    line-height: 1.8;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: #b9c7d3;
    transition: .3s;
}

footer ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

footer ul li i {
    color: var(--red);
}


/* SOCIAL */

.social a {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-right: 6px;

    background: rgba(255,255,255,.08);
    color: #fff;

    border-radius: 50%;

    transition: .3s;
}

.social a:hover {
    background: var(--red);
    transform: translateY(-3px);
}


/* COPYRIGHT */

.copyright {
    margin-top: 45px;

    padding: 18px 0;

    border-top: 1px solid rgba(255,255,255,.10);

    text-align: center;

    color: #94a5b5;

    font-size: 12px;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp-btn {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: #fff;

    border-radius: 50%;

    font-size: 29px;

    z-index: 9999;

    box-shadow: 0 8px 25px rgba(0,0,0,.25);

    animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
    color: #fff;
    transform: scale(1.08);
}

@keyframes whatsappPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,.45);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37,211,102,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991.98px) {

    .main-header {
        padding: 8px 0;
    }

    .main-header .navbar {
        min-height: 65px;
    }

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

    .school-name {
        margin-left: 9px;
    }

    .school-name h1 {
        font-size: 18px;
    }

    .school-name p {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .navbar-collapse {
        margin-top: 12px;

        padding: 12px;

        background: #fff;

        border: 1px solid #eadfe1;

        border-radius: 14px;

        box-shadow: 0 15px 35px rgba(6,27,48,.12);
    }

    .navbar-nav {
        gap: 2px;
    }

    .navbar-nav .nav-item {
        display: block;
        width: 100%;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 12px 14px !important;
    }

    .navbar-nav .nav-link.active::after,
    .navbar-nav .nav-link:hover::after {
        left: 14px;
        right: auto;
        width: 28px;
    }

    .admission-btn {
        width: fit-content !important;
        margin: 8px 0 2px;
    }

    .hero {
        min-height: 650px;
    }

    .hero h2 {
        font-size: 45px;
    }

    .hero-content {
        padding-bottom: 150px;
    }

    .about-image img {
        height: 390px;
    }

    .experience-box {
        right: 10px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {

    .top-bar {
        text-align: center;
        font-size: 11px;
    }

    .top-right {
        display: none;
    }

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

    .school-name h1 {
        font-size: 15px;
    }

    .school-name p {
        font-size: 7px;
        letter-spacing: .7px;
    }

    .hero {

        min-height: 720px;

        background:
            linear-gradient(
                90deg,
                rgba(6,27,48,.96),
                rgba(11,45,77,.86)
            ),
            url("assets/school-bus.jpg");

        background-size: cover;
        background-position: center;
    }

    .hero-content {
        padding: 75px 15px 175px;
    }

    .hero-small {
        font-size: 9px;
        padding: 8px 12px;
    }

    .hero h2 {
        font-size: 35px;
        margin-top: 18px;
    }

    .hero p {
        font-size: 13px;
        line-height: 1.75;
    }

    .hero-buttons a {
        margin-bottom: 10px;
        padding: 12px 18px;
        font-size: 12px;
    }

    .hero-info {
        padding: 6px 0;
    }

    .info-box {
        padding: 10px 5px;
    }

    .info-box i {
        display: block;
        font-size: 20px;
        margin: 0 0 4px;
    }

    .info-box strong {
        font-size: 10px;
    }

    .info-box span {
        display: none;
    }

    .section {
        padding: 65px 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2,
    .section-heading h2 {
        font-size: 29px;
    }

    .section-title p,
    .section-heading p {
        font-size: 13px;
    }

    .about-image img {
        height: 320px;
    }

    .experience-box {
        right: 10px;
        bottom: 10px;
        padding: 16px 21px;
    }

    .experience-box h3 {
        font-size: 28px;
    }

    .about-content {
        margin-top: 25px;
    }

    .about-content p {
        font-size: 13px;
    }

    .feature-card {
        padding: 30px 22px;
    }

    .message-section h2 {
        font-size: 29px;
        margin-top: 15px;
    }

    .message-section p {
        font-size: 13px;
    }

    .quote-icon {
        font-size: 45px;
    }

    .stat-box h3 {
        font-size: 27px;
    }

    .stat-box i {
        font-size: 25px;
    }

    .notice-card {
        padding: 18px;
        gap: 14px;
    }

    .notice-date {
        min-width: 57px;
        height: 67px;
    }

    .notice-date strong {
        font-size: 23px;
    }

    .notice-content h4 {
        font-size: 15px;
    }

    .notice-content p {
        font-size: 11px;
    }

    .gallery-card,
    .small-gallery {
        height: 280px;
    }

    .gallery-overlay {
        padding: 18px;
    }

    .gallery-overlay h4 {
        font-size: 17px;
    }

    .cta {
        padding: 65px 15px;
    }

    .cta h2 {
        font-size: 29px;
    }

    .cta p {
        font-size: 13px;
    }

    footer {
        text-align: center;
        padding-top: 50px;
    }

    footer .social {
        margin-bottom: 15px;
    }

    .whatsapp-btn {
        width: 53px;
        height: 53px;
        right: 15px;
        bottom: 15px;
        font-size: 25px;
    }
}


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

@media (max-width: 480px) {

    .hero h2 {
        font-size: 31px;
    }

    .hero-small {
        font-size: 8px;
        letter-spacing: .5px;
    }

    .hero-buttons a {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    .notice-card {
        padding: 16px;
    }

    .notice-date {
        min-width: 54px;
        height: 64px;
    }

    .notice-content h4 {
        font-size: 14px;
    }

    .notice-content p {
        font-size: 11px;
    }

    .gallery-card,
    .small-gallery {
        height: 250px;
    }

    .copyright {
        padding-left: 15px;
        padding-right: 15px;
    }
}




/* =========================================================
   GYANDEEP - PREMIUM HERO CAROUSEL
   ========================================================= */

.hero {
    position: relative;
    min-height: 720px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #081f36;
}

/* =========================================================
   BACKGROUND CAROUSEL
   ========================================================= */

.hero-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

    transform: scale(1.05);
}

/* Smooth image zoom */

.carousel-item.active .hero-bg-img {
    animation: heroImageZoom 6s ease-in-out forwards;
}

@keyframes heroImageZoom {

    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.13);
    }

}

/* =========================================================
   PREMIUM OVERLAY
   ========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(4, 24, 43, 0.96) 0%,
            rgba(8, 31, 54, 0.88) 30%,
            rgba(18, 53, 91, 0.62) 60%,
            rgba(18, 53, 91, 0.25) 100%
        );
}

/* Bottom dark gradient */

.hero-overlay::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 180px;

    background: linear-gradient(
        to top,
        rgba(4, 24, 43, 0.85),
        transparent
    );
}

/* =========================================================
   DECORATIVE SHAPES
   ========================================================= */

.hero::before {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -220px;

    border-radius: 50%;

    border: 80px solid rgba(47, 128, 237, 0.10);

    z-index: 3;
}

.hero::after {
    content: "";
    position: absolute;

    width: 280px;
    height: 280px;

    left: -150px;
    bottom: 100px;

    border-radius: 50%;

    border: 50px solid rgba(244, 185, 66, 0.08);

    z-index: 3;
}

/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-content {
    max-width: 760px;
    padding: 110px 0 220px;
    color: #fff;
}

/* =========================================================
   SMALL WELCOME TEXT
   ========================================================= */

.hero-small {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 15px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);

    backdrop-filter: blur(8px);

    color: #F4B942;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.7px;

    margin-bottom: 22px;
}

.hero-small i {
    font-size: 17px;
}

/* =========================================================
   MAIN HEADING
   ========================================================= */

.hero-content h2 {
    font-size: clamp(48px, 6.5vw, 78px);

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -2px;

    margin: 0 0 25px;

    color: #fff;
}

.hero-content h2 span {
    display: block;

    color: #F4B942;

    text-shadow:
        0 5px 25px rgba(244, 185, 66, 0.20);
}

/* =========================================================
   DESCRIPTION
   ========================================================= */

.hero-content p {
    max-width: 650px;

    font-size: 15px;

    line-height: 1.8;

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

    margin-bottom: 32px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Yellow Button */

.btn-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 26px;

    border-radius: 50px;

    background: #F4B942;
    border: 2px solid #F4B942;

    color: #081f36;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 12px 30px rgba(244, 185, 66, 0.25);

    transition: all 0.35s ease;
}

.btn-yellow:hover {
    background: #fff;
    border-color: #fff;

    color: #12355B;

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
}

.btn-yellow i {
    transition: transform 0.3s ease;
}

.btn-yellow:hover i {
    transform: translateX(5px);
}

/* Outline Button */

.btn-outline-light-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 26px;

    border-radius: 50px;

    border: 2px solid rgba(255,255,255,0.70);

    color: #fff;

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

    backdrop-filter: blur(5px);

    font-size: 14px;
    font-weight: 600;

    transition: all 0.35s ease;
}

.btn-outline-light-custom:hover {
    background: #fff;

    color: #12355B;

    border-color: #fff;

    transform: translateY(-4px);
}

/* =========================================================
   HERO INFORMATION
   ========================================================= */

.hero-info {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 35px;

    z-index: 10;
}

.hero-info .container {
    position: relative;
}

.hero-info .row {
    overflow: hidden;

    border-radius: 22px;

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

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);

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

    backdrop-filter: blur(12px);
}

/* =========================================================
   INFO BOX
   ========================================================= */

.info-box {
    min-height: 120px;

    padding: 18px 15px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    position: relative;

    transition: all 0.35s ease;
}

.info-box:hover {
    background: #F7FAFF;
}

/* Divider */

.info-box:not(:last-child)::after {
    content: "";

    position: absolute;

    width: 1px;
    height: 60px;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    background: #DDE5ED;
}

/* =========================================================
   INFO ICON
   ========================================================= */

.info-box > i {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #EAF3FF;

    color: #2F80ED;

    font-size: 22px;

    margin-bottom: 9px;

    transition: all 0.35s ease;
}

.info-box:hover > i {
    transform: translateY(-4px) scale(1.05);

    background: #2F80ED;

    color: #fff;

    box-shadow:
        0 8px 20px rgba(47,128,237,0.25);
}

/* Second */

.info-box:nth-child(2) > i {
    background: #FFF5D8;
    color: #D79600;
}

.info-box:nth-child(2):hover > i {
    background: #F4B942;
    color: #fff;
}

/* Third */

.info-box:nth-child(3) > i {
    background: #EAF8F0;
    color: #229954;
}

.info-box:nth-child(3):hover > i {
    background: #229954;
    color: #fff;
}

/* =========================================================
   INFO TEXT
   ========================================================= */

.info-box strong {
    color: #12355B;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.3;
}

.info-box span {
    color: #718096;

    font-size: 11px;

    margin-top: 3px;
}

/* =========================================================
   CAROUSEL INDICATORS
   ========================================================= */

.hero-carousel::after {
    content: "";
    position: absolute;
    bottom: 145px;
    left: 50%;
    transform: translateX(-50%);

    width: 50px;
    height: 3px;

    background: #F4B942;

    border-radius: 10px;

    z-index: 5;
}

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

@media (max-width: 991px) {

    .hero {
        min-height: 700px;
    }

    .hero-content {
        padding: 90px 0 210px;
    }

    .hero-content h2 {
        font-size: 58px;
    }

    .hero-info {
        bottom: 25px;
    }

    .info-box {
        min-height: 105px;
    }

    .info-box > i {
        width: 43px;
        height: 43px;
        font-size: 19px;
    }

    .info-box strong {
        font-size: 12px;
    }
}

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

@media (max-width: 767px) {

    .hero {
        min-height: 820px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4,24,43,0.94),
                rgba(18,53,91,0.68)
            );
    }

    .hero-content {
        text-align: center;

        padding: 75px 15px 290px;

        margin: auto;
    }

    .hero-small {
        font-size: 9px;
        letter-spacing: 1px;

        padding: 7px 12px;
    }

    .hero-content h2 {
        font-size: 43px;

        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-info {
        bottom: 15px;
        padding: 0 10px;
    }

    .hero-info .row {
        border-radius: 17px;
    }

    .info-box {
        min-height: 105px;
        padding: 12px 5px;
    }

    .info-box > i {
        width: 38px;
        height: 38px;

        font-size: 17px;

        border-radius: 12px;

        margin-bottom: 6px;
    }

    .info-box strong {
        font-size: 10px;
    }

    .info-box span {
        font-size: 8px;
    }

    .info-box:not(:last-child)::after {
        height: 45px;
    }

    .hero-carousel::after {
        bottom: 145px;
    }
}

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

@media (max-width: 480px) {

    .hero {
        min-height: 850px;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-yellow,
    .btn-outline-light-custom {
        width: 100%;
        max-width: 280px;
    }

    .info-box {
        min-height: 95px;
    }

    .info-box > i {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .info-box strong {
        font-size: 9px;
    }

    .info-box span {
        display: none;
    }
}




/* =========================================================
   ACADEMIC EXCELLENCE
========================================================= */

.academic-section {
    background: #f5f9ff;
}

.academic-card {
    position: relative;
    background: #fff;

    padding: 35px 30px;

    border-radius: 22px;

    border: 1px solid #e5eaf0;

    height: 100%;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(18,53,91,0.07);

    transition: all 0.35s ease;
}

.academic-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 18px 45px rgba(18,53,91,0.14);

    border-color: rgba(47,128,237,0.25);
}

.academic-card.featured {
    background: #12355b;
}

.academic-icon {
    width: 65px;
    height: 65px;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf3ff;

    color: #2f80ed;

    font-size: 28px;

    margin-bottom: 25px;
}

.academic-card.featured .academic-icon {
    background: rgba(255,255,255,0.12);
    color: #f4b942;
}

.academic-number {
    position: absolute;

    right: 20px;
    top: 15px;

    font-size: 60px;
    font-weight: 800;

    color: rgba(18,53,91,0.05);
}

.academic-card.featured .academic-number {
    color: rgba(255,255,255,0.06);
}

.academic-card h3 {
    color: #12355b;

    font-size: 21px;
    font-weight: 700;

    margin-bottom: 12px;
}

.academic-card.featured h3 {
    color: #fff;
}

.academic-card p {
    color: #718096;

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 22px;
}

.academic-card.featured p {
    color: rgba(255,255,255,0.72);
}

.academic-card a {
    color: #2f80ed;

    font-size: 13px;
    font-weight: 700;
}

.academic-card.featured a {
    color: #f4b942;
}

.academic-card a i {
    margin-left: 5px;

    transition: transform 0.3s ease;
}

.academic-card a:hover i {
    transform: translateX(5px);
}


/* =========================================================
   BRANCHES
========================================================= */

.branches-section {
    background: #fff;
}

.branch-modern-card {
    background: #fff;

    border-radius: 25px;

    overflow: hidden;

    border: 1px solid #e5eaf0;

    box-shadow: 0 8px 30px rgba(18,53,91,0.08);

    height: 100%;

    transition: all 0.35s ease;
}

.branch-modern-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 20px 50px rgba(18,53,91,0.15);
}

.branch-image {
    position: relative;

    height: 300px;

    overflow: hidden;
}

.branch-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.branch-modern-card:hover .branch-image img {
    transform: scale(1.08);
}

.branch-badge {
    position: absolute;

    left: 20px;
    bottom: 20px;

    padding: 9px 16px;

    border-radius: 30px;

    background: #fff;

    color: #12355b;

    font-size: 12px;
    font-weight: 700;

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

.branch-badge i {
    color: #2f80ed;

    margin-right: 5px;
}

.branch-modern-content {
    padding: 28px;
}

.branch-subtitle {
    color: #2f80ed;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}

.branch-modern-content h3 {
    color: #12355b;

    font-size: 25px;

    font-weight: 800;

    margin: 6px 0 12px;
}

.branch-modern-content p {
    color: #718096;

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 20px;
}

.branch-details {
    border-top: 1px solid #edf0f4;

    border-bottom: 1px solid #edf0f4;

    padding: 15px 0;

    margin-bottom: 20px;
}

.branch-details div {
    display: flex;

    gap: 10px;

    align-items: center;

    margin: 7px 0;

    color: #526273;

    font-size: 12px;
}

.branch-details i {
    color: #2f80ed;
}

.branch-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 20px;

    border-radius: 30px;

    background: #12355b;

    color: #fff;

    font-size: 12px;

    font-weight: 600;
}

.branch-btn:hover {
    background: #2f80ed;

    color: #fff;

    transform: translateY(-2px);
}


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

.facilities-section {
    background: #f5f9ff;
}

.facility-card {
    position: relative;

    background: #fff;

    padding: 30px 24px;

    border-radius: 20px;

    border: 1px solid #e5eaf0;

    height: 100%;

    overflow: hidden;

    transition: all 0.35s ease;
}

.facility-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 18px 40px rgba(18,53,91,0.12);
}

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

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf3ff;

    color: #2f80ed;

    font-size: 25px;

    margin-bottom: 20px;
}

.facility-card:nth-child(2) .facility-icon {
    background: #fff5d8;
    color: #d79600;
}

.facility-card:nth-child(3) .facility-icon {
    background: #eaf8f0;
    color: #229954;
}

.facility-card:nth-child(4) .facility-icon {
    background: #f4edff;
    color: #7950c9;
}

.facility-card h4 {
    color: #12355b;

    font-size: 17px;

    font-weight: 700;

    margin-bottom: 9px;
}

.facility-card p {
    color: #718096;

    font-size: 12px;

    line-height: 1.7;

    margin: 0;
}

.facility-number {
    position: absolute;

    right: 15px;
    bottom: 8px;

    font-size: 45px;

    font-weight: 800;

    color: rgba(18,53,91,0.045);
}

.facility-main-btn {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 12px 23px;

    border-radius: 30px;

    background: #12355b;

    color: #fff;

    font-size: 13px;

    font-weight: 600;
}

.facility-main-btn:hover {
    background: #2f80ed;

    color: #fff;

    transform: translateY(-2px);
}







/* =========================================================
   PRINCIPAL MESSAGE
========================================================= */

.principal-section {
    background: #fff;
}

.principal-wrapper {
    overflow: hidden;

    border-radius: 28px;

    background: #12355b;

    box-shadow: 0 20px 55px rgba(18,53,91,0.15);
}

.principal-image {
    height: 100%;

    min-height: 450px;

    position: relative;

    overflow: hidden;
}

.principal-image img {
    width: 100%;
    height: 100%;

    min-height: 450px;

    object-fit: cover;
}

.principal-label {
    position: absolute;

    left: 20px;
    bottom: 20px;

    background: #fff;

    color: #12355b;

    padding: 10px 17px;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;

    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.principal-label i {
    color: #2f80ed;

    margin-right: 5px;
}

.principal-content {
    padding: 55px;
    position: relative;
}

.principal-content .small-title {
    color: #f4b942;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.principal-content h2 {
    color: #fff;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 800;

    margin: 10px 0 20px;
}

.principal-content h2 span {
    color: #f4b942;

    display: block;
}

.quote-mark {
    position: absolute;

    right: 35px;
    top: 30px;

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

    font-size: 100px;

    line-height: 1;
}

.principal-content p {
    color: rgba(255,255,255,0.72);

    font-size: 14px;

    line-height: 1.9;

    max-width: 650px;
}

.principal-sign {
    border-top: 1px solid rgba(255,255,255,0.12);

    margin-top: 25px;

    padding-top: 18px;
}

.principal-sign strong {
    display: block;

    color: #fff;

    font-size: 14px;
}

.principal-sign span {
    color: #f4b942;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .academic-card {
        padding: 28px 24px;
    }

    .branch-image {
        height: 260px;
    }

    .principal-content {
        padding: 40px;
    }

    .principal-content h2 {
        font-size: 32px;
    }

}


@media (max-width: 767px) {

    .academic-card {
        text-align: center;
    }

    .academic-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .branch-image {
        height: 230px;
    }

    .branch-modern-content {
        padding: 23px;
    }

    .branch-modern-content h3 {
        font-size: 22px;
    }

    .facility-card {
        text-align: center;
    }

    .facility-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .principal-image,
    .principal-image img {
        min-height: 350px;
        height: 350px;
    }

    .principal-content {
        padding: 35px 25px;
    }

    .principal-content h2 {
        font-size: 29px;
    }

    .quote-mark {
        right: 15px;
        top: 20px;
    }

}


@media (max-width: 480px) {

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

    .branch-image {
        height: 210px;
    }

    .principal-image,
    .principal-image img {
        min-height: 300px;
        height: 300px;
    }

    .principal-content {
        padding: 30px 20px;
    }

    .principal-content h2 {
        font-size: 26px;
    }

    .principal-content p {
        font-size: 12px;
    }

}



/* about page css */


/* =========================================================
   GYANDEEP PUBLIC SCHOOL
   ABOUT PAGE
   RED + DARK BLUE THEME
========================================================= */

:root {
    --red: #c1121f;
    --red-dark: #8b0000;
    --red-light: #fff1f2;
    --blue: #071a3d;
    --blue-light: #102957;
    --white: #ffffff;
    --black: #111111;
    --text: #555555;
    --light: #f7f8fa;
    --border: #e7e7e7;
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================================================
   HERO
========================================================= */

.about-hero {
    min-height: 400px;
    position: relative;
    background:
        linear-gradient(
            rgba(7, 26, 61, 0.88),
            rgba(139, 0, 0, 0.80)
        ),
        url("images/about-banner.jpg") center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.hero-content span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb span {
    color: #ffd9dc;
    letter-spacing: 0;
}


/* =========================================================
   SECTION COMMON
========================================================= */

section {
    padding: 90px 0;
}

.section-tag {
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 10px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2 {
    color: var(--blue);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-heading h2 span,
.about-content h2 span,
.why-content h2 span,
.message-box h2 span {
    color: var(--red);
}


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

.about-section {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-box {
    height: 520px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-box img {
    height: 100%;
}

.experience-box {
    position: absolute;
    right: -20px;
    bottom: 30px;
    background: var(--red);
    color: white;
    width: 150px;
    height: 130px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 30px rgba(193, 18, 31, 0.3);
}

.experience-box strong {
    font-size: 42px;
    line-height: 1;
}

.experience-box span {
    font-size: 14px;
    font-weight: 700;
}

.about-content h2 {
    color: var(--blue);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 22px;
}

.about-content p {
    margin-bottom: 16px;
}

.main-btn,
.branch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    padding: 13px 24px;
    border-radius: 5px;
    margin-top: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.main-btn:hover,
.branch-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
}


/* =========================================================
   VISION
========================================================= */

.vision-section {
    background: var(--light);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.vision-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border-bottom: 4px solid var(--red);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.vision-card .icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--red-light);
    color: var(--red);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}

.vision-card h3 {
    color: var(--blue);
    font-size: 23px;
    margin-bottom: 12px;
}


/* =========================================================
   BRANCHES
========================================================= */

.branches-section {
    background: #fff;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.branch-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.branch-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.branch-image img {
    height: 100%;
    transition: 0.5s;
}

.branch-card:hover .branch-image img {
    transform: scale(1.06);
}

.branch-number {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 55px;
    height: 55px;
    background: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    border-radius: 5px;
}

.branch-content {
    padding: 30px;
}

.branch-label {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--red);
    font-weight: 800;
}

.branch-content h3 {
    color: var(--blue);
    font-size: 28px;
    margin: 5px 0 10px;
}

.branch-btn {
    font-size: 14px;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section {
    background: var(--light);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.why-content h2 {
    color: var(--blue);
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.points {
    margin-top: 30px;
}

.point {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.point > i {
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 4px;
}

.point h4 {
    color: var(--blue);
    font-size: 18px;
    margin-bottom: 3px;
}

.point p {
    font-size: 14px;
}

.why-image {
    position: relative;
}

.why-image > img {
    height: 550px;
    border-radius: 12px;
}

.image-caption {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 25px;
    padding: 18px;
    background: rgba(7, 26, 61, 0.95);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.image-caption i {
    font-size: 28px;
    color: #ffccd0;
}

.image-caption strong,
.image-caption small {
    display: block;
}

.image-caption small {
    opacity: 0.8;
}


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

.facilities-section {
    background: #fff;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.facility-card {
    text-align: center;
    padding: 35px 20px;
    background: var(--light);
    border-radius: 8px;
    transition: 0.3s;
}

.facility-card:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-5px);
}

.facility-card i {
    font-size: 32px;
    color: var(--red);
    margin-bottom: 15px;
}

.facility-card:hover i {
    color: #fff;
}

.facility-card h3 {
    color: var(--blue);
    font-size: 19px;
    margin-bottom: 8px;
}

.facility-card:hover h3 {
    color: #fff;
}

.facility-card p {
    font-size: 14px;
}


/* =========================================================
   MESSAGE
========================================================= */

.message-section {
    background: var(--blue);
    color: #fff;
}

.message-box {
    max-width: 900px;
    margin: auto;
    text-align: center;
    position: relative;
}

.message-box .section-tag {
    color: #ffccd0;
}

.message-box h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.message-box p {
    color: #dbe2ef;
    font-size: 17px;
}

.message-box strong {
    display: block;
    margin-top: 25px;
    color: #fff;
}

.quote-icon {
    font-size: 55px;
    color: var(--red);
    margin-bottom: 15px;
}


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

.admission-section {
    background:
        linear-gradient(
            100deg,
            var(--red),
            var(--red-dark)
        );
    color: #fff;
    text-align: center;
}

.admission-content {
    max-width: 800px;
    margin: auto;
}

.admission-content > span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.admission-content h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
    margin: 12px 0;
}

.admission-content h2 strong {
    color: #ffe2e4;
}

.admission-content p {
    opacity: 0.9;
}

.admission-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.white-btn,
.outline-btn {
    padding: 13px 25px;
    border-radius: 5px;
    font-weight: 700;
}

.white-btn {
    background: #fff;
    color: var(--red);
}

.outline-btn {
    border: 2px solid #fff;
    color: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .about-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

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

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

    .about-image {
        max-width: 650px;
        margin: auto;
    }

    .why-image {
        max-width: 650px;
        margin: auto;
        width: 100%;
    }
}


@media (max-width: 700px) {

    section {
        padding: 65px 0;
    }

    .about-hero {
        min-height: 330px;
    }

    .vision-grid,
    .branches-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .image-box {
        height: 400px;
    }

    .experience-box {
        right: 15px;
        bottom: 20px;
    }

    .branch-image {
        height: 240px;
    }

    .why-image > img {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 15px;
    }
}


@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .image-box {
        height: 330px;
    }

    .experience-box {
        width: 120px;
        height: 105px;
    }

    .experience-box strong {
        font-size: 32px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .branch-content {
        padding: 22px;
    }

    .why-image > img {
        height: 330px;
    }

    .image-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}



/* academic css */

/* =========================================================
   GYANDEEP PUBLIC SCHOOL
   ACADEMIC PAGE
   RED + DARK BLUE THEME
========================================================= */

:root {
    --red: #c1121f;
    --red-dark: #8b0000;
    --red-light: #fff1f2;

    --blue: #071a3d;
    --blue-light: #102957;

    --white: #ffffff;
    --black: #111111;
    --text: #555555;

    --light: #f7f8fa;
    --border: #e6e8ed;

    --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================================================
   HERO
========================================================= */

.academic-hero {
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    background:
        linear-gradient(
            rgba(7, 26, 61, 0.88),
            rgba(139, 0, 0, 0.82)
        ),
        url("images/academic-banner.jpg")
        center/cover no-repeat;
}

.academic-hero-content {
    max-width: 850px;
    padding: 40px 20px;
}

.academic-hero-content > span {
    display: inline-block;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;

    color: #ffd9dc;

    margin-bottom: 12px;
}

.academic-hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.15;

    margin-bottom: 15px;
}

.academic-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 25px;

    font-size: 14px;
}

.breadcrumb a {
    color: white;
}

.breadcrumb span {
    color: #ffd9dc;
}


/* =========================================================
   COMMON
========================================================= */

section {
    padding: 90px 0;
}

.section-tag {
    display: inline-block;

    color: var(--red);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.section-heading {
    max-width: 750px;

    text-align: center;

    margin: 0 auto 50px;
}

.section-heading h2 {
    color: var(--blue);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.2;

    margin-bottom: 15px;
}

.section-heading h2 span {
    color: var(--red);
}


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

.academic-intro {
    background: white;
}

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.intro-image {
    position: relative;
}

.intro-image img {
    height: 520px;

    border-radius: 12px;

    box-shadow: var(--shadow);
}

.academic-badge {
    position: absolute;

    right: -20px;
    bottom: 30px;

    background: var(--red);

    color: white;

    padding: 20px 25px;

    border-radius: 8px;

    display: flex;
    align-items: center;

    gap: 14px;

    box-shadow: 0 15px 30px rgba(193, 18, 31, 0.3);
}

.academic-badge i {
    font-size: 30px;
}

.academic-badge strong,
.academic-badge span {
    display: block;
}

.academic-badge strong {
    font-size: 19px;
}

.academic-badge span {
    font-size: 13px;
    opacity: 0.9;
}

.intro-content h2 {
    color: var(--blue);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.2;

    margin-bottom: 20px;
}

.intro-content h2 span {
    color: var(--red);
}

.intro-content p {
    margin-bottom: 16px;
}

.intro-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 25px;
}

.intro-points div {
    font-size: 14px;

    font-weight: 600;

    color: var(--blue);
}

.intro-points i {
    color: var(--red);

    margin-right: 7px;
}


/* =========================================================
   ACADEMIC LEVELS
========================================================= */

.levels-section {
    background: var(--light);
}

.levels-grid {
    display: grid;

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

    gap: 20px;
}

.level-card {
    position: relative;

    background: white;

    padding: 35px 25px;

    border-radius: 10px;

    border-top: 4px solid var(--red);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);

    transition: 0.3s;
}

.level-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.level-card > span {
    position: absolute;

    right: 20px;
    top: 20px;

    color: #e9e9e9;

    font-size: 32px;

    font-weight: 900;
}

.level-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--red-light);

    color: var(--red);

    font-size: 25px;

    margin-bottom: 20px;
}

.level-card h3 {
    color: var(--blue);

    font-size: 21px;

    margin-bottom: 10px;
}

.level-card p {
    font-size: 14px;

    margin-bottom: 18px;
}

.level-card ul {
    list-style: none;
}

.level-card li {
    font-size: 13px;

    margin-bottom: 7px;

    color: var(--blue);
}

.level-card li::before {
    content: "✓";

    color: var(--red);

    font-weight: bold;

    margin-right: 8px;
}


/* =========================================================
   APPROACH
========================================================= */

.approach-section {
    background: white;
}

.approach-grid {
    display: grid;

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

    gap: 20px;
}

.approach-card {
    position: relative;

    padding: 35px 25px;

    text-align: center;

    background: var(--blue);

    color: white;

    border-radius: 10px;

    overflow: hidden;

    transition: 0.3s;
}

.approach-card:hover {
    transform: translateY(-7px);

    background: var(--red);
}

.approach-number {
    position: absolute;

    right: 15px;
    top: 5px;

    font-size: 55px;

    font-weight: 900;

    opacity: 0.08;
}

.approach-card i {
    font-size: 32px;

    margin-bottom: 18px;

    color: #ffd9dc;
}

.approach-card h3 {
    font-size: 20px;

    margin-bottom: 10px;
}

.approach-card p {
    font-size: 14px;

    opacity: 0.85;
}


/* =========================================================
   SUBJECTS
========================================================= */

.subjects-section {
    background: var(--light);
}

.subjects-grid {
    display: grid;

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

    gap: 20px;
}

.subject-card {
    background: white;

    padding: 30px;

    border-radius: 9px;

    border: 1px solid var(--border);

    transition: 0.3s;
}

.subject-card:hover {
    transform: translateY(-5px);

    border-color: var(--red);

    box-shadow: var(--shadow);
}

.subject-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--red-light);

    color: var(--red);

    border-radius: 7px;

    font-size: 22px;

    margin-bottom: 18px;
}

.subject-card h3 {
    color: var(--blue);

    font-size: 20px;

    margin-bottom: 7px;
}

.subject-card p {
    font-size: 14px;
}


/* =========================================================
   SUPPORT
========================================================= */

.support-section {
    background: white;
}

.support-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.support-content h2 {
    color: var(--blue);

    font-size: clamp(30px, 4vw, 45px);

    line-height: 1.2;

    margin-bottom: 20px;
}

.support-content h2 span {
    color: var(--red);
}

.support-list {
    margin-top: 30px;
}

.support-item {
    display: flex;

    gap: 15px;

    margin-bottom: 22px;
}

.support-item > i {
    color: var(--red);

    font-size: 22px;

    margin-top: 4px;
}

.support-item h4 {
    color: var(--blue);

    font-size: 18px;
}

.support-item p {
    font-size: 14px;
}

.support-image {
    position: relative;
}

.support-image > img {
    height: 520px;

    border-radius: 12px;
}

.support-box {
    position: absolute;

    bottom: 25px;
    left: 25px;
    right: 25px;

    background: rgba(7, 26, 61, 0.95);

    color: white;

    padding: 20px;

    border-radius: 8px;

    display: flex;
    align-items: center;

    gap: 15px;
}

.support-box i {
    color: #ffccd0;

    font-size: 30px;
}

.support-box strong,
.support-box span {
    display: block;
}

.support-box span {
    font-size: 13px;

    opacity: 0.8;
}


/* =========================================================
   ACTIVITIES
========================================================= */

.activities-section {
    background: var(--light);
}

.activities-grid {
    display: grid;

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

    gap: 20px;
}

.activity-card {
    background: white;

    padding: 35px 20px;

    text-align: center;

    border-radius: 9px;

    transition: 0.3s;
}

.activity-card:hover {
    background: var(--red);

    color: white;

    transform: translateY(-7px);
}

.activity-card i {
    color: var(--red);

    font-size: 32px;

    margin-bottom: 15px;
}

.activity-card:hover i {
    color: white;
}

.activity-card h3 {
    color: var(--blue);

    font-size: 19px;

    margin-bottom: 8px;
}

.activity-card:hover h3 {
    color: white;
}

.activity-card p {
    font-size: 14px;
}


/* =========================================================
   CTA
========================================================= */

.academic-cta {
    background:
        linear-gradient(
            100deg,
            var(--red),
            var(--red-dark)
        );

    color: white;

    text-align: center;
}

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

    margin: auto;
}

.cta-content > span {
    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.2;

    margin: 12px 0;
}

.cta-content h2 strong {
    color: #ffe1e4;
}

.cta-content p {
    opacity: 0.9;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 28px;
}

.white-btn,
.outline-btn {
    padding: 13px 25px;

    border-radius: 5px;

    font-weight: 700;
}

.white-btn {
    background: white;

    color: var(--red);
}

.outline-btn {
    border: 2px solid white;

    color: white;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .intro-grid,
    .support-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .levels-grid,
    .approach-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .intro-image,
    .support-image {
        max-width: 700px;

        width: 100%;

        margin: auto;
    }
}


@media (max-width: 700px) {

    section {
        padding: 65px 0;
    }

    .academic-hero {
        min-height: 340px;
    }

    .academic-hero h1 {
        font-size: 35px;
    }

    .academic-hero p {
        font-size: 15px;
    }

    .levels-grid,
    .approach-grid,
    .subjects-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .intro-points {
        grid-template-columns: 1fr;
    }

    .intro-image img,
    .support-image > img {
        height: 400px;
    }

    .academic-badge {
        right: 15px;
        bottom: 20px;
    }
}


@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .intro-image img,
    .support-image > img {
        height: 330px;
    }

    .academic-badge {
        padding: 15px;

        right: 10px;
    }

    .academic-badge i {
        font-size: 22px;
    }

    .academic-badge strong {
        font-size: 16px;
    }

    .support-box {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cta-content h2 {
        font-size: 34px;
    }
}

/* =========================================================
   GYANDEEP PUBLIC SCHOOL
   FACILITIES PAGE
   RED + DARK BLUE THEME
========================================================= */

:root {
    --red: #c1121f;
    --red-dark: #8b0000;
    --red-light: #fff1f2;

    --blue: #071a3d;
    --blue-light: #102957;

    --white: #ffffff;
    --text: #555555;

    --light: #f7f8fa;
    --border: #e5e7eb;

    --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: #fff;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================================================
   HERO
========================================================= */

.facilities-hero {
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;

    background:
        linear-gradient(
            rgba(7, 26, 61, .88),
            rgba(139, 0, 0, .82)
        ),
        url("images/facilities-banner.jpg")
        center/cover no-repeat;
}

.hero-content {
    max-width: 850px;
    padding: 40px 20px;
}

.hero-content > span {
    color: #ffd9dc;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 3px;
}

.hero-content h1 {
    font-size: clamp(36px, 5vw, 60px);

    line-height: 1.15;

    margin: 12px 0 15px;
}

.hero-content p {
    font-size: 18px;

    opacity: .9;
}

.breadcrumb {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 25px;

    font-size: 14px;
}

.breadcrumb a {
    color: white;
}

.breadcrumb span {
    color: #ffd9dc;
}


/* =========================================================
   COMMON
========================================================= */

section {
    padding: 90px 0;
}

.section-tag {
    display: inline-block;

    color: var(--red);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.section-heading {
    max-width: 750px;

    text-align: center;

    margin: 0 auto 50px;
}

.section-heading h2 {
    color: var(--blue);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.2;

    margin-bottom: 15px;
}

.section-heading h2 span {
    color: var(--red);
}


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

.facilities-intro {
    background: white;
}

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.intro-content h2 {
    color: var(--blue);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.2;

    margin-bottom: 20px;
}

.intro-content h2 span {
    color: var(--red);
}

.intro-content p {
    margin-bottom: 16px;
}

.intro-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 25px;
}

.intro-points div {
    color: var(--blue);

    font-size: 14px;

    font-weight: 600;
}

.intro-points i {
    color: var(--red);

    margin-right: 7px;
}

.intro-image {
    position: relative;
}

.intro-image > img {
    height: 500px;

    border-radius: 12px;

    box-shadow: var(--shadow);
}

.facility-badge {
    position: absolute;

    right: -20px;
    bottom: 30px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 20px 25px;

    background: var(--red);

    color: white;

    border-radius: 8px;

    box-shadow: 0 15px 30px rgba(193,18,31,.3);
}

.facility-badge i {
    font-size: 30px;
}

.facility-badge strong,
.facility-badge span {
    display: block;
}

.facility-badge strong {
    font-size: 19px;
}

.facility-badge span {
    font-size: 13px;
}


/* =========================================================
   MAIN FACILITIES
========================================================= */

.main-facilities {
    background: var(--light);
}

.facility-grid {
    display: grid;

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

    gap: 22px;
}

.facility-card {
    background: white;

    border-radius: 10px;

    overflow: hidden;

    border: 1px solid var(--border);

    box-shadow: 0 7px 25px rgba(0,0,0,.04);

    transition: .3s;
}

.facility-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.facility-image {
    height: 210px;

    overflow: hidden;
}

.facility-image img {
    height: 100%;

    transition: .5s;
}

.facility-card:hover .facility-image img {
    transform: scale(1.06);
}

.facility-content {
    position: relative;

    padding: 30px 22px 25px;
}

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

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--red);

    color: white;

    border-radius: 7px;

    font-size: 22px;

    margin-top: -55px;

    margin-bottom: 18px;

    position: relative;
}

.facility-content h3 {
    color: var(--blue);

    font-size: 20px;

    margin-bottom: 8px;
}

.facility-content p {
    font-size: 14px;
}


/* =========================================================
   FEATURES
========================================================= */

.features-section {
    background: white;
}

.features-grid {
    display: grid;

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

    gap: 20px;
}

.feature-card {
    padding: 35px 22px;

    text-align: center;

    background: var(--light);

    border-radius: 10px;

    transition: .3s;
}

.feature-card:hover {
    background: var(--blue);

    color: white;

    transform: translateY(-6px);
}

.feature-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--red-light);

    color: var(--red);

    font-size: 25px;
}

.feature-card h3 {
    color: var(--blue);

    font-size: 19px;

    margin-bottom: 8px;
}

.feature-card:hover h3 {
    color: white;
}

.feature-card p {
    font-size: 14px;
}


/* =========================================================
   BRANCHES
========================================================= */

.branches-section {
    background: var(--light);
}

.branches-grid {
    display: grid;

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

    gap: 30px;
}

.branch-card {
    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.branch-image {
    height: 300px;

    position: relative;

    overflow: hidden;
}

.branch-image img {
    height: 100%;

    transition: .5s;
}

.branch-card:hover .branch-image img {
    transform: scale(1.06);
}

.branch-number {
    position: absolute;

    left: 20px;
    top: 20px;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--red);

    color: white;

    border-radius: 5px;

    font-weight: 800;

    font-size: 18px;
}

.branch-content {
    padding: 30px;
}

.branch-content > span {
    color: var(--red);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.branch-content h3 {
    color: var(--blue);

    font-size: 28px;

    margin: 5px 0 10px;
}

.branch-content p {
    margin-bottom: 15px;
}

.branch-content a {
    color: var(--red);

    font-weight: 700;

    font-size: 14px;
}

.branch-content a i {
    margin-left: 6px;
}


/* =========================================================
   CTA
========================================================= */

.facilities-cta {
    background:
        linear-gradient(
            100deg,
            var(--red),
            var(--red-dark)
        );

    color: white;

    text-align: center;
}

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

    margin: auto;
}

.cta-content > span {
    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.2;

    margin: 12px 0;
}

.cta-content h2 strong {
    color: #ffe0e3;
}

.cta-content p {
    opacity: .9;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 28px;
}

.white-btn,
.outline-btn {
    padding: 13px 25px;

    border-radius: 5px;

    font-weight: 700;
}

.white-btn {
    background: white;

    color: var(--red);
}

.outline-btn {
    border: 2px solid white;

    color: white;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .facility-grid,
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .intro-image {
        max-width: 700px;

        width: 100%;

        margin: auto;
    }
}


@media (max-width: 700px) {

    section {
        padding: 65px 0;
    }

    .facilities-hero {
        min-height: 340px;
    }

    .hero-content h1 {
        font-size: 35px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .facility-grid,
    .features-grid,
    .branches-grid {
        grid-template-columns: 1fr;
    }

    .intro-points {
        grid-template-columns: 1fr;
    }

    .intro-image > img {
        height: 400px;
    }

    .facility-badge {
        right: 15px;
        bottom: 20px;
    }

    .branch-image {
        height: 250px;
    }
}


@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .intro-image > img {
        height: 330px;
    }

    .facility-badge {
        right: 10px;

        padding: 15px;
    }

    .facility-badge i {
        font-size: 23px;
    }

    .facility-badge strong {
        font-size: 16px;
    }

    .branch-content {
        padding: 22px;
    }

    .cta-content h2 {
        font-size: 34px;
    }
}