* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}



section {
    width: 100%;
    position: relative;
}


.top-square {
    top: 0px;
}

.hero-eyebrow {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}



:root {
    --font-primary: 'Poppins', sans-serif;
    --color-primary: #ffffff;
    --color-secondary: #1f7fce;
    --color-navy: #0b3359;
    --color-navy-dark: #0c335a;
    --color-blue: #1f7bca;
    --color-light-blue: #e6f1f9;
    --color-bg-light: #f4f8fc;
    --color-text-dark: #262626;
    --color-text-gray: #494949;
    --color-text-medium: #4e4e4e;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-primary);
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 850px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/ai-consulting/banner.webp') center/cover no-repeat;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.hero-title {
    color: #fff;
    font-size: 52px;
    font-weight: 600;
}

.navbar .nav-link {
    font-size: 19px;
    font-weight: 400;
}

.btn-book-demo {
    background: var(--color-secondary);
    color: #fff;
    text-decoration: none;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.arrow-icon img {
    height: 20px;
}

/* INTRO */
.intro-section {
    background: var(--color-light-blue);
    padding: 70px 0;
    border-radius: 70px;
    margin: -40px auto 0;
    /* max-width: 1300px; */
    position: relative;
    z-index: 5;
    border: 2px solid #FFFFFF;
}

.intro-text {
    text-align: center;
    font-size: 19px;
    color: var(--color-text-dark);
    line-height: 1.7;
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 30px;
}

/* SECTION HEADINGS */
.eyebrow {
    color: var(--color-navy);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.section-heading {
    color: var(--color-navy);
    font-size: 50px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-sub {
    color: var(--color-text-gray);
    font-size: 17px;
    max-width: 800px;
    margin: 0 auto;
}

/* AI SERVICES */
.ai-services-section {
    padding: 100px 0;
    z-index: 999;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 8px 32px rgba(0,0,0,0.06); */
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    /* Added to keep absolute children contained */
    box-shadow: 0px 5px 6px 0px #0000000D;

}

.service-card-header {
    background: linear-gradient(135deg, #ffffff 0%, #cfe3f4 100%);
    padding: 40px 10px 60px;
    /* Adjusted padding */
    text-align: center;
    position: relative;
    margin-bottom: 49px;
    /* Creates the structural space for the overlapping icon */
}

.service-card-header h3 {
    color: var(--color-navy);
    font-size: 25px;
    font-weight: 500;
    margin: 0;
    padding: 15px;
}

.service-icon-circle {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Changed from margins to absolute positioning for flawless layering */
    position: absolute;
    bottom: -49px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 14px rgba(31, 123, 202, 0.3);
    /* Subtle glow matching the reference image */
}

.service-icon-circle img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.service-desc {
    padding: 20px 30px 40px;
    /* Reduced top padding since margin-bottom handles spacing */
    color: rgba(0, 0, 0, 0.6);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    text-align: center;
}

.carousel-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--color-navy);
    font-size: 20px;
    flex-shrink: 0;
}

/* PARTNER SECTION */
.partner-section {
    background: var(--color-bg-light);
    padding: 100px 0;
}

.partner-card-wrap {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    padding: 30px;
}

.partner-list-wrap {
    padding: 30px;
}

.partner-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
}

.partner-item h4 {
    color: var(--color-text-dark);
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

.partner-item p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 15px;
    margin: 8px 0 0;
}

.partner-item-active {
    background: rgba(31, 123, 202, 0.1);
    border-left: 4px solid var(--color-blue);
}

.partner-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.partner-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: rgba(31, 123, 202, 0.05);
    transform: translateX(5px);
}

.partner-item-active {
    background: rgba(31, 123, 202, 0.1);
    border-left: 4px solid var(--color-blue);
}

.partner-item-active .partner-icon {
    background: var(--color-blue) !important;
}

.partner-item-active h4 {
    color: var(--color-blue);
}

.partner-card-wrap img {
    transition: opacity 0.3s ease;
}

/* AI FUTURE */
.ai-future-section {
    padding: 100px 0;
}

.future-desc {
    color: var(--color-text-medium);
    font-size: 17px;
    line-height: 1.7;
    margin: 25px 0 35px;
}

