/* ========================================= GLOBAL UTILITIES ========================================= */
.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.about-heading {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin: 0 0 12px;
}

/* ══════════════════════════════════════════════════════ HERO SLIDER ══════════════════════════════════════════════════════ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 560px;
    max-height: 780px;
    overflow: hidden;
    background: #111111;
}

.hs-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.6s ease;
    z-index: 1;
}

.hs-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 3;
}

.hs-slide.hs-enter-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 2;
}

.hs-slide.hs-enter-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 2;
}

.hs-slide.hs-exit-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 2;
}

.hs-slide.hs-exit-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 2;
}

.hs-slide picture,
.hs-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hs-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
}

.hs-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hs-content h1,
.hs-content h2 {
    color: #fff;
    font-size: 52px;
    font-weight: 600;
    line-height: 60px;
    text-transform: uppercase;
    max-width: 940px;
    text-align: center;
    margin: 0 auto;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
}

.hs-content p {
    color: rgba(255, 255, 255, 1);
    font-size: 20px;
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto 30px;
    text-align: center;
}

.hs-content a {
    white-space: nowrap;
}

.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 15px 32px;
    background: #1D75BC;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #1D75BC;
}

.hs-btn:hover {
    background: #ffffff;
    color: #000;
    border: 2px solid #E4003D;
    transform: translateY(-2px);
}

.hs-slide.active .hs-content h1,
.hs-slide.active .hs-content h2,
.hs-slide.active .hs-content p,
.hs-slide.active .hs-content .hs-btn {
    opacity: 0;
    transform: translateY(-32px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.hs-slide.active .hs-content h1,
.hs-slide.active .hs-content h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.hs-slide.active .hs-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.38s;
}

.hs-slide.active .hs-content .hs-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 4;
}

.hs-prev {
    left: 0px;
    background-color: #3aa934;
}

.hs-next {
    right: 0px;
    background-color: #3aa934;
}

.hs-nav:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}

.hs-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.hs-btn--white {
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    padding: 14px 30px;
    border: 2px solid #ffffff;
}

.hs-btn--white:hover {
    background-color: #0a5b99;
    border-color: #0a5b99;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .hs-content h1,
    .hs-content h2 {
        max-width: 760px;
        font-size: 42px;
        line-height: 50px;
    }

    .hs-content p {
        max-width: 560px;
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    .hero-slider {
        height: 620px;
    }

    .hs-content h1,
    .hs-content h2 {
        font-size: 32px;
        line-height: 40px;
        max-width: 640px;
    }

    .hs-content p {
        max-width: 460px;
        font-size: 15px;
    }

    .hs-nav {
        width: 42px;
        height: 42px;
    }

    .hs-nav {
        top: 80%;
    }

    .hs-prev {
        left: 80%;
    }

    .hs-next {
        right: 5%;
    }
}

@media (max-width: 575px) {
    .hero-slider {
        height: 560px;
    }

    .hs-content h1,
    .hs-content h2 {
        font-size: 30px;
        line-height: 36px;
        max-width: 100%;
    }

    .hs-content p {
        max-width: 100%;
        font-size: 15px;
    }

    .hs-btn {
        padding: 12px 22px;
        font-size: 13px;
    }

    .hs-nav {
        top: 85%;
    }

    .hs-prev {
        left: 70%;
    }

    .hs-next {
        right: 5%;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 340px;
    }

    .hs-content h1,
    .hs-content h2 {
        font-size: 30px;
        line-height: 36px;
    }

    .hs-btn {
        padding: 11px 24px;
        font-size: 14px;
    }
}

/* ══════════════════════════════════════════════════════
   FEATURE COLUMNS (3-column highlight section)
══════════════════════════════════════════════════════ */
.feature-columns {
    background: #fff;
    padding: 60px 32px;
}

.feature-columns__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-columns__item {
    padding: 40px 32px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-columns__item--green {
    background: #3aa934;
}

.feature-columns__item--blue {
    background: #0a5b99;
}

.feature-columns__item--green-light {
    background: #7fb926;
}

.feature-columns__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
}

.feature-columns__icon svg {
    width: 100%;
    height: 100%;
    color: #fff;
}

.feature-columns__item span {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
    line-height: 1.3;
}

.feature-columns__item p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    opacity: 1;
}

