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

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    overflow-x: hidden;
}

:root {
    --primary: #d73250;
    --secondary: #ff9f1c;
    --dark: #101828;
    --light: #f6f9ff;
}

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

.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    padding: 5px 0;
}

    .top-bar a {
        color: #fff;
        text-decoration: none;
        margin-right: 18px;
    }

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

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

.navbar {
    background: #fff;
    padding: 13px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--primary) !important;
    font-size: 22px;
    line-height: 25px;
}

.logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.navbar-nav .nav-link {
    color: #222;
    font-weight: 500;
    margin: 0 7px;
    transition: .3s;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary);
    }

.admission-btn {
    background: #352274;
    color: #fff !important;
    padding: 11px 20px !important;
    border-radius: 30px;
    font-weight: 600 !important;
}

    .admission-btn:hover {
        background: #361a91;
        color: #fff !important;
    }

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

.hero {
    position: relative;
}

    .hero .carousel-item {
        height: 650px;
        position: relative;
    }

        .hero .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /*.hero .carousel-item::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient( 90deg, rgba(5,25,70,.88), rgba(5,25,70,.40), rgba(5,25,70,.05) );
        }*/

.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 650px;
    color: #fff;
}

    .hero-content span {
        display: inline-block;
        background: var(--secondary);
        padding: 8px 18px;
        border-radius: 30px;
        font-size: 14px;
        margin-bottom: 18px;
    }

    .hero-content h1 {
        font-size: 55px;
        line-height: 1.15;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 28px;
    }

.hero-btn {
    display: inline-block;
    background: #352274;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 10px;
}

    .hero-btn:hover {
        background:var(--primary);
        color:#fff ;
    }

.hero-btn-outline {
    display: inline-block;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 27px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

    .hero-btn-outline:hover {
        background: #fff;
        color: var(--primary);
    }

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

section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title span {
        color: var(--secondary);
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

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

    .section-title p {
        color: #777;
        max-width: 650px;
        margin: 12px auto 0;
    }

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

.about-img {
    position: relative;
}

    .about-img img {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,.12);
    }

.experience {
    position: absolute;
    right: -20px;
    bottom: 25px;
    background: var(--primary);
    color: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
}

    .experience h3 {
        font-size: 35px;
        font-weight: 800;
        margin: 0;
    }
.about-content{
    text-align:justify;
}
.about-content h2 {
    font-weight: 700;
    font-size: 38px;
    margin-bottom: 20px;
}

.about-content p {
    color: #666;
    line-height: 1.8;
}

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

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

    .about-list i {
        color: #20a464;
        margin-right: 8px;
    }

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

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

.facility-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    height: 100%;
    transition: .35s;
    border: 1px solid #eee;
}

    .facility-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,.10);
    }

.facility-icon {
    width: 75px;
    height: 75px;
    background: #ffdfe5;
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 34px;
}

.facility-card h4 {
    font-size: 20px;
    font-weight: 700;
}

.facility-card p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
           COUNTER
        ========================== */

.counter-section {
    background: linear-gradient(rgba(22,71,184,.93),rgba(22,71,184,.93)), url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    padding: 70px 0;
}

.counter-box {
    color: #fff;
    text-align: center;
}

    .counter-box i {
        font-size: 38px;
        color: var(--secondary);
    }

    .counter-box h3 {
        font-size: 42px;
        font-weight: 800;
        margin: 10px 0 0;
    }

    .counter-box p {
        margin: 0;
        opacity: .9;
    }

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

.principal-img img {
    width: 100%;
    border-radius: 20px;
}

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

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

    .principal-content h5 {
        color: var(--primary);
        margin-bottom: 20px;
    }

.quote {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    font-style: italic;
}

/* =========================
           EVENTS
        ========================== */

.event-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    height: 100%;
}

    .event-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.event-body {
    padding: 25px;
}

.event-date {
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
}

.event-body h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0;
}

.event-body p {
    color: #777;
    font-size: 14px;
}

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

.gallery {
    background: var(--light);
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

    .gallery-item img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        transition: .5s;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22,71,184,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* =========================
           TESTIMONIAL
        ========================== */

.testimonial-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    text-align: center;
    height: 100%;
}

    .testimonial-card img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 15px;
    }

.stars {
    color: #ffad00;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: #666;
    line-height: 1.8;
}

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

.cta {
    background: linear-gradient(135deg, #1647b8, #0a2d78);
    color: #fff;
    padding: 65px 0;
}

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

    .cta p {
        opacity: .9;
    }

.cta-btn {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
}

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

footer {
    background: #0b1220;
    color: #aaa;
    padding-top: 70px;
}

    footer h4 {
        color: #fff;
        font-size: 19px;
        margin-bottom: 20px;
    }

    footer p {
        line-height: 1.8;
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #aaa;
        text-decoration: none;
        transition: .3s;
    }

        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #172033;
    color: #fff;
    margin-right: 6px;
    text-decoration: none;
    transition: .3s;
}

    .social-icons a:hover {
        background: var(--secondary);
    }

.copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
}




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

@media(max-width: 991px) {

    .hero .carousel-item {
        height: auto;
    }

    .hero-content {
        left: 5%;
        right: 5%;
    }

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

    .principal-content {
        padding-left: 0;
        margin-top: 30px;
    }
}

@media(max-width: 768px) {

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

        .top-bar .text-end {
            text-align: center !important;
            margin-top: 5px;
        }

    .hero .carousel-item {
        height: auto;
    }

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

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

    .hero-btn,
    .hero-btn-outline {
        padding: 11px 18px;
        font-size: 13px;
    }
    .hero .carousel-item img{
        height:250px;
    }
    section {
        padding: 65px 0;
    }

    .section-title h2,
    .about-content h2,
    .principal-content h2 {
        font-size: 30px;
    }

    .experience {
        right: 10px;
    }

    .counter-box {
        margin-bottom: 30px;
    }

    .gallery-item img {
        height: 220px;
    }
}
