/* Font import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

/* General body styling */
/* Base body styles moved to assets/css/common.css; retaining background overlay below */

/* Prevent horizontal scroll globally */
html,
body {
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/white.jpg') center/cover no-repeat;
    /* filter: blur(8px); */
    z-index: -1;
}

/* ================= Sticky Heading Styles ================= */
.sticky-heading {
    font-weight: 900;
    font-size: 50px;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 2rem;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

@media (max-width: 991.98px) {
    .sticky-heading {
        font-size: 36px;
    }
}

@media (max-width: 767.98px) {
    .sticky-heading {
        font-size: 28px;
        margin-bottom: 1.5rem;
        display: flex;
        width: 100%;
    }
}

/* Common span behavior */
.sticky-heading span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: none;
    white-space: normal;
    padding: 0 0.1em;
}

/* Left + Right colors */
.sticky-heading .left-word {
    color: #222;
    /* dark / default */
}

.sticky-heading .right-word {
    color: #002a74;
    /* accent blue */
}

/* Fade-up animation */
.sticky-heading.animate span {
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: calc(0.15s * var(--i));
}

/* Fade-up keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* ===== Mission & Vision – mobile heading alignment ===== */
@media (max-width: 767.98px) {
    .vision .col-md-6 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .vision .col-md-6 h5,
    .vision .col-md-6 h2,
    .vision .col-md-6 p {
        width: 100%;
    }
}

/* Hero section */
.hero__v6 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero__v6 .container {
    position: relative;
    z-index: 1;
    color: white;
    height: 100%;
    display: flex !important;
    /* Keep hero container as flex regardless of media query */
    align-items: center;
    /* Override block display that the media query sets */
}

/* General section styling */
.section {
    padding: 50px 0 50px 0;
}

@media (min-width: 992px) {
    .container {
        display: flex;
        gap: 50px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .left,
    .right {
        flex: 1;
    }
}

@media (max-width: 991.98px) {
    .container {
        display: block;
        /* Let Bootstrap or standard block layout take over */
        padding: 0 20px;
    }

    .left,
    .right {
        width: 100%;
    }

    .left {
        margin-bottom: 30px;
    }
}

/* LEFT SIDE */
.left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
}

/* RIGHT SIDE */
.right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tip {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
    will-change: opacity, transform;
}

.tip.active {
    opacity: 1;
    transform: translateY(0);
}

.number {
    color: #364ad0;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
}

.title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #222;
}

.description {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    max-width: 600px;
}

.link {
    color: #4a60f0;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.link:hover {
    text-decoration: underline;
}

/* Center-aligned sections (e.g., About Us) */
.center-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/*Read More Button

        /* ===============================
   Read More Button (Reduced Size)
   =============================== */
/* ===============================
   Read More Button (Reduced Size)
   Primary Color: #002a74
   =============================== */
/* ===============================
   Read More Button (Reduced Size)
   Primary:   #002a74
   Secondary: #58ea01
   =============================== */

button.read-more {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    width: 9rem;
    height: auto;
    transition: none;

    --circle-size: 2.4rem;
    --border-radius: 1.25rem;
    --arrow-left: 0.45rem;
    --arrow-width: 0.85rem;
    --arrow-height: 0.1rem;
    --head-top: -0.22rem;
    --head-right: 0.05rem;
    --head-size: 0.5rem;
    --border-width: 0.1rem;
    --text-margin: 1.6rem;
    --text-padding: 0.55rem;
    --translate: 0.7rem;
    --font-size: 12px;
}

button.read-more .circle {
    position: relative;
    display: block;
    margin: 0;
    width: var(--circle-size);
    height: var(--circle-size);
    background: #002a74;
    /* Primary */
    border-radius: var(--border-radius);
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

button.read-more .circle .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #58ea01;
    /* Secondary */
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

button.read-more .circle .icon.arrow {
    left: var(--arrow-left);
    width: var(--arrow-width);
    height: var(--arrow-height);
    background: none;
}

button.read-more .circle .icon.arrow::before {
    content: "";
    position: absolute;
    top: var(--head-top);
    right: var(--head-right);
    width: var(--head-size);
    height: var(--head-size);
    border-top: var(--border-width) solid #58ea01;
    /* Secondary */
    border-right: var(--border-width) solid #58ea01;
    transform: rotate(45deg);
}

button.read-more .button-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--text-padding) 0;
    margin-left: var(--text-margin);
    color: #002a74;
    /* Primary */
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    font-size: var(--font-size);
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

/* Hover */
button.read-more:hover .circle {
    width: 100%;
    background: #002a74;
}

button.read-more:hover .circle .icon.arrow {
    background: #58ea01;
    transform: translateX(var(--translate));
}

button.read-more:hover .button-text {
    color: #58ea01;
    /* Secondary */
}

/* ===============================
   Tablet
   =============================== */

