:root {
    /* --primary: #1e3a8a; */
    /* --accent: #f97316; */
    --primary: #004683;
    --accent: #72b118;
    --accent-dark: #15803d;
    --light-bg: #eef2ff;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}


@media (max-width: 1100px) {

    /* Applies to ALL sections using Bootstrap containers */
    .container,
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

}

body {
    font-family: 'Inter', sans-serif;
}

.logo-text,
.nav-link,
.btn {
    font-family: 'Poppins', sans-serif;
}

body {
    color: #333;
}

h2 {
    position: relative;
    display: inline-block;

}

.courses-section h2::after,
.testimonials-section h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background: linear-gradient(-130deg, var(--accent), var(--accent-dark));
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-content h2::after,
.why-content h2::after,
.contact-pro h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background: linear-gradient(-130deg, var(--accent), var(--accent-dark));
    display: block;
    margin-top: 8px;
}

.footer-section h5::after {
    content: "";
    width: 50px;
    height: 1px;
    background: #fbfcff;
    display: block;
    margin-top: 8px;
    margin-bottom: 20px;
}

.logo-img {
    width: 250px;
}

/* CONTAINER FIX */
.container {
    max-width: 1200px;
}

/* TOP BAR */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 14px;
}

.top-bar .container {
    padding: 6px 15PX;
}

.top-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-right a {
    color: #fff;
    margin-left: 12px;
    transition: 0.3s;
}

.top-right a:hover {
    color: var(--accent);
}

/* HEADER */
header {
    background: #fff;
    position: sticky !important;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* LOGO */
.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* NAV LINKS */
.nav-link {
    color: #222222;
    font-weight: 600;
    font-size: 16px;
    margin: 0 5px;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-dark);
}

/* underline animation */
.nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: linear-gradient(-130deg, var(--accent), var(--accent-dark));
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

.navbar-nav .nav-link.active {
    color: var(--accent-dark) !important;
    font-weight: 600;
}

/* ACTIVE LINK */
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

/* BUTTONS */
.btn-student {
    background: linear-gradient(-160deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
}

.btn-student:hover {
    background: var(--accent-dark);
    color: #eeeeee;
}

.btn-teacher {
    background: transparent;
    border: 1px solid var(--accent-dark);
    color: var(--accent-dark);
    padding: 10px 18px;
    border-radius: 6px;
}

.btn-teacher:hover {
    background: var(--accent-dark);
    color: #fff;
}

.btn-solid {
    background: linear-gradient(-160deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    font-size: 20px;
}

.btn-solid:hover {
    background: var(--accent-dark);
    color: #eeeeee;
}

.btn-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 20px;
}

.btn-outline:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* MOBILE FIX */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-bottom: 20px;
    }

    .navbar-nav {
        margin-top: 15px;
    }

    .nav-link {
        padding: 10px 0;
    }


    .top-left {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .top-right {
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }
}

/* HERO SECTION */
.hero-section {
    position: relative;
}

/* IMAGE */
.hero-img {
    height: 75vh;
    object-fit: cover;
}

/* DARK OVERLAY */
.hero-section .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* CAPTION (STATIC CENTER) */
.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 85%;
    color: #fff;
}

/* TEXT STYLING */
.hero-caption h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-caption p {
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.6;
    /* font-weight: 300 !important; */
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* CAROUSEL CONTROLS IMPROVE */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60%;
}

.carousel-item {
    position: relative;
}

.hero-section .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    pointer-events: none;
    /* THIS FIXES YOUR ISSUE */
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

.carousel-item::before {
    pointer-events: none;
    /* IMPORTANT */
}

/* MOBILE */
@media (max-width: 768px) {

    .hero-img {
        height: 70vh;
    }

    .hero-caption h1 {
        font-size: 28px;
    }

    .hero-caption p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ABOUT SECTION */
/* IMAGE WRAPPER */
.about-img-wrapper {
    position: relative;
    display: inline-block;
}

/* IMAGE */
.about-img-wrapper img {
    width: 100%;
    border-radius: 15px;
    position: relative;
    left: 40px;
    z-index: 2;
}

.about-images {
    position: relative;
    max-width: 500px;
}

/* MAIN IMAGE */
.main-img {
    width: 90%;
    border-radius: 20px;
    z-index: 2;
    position: relative;
}

/* SMALL FLOATING IMAGE */
.small-img {
    position: absolute;
    width: 180px;
    bottom: -30px;
    right: -10px;
    border-radius: 15px;
    border: 5px solid #fff;
    z-index: 3;
}

/* BACKGROUND SHAPE */
.about-images::before {
    content: "";
    position: absolute;
    width: 90%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    top: 5px;
    left: 5px;
    border-radius: 20px;
    z-index: 1;
}

.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
}