.btn-gradient {
    background: linear-gradient(135deg, #1a4975 0%, #1b7cce 100%);
    color: #fff;
    text-decoration: none;
    padding: 12px 34px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-gradient.btn-large {
    padding: 15px 40px;
    font-size: 20px;
}

/* OTHER SOLUTIONS */
.other-solutions-section {
    background: var(--color-bg-light);
    padding: 100px 0;
}

.solution-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.solution-icon {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon img {
    width: 65px;
    height: auto;
}

.solution-card h3 {
    color: var(--color-navy);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}

.solution-card p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 25px;
}

.learn-more {
    color: var(--color-navy);
    font-weight: 600;
    font-size: 19px;
    text-decoration: none;
}

.carousel-dots .dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #000;
}

.carousel-dots .dot-blue {
    background: #4a86ea;
}

/* Start FAQS Code CSS */
.custom-faq-header {
    line-height: 50px;
}

.custom-faq-section {
    position: relative;
    overflow: hidden;
    background: #F4F8FC;
    padding: 90px 0 180px;
    border-radius: 0;
}

.custom-faq-section1 {
    background-color: #fff;
    padding: 80px 0;
}

.custom-faq-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 217px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 34%, 111% 100%);
}

.custom-faq-wrapper {
    position: relative;
    z-index: 2;
}

.custom-faq-mini-title {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: 8px;
}

.custom-faq-title {
    text-align: center;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 600;
    color: #0b3359 !important;
    margin-bottom: 30px;
}

.custom-faq-accordion {
    max-width: 1050px;
    margin: auto;
}

.custom-faq-accordion .custom-faq-item {
    border: none;
    border-bottom: 1px solid #d6d6d6;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
}

.custom-faq-accordion .custom-faq-item.custom-active-faq-item {
    border: 1px solid #4b95e8;
    border-radius: 14px;
    background: #fff;
    margin: 10px 0;
    overflow: hidden;
    box-shadow: 0 28px 32px 0 rgba(31, 123, 202, 0.13);
}

.custom-faq-accordion .custom-faq-button {
    background: transparent;
    box-shadow: none;
    font-size: 18px;
    font-weight: 500;
    color: #1f1f1f;
    padding: 5px 25px;
    border-radius: 0 !important;
}

.custom-faq-accordion .custom-faq-button:not(.collapsed) {
    background: #fff;
    color: #111;
    box-shadow: none;
    padding: 22px 25px 1px;
}

.custom-faq-accordion .custom-faq-button::after {
    display: none;
}

.custom-faq-icon {
    margin-left: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #7c7c7c;
    transition: 0.3s;
}

.custom-faq-button:not(.collapsed) .custom-faq-icon {
    background: #2d8cff;
    color: #fff;
}

.custom-faq-accordion .custom-faq-body {
    padding: 0 25px 28px;
    color: #767676;
    font-size: 15px;
    line-height: 1.8;
    background: #fff;
    font-family: 'poppins', sans-serif !important;
}

@media(max-width:991px) {
    .custom-faq-section {
        padding: 70px 20px 120px;
    }

    .custom-faq-title {
        font-size: 40px;
    }

    .custom-faq-accordion .custom-faq-button {
        font-size: 16px;
        padding: 18px 18px;
    }

    .custom-faq-accordion .custom-faq-body {
        padding: 0 18px 24px;
        font-size: 14px;
    }
}

@media(max-width:576px) {
    .custom-faq-title {
        font-size: 32px;
    }

    .custom-faq-section::after {
        height: 110px;
        clip-path: polygon(0 100%, 100% 55%, 100% 100%);
    }

    .custom-faq-accordion .custom-faq-button {
        font-size: 15px;
        line-height: 1.5;
    }

    .custom-faq-mini-title {
        font-size: 11px;
    }
}

/* End FAQS Code CSS */


/* CONTACT */
.contact-section {
    background: var(--color-bg-light);
    padding: 60px 0;
}

.contact-card {
    background: var(--color-navy);
    border-radius: 20px;
    overflow: hidden;
}

.contact-heading {
    color: #fff;
    font-size: 60px;
    font-weight: 500;
    line-height: 1.15;
    margin: 15px 0 25px;
}

.contact-desc {
    color: #fff;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FOOTER */
/* .site-footer {
        background: var(--color-bg-light);
        padding: 80px 0 30px;
      }

      .footer-text {
        color: var(--color-text-dark);
        font-size: 16px;
        line-height: 1.6;
      }

      .footer-head {
        color: var(--color-text-dark);
        font-size: 22px;
        font-weight: 500;
        margin-bottom: 15px;
      }

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

      .footer-list li {
        color: var(--color-text-dark);
        font-size: 16px;
        margin-bottom: 8px;
      }

      .footer-bottom {
        margin-top: 60px;
        color: var(--color-text-dark);
        font-size: 16px;
      }

      .footer-bottom>div {
        padding-top: 15px;
        border-top: 1px solid #000;
      } */

@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }

    .section-heading {
        font-size: 36px;
    }

    .contact-heading {
        font-size: 40px;
    }

    .navbar .nav-link {
        color: #fff !important;
    }
}

