/**
 * India-only styles.
 *
 * The India pages were authored against a newer revision of this site than the
 * theme in this working copy. Their markup uses section classes the shared
 * main.css does not define -- and the newer revision also *dropped* rules that
 * Australia still depends on (.insights-boxes, .card-hover, .mute-unmute-video,
 * .product-features-section), so the two stylesheets cannot simply be swapped:
 * replacing the theme's main.css with the snapshot's would break Australia.
 *
 * Everything here is therefore additive, and loaded only when the served country
 * is India. Australia's rendering does not change at all.
 *
 * Rules are taken from the snapshot's css/main.css and css/responsive.css, kept
 * to the selectors the India markup actually uses. Two selectors present in the
 * snapshot are deliberately left out because no India page references them:
 * .why-fintly-bg and .blog-details-sidebar.
 */

/* ---------------------------------------------------------------------------
 * Home FAQ -- the accordion that closes every India page.
 * ------------------------------------------------------------------------ */

.home-faq .faq-item,
.home-faq .faq-item:last-child,
.home-faq .faq-item.active {
    border: 1px solid #E6EDF3 !important;
    border-image: none;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: none;
}

.home-faq .faq-item.active {
    border-color: #CCE6E6 !important;
    box-shadow: 0 10px 28px rgba(1, 37, 71, 0.06);
}