/* LIST */
.about-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-list li {
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list i {
    color: var(--accent-dark);
    font-size: 16px;
}

/* BUTTONS */
.about-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

/* IMAGE */
.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* MOBILE */
@media (max-width: 791px) {

    .about-section {
        padding: 50px 0;
    }

    .about-images {
        margin: 30px;
        display: none;
    }

    .small-img {
        display: none;
    }

    .main-img {
        width: 100%;
        border-radius: 20px;
        z-index: 2;
        position: relative;
    }

    .about-images::before {
        width: 100%;
        height: 100%;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-content {
        text-align: center;
        align-content: center;
        justify-items: center;
    }

    /* .about-content p{
        text-align: justify;
    } */
    .about-list {
        text-align: left;
    }

    .about-section h2::after {
        margin: 10px auto 0;
    }
}

/* WHY SECTION */
.why-section {
    padding: 80px 0;
    /* background: var(--light-bg); */
    background-image: url("../images/why.png");
    background-repeat: no-repeat;
    /* background-position: center; */
    background-size: cover;
}

/* IMAGE */
.why-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CONTENT */
.why-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.why-sub {
    margin-bottom: 30px;
    color: #555;
}

/* GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* BOX */
.why-box {
    background: #fff;
    padding: 20px;
    padding-bottom: 0;
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid #eee;
}

.why-box i {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 10px;
}

.why-box i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;

}

.why-box h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-box p {
    font-size: 14px;
    color: #666;
}

/* HOVER EFFECT */
.why-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* MOBILE */
@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {

    .why-section h2 {
        text-align: center;
    }

    .why-section h2::after {
        margin: 10px auto 0;
    }

    .why-section {
        padding: 50px 0;
        background: var(--light-bg);
    }

    .why-image img {
        min-height: auto;
        margin-bottom: 30px;
    }

    .why-content {
        text-align: center;
    }

    .why-content h2 {
        font-size: 28px;
    }

    .why-box .col-lg-3 {
        align-items: center;
        justify-items: center;
    }
}

/* STATUS SECTION */
.status-section {
    background: var(--primary);
    color: #fff;
    padding: 60px 0;
}

.status-box h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.status-box p {
    font-size: 16px;
    margin: 0;
}

/* MOBILE */
@media (max-width: 768px) {
    .status-box h2 {
        font-size: 32px;
    }

    .status-box p {
        font-size: 14px;
    }
}

.counter .plus {
    font-size: 0.6em;
    vertical-align: super;
    /* raises it a bit */
    margin-left: 2px;
}

/* COURSES SECTION */
.courses-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.courses-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

.courses-section p {
    font-size: 16px;
    color: #555;
}

.course-card {
    background: linear-gradient(165deg, #fff, #fbfcff, #eef2ff);
    /* background-image:url("../images/images.jfif"); */
    padding: 25px 20px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-icon {
    font-size: 40px;
    color: var(--accent-dark);
    margin-bottom: 20px;
}

.course-card h4 {
    /* font-size: 20px; */
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.course-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* BUTTON */
.course-card .btn {
    align-self: center;
}

/* 
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
} */


.course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--accent-dark);
    transition: 0.3s;
}

.course-card:hover::before {
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .courses-section {
        padding: 50px 0;
    }

    .courses-section h2 {
        font-size: 28px;
    }
}

/* TESTIMONIALS */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    overflow: hidden;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 500px;
    position: relative;
    z-index: 2;
    color: #333;
}

.testimonials-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

.testimonials-section p {
    font-size: 16px;
    color: #555;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    color: #555;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-name {
    font-weight: 600;
    color: #333;
}

.testimonial-class {
    font-size: 14px;
    color: #777;
}

/* CAROUSEL CONTROL CUSTOMIZATION */
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.carousel-item .row {
    align-items: center;
}

.carousel-item .row {
    max-width: 900px;
    margin: auto;
}

.carousel-item .col-md-6 {
    padding: 10px;
}

.testimonial-card {
    margin-bottom: 10px !important;
}

#testimonialCarousel {
    position: relative;
}

/* move arrows outside */
#testimonialCarousel .carousel-control-prev {
    left: -50px;
}

#testimonialCarousel .carousel-control-next {
    right: -50px;
}

/* better button look */
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* MOBILE */
@media (max-width: 768px) {
    .testimonials-section h2 {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 20px;
    }

    #testimonialCarousel .carousel-control-prev {
        left: 10px;
    }

    #testimonialCarousel .carousel-control-next {
        right: 10px;
    }
}

/* CONTACT PRO SECTION */
.contact-pro {
    padding: 80px 0;
    /* background: linear-gradient(135deg, #eef2ff, #ffffff); */
}