/* CAROUSEL FUNCTIONAL ADDITIONS */
.carousel-window {
    overflow: hidden;
    /* Hides cards outside the bounding viewbox */
    position: relative;
    width: 100%;
}

#carouselTrack {
    transition: transform 0.4s ease-in-out;
    /* Smooth slide animation */
    display: flex !important;
}

.carousel-item-card {
    flex-shrink: 0;
    /* Prevents Bootstrap columns from squeezing */
}

/* Optional styling to dim disabled state buttons */
.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}



.why-msuite {
    /* z-index: 9; */
    /* position: relative; */
    /* background: #0B3359; */
    clip-path: none !important;
    background: #F4F8FC !important;
    padding: 10px;
    color: #0B3359 !important;
    border-radius: 0% !important;
    border-top-right-radius: 0px;
    /* overflow: visible; */
    margin-top: 0% !important;
}

.why-msuite .section-subtitle,
.why-msuite .section-title {
    color: #0B3359 !important;
    text-align: center;
}

.contact-icon {
    transform: rotate(2deg) !important;
}

.chat-box {
    background: transparent !important;
}

/* Slider Wrap */
.industry-slider-wrapper {
    position: relative;
    padding: 0 70px;
}

.industry-subtitle {
    text-align: center;
    font-size: 19px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.industry-title {
    text-align: center;
    font-size: 50px;
    line-height: 1;
    font-weight: 500;
    color: #0B3359;
    margin-bottom: 40px;
}

/* Card */
.industry-card {
    background: #ffffff;
    border: 1px solid #d9e1ea;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    height: 400px;
    transition: 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
}

/* Icon */
.industry-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.dark-icon {
    background: #0e3767;
}

.blue-icon {
    background: #2583eb;
}

.industry-card h3 {
    margin-bottom: 11px;
    color: #262626;
    text-align: center;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 23px;
    letter-spacing: -0.75px;
}

.industry-card p {
    font-size: 15px;
    margin-bottom: 26px;
    color: #494949;
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    line-height: 23px;
}

/* Link */
.industry-card a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.industry-card a.active-link {
    color: #2583eb;
}

/* Arrows */
.industry-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: 0.3s;
}

.industry-arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

.industry-prev {
    left: 0;
}

.industry-next {
    right: 0;
}

.industry-arrow i {
    color: #2583eb;
    font-size: 14px;
}

/* Pagination */
.industry-pagination {
    position: relative;
    margin-top: 40px;
    text-align: center;
    bottom: var(--swiper-pagination-bottom, -51px) !important;
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}

.industry-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #c2c2c2;
    opacity: 1;
}

.industry-pagination .swiper-pagination-bullet-active {
    background: #2583eb;
    outline: 2px dashed #2583eb;
    outline-offset: 4px;
}

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

    .industry-card h3 {
        font-size: 26px;
    }

    .industry-title {
        font-size: 48px;
    }
}

@media(max-width:991px) {

    .industry-slider-wrapper {
        padding: 0;
    }

    .industry-arrow {
        display: none;
    }

    .industry-section {
        padding: 70px 0 80px;
    }

    .industry-title {
        font-size: 40px;
    }

    .industry-card {
        min-height: auto;
    }
}

@media(max-width:576px) {

    .industry-title {
        font-size: 32px;
    }

    .industry-card {
        padding: 35px 24px;
    }

    .industry-card h3 {
        font-size: 24px;
    }

    .industry-card p {
        font-size: 14px;
    }

    .industry-top-shape {
        width: 140px;
        height: 50px;
    }

    .industry-bottom-shape {
        width: 140px;
        height: 50px;
    }

    .mo-body p {
        padding: 5px;
    }
}