.home-faq .faq-graphic {
    display: block;
    width: 13rem !important;
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

.home-faq .faq-question > span:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.home-faq .faq-icon {
    transition: color 0.3s ease;
}

.home-faq .faq-item.active .faq-icon {
    color: #01848F;
}

@media (min-width: 640px) {
    .home-faq .faq-graphic {
        width: 15rem !important;
    }
}

@media (min-width: 1024px) {
    .home-faq .faq-graphic {
        width: 24rem !important;
    }
}

@media (max-width: 480px) {
    .faq-section.home-faq .faq-graphic {
        width: min(100%, 13rem) !important;
        max-width: 100%;
        height: auto;
    }

    .home-faq .faq-question {
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.875rem 1rem;
    }
}

/* ---------------------------------------------------------------------------
 * Industries carousel -- the Owl slider on the India home.
 *
 * These rules only take effect once js/india.js has initialised Owl. They are
 * harmless before that: owl.carousel.min.css is what sets .owl-carousel to
 * display:none, and it is loaded at the same time as the init, never alone.
 * ------------------------------------------------------------------------ */

.industries-carousel .owl-stage {
    display: flex;
}

.industries-carousel .owl-item {
    display: flex;
    height: auto;
}

.industries-carousel .owl-item > article {
    width: 100%;
    height: 100%;
}

/* Owl ships .owl-nav as display:none until it decides the nav is wanted; the
   design always wants it, so it is forced back on. */
.industries-carousel.owl-carousel .owl-nav,
.industries-carousel.owl-carousel .owl-nav.disabled {
    display: flex !important;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.industries-carousel .owl-nav button.owl-prev.disabled,
.industries-carousel .owl-nav button.owl-next.disabled {
    opacity: 1;
}

.industries-carousel .owl-nav button.owl-prev,
.industries-carousel .owl-nav button.owl-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    border-radius: 9999px;
    border: 1px solid #CCE6E6 !important;
    background: #ffffff !important;
    color: #01848F !important;
}

.industries-carousel .owl-nav button.owl-prev svg,
.industries-carousel .owl-nav button.owl-next svg {
    width: 1.25rem;
    height: 1.25rem;
}

.industries-carousel .owl-nav button.owl-prev:hover,
.industries-carousel .owl-nav button.owl-next:hover {
    border-color: transparent !important;
    background: linear-gradient(135deg, #01848F, #21A12D) !important;
    color: #ffffff !important;
}

.industries-carousel .owl-dots {
    margin-top: 0.25rem;
}

.industries-carousel .owl-dots .owl-dot span {
    background: #CCE6E6;
}

.industries-carousel .owl-dots .owl-dot.active span,
.industries-carousel .owl-dots .owl-dot:hover span {
    background: #01848F;
}

/* ---------------------------------------------------------------------------
 * Get started form -- the enquiry form on every India page.
 * ------------------------------------------------------------------------ */

.get-started-form .form-label {
    display: block;
    margin-bottom: 4px !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #012547;
}

.get-started-form .form-input {
    width: 100%;
    border: 1px solid #CCE6E6;
    border-radius: 0.5rem;
    background: transparent;
    padding: 10px 12px;
    font-size: 13px;
    color: #012547;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.get-started-form .form-input::placeholder {
    color: #8A9AA8;
}

.get-started-form .form-input:focus {
    outline: none;
    border-color: #01848F;
    background: transparent;
    box-shadow: 0 0 0 3px rgba(1, 132, 143, 0.15);
}

.get-started-form .form-input[aria-invalid="true"] {
    border-color: #DC2626;
    box-shadow: none;
}

.get-started-form .form-error:empty {
    display: none;
}

.get-started-form .form-error:not(:empty) {
    position: absolute;
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1rem;
    color: #DC2626;
}

/* The enquiry form's honeypot, injected by inc/enquiry-form.php. Moved out of
   the viewport rather than hidden with display:none or visibility:hidden, which
   are the two things a bot checks for before deciding a field is a trap. */
.get-started-form .form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------------------------------------------------------------------------
 * Platform stack -- the pinned card stack on the India home.
 *
 * The rules outside the query give the cards their shape at every width. Those
 * inside it belong to the scroll-pinning in js/india.js, which adds .is-stacked,
 * .is-pinned, .is-ended and .is-fitted as the page scrolls. None of them apply
 * without JavaScript, and the cards then simply sit in a readable column.
 *
 * .is-pinned is why the viewport is taken out of flow and positioned with
 * --platform-pin-left: once it is fixed, its containing block is the viewport,
 * so its horizontal offset has to come from JavaScript rather than layout.
 * ------------------------------------------------------------------------ */

.platform-stack {
    display: flex;
    flex-direction: column;
}

.platform-stack-viewport {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.platform-stack-card {
    background: #ffffff;
    border: 1px solid #CCE6E6;
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(1, 37, 71, 0.08);
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .platform-stack-card {
        padding: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .platform-stack.is-stacked {
        position: relative;
    }

    .platform-stack.is-stacked .platform-stack-viewport {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        display: block;
        overflow: hidden;
        border-radius: 1.5rem;
        z-index: 10;
        transform: translateZ(0);
    }

    .platform-stack.is-stacked.is-pinned .platform-stack-viewport {
        position: fixed;
        top: 96px;
        left: var(--platform-pin-left, 0);
    }

    .platform-stack.is-stacked.is-ended .platform-stack-viewport {
        top: auto;
        bottom: 0;
    }

    .platform-stack.is-stacked .platform-stack-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 2rem 2.25rem;
        transform-origin: center top;
        will-change: transform;
    }

    /* is-fitted is added when a card is taller than the space left under the
       header, and tightens the card until it fits rather than scaling it down
       past the point of legibility. */
    .platform-stack.is-fitted .platform-stack-card,
    .platform-stack.is-stacked.is-fitted .platform-stack-card {
        gap: 1.25rem;
        padding: 1rem 1.25rem;
    }

    .platform-stack.is-fitted .platform-stack-card h3,
    .platform-stack.is-stacked.is-fitted .platform-stack-card h3 {
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .platform-stack.is-fitted .platform-stack-card h5,
    .platform-stack.is-stacked.is-fitted .platform-stack-card h5 {
        margin-bottom: 0.5rem;
        font-size: 1rem;
        line-height: 1.35;
    }

    /* front-page.php echoes this field through preg_replace(), stripping <p>, so
       on the India home the card text has no paragraph wrapper and the rule below
       matches nothing. It is kept as the newer revision wrote it; the headings and
       list tightening are what actually do the work in the is-fitted state. */
    .platform-stack.is-fitted .platform-stack-card > div > p,
    .platform-stack.is-stacked.is-fitted .platform-stack-card > div > p {
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .platform-stack.is-fitted .platform-stack-card ul,
    .platform-stack.is-stacked.is-fitted .platform-stack-card ul {
        gap: 0rem;
        margin-bottom: 0.75rem;
    }

    .platform-stack.is-fitted .platform-stack-card .my-4,
    .platform-stack.is-stacked.is-fitted .platform-stack-card .my-4 {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .platform-stack.is-fitted .platform-stack-card > div > img,
    .platform-stack.is-stacked.is-fitted .platform-stack-card > div > img {
        width: 100%;
        max-height: 380px;
        object-fit: contain;
    }

    .platform-stack.is-stacked.is-fitted .platform-stack-card ul li span {
        font-size: 14px;
    }
}


/* OUR PLATFORM */

@media (min-width: 1024px) {
    .platform-stack-area {
        position: relative;
    }

    .platform-stack-progress {
        position: absolute;
        top: 0;
        left: -1.625rem;
        width: 6px;
        height: var(--platform-progress-height, calc(100vh - 112px));
        max-height: 720px;
        pointer-events: none;
        transform: translateX(-100%);
        z-index: 11;
    }

    .platform-stack-progress.is-active-pinned {
        position: fixed;
        top: 96px;
        left: var(--platform-progress-left, 0);
        transform: none;
    }

    .platform-stack-progress-track {
        width: 6px;
        height: 100%;
        border-radius: 9999px;
        background: #e8eef2;
        position: relative;
        overflow: hidden;
    }

    .platform-stack-progress-fill {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        border-radius: 9999px;
        background: linear-gradient(180deg, #01848f 0%, #21a12d 100%);
        will-change: height;
    }
}
.platform-stack-card .order-1 {
    align-self: flex-start !important;
    margin: 20px 0 0 0 !important;
}
.platform-stack-card .order-1 ul {
    margin-top: 10px !important;
    gap:0 !important;
}