@media (max-width: 900px) {
    .feature-columns__wrapper {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════
   ABOUT US
══════════════════════════════════════════════════════ */
.about-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-us__content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #000;
    margin: 0 0 16px;
}

.about-us__content p {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

.about-us__main-image {
    border-radius: 4px;
    overflow: hidden;
    line-height: 0;
}

.about-us__main-image img {
    width: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .about-us {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 0;
    }
}

/* ══════════════════════════════════════════════════════
   STATS COUNTER
══════════════════════════════════════════════════════ */
.stats-counter {
    background: #0a5b99;
    padding: 40px 32px;
}

.stats-counter__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-counter__item {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.stats-counter__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    right: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.stats-counter__icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 12px;
}

.stats-counter__icon svg {
    width: 100%;
    height: 100%;
    color: #fff;
}

.stats-counter__number {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
}

.stats-counter__label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.95;
}

@media (max-width: 767px) {
    .stats-counter__wrapper {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

    .stats-counter__item:nth-child(2)::after {
        display: none;
    }

    .stats-counter__item:nth-child(odd)::after {
        display: block;
    }
}

/* ========================================= SERVICES SECTION ========================================= */
.services-section {
    position: relative;
    padding: 40px 0 60px;
    background: #F5F5F5;
    overflow: hidden;
}

.services-section .container-1200 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-header .section-tittle {
    text-align: center;
}

.services-header .about-heading {
    margin-left: auto;
    margin-right: auto;
    font-weight: 800;
    color: #111111;
    margin: 0 0 12px;
}

.services-header p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
    place-self: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    margin: 0 auto;
}

.service-list-card {
    width: 100%;
    background: transparent;
    overflow: visible;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.single-service-style1 {
    position: relative;
    display: block;
    width: 100%;
    transition: transform 300ms ease;
}

.single-service-style1:hover {
    transform: translateY(-8px);
}

.single-service-style1 .inner {
    position: relative;
    display: block;
    width: 100%;
}

.single-service-style1 .img-holder {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    /* border-radius: 8px; */
    z-index: 1;
    line-height: 0;
}

.single-service-style1 .img-holder::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 85, 114, 0.65);
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

/* ---- Overlay title text ---- */
.mu-our-teacher-social {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.mu-our-teacher-social a {
    display: inline-block;

    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;

    padding: 0 20px;

    /* Start above the card */
    transform: translateY(-120%);
    opacity: 0;

    transition:
        transform 0.45s ease 0.15s,
        opacity 0.35s ease 0.15s;

    pointer-events: auto;
}

.single-service-style1:hover .mu-our-teacher-social a {
    transform: translateY(0);
    opacity: 1;
}


.single-service-style1:hover .img-holder::before {
    transform: translateY(0);
}

.single-service-style1 .img-holder img {
    display: block;
    width: 100%;
    /* height: 320px; */
    /* aspect-ratio: 412 / 320; */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-service-style1:hover .img-holder img {
    transform: scale(1.05);
}

/* ---- Overlay title text (slides from top on hover) ---- */
.mu-our-teacher-social {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.mu-our-teacher-social a {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    padding: 0 20px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.45s ease;
    pointer-events: auto;
}

.single-service-style1:hover .mu-our-teacher-social a {
    transform: translateY(0);
    opacity: 1;
}

.single-service-style1 .img-holder .button svg {
    width: 30px;
    height: 30px;
    display: block;
    stroke: #ffffff;
    stroke-width: 2.5;
}

/* ---- View All Services button ---- */
.srv-toggle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
}

.hs-btn--yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 24px;
    background: #7FB927;
    color: #111111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #7FB927;
    border-radius: 12px;
}

.hs-btn--yellow:hover {
    background: #ffffff;
    color: #000;
    border: 2px solid #7FB927;
}

.btn-arrow {
    position: relative;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.hs-btn--yellow:hover .btn-arrow {
    transform: rotate(45deg) translate(2px, 2px);
}

@media (max-width: 991px) {
    .services-section .container-1200 {
        padding-left: 25px;
        padding-right: 25px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }
}

@media (max-width: 575px) {
    .services-section {
        padding: 35px 0 50px;
    }

    .services-section .container-1200 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .single-service-style1 .img-holder img {
        height: auto;
        min-height: 250px;
    }
}


/* ══════════════════════════════════════════════════════
   CTA BANNER (Get A Free Estimate)
══════════════════════════════════════════════════════ */
.cta-banner-section {
    padding: 30px 0;
    background: #ffffff;
}

.cta-banner {
    background: #7FB927;
    box-shadow: 0 15px 15px -8px rgba(0, 0, 0, 0.5);
    padding: 40px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-banner__text h2 {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.cta-banner__text p {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
}

.cta-banner__btn {
    flex: 0 0 auto;
    background: #095B99;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 4px;
    border: 2px solid #095B99;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta-banner__btn:hover {
    background: #ffffff;
    color: #095B99;
    transform: translateY(-2px);
}

@media (max-width: 767px) {

    .cta-banner-section {
        padding: 0px 0;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 26px;
    }

    .cta-banner__btn {
        align-self: stretch;
        text-align: center;
    }

    .cta-banner__text h3 {
        font-size: 19px;
    }
}

/* ========================================= OFFERS SECTION ========================================= */

.offers-section {
    padding: 60px 0;
    background: #ffffff;
}

.offers-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.offers-header-center h2 {
    font-size: 30px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 12px;
}

.offers-header-center p {
    font-size: 17px;
    line-height: 1.7;
    color: #000;
    margin: 0;
    max-width: 800px;
    place-self: center;
}

/* ---- Carousel ---- */
.offers-carousel {
    overflow: hidden;
    width: 100%;
}

.offers-track {
    display: flex;
    transition: transform 0.5s ease;
}

.offers-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.offer-card {
    position: relative;
    transition: transform 0.2s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
}

.offer-card>a {
    display: block;
    text-decoration: none;
}

.offer-img {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.offer-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.offer-card:hover .offer-img img {
    transform: scale(1.04);
}

/* ---- Dot indicators (pill shaped) ---- */
.offers-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.offers-dots .dot {
    width: 26px;
    height: 8px;
    border-radius: 4px;
    background: #2E5F9E;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
}

.offers-dots .dot.active {
    background: #8EC63F;
}

@media (max-width: 767px) {
    .offers-slide {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========================================= BLOGS SECTION ========================================= */
.blogs-section {
    padding: 40px 0;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    align-items: start;
}

.why-choose-header {
    text-align: center;
}

.why-choose-header p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
    place-self: center;
}

.blog-card {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    border: 1px solid #e2eef4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 40px;
}

.blog-card-img {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 7px 7px 0 0;
}

.blog-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease-in-out 0.6s;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.2, 1.2);
}

.blog-card .post-date {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    min-width: 40%;
    text-align: center;
    background: #DD1E2D;
    border-radius: 7px 7px 0 0;
    z-index: 4;
    transition: all 0.5s ease-in-out 0.5s;
}

.blog-card:hover .post-date {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.blog-card .post-date a {
    display: block;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    text-decoration: none;
}

@media (max-width: 991px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        margin-top: 20px;
    }
}

@media (max-width: 550px) {
    .blogs-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS (background image + overlay card)
══════════════════════════════════════════════════════ */
.testimonials-new {
    padding: 0 0 70px;
    background: #ffffff;
}

.testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.testimonials-header h2 {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin: 0 0 12px;
}

.testimonials-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #000;
    margin: 0;
}

.t2-media {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 400px;
}

.t2-media::after {
    background-color: rgba(0, 0, 0, 0.8);
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0.6;
}

.t2-card {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 20px;
    z-index: 30;
}

.t2-card__quote {
    position: absolute;
    /* top: -6px; */
    left: 24px;
    font-size: 40px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    z-index: 2;
}

.t2-slide {
    display: none;
    background: rgba(46, 95, 158, 0.92);
    padding: 34px 32px 28px;
}

.t2-slide.active {
    display: block;
}

.t2-text {
    font-size: 16px;
    line-height: 1.9;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.t2-card__name-bar {
    background: #3aa934;
    padding: 12px 20px;
    text-align: center;
}

.t2-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.t2-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 20;
}

.t2-dots .dot {
    width: 24px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.t2-dots .dot.active {
    background: #2E5F9E;
    transform: scale(1.15);
}

@media (max-width: 767px) {
    .t2-media {
        height: auto;
        padding: 40px 20px 50px;
    }

    .t2-card {
        max-width: 100%;
        margin: 0;
    }

    .t2-slide {
        padding: 28px 22px 24px;
    }

    .t2-text {
        font-size: 12.5px;
    }
}