@media (max-width: 1199.98px) {
    .banner .business {
        font-size: 68px;
    }
    .banner .grow {
        font-size: 66px;
    }
    .banner-card {
        width: 280px;
        height: 198px;
    }
}
@media (max-width: 991.98px) {
    .banner {
        padding: 80px 0 60px;
    }
    .card-stack {
        justify-content: center;
    }
    .banner .business {
        font-size: 58px;
    }
    .banner .grow {
        font-size: 56px;
    }
    .banner-card {
        width: 260px;
        height: 186px;
    }
}
@media (max-width: 767.98px) {
    .about-img {
        /* max-width: 320px; */
        width: 100% !important;
    }

    .asset-l-diamond {
        left: 261px;
        bottom: 264px;
        width: 26px;
    }

    .asset-r-stack {
        right: 7px;
        bottom: 10px;
        width: 170px;
    }
    .asset-verti-diamond {
        /* 3 stacked diamonds on right */
        right: 23px;
        bottom: 22px;
        width: 69px; /* tweak until it matches */
    }
    .asset-stars {
        left: 36px;
        bottom: 12px;
        width: 69px;
    }
    .asset-small-star {
        /* twin star shape near CTA */
        left: 60px;
        bottom: 62px;
        width: 48px;
    }
    .banner {
        padding: 80px 0 0px !important;
        background-size: contain !important;
        background-position: top;
        background-attachment: local !important;
        background: radial-gradient(850px 420px at 105% 10%, rgba(109, 152, 255, 0.22) 0%, rgba(109, 152, 255, 0.22) 35%, rgba(255, 255, 255, 0) 62%), rgba(109, 152, 255, 0.22);
    }

    .card-stack {
        width: 100%;
        height: 238px !important;
        max-width: 640px;
        margin-top: 40px;
    }

    .banner .kicker {
        font-size: 24px;
    }
    .banner .business {
        font-size: 46px;
    }
    .banner .grow {
        font-size: 44px;
    }
    .banner .tagline {
        font-size: 14px;
        letter-spacing: 0.08em;
    }
    .banner-card {
        width: 240px;
        height: 170px;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .card-stack {
        margin-top: 20px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .card-stack {
        margin-top: 20px;
    }
    .asset-l-diamond {
        left: 628px;
        top: 361px;
        width: 46px;
    }

    .asset-r-stack {
        /* 3 stacked diamonds on right */
        right: 23px;
        bottom: 22px;
        width: 339px; /* tweak until it matches */
    }
    .asset-verti-diamond {
        /* 3 stacked diamonds on right */
        right: 23px;
        bottom: 22px;
        width: 69px; /* tweak until it matches */
    }
    .asset-stars {
        left: 191px;
        bottom: 14px;
        width: 86px;
    }
    .asset-small-star {
        /* twin star shape near CTA */
        left: 60px;
        bottom: 62px;
        width: 48px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .about-img {
        /* max-width: 320px; */
        width: 576px;
    }
    .card-stack {
        margin-top: 20px;
    }
    .asset-l-diamond {
        /* small single diamond, left side */
        left: 332px;
        top: 218px;
        width: 46px;
    }

    .asset-r-stack {
        /* 3 stacked diamonds on right */
        right: 23px;
        bottom: 22px;
        width: 339px; /* tweak until it matches */
    }
    .asset-verti-diamond {
        /* 3 stacked diamonds on right */
        right: 23px;
        bottom: 22px;
        width: 69px; /* tweak until it matches */
    }
    .asset-stars {
        left: 162px;
        bottom: 32px;
        width: 148px;
    }
    .asset-small-star {
        left: 60px;
        bottom: 35px;
        width: 48px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .card-stack {
        margin-top: 20px;
    }
    .asset-l-diamond {
        /* small single diamond, left side */
        left: 628px;
        bottom: 300px;
        width: 46px;
    }

    .asset-r-stack {
        /* 3 stacked diamonds on right */
        right: 23px;
        bottom: 22px;
        width: 339px; /* tweak until it matches */
    }
    .asset-verti-diamond {
        /* 3 stacked diamonds on right */
        right: 23px;
        bottom: 22px;
        width: 69px; /* tweak until it matches */
    }
    .asset-stars {
        /* twin star shape near CTA */
        left: 510px;
        bottom: 32px;
        width: 148px;
    }
    .asset-small-star {
        /* twin star shape near CTA */
        left: 60px;
        bottom: 62px;
        width: 48px;
    }
}
@media (min-width: 768px) {
    .m-banner {
        display: none !important;
    }
    .banner {
        position: relative;

        background-size: cover;
        background-attachment: fixed;
        color: #214184;
        padding: 96px 0 98px;
    }
    .contact-banner .divider {
        border-right: 2px solid rgba(255, 255, 255, 0.6);
        height: 100px;
    }
    .contact-banner .divider-bottom {
        border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    }

    .col-md-6 {
        width: 50% !important;
    }
}
@media (min-width: 992px) {
    .col-lg-4 {
        width: 33.333% !important;
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .kicker,
    .title,
    .tagline,
    .desc {
        text-align: center;
    }
    .d-banner {
        display: none !important;
    }
    .brand-logo-abs {
        left: 0px !important;
    }
    .brand-stage {
        height: 64px;
    }
    .brand-bar {
        padding-top: 6px !important;
               
    }
    .brand-bar{
 background: radial-gradient(850px 420px at 105% 10%, rgba(109, 152, 255, 0.22) 0%, rgba(109, 152, 255, 0.22) 35%, rgba(255, 255, 255, 0) 62%), rgba(109, 152, 255, 0.22);
    }
    .brand-logo-abs {
    
    background-color: rgb(205 219 249);
}
    .thumb-item {
        width: 110px;
        height: 64px;
    }
    .thumb-track {
        animation-duration: 20s;
    }
    .thumb-item .label {
        font-size: 14px;
        top: 17px !important;
    }

    .thumb-item .sublabel {
        font-size: 9px;
        bottom: 17px;
    }
    .services-title,
    .about h2 {
        font-size: 28px !important;
    }
    .trust-line p {
        font-size: 20px !important;
    }
    .handshake-section {
        min-height: 124px !important;
    }
    .footer {
        padding: 50px 20px !important;
    }

    .divide {
        border-bottom: 2px solid rgba(255, 255, 255, 0.6);
        padding: 20px 10px;
    }
    .newsletter-form input {
        height: 40px;
    }
    .newsletter-form button {
        height: 40px;
        padding: 6px 8px !important;
    }
}
/* Typography: fluid sizes using clamp() */
.banner .kicker {
    font-size: clamp(18px, 4.2vw, 28px);
}
.banner .business {
    font-size: clamp(42px, 8vw, 76px) !important;
    line-height: 1.05;
}
.banner .grow {
    font-size: clamp(42px, 7.6vw, 74px) !important;
    line-height: 1.05;
}
.banner .tagline {
    font-size: clamp(12px, 2.5vw, 20px);
    letter-spacing: clamp(0.06em, 0.5vw, 0.12em);
    font-weight: 600;
}
.banner .desc {
    font-size: clamp(14px, 2.2vw, 17px);
    line-height: clamp(20px, 3vw, 25px);
}

.about h2 {
    font-size: clamp(30px, 7vw, 55px);
}
.services-title {
    font-size: clamp(28px, 6.2vw, 50px);
}

/* Buttons */
.banner .btn-more {
    padding: clamp(8px, 1.8vw, 12px) clamp(16px, 3vw, 28px);
    font-size: clamp(12px, 2.4vw, 15px);
}

/* Hero right-side cards (Swiper) */
.card-stack {
    width: 100%;
    height: clamp(180px, 34vw, 347px);
    max-width: 640px;
    margin-top: clamp(16px, 4vw, 20px);
}
.banner-card {
    width: clamp(220px, 40vw, 300px);
    height: clamp(150px, 30vw, 343px);
    border-radius: 18px;
}

/* “Decor assets”: hide or tame on small screens to prevent overflow */
@media (max-width: 576px) {
    .asset {
        display: block !important;
    }
}

/* Side menu: keep desktop flair, hide on small/medium */
@media (max-width: 991.98px) {
    .side-menu {
        display: block !important;
    }
}

/* Newsletter: stack neatly on mobile */
.newsletter .row {
    row-gap: 14px;
}
.newsletter-form {
    flex-wrap: wrap;
    gap: 10px;
}
.newsletter-form input {
    min-width: 220px;
    flex: 1 1 auto;
}
@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form button {
        width: 100%;
    }
}

/* Footer: padding + column dividers */
.footer {
    padding: clamp(28px, 6vw, 50px);
}
@media (min-width: 768px) {
    .contact-banner .divider {
        border-right: 2px solid rgba(255, 255, 255, 0.6);
        height: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .contact-banner .divider-bottom {
        border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    }
}
@media (max-width: 767.98px) {
    .mb-1 {
        padding-bottom: 20px !important;
    }
    .divide {
        border-bottom: 2px solid rgba(255, 255, 255, 0.6);
        padding: 18px 4px;
        margin-top: 1px;
    }
}

/* Services cards: spacing & neat stacking */
.e2e-card {
    margin-top: 0;
}
.services-grid {
    row-gap: clamp(12px, 2.2vw, 24px);
}

/* Green underline under e2e-head (kept responsive) */
.e2e-head {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.e2e-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: clamp(64px, 18vw, 96px);
    background: var(--accent, #22c55e);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.e2e-card:hover .e2e-head::after {
    width: clamp(80px, 22vw, 120px);
}

@media (max-width: 575.98px) {
    .banner {
        padding-top: 32px;
    }

    .banner .title .business {
        font-size: clamp(36px, 11vw, 46px);
    }
    .banner .title .grow {
        font-size: clamp(36px, 11vw, 46px);
    }

    .asset-r-stack {
        right: 10px;
        bottom: 27px;
        width: 131px;
    }
    .asset-stars {
        left: 12px;
        bottom: -10px;
        width: 66px;
    }
}

/* 576–767.98px (large phones / small tablets) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .banner {
        padding-top: 40px;
    }
    .banner .title .business {
        font-size: 54px;
    }
    .banner .title .grow {
        font-size: 54px;
    }
    .card-stack .swiper-slide {
        width: calc(50% - 8px) !important;
    }
}

/* 768–991.98px (tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .banner {
        padding-top: 48px;
    }
    .banner .title .business {
        font-size: 60px;
    }
    .banner .title .grow {
        font-size: 60px;
    }
    .card-stack .swiper-slide {
        width: 48% !important;
    }
    .banner .desc {
        max-width: 50ch;
    }
}

/* 992–1199.98px (laptops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .banner {
        padding: 64px 0 52px;
    }
    .banner .title .business {
        font-size: 66px;
    }
    .banner .title .grow {
        font-size: 66px;
    }
    .card-stack .swiper-slide {
        width: 46% !important;
    }
}

/* ≥1200px (desktops) */
@media (min-width: 1200px) {
    .banner {
        padding: 80px 0 64px;
    }
    .banner .title .business {
        font-size: 72px;
    }
    .banner .title .grow {
        font-size: 72px;
    }

    /* keep cards ~mobile look: twin tiles with space */
    .card-stack .swiper-slide {
        width: 44% !important;
    }
    .card-stack .swiper-wrapper {
        gap: 20px;
    }
}

/* Optional: hide mobile pagination dots to match the mock */
@media (max-width: 991.98px) {
    .card-stack .swiper-pagination {
        display: none !important;
    }
}