/* WRAPPER CARD */
.contact-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* LEFT SIDE */
.contact-info h2 {
    font-size: 39px;
    font-weight: 700;
    line-height: 1.3em;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-info p {
    color: #555;
    margin-bottom: 25px;
}

/* INFO ITEMS */
.info-box {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
}

.info-box i {
    width: 40px;
    height: 40px;
    background: var(--accent-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

/* FORM */
.contact-form-pro input,
.contact-form-pro textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

.contact-form-pro input:focus,
.contact-form-pro textarea:focus {
    border-color: var(--accent);
}

/* BUTTON */
.contact-form-pro button {
    padding: 12px;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 998px) {

    .contact-wrapper {
        padding: 25px;
        /* text-align: left; */
    }

    /* 
    .contact-info {
        justify-items: left !important;
    } */

    .contact-wrapper .info-box {
        text-align: left;
    }

    .contact-info h2 {
        font-size: 26px;
    }

    .contact-pro {
        text-align: center;
        align-content: center;
        justify-items: center;
    }

    .contact-pro h2::after {
        margin: 10px auto 0;
    }


}

/* FOOTER */
.footer-section {
    /* background: #0f172a; */
    background: #132557;
    color: #ccc;
    padding: 60px 0 0;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.footer-logo-img {
    width: 220px;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* CONTACT */
.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 8px;
    /* color: var(--accent); */
}

/* SOCIAL */
.footer-social {
    margin-top: 15px;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 13px;
    margin: 0;
    color: #aaa;
}

/* MOBILE */
@media (max-width: 768px) {

    .footer-social {
        justify-content: center;
    }
}

/* index page end */

.student-form-section {
    padding: 80px 0;
    background: #f9fafc;
}

.form-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.form-info p {
    color: #555;
}

.form-info ul {
    list-style: none;
    padding: 0;
}

.form-info ul li {
    margin-bottom: 10px;
    color: #333;
}

/* .form-info i {
    color: #22c55e;
    margin-right: 8px;
} */

/* FORM CARD */
.form-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* INPUTS */
.form-control {
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.15rem rgba(30, 58, 138, 0.15);
}

/* BUTTON */
.submit-btn {
    background: var(--accent-dark);
    color: #fff;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: 0.3s;
}

.submit-btn:hover {
    background: var(--accent);
}

/* MOBILE */
@media (max-width: 768px) {

    .form-info h2 {
        font-size: 28px;
    }
}


.teacher-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff, #eef2ff);
}

.form-control {
    color: #646464;
}


/* about page start */

/* BANNER */
.about-banner {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)),
        url('https://images.unsplash.com/photo-1523240795612-9a054b0db644') center/cover;
    color: #fff;
    padding: 100px 0;
}

.about-banner h1 {
    font-size: 42px;
    font-weight: 700;
}

.about-banner p {
    font-size: 18px;
    margin-top: 10px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background: linear-gradient(-130deg, var(--accent), var(--accent-dark));
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title1 h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

.section-title1 h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background: linear-gradient(-130deg, var(--accent), var(--accent-dark));
    display: block;
    margin: 8px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    margin-bottom: 12px;
    padding-left: 22px;
    position: relative;
    font-weight: 500;
}

.about-services {
    padding: 80px 0;
    background: var(--light-bg);
}

/* CARD DESIGN */
.offer-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
}

/* ICON */
.offer-card i {
    font-size: 28px;
    color: var(--accent-dark);
    margin-bottom: 15px;
}

/* TITLE */
.offer-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* TEXT */
.offer-card p {
    font-size: 14px;
    color: #555;
}

.offer-card i {
    background: #22c55e49;
    padding: 15px;
    border-radius: 15%;
}

.offer-card:hover {
    border: 1px solid var(--accent-dark);
}

/* HOVER EFFECT */
.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.cta-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #132557, #1e3a8a);
    color: #fff;
    border-radius: 12px;
    /* margin: 60px auto;*/
}

/* TEXT */
.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
}

.cta-section p {
    margin: 10px 0 25px;
    font-size: 16px;
    color: #e0e7ff;
}

/* BUTTONS */
.cta-btn-primary {
    background: var(--accent-dark);
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    margin-right: 10px;
    transition: 0.3s;
}

.cta-btn-primary:hover {
    background: var(--accent);
}

.cta-btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-btn-outline:hover {
    background: #fff;
    color: #1e3a8a;
}

/* MOBILE */
@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 26px;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .cta-btn-primary,
    .cta-btn-outline {
        width: 100%;
        margin: 0;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .offer-card {
        text-align: center;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .about-banner h1 {
        font-size: 28px;
    }

    .about-page h2 {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title1 h2 {
        font-size: 28px;
    }
}

/* about page end */

/* course page */
/* .course-card1 .btn{
    align-self: start;
}
.course-card1 {
    text-align: left;
} */
.courses-page-section {
    padding: 80px 0;
}

.course-card ul {
    list-style: none;
}

/* .course-card i {
    color: var(--accent);
    font-size: 16px;
    margin-right: 5px;
} */


/* course page end */

/* contact page start */

.contact-page-section {
    padding: 80px 0;
    background: #f8fafc;
}

/* FORM */
.contact-form-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* INPUT STYLE */
.contact-form-box .form-control,
.contact-form-box .form-select {
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
}

.contact-info-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2ff;
}

/* HEADING */
.contact-info-box h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 600;
}