@media (max-width: 991.98px) {
    button.read-more {
        width: 8rem;

        --circle-size: 2.1rem;
        --border-radius: 1.1rem;
        --arrow-left: 0.4rem;
        --arrow-width: 0.75rem;
        --arrow-height: 0.09rem;
        --head-top: -0.2rem;
        --head-right: 0.045rem;
        --head-size: 0.45rem;
        --border-width: 0.09rem;
        --text-margin: 1.5rem;
        --text-padding: 0.5rem;
        --translate: 0.6rem;
        --font-size: 11px;
    }
}

/* ===============================
   Mobile
   =============================== */

@media (max-width: 480px) {
    button.read-more {
        width: 7rem;

        --circle-size: 1.9rem;
        --border-radius: 1rem;
        --arrow-left: 0.35rem;
        --arrow-width: 0.65rem;
        --arrow-height: 0.08rem;
        --head-top: -0.18rem;
        --head-right: 0.04rem;
        --head-size: 0.4rem;
        --border-width: 0.08rem;
        --text-margin: 1.4rem;
        --text-padding: 0.45rem;
        --translate: 0.5rem;
        --font-size: 10px;
    }

    button.read-more .button-text {
        top: -0.15rem;
    }
}

/* ===============================
   Crew Card Variant
   =============================== */

.crew-card .read-more {
    width: 7rem;

    --circle-size: 2rem;
    --border-radius: 0.9rem;
    --arrow-left: 0.35rem;
    --arrow-width: 0.65rem;
    --arrow-height: 0.09rem;
    --head-top: -0.18rem;
    --head-right: 0.04rem;
    --head-size: 0.4rem;
    --border-width: 0.09rem;
    --text-margin: 1.7rem;
    --text-padding: 0.45rem;
    --translate: 0.5rem;
    --font-size: 10px;
}

.crew-card .read-more .button-text {
    color: #fff;
}

.crew-card .read-more:hover .button-text {
    color: #58ea01;
}


/* ===============================
   Learn More Button (LARGER)
   =============================== */

button.learn-more {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    background: transparent;
    padding: 0;
    width: 11.5rem;
    /* ↑ from 9rem */
    font-size: inherit;

    --circle-size: 3rem;
    /* ↑ from 2.4rem */
    --border-radius: 1.6rem;
    /* ↑ */
    --arrow-left: 0.6rem;
    /* ↑ */
    --arrow-width: 1.05rem;
    /* ↑ */
    --arrow-height: 0.12rem;
    /* ↑ */
    --head-top: -0.28rem;
    /* ↑ */
    --head-right: 0.07rem;
    /* ↑ */
    --head-size: 0.62rem;
    /* ↑ */
    --border-width: 0.12rem;
    /* ↑ */
    --text-margin: 2.1rem;
    /* ↑ */
    --text-padding: 0.7rem;
    /* ↑ */
    --translate: 0.9rem;
    /* ↑ */
    --font-size: 15px;
    /* ↑ */
}