@media (max-width: 767px) {

    /* 1. Make the main container relative so we can absolute position the arrows */
    .service-carousel {
        position: relative;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        gap: 0;
        /* Remove gap so the window uses the full screen width */
    }

    /* 2. Force the window to take up 100% of the horizontal space */
    .carousel-window {
        width: 100%;
        flex: 0 0 100%;
        min-width: 0;
        overflow: hidden;
    }

    /* 3. Float the arrows right over the top of the cards */
    .carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        /* Ensures arrows sit on top of the image/text */

        /* Styling upgrades for readability against card content */
        background: rgba(255, 255, 255, 0.85);
        /* Semi-transparent white bg */
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 4. Anchor arrows to their respective sides */
    #prevBtn {
        left: 10px;
    }

    #nextBtn {
        right: 10px;
    }

    /* 5. Mobile card spacing constraints */
    .carousel-item-card {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 100% !important;
        padding-left: 5px;
        /* Slight padding so cards don't touch the screen edge */
        padding-right: 5px;
    }

    .service-card {
        max-width: 100%;
        margin: 0 auto;
    }
}

.industry-section {
    background: #F4F8FC;
}

.content-card {
    display: none;
}

.content-card.active {
    display: block;
}

/* --- Updated Responsive Layout for Mobile/Tablet --- */
@media (max-width: 991px) {
    .contact-btn {
        font-size: 16px;
        /* Slightly smaller text so it fits onto one clean line */
        padding: 10px 30px 12px 24px;
        /* Slightly tighter padding for smaller viewports */
        min-height: 48px;
        height: 48px;
        border-radius: 50px 0 0 50px;
        /* STAYS AS A SHARP PANEL: Keeps the left pill shape and right flat cut */
    }

    /* Keeps the slanted connector wedge intact, just scales the sizing down beautifully */
    .contact-btn::before {
        display: block;
        /* Ensures the slant stays visible */
        right: -20px;
        width: 38px;
        /* clip-path: polygon(0 0, 65% 0, 100% 100%, 0% 100%); */
    }

    /* Scales down the glowing "A" icon and positions it correctly next to the mobile slant */
    .contact-icon {
        right: -62px;
        /* Pulls it in tightly next to the smaller slant */
        width: 48px;
        height: 48px;
        transform: rotate(2deg);

    }
}

/* Extra safety check for ultra-narrow screens (like older phones under 375px wide) */
@media (max-width: 390px) {
    .contact-btn {
        font-size: 12px;
        padding: 10px 20px 12px 18px;
    }

    .contact-icon {
        right: -48px;
        width: 42px;
        height: 42px;
    }
}

/* Hide the mobile graphic container by default */
.mobile-accordion-graphic {
    display: none !important;
}

/* Desktop displays layout behavior fixes */
@media (min-width: 992px) {
    .content-card {
        display: none;
    }

    .content-card.active {
        display: block;
    }
}

/* Mobile behavior: display the image inside the expanded accordion wrapper */
@media (max-width: 991.98px) {
    .accordion-collapse.show .mobile-accordion-graphic {
        display: block !important;
        margin-top: 1.25rem;
        text-align: center;
        animation: slideDownFade 0.3s ease-out;
    }
}

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

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


@media (max-width: 767.98px) {
    .footer-cta-section {
        /* Reduce the massive top padding meant for desktop sizes */
        padding: 10px 0 40px !important;

        /* Adjust the negative margin so it pulls up cleanly over the previous diagonal section */
        margin-top: 20px !important;

        /* Flatten or soften the clip-path angle so it looks proportional on narrow viewports */
        clip-path: none !important;

        /* Soften the corner radiuses for mobile aspect ratios */
        border-top-right-radius: 0px !important;
        border-top-left-radius: 0px !important;
    }
}

/* On mobile layouts, only show the graphic for the active button element */
@media (max-width: 991.98px) {
    .step-action-row .mobile-tab-graphic {
        display: none !important;
    }

    .step-action-row.active .mobile-tab-graphic {
        display: block !important;
        animation: fadeIn 0.3s ease-in-out;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

@media (max-width: 767.98px) {
    .footer-cta-section {
        /* Reduce the massive top padding meant for desktop sizes */
        padding: 120px 0 40px;

        /* Adjust the negative margin so it pulls up cleanly over the previous diagonal section */
        margin-top: -40px;

        /* Flatten or soften the clip-path angle so it looks proportional on narrow viewports */
        clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);

        /* Soften the corner radiuses for mobile aspect ratios */
        border-top-right-radius: 40px;
        border-top-left-radius: 40px;
    }

    @media(max-width:480px) {

        .contact-btn {
            font-size: 13px;
            padding: 16px 45px 16px 22px;
            min-height: 65px;
        }

        .contact-btn::before {
            right: -30px;
            width: 60px;
        }

        .contact-icon {
            width: 65px;
            height: 65px;
            right: -80px;
            transform: translateX(2px);
        }

        .cta-box {
            padding: 50px 20px 0;
        }
    }

}