.contact-info-box h3::after {
    content: "";
    width: 50px;
    height: 3px;
    background: var(--accent);
    display: block;
    margin-top: 8px;
}

/* TEXT */
.contact-info-box p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

/* BUTTON */
.contact-btn {
    background: var(--primary);
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
}

.contact-btn:hover {
    background: #1e40af;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* ICON STYLE (IMPORTANT CHANGE) */
.info-item i {
    font-size: 16px;
    margin-right: 15px;
    background: #eef2ff;
    color: var(--primary);
    padding: 10px;
    border-radius: 50%;
}

/* TEXT */
.info-item h6 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.info-item p {
    margin: 0;
    font-size: 16px;
    color: #777;
}

/* MAP */
.contact-map {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

/* MOBILE */
@media (max-width: 992px) {
    .contact-map {
        height: 300px;
    }
}

/* online tuitions */
.online-tuition-section {
    padding: 80px 0;
    background: #ffffff;
}

/* IMAGE */
.online-image img {
    width: 100%;
    border-radius: 12px;
}

.online-images {
    position: relative;
    max-width: 500px;
}

/* MAIN IMAGE */
.online-images .main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

/* BOTTOM RIGHT IMAGE */
.online-images .small-img {
    position: absolute;
    width: 180px;
    height: 200px;
    object-fit: cover;
    bottom: -50px;
    right: -50px;
    border-radius: 15px;
    border: 5px solid #fff;
    z-index: 3;
    display: none;
}

/* TOP LEFT IMAGE (NEW) */
.online-images .top-img {
    position: absolute;
    width: 180px;
    height: 200px;
    object-fit: cover;
    top: -15%;
    left: -15%;
    border-radius: 15px;
    border: 3px solid #fff;
    z-index: 3;
}

/* BACKGROUND SHAPE */
.online-images::before {
    content: "";
    position: absolute;
    width: 99%;
    height: 99%;
    background: linear-gradient(135deg, var(--accent), #ff7a18);
    top: 10px;
    left: 10px;
    border-radius: 20px;
    z-index: 1;
}

/* MOBILE */
@media (max-width: 768px) {

    .online-tuition-section {
        text-align: center;
        align-content: center;
        justify-items: center;
    }

    .online-tuition-section h2::after {
        margin: 10px auto 0;
    }

    .online-image {
        margin-top: 20px;
    }
}



/* gallery page */
.gallery-page-section {
    padding: 80px 0;
    background: #f8fafc;
}

/* IMAGE CARD */
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-page-section {
    padding: 80px 0;
    background: #f8fafc;
}

/* COMMON */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* BIG IMAGE */
.gallery-item.big img {
    width: 100%;
    height: 100%;
    max-height: 800px;
    object-fit: cover;
    padding-bottom: 20px;
}

/* SMALL IMAGES */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* HOVER ZOOM */
.gallery-item:hover img {
    transform: scale(1.08);
}

/* OVERLAY */
.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay span {
    color: #fff;
    background: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
}

.gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    font-size: 22px;
    padding: 12px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: 0.3s;
}


.whatsapp-float i {
    font-size: 22px;
}

.whatsapp-text {
    font-size: 14px;
    font-weight: 500;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}

@media (max-width: 998px) {
    .whatsapp-text {
        display: none;
    }

    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }

    .ab-im {
        justify-items: center;
    }
} */

/* COMMON */
.call-float,
.whatsapp-float {
    position: fixed;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    font-size: 24px;
    z-index: 999;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); */
    transition: 0.3s;
}

.whatsapp-text {
    font-size: 14px;
    font-weight: 500;
}

.fa-whatsapp {
    font-weight: 700;
    font-size: 28px;
}

/* WHATSAPP */
.whatsapp-float {
    bottom: 20px;
    background: #25D366;
}

/* CALL */
.call-float {
    bottom: 85px;
    background: #007bff;
}

/* HOVER */
.call-float:hover,
.whatsapp-float:hover {
    transform: translateY(-5px);
}

/* MOBILE */
@media (max-width: 768px) {

    .call-float,
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 1100px) {

    .logo-img {
        width: 200px;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0;
    }
}

.float-text {
    margin-left: 8px;
    font-size: 13px;
    display: none;
}

@media (min-width: 768px) {

    .call-float,
    .whatsapp-float {
        width: auto;
        padding: 10px 15px;
        border-radius: 50px;
    }

    .float-text {
        display: inline;
    }
}