button.learn-more .circle {
    position: relative;
    display: block;
    width: var(--circle-size);
    height: var(--circle-size);
    background: #002a74;
    /* PRIMARY */
    border-radius: var(--border-radius);
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

button.learn-more .circle .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

button.learn-more .circle .icon.arrow {
    left: var(--arrow-left);
    width: var(--arrow-width);
    height: var(--arrow-height);
    background: none;
}

button.learn-more .circle .icon.arrow::before {
    content: "";
    position: absolute;
    top: var(--head-top);
    right: var(--head-right);
    width: var(--head-size);
    height: var(--head-size);
    border-top: var(--border-width) solid #58ea01;
    /* SECONDARY */
    border-right: var(--border-width) solid #58ea01;
    transform: rotate(45deg);
}

button.learn-more .button-text {
    position: absolute;
    inset: 0;
    padding: var(--text-padding) 0;
    margin-left: var(--text-margin);
    color: #002a74;
    /* PRIMARY */
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    font-size: var(--font-size);
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

/* Hover (same behavior as Read More) */
button.learn-more:hover .circle {
    width: 100%;
    background: #002a74;
}

button.learn-more:hover .circle .icon.arrow {
    background: #58ea01;
    transform: translateX(var(--translate));
}

button.learn-more:hover .button-text {
    color: #58ea01;
}

/* ===============================
   Tablet
   =============================== */

@media (max-width: 991.98px) {
    button.learn-more {
        width: 10rem;

        --circle-size: 2.6rem;
        --border-radius: 1.4rem;
        --arrow-left: 0.52rem;
        --arrow-width: 0.9rem;
        --arrow-height: 0.11rem;
        --head-top: -0.24rem;
        --head-right: 0.06rem;
        --head-size: 0.55rem;
        --border-width: 0.11rem;
        --text-margin: 1.9rem;
        --text-padding: 0.62rem;
        --translate: 0.75rem;
        --font-size: 13px;
    }
}

/* ===============================
   Mobile
   =============================== */

@media (max-width: 480px) {
    button.learn-more {
        width: 8.8rem;

        --circle-size: 2.3rem;
        --border-radius: 1.25rem;
        --arrow-left: 0.45rem;
        --arrow-width: 0.8rem;
        --arrow-height: 0.1rem;
        --head-top: -0.22rem;
        --head-right: 0.05rem;
        --head-size: 0.5rem;
        --border-width: 0.1rem;
        --text-margin: 1.7rem;
        --text-padding: 0.55rem;
        --translate: 0.65rem;
        --font-size: 12px;
    }

    button.learn-more .button-text {
        top: -0.12rem;
    }
}

/* ===============================
   Crew Card Variant (LARGER)
   =============================== */

.crew-card .learn-more {
    width: 8.8rem;

    --circle-size: 2.5rem;
    --border-radius: 1.2rem;
    --arrow-left: 0.45rem;
    --arrow-width: 0.8rem;
    --arrow-height: 0.11rem;
    --head-top: -0.22rem;
    --head-right: 0.05rem;
    --head-size: 0.5rem;
    --border-width: 0.11rem;
    --text-margin: 2rem;
    --text-padding: 0.6rem;
    --translate: 0.65rem;
    --font-size: 12px;
}

.crew-card .learn-more .button-text {
    color: #fff;
}

.crew-card .learn-more:hover .button-text {
    color: #58ea01;
}

/* Responsive adjustments for Learn More Button */
@media (max-width: 991.98px) {
    button.learn-more {
        width: 10rem;
        --circle-size: 2.5rem;
        --border-radius: calc(1.625rem * 2.5 / 3);
        --arrow-left: calc(0.625rem * 2.5 / 3);
        --arrow-width: calc(1.125rem * 2.5 / 3);
        --arrow-height: calc(0.125rem * 2.5 / 3);
        --head-top: calc(-0.29rem * 2.5 / 3);
        --head-right: calc(0.0625rem * 2.5 / 3);
        --head-size: calc(0.625rem * 2.5 / 3);
        --border-width: calc(0.125rem * 2.5 / 3);
        --text-margin: 1.8rem;
        --text-padding: 0.6rem;
        --translate: calc(1rem * 2.5 / 3);
    }
}

@media (max-width: 480px) {
    button.learn-more {
        width: 8rem;
        --circle-size: 2rem;
        --border-radius: calc(1.625rem * 2 / 3);
        --arrow-left: calc(0.625rem * 2 / 3);
        --arrow-width: calc(1.125rem * 2 / 3);
        --arrow-height: calc(0.125rem * 2 / 3);
        --head-top: calc(-0.29rem * 2 / 3);
        --head-right: calc(0.0625rem * 2 / 3);
        --head-size: calc(0.625rem * 2 / 3);
        --border-width: calc(0.125rem * 2 / 3);
        --text-margin: 1.6rem;
        --text-padding: 0.5rem;
        --translate: calc(1rem * 2 / 3);
        --font-size: 14px;
    }

    @media (max-width: 480px) {
        button.learn-more .button-text {
            top: -0.2rem;
            /* Move text slightly above the icon */
        }
    }
}

.crew-card .learn-more {
    width: 8rem;
    /* reduce overall button width */
    --circle-size: 2.2rem;
    /* smaller circle */
    --border-radius: 1rem;
    --arrow-left: 0.4rem;
    --arrow-width: 0.8rem;
    --arrow-height: 0.1rem;
    --head-top: -0.2rem;
    --head-right: 0.05rem;
    --head-size: 0.45rem;
    --border-width: 0.1rem;
    --text-margin: 2rem;
    --text-padding: .5rem;
    --translate: 0.6rem;
    --font-size: 11px;
}

.crew-card .learn-more .button-text {
    color: #fff;
    /* ✅ text white */
}


/* On hover → white text stays, but circle expands */
.crew-card .learn-more:hover .button-text {
    color: #fff;
}

/* ================= Crew Carousel Styles (Grouped) ================= */
.crew-carousel {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    position: relative;
    perspective: 1000px;
    overflow: hidden;
    margin: 0 auto;
}

.crew-track {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.crew-card {
    position: absolute;
    left: 50%;
    margin-left: -140px;
    /* Half of width 280px */
    width: 280px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.8s ease, opacity 0.4s ease;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    background-color: white;
}



.crew-card img {
    width: 100%;
    height: 60%;
    object-fit: cover;
    display: block;
    filter: blur(4px);
    transition: filter 0.8s ease;
}

.crew-card.center img {
    filter: blur(0px);
}

.crew-content {
    height: 40%;
    width: 100%;
    padding: 15px;
    background-color: white;
    color: #111;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.crew-content h3 {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 5px 0 10px 0;
    padding: 0;
    color: #111;
    width: 100%;
    line-height: 1.2;
}

.crew-content p,
.crew-content .subheading {
    font-size: 0.82rem;
    margin: 0;
    padding: 0;
    color: #080808 !important;
    /* Ensure consistency */
    text-align: center;
    line-height: 1.4;
    width: 100%;
    font-weight: 400;
}

/* Set proper stacking order and transforms */
.crew-card.center {
    z-index: 10;
    transform: scale(1.1);
}

.crew-card.right-1 {
    z-index: 8;
    transform: translateX(200px) scale(0.9);
    opacity: 0.8;
    /* filter: grayscale(80%); */
    visibility: visible;
}

.crew-card.right-2 {
    z-index: 6;
    transform: translateX(400px) scale(0.8);
    opacity: 0.6;
    /* filter: grayscale(100%); */
    visibility: visible;
}

.crew-card.left-1 {
    z-index: 8;
    transform: translateX(-200px) scale(0.9);
    opacity: 0.8;
    /* filter: grayscale(80%); */
    visibility: visible;
}

.crew-card.left-2 {
    z-index: 6;
    transform: translateX(-400px) scale(0.8);
    opacity: 0.6;
    /* filter: grayscale(100%); */
    visibility: visible;
}

.crew-card.hidden {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.crew-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #002a74;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.crew-arrow:hover {
    background: #002a74;
    color: #58ea01;
}

.crew-left {
    left: 20px;
}

.crew-right {
    right: 20px;
}

/* Responsive Crew Carousel */
@media (max-width: 991.98px) {

    /* Tablet landscape and below */
    .crew-carousel {
        height: 400px;
        height: 380px;
        max-width: 100%;
    }

    .portfolio .crew-carousel {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .crew-card {
        min-height: 340px;
        height: 340px;
    }

    .crew-card.center {
        transform: scale(1.05);
    }

    .crew-card.right-1 {
        transform: translateX(140px) scale(0.85);
        /* Reduced from 160 */
    }

    .crew-card.right-2 {
        transform: translateX(280px) scale(0.75);
        /* Reduced from 320 */
    }

    .crew-card.left-1 {
        transform: translateX(-140px) scale(0.85);
        /* Reduced from 160 */
    }

    .crew-card.left-2 {
        transform: translateX(-280px) scale(0.75);
        /* Reduced from 320 */
    }

    .crew-content h3 {
        font-size: 1.1rem;
    }

    .crew-content p {
        font-size: 0.85rem;
    }

    .crew-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .crew-left {
        left: 10px;
    }

    .crew-right {
        right: 10px;
    }

    .crew-content {
        padding: 10px;
        font-size: 0.85rem;
        background-color: white;
        color: #111;
        position: static;
        height: 40%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .crew-content h3 {
        color: #111;
        font-size: 1.05rem;
        margin: 5px 0 8px 0;
    }

    .crew-content p,
    .crew-content .subheading {
        font-size: 0.78rem;
        line-height: 1.3;
        margin: 0;
    }
}

@media (max-width: 767.98px) {

    /* Tablet portrait and mobile */
    .crew-carousel {
        height: 320px;
        max-width: 100%;
    }

    .portfolio .crew-carousel {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .crew-card {
        width: 260px;
        /* Slightly narrower on tablet */
        margin-left: -130px;
        min-height: 320px;
        height: 320px;
    }

    .crew-card.center {
        transform: scale(1.0);
    }

    .crew-card.right-1 {
        transform: translateX(100px) scale(0.8);
        opacity: 0.7;
    }

    .crew-card.right-2 {
        transform: translateX(200px) scale(0.7);
        opacity: 0;
        visibility: hidden;
    }

    .crew-card.left-1 {
        transform: translateX(-100px) scale(0.8);
        opacity: 0.7;
    }

    .crew-card.left-2 {
        transform: translateX(-200px) scale(0.7);
        opacity: 0;
        visibility: hidden;
    }

    .crew-content h3 {
        font-size: 1rem;
    }

    .crew-content p {
        font-size: 0.8rem;
    }

    .crew-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .crew-content {
        padding: 8px;
        font-size: 0.8rem;
        background-color: white;
        color: #111;
        position: static;
        height: 40%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .crew-content h3 {
        color: #111;
        font-size: 0.95rem;
        margin: 4px 0 6px 0;
    }

    .crew-content p,
    .crew-content .subheading {
        font-size: 0.75rem;
        line-height: 1.25;
        margin: 0;
    }
}

@media (max-width: 480px) {

    /* Mobile */
    .crew-carousel {
        height: 260px;
        max-width: 100%;
    }

    .crew-track {
        justify-content: center;
        align-items: center;
    }

    .portfolio .crew-carousel {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .crew-card {
        width: calc(100% - 90px);
        /* Leave space for arrows */
        max-width: 280px;
        margin-left: calc(-50% + 45px);
        /* Center responsive card */
        min-height: 260px;
        height: 260px;
    }

    .crew-card.center {
        transform: scale(1);
        opacity: 1;
        filter: none;
        visibility: visible;
    }

    .crew-card.right-1,
    .crew-card.right-2,
    .crew-card.left-1,
    .crew-card.left-2 {
        visibility: hidden;
        opacity: 0;
    }

    .crew-content h3 {
        font-size: 0.95rem;
    }

    .crew-content p {
        font-size: 0.75rem;
    }

    .crew-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }

    .crew-left {
        left: 5px;
    }

    .crew-right {
        right: 5px;
    }

    .crew-content {
        padding: 6px;
        font-size: 0.75rem;
        background-color: white;
        color: #111;
        position: static;
        height: 40%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .crew-content h3 {
        color: #111;
        font-size: 0.9rem;
        margin: 0 0 2px 0;
    }

    .crew-content p,
    .crew-content .subheading {
        font-size: 0.72rem;
        line-height: 1.2;
        margin: 0;
    }
}

/* ================= End Crew Carousel Styles ================= */

/* About Section */
.about__v4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;

}

.about__v4 h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
}

/* Responsive Media Queries */

/* Tablet and below (max-width: 900px) */
@media (max-width: 900px) {

    /* DO NOT re-enable flex on .container here — already handled above */
    .left,
    .right {
        flex: unset;
        width: 100%;
    }

    .title {
        font-size: 32px;
    }

    .description {
        font-size: 15px;
        max-width: 100%;
    }

    .section {
        padding: 60px 0 80px 0;
    }

    .about__v4 {
        padding: 40px 15px;
    }

    .about__v4 h2 {
        font-size: 3rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {

    .hero__v6 .container {
        padding: 0 15px !important;
    }

    .section {
        padding: 50px 0 60px 0;
    }

    .container {
        display: block !important;
        /* Ensure block layout on mobile */
        padding: 0 10px !important;
    }

    .title {
        font-size: 28px;
    }

    .description {
        font-size: 14px;
    }

    .number {
        font-size: 18px;
    }

    .about__v4 {
        padding: 30px 10px;
    }

    .about__v4 h2 {
        font-size: 2rem;
    }
}

/* Make sure portfolio section layout doesn't inherit "about" styles */
.portfolio .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    /* centers carousel */
}

/* ================= Services Section Styles (Grouped) ================= */



/* Services Section */
.service {
    display: flex;
    flex-direction: column;
    /* stack image and content */
    align-items: flex-start;
    /* left align content */
    text-align: left;
    background: #fff;
    border-radius: 18px;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); */
    padding: 30px 20px;
    transition: box-shadow 0.3s;
}

.service:hover {
    box-shadow: 0 6px 24px rgba(55, 111, 223, 0.13);
}

/* Container */
.services .container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 991.98px) {
    .services .container {
        flex-direction: column;
        gap: 30px;
    }

    .services .left,
    .services .right {
        width: 100%;
        flex: none;
    }

    .services .left {
        margin-top: 0;
        margin-bottom: 24px;
    }

    .services .right {
        gap: 20px;
    }
}

/* Left & Right Columns */
.services .left,
.services .right {
    flex: 1;
    /* equal width */
}

.services .left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 24px;
}

.services .right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    /* left align services */
    text-align: left;
}

/* Service Image */
.service-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-bottom: 20px;
    background: transparent;
    border-radius: 12px;
    box-shadow: none;
}

.service-image img {
    width: 100%;
    max-width: 420px;
    height: 260px;
    border-radius: 12px;
    object-fit: fill;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}


/* Service Content */
.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 6px;
}

.service-content .number {
    color: #376fdf;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 2px;
}

.service-content .title {
    font-size: 24px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

.service-content .description {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
}

.service-content a {
    color: #376fdf;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    margin-top: 2px;
}

.service-content a:hover {
    text-decoration: underline;
}

/* Responsive Services Section */
/* Consolidated mobile rules for Services */
@media (max-width: 900px) {
    .services .container {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .services .left,
    .services .right {
        width: 100%;
        flex: none;
    }

    .extra-services {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .service-image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .service-image img {
        width: 100%;
        height: 100%;
        max-height: 200px;
        object-fit: fill;
        border-radius: 12px;
    }

    .service-content {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .service-content .title {
        font-size: 18px;
        text-align: center;
        font-family: 'Poppins', sans-serif;
    }

    .service-content .description {
        font-size: 14px;
        text-align: center;
        font-family: 'Poppins', sans-serif;
    }
}

@media (max-width: 480px) {
    .services {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .service-image {
        max-width: 260px;
    }

    .service-image img {
        height: 100%;
        max-height: 160px;
        object-fit: fill;
    }

    .service-content .title {
        font-size: 16px;
    }

    .service-content .description {
        font-size: 13px;
    }
}


/* ================= End Services Section Styles ================= */
/* .custom-navbar {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            border-radius: 15px;
            padding: 10px 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            z-index: 999;
        } */



.vision-image img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 6px 18px rgba(9, 9, 9, 0.347);
}

/* Animation styles */
.vision-tile {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.vision-tile-left {
    opacity: 0;
    transform: translateX(-50px);
}

.vision-tile-right {
    opacity: 0;
    transform: translateX(50px);
}

.vision-tile.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.vision {
    padding-bottom: 100px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {

    /* Tablet and below */
    .vision {
        padding-bottom: 80px;
    }

    .vision-image img {
        border-radius: 30px;
    }

    .experience-badge {
        bottom: -20px !important;
        /* Adjust inline style override */
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .experience-badge .fs-3 {
        font-size: 1.5rem !important;
        /* Smaller counter font */
    }

    .vision-tile-left {
        transform: translateX(-40px);
    }

    .vision-tile-right {
        transform: translateX(40px);
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {

    /* Mobile */
    .vision {
        padding-bottom: 60px;
    }

    .vision-image img {
        border-radius: 20px;
    }

    .experience-badge {
        bottom: -15px !important;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        white-space: nowrap;
        /* Prevent text wrapping if needed */
    }

    .experience-badge .fs-3 {
        font-size: 1.2rem !important;
    }

    .vision-tile-left {
        transform: translateX(-30px);
    }

    .vision-tile-right {
        transform: translateX(30px);
    }

    .row {
        flex-direction: column;
        /* Ensure stacking */
    }

    .col-md-6 {
        width: 100%;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }

    .mb-4 {
        margin-bottom: 2.5rem !important;
        /* Increase space between image and text */
    }
}

@media (max-width: 575.98px) {

    /* Extra small mobile */
    .experience-badge {
        padding: 2px 1px;
        font-size: 0.75rem;
    }

    .experience-badge .fs-3 {
        font-size: 1rem !important;
    }
}

/* ================================
   Global Container Adjustments (Desktop only)
=================================*/
@media (min-width: 992px) {
    .container:not(.testimonials__v2 .container):not(.contact__v2 .container):not(.footer .container) {
        display: flex;
        gap: 10px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

/* ================================
   Testimonials Container
=================================*/
.testimonials__v2 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: block;
}

.testimonials__v2 .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.testimonials__v2 .col-md-6,
.testimonials__v2 .col-lg-4 {
    padding-right: 15px;
    padding-left: 15px;
}

.testimonials__v2 .testimonial {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.testimonials__v2.section {
    padding: 80px 0;
}

.testimonials__v2 .testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ================================
   Contact Us Container
=================================*/
/* Contact Section */
.contact__v2 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: block;
}

.contact__v2 .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.contact__v2 .col-md-6,
.contact__v2 .col-lg-6 {
    padding-right: 15px;
    padding-left: 15px;
}

.contact__v2.section {
    padding: 80px 0;
}

.contact-tile {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.contact-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .contact__v2 .row {
        flex-direction: column;
        margin-right: 0;
        margin-left: 0;
    }

    .contact__v2 .col-md-6,
    .contact__v2 .col-lg-6 {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 30px;
    }

    .contact__v2.section {
        padding: 60px 20px;
    }
}

/* Responsive: Mobile */
@media (max-width: 576px) {
    .contact__v2.section {
        padding: 40px 15px;
    }

    .contact-tile {
        padding: 1.5rem;
    }

    .contact__v2 .row {
        flex-direction: column;
    }

    .contact__v2 .col-md-6,
    .contact__v2 .col-lg-6 {
        margin-bottom: 20px;
    }
}



/* ================================
   Footer Container
=================================*/

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: block;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.footer .col-md-4,
.footer .col-md-5,
.footer .col-md-7,
.footer .col-xl-8,
.footer .col-xl-4 {
    padding-right: 15px;
    padding-left: 15px;
}

/* Align text left, icons right */
.footer .credits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* stack nicely on mobile */
}

/* Social Buttons Wrapper */
.footer .credits .rounded-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
    text-align: right;
}

/* Testimonials Swiper styling */
.testimonials__v2 .testimonials-swiper-container {
    width: 100%;
    position: relative;
    padding: 20px 5px;
    /* space for nav buttons */
    box-sizing: border-box;
    min-height: 340px;
    overflow: hidden;
    /* 🔑 stops horizontal overflow */
}

.testimonials__v2 .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.testimonials__v2 .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.testimonials__v2 .testimonial {
    max-width: 420px;
    width: 100%;
    height: 300px;
    /* fixed card height for uniformity */
    box-sizing: border-box;
    padding: 20px;
    overflow: auto;
    /* handle extra content inside card */
    background: #f3f3f3;
}

/* Show avatar at top-center and place quote under it visually */
.testimonials__v2 .testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.testimonials__v2 .testimonial-author {
    order: 1;
    /* place author visually before the blockquote */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.testimonials__v2 .testimonial-author .author-img img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.testimonials__v2 .testimonial blockquote {
    order: 2;
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.testimonials__v2 .testimonial .lh-base {
    font-size: 0.9rem;
}

.testimonials__v2 .swiper-button-prev,
.testimonials__v2 .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002a74;
    z-index: 20;
}

.testimonials__v2 .swiper-button-prev {
    left: 1px;
}

.testimonials__v2 .swiper-button-next {
    right: 1px;
}

.testimonials__v2 .swiper-pagination {
    margin-top: 12px;
}

.testimonials__v2 .swiper-pagination-bullet {
    background: #cbd5e1;
    opacity: 1;
}

.testimonials__v2 .swiper-pagination-bullet-active {
    background: #002a74;
}

@media (max-width: 767.98px) {
    .testimonials__v2 .testimonials-swiper-container {
        padding: 10px 16px;
        min-height: 260px;
    }

    .testimonials__v2 .testimonial {
        height: 220px;
        padding: 14px;
    }

    .testimonials__v2 .swiper-button-prev,
    .testimonials__v2 .swiper-button-next {
        width: 36px;
        height: 36px;
        left: 8px;
        right: 8px;
    }
}

@media (min-width: 768px) {
    .testimonials__v2 .testimonial {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }
}

/* ================================
   Social Buttons
=================================*/
.rounded-social-buttons .social-button {
    display: inline-flex;
    /* keeps them in a row */
    align-items: center;
    /* center vertically */
    justify-content: center;
    /* center horizontally */
    width: 2.125rem;
    height: 2.125rem;
    border: 0.125rem solid transparent;
    border-radius: 50%;
    font-size: 1.25rem;
    color: #fefefe;
    transition: all 0.5s ease;
}

/* Hover rotate effect */
.rounded-social-buttons .social-button:hover,
.rounded-social-buttons .social-button:focus {
    transform: rotate(360deg);
}

/* Icon Sizes */
.rounded-social-buttons .fa-twitter,
.rounded-social-buttons .fa-facebook-f,
.rounded-social-buttons .fa-linkedin,
.rounded-social-buttons .fa-tiktok,
.rounded-social-buttons .fa-youtube,
.rounded-social-buttons .fa-instagram {
    font-size: 20px;
}

/* Facebook */
.rounded-social-buttons .social-button.facebook {
    background: #3b5998;
}

.rounded-social-buttons .social-button.facebook:hover {
    color: #3b5998;
    background: #fff;
    border-color: #3b5998;
}

/* Twitter */
.rounded-social-buttons .social-button.twitter {
    background: #55acee;
}

.rounded-social-buttons .social-button.twitter:hover {
    color: #55acee;
    background: #fff;
    border-color: #55acee;
}

/* LinkedIn */
.rounded-social-buttons .social-button.linkedin {
    background: #007bb5;
}

.rounded-social-buttons .social-button.linkedin:hover {
    color: #007bb5;
    background: #fff;
    border-color: #007bb5;
}

/* TikTok */
.rounded-social-buttons .social-button.tiktok {
    background: #000;
}

.rounded-social-buttons .social-button.tiktok:hover {
    color: #000;
    background: #fff;
    border-color: #000;
}

/* YouTube */
.rounded-social-buttons .social-button.youtube {
    background: #bb0000;
}

.rounded-social-buttons .social-button.youtube:hover {
    color: #bb0000;
    background: #fff;
    border-color: #bb0000;
}

/* Instagram */
.rounded-social-buttons .social-button.instagram {
    background: #125688;
}

.rounded-social-buttons .social-button.instagram:hover {
    color: #125688;
    background: #fff;
    border-color: #125688;
}

/* ================================
   Responsive Adjustments
=================================*/
@media (max-width: 900px) {
    .container:not(.testimonials__v2 .container):not(.contact__v2 .container):not(.footer .container) {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .testimonials__v2 .container,
    .contact__v2 .container,
    .footer .container {
        padding: 0 15px;
        display: block;
    }
}

@media (max-width: 767px) {

    .testimonials__v2 .col-md-6,
    .testimonials__v2 .col-lg-4,
    .contact__v2 .col-md-6,
    .contact__v2 .col-lg-6,
    .footer .col-md-4,
    .footer .col-md-5,
    .footer .col-md-7,
    .footer .col-xl-8,
    .footer .col-xl-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* On mobile, icons go below text left-aligned */
    .footer .credits {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer .credits .rounded-social-buttons {
        margin-left: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .container:not(.testimonials__v2 .container):not(.contact__v2 .container):not(.footer .container) {
        gap: 20px;
        padding: 0 10px;
    }

    .testimonials__v2 .container,
    .contact__v2 .container,
    .footer .container {
        padding: 0 10px;
        display: block;
    }
}

.services {
    padding-top: 50px;
    padding-bottom: 50px;

    /* optional: soft shadow */
}

.extra-services {
    display: none;
    animation: fadeInService 0.5s ease-in-out forwards;
}

.extra-services.active {
    display: block;
}

@keyframes fadeInService {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.toggle-btn {
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    color: #333;
    transition: color 0.3s;
}

.toggle-btn:hover {
    color: #002a74;

}

.toggle-btn {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.partners-section {
    width: 100%;
    padding-top: 50px;
}

/* The white box container */
.partners-container {
    background-color: transparent;
    border-radius: 0.75rem;
    /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0); */
    padding: 2rem 1rem;
    margin: 0 auto;
    text-align: center;
    max-width: 1100px;
}

/* Section title styling */
.partners-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    /* dark gray */
    margin-bottom: 0.5rem;
    position: relative;
}

.partners-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #58ea01;
    /* accent color */
    margin: 8px auto 0;
    border-radius: 2px;
}



.partners-subheading {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
    /* lighter gray */
    margin-bottom: 1.5rem;
}

/* The main container for the scrolling logos */
.scroller {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.scroller__inner {
    display: flex;
    flex-wrap: nowrap;
    gap: .1rem;
    animation: scroll 25s linear infinite;
    width: fit-content;
}

/* The animation keyframes */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.scroller:hover .scroller__inner {
    animation-play-state: paused;
}

/* Styling for individual logos */
.logo-item {
    flex-shrink: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-height: 40px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease-in-out;
}

/* Reveal color and increase opacity on hover */
.logo-item:hover img {
    filter: grayscale(100%);
    opacity: 1;
    transform: scale(1.1);
}

/* Tablet styles (641px to 1024px) */
@media (max-width: 1024px) {
    .partners-container {
        max-width: 90%;
        padding: .1rem;
    }

    .partners-heading {
        font-size: 1.5rem;
    }

    .partners-subheading {
        font-size: 0.9rem;
    }

    .scroller__inner {
        gap: 1rem;
        animation: scroll 20s linear infinite;
    }

    .logo-item {
        width: 120px;
    }

    .logo-item img {
        max-height: 32px;
    }
}

/* Mobile styles (up to 640px) */
@media (max-width: 640px) {
    .partners-container {
        max-width: 95%;
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .partners-heading {
        font-size: 1.25rem;
    }

    .partners-subheading {
        font-size: 0.8rem;
    }

    .scroller__inner {
        gap: 0.75rem;
        animation: scroll 15s linear infinite;
    }

    .logo-item {
        width: 100px;
    }

    .logo-item img {
        max-height: 28px;
    }

    .scroller {
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }
}

.subheading {
    color: #6c757d;
    /* A good, neutral dark gray */
    font-size: 1.1rem;
    /* Slightly larger than standard body text */
    font-weight: 200;
    /* Regular weight */
    line-height: 1.6;
    /* For good readability */
}

.crew-content .subheading {
    color: #444;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.service-content p {
    font-size: 1rem;
    /* Slightly larger than body text */
    font-weight: 500;
    /* Regular weight */
    line-height: 1.6;
    /* Readability */
    /* color: gray !important; */
    /* Force gray if Bootstrap overrides */
}

* {
    font-family: 'Poppins', sans-serif !important;
}

/* ================= Service Carousel - Show/Hide Content ================= */

/* Hide all service content by default */
.right [data-service] {
    display: none;
    opacity: 0;
    animation: none;
}

/* Show only active service content with fade-up animation */
.right [data-service].active {
    display: block;
    opacity: 1;
    animation: fadeUpService 0.35s ease-out forwards;
}

/* Fade-up animation for service content */
@keyframes fadeUpService {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animate inner service-content for snappier, more consistent fade-up */
.right [data-service].active .service-content {
    animation: fadeUpService 0.35s ease-out forwards;
    will-change: opacity, transform;
}

/* Highlight active carousel card */
.offer-card {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.offer-card.active {
    filter: brightness(1.3);
    transform: scale(1.05);
}

/* Make author image sit at the top center and reduce sizes */
.testimonials__v2 .testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonials__v2 .testimonial-author .author-img img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Smaller text sizes for compact cards */
.testimonials__v2 .testimonial blockquote {
    font-size: 0.9rem;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.testimonials__v2 .testimonial .lh-base {
    font-size: 0.85rem;
}

/* Hide native scrollbars but keep scrolling functional */
.testimonials__v2 .testimonial {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.testimonials__v2 .testimonial::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

/* Ensure pagination stays below the content */
.testimonials__v2 .swiper-pagination {
    position: relative;
    z-index: 10;
}

/* ================= AI Section Styles ================= */
.ai-section {
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ai-container {
    position: relative;
    z-index: 1;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.ai-header {
    text-align: center;
    margin-bottom: 60px;
}

.min-subtitle {
    font-size: 18px;
    color: #555;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* AI Cards Wrapper */
.ai-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.ai-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 42, 116, 0.08);
    transition: all 0.4s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(49, 115, 220, 0.1);
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #002a74 0%, #58ea01 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.076, 1);
}

.ai-card:hover::before {
    transform: scaleX(1);
}

.ai-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 42, 116, 0.15);
    border-color: rgba(88, 234, 1, 0.3);
}

.ai-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 42, 116, 0.1) 0%, rgba(88, 234, 1, 0.1) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.ai-card:hover .ai-card-icon {
    background: linear-gradient(135deg, #0d47a1 0%, #00c9a7 100%);
    transform: scale(1.1) rotate(5deg);
}



.ai-card:hover .ai-card-icon svg {
    filter: brightness(0) saturate(100%) invert(100%);

}

.ai-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #002a74;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.ai-card:hover .ai-card-title {
    color: #376fdf;
}

.ai-card-description {
    font-size: 15px;
    /* color: #666; */
    line-height: 1.6;
    margin: 0;
}

/* AI Features Section */
.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-top: 60px;
    border-top: 2px solid rgba(0, 42, 116, 0.1);
}

.ai-feature-item {
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.ai-feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #002a74 0%, #376fdf 100%);
    border-radius: 10px;
    color: #58ea01;
    font-size: 24px;
    transition: all 0.3s ease;
}

.ai-feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 10px 25px rgba(0, 42, 116, 0.3);
}

.feature-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: #002a74;
    margin-bottom: 8px;
    margin-top: 0;
}

.feature-content p {
    font-size: 14px;
    /* color: #666; */
    margin: 0;
    line-height: 1.5;
}

/* Responsive AI Section */
@media (max-width: 991.98px) {
    .ai-cards-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
        margin-bottom: 60px;
    }

    .ai-card {
        padding: 30px 20px;
    }

    .ai-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .ai-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

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

    .ai-header {
        margin-bottom: 40px;
    }

    .min-subtitle {
        font-size: 16px;
    }

    .ai-features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 30px;
    }

    .ai-feature-item {
        gap: 15px;
    }
}