:root {
    --brand: #0d47ff;
    --brand-600: #0a39cc;
    --ink: #0d1b2a;
    --muted: #6b7280;

    --faq-bg: #eff3ff;
    --faq-border: #cddcff;
    --faq-ink: #0b1730;
}

.main-content{
    overflow: hidden;
}

/* NAV */
.ms-navbar .nav-link {
    color: #fff;
    opacity: .95
}

.ms-navbar .nav-link:hover {
    opacity: 1
}

.ms-navbar .btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #ffffff88;
    --bs-btn-hover-bg: #ffffff22;
    --bs-btn-hover-border-color: #ffffff;
}

.ms-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .2px;
}

.ms-brand .logo {
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    border-radius: 6px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    line-height: 1;
}

.container-custom{
    max-width: 1420px;
    margin: 0 auto;
}

@media (min-width: 1601px) {
    .container-custom{
        max-width: 1640px;
    }
}

@media (max-width: 1600px) {
    .container-custom{
        max-width: 1420px;
    }
}

/* HERO */
.hero {
    position: relative;
    min-height: 936px;
    background-size: cover;
    overflow: hidden;
    color: #fff;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero .headline {
    /* font-family: Manrope, Inter, sans-serif; */
    font-weight: 800;
    letter-spacing: .2px;
    line-height: 1.15;
    font-size: clamp(28px, 3.2vw + 12px, 44px);
}

.hero .sub {
    color: #dbe4ff;
    opacity: .95;
    font-size: 1.05rem;
}

.hero-content {
    margin-top: 305px;
    display: flex;
    justify-content: center;
    width: 100%;
}

@media (min-width: 1741px) {
    .hero-content {
        margin-top: 350px;
    }

    .search-card{
        width: 750px;
    }
}

@media (min-width: 1601px) and (max-width: 1740px) {
    .hero-content {
        margin-top: 330px;
    }

    .search-card{
        width: 720px;
    }
}

@media (min-width: 1441px) and (max-width: 1600px) {
    .hero-content {
        margin-top: 320px;
    }

    .search-card{
        width: 650px;
    }
}

@media (min-width: 1200px) and (max-width: 1440px) {
    .hero-content {
        margin-top: 310px;
    }

    .search-card{
        width: 600px;
    }
}

@media (min-width: 993px) and (max-width: 1146px) {
    .hero-content {
        margin-top: 245px;
    }

    .search-card{
        width: 600px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .hero-content {
        margin-top: 245px;
    }
}


@media (max-width: 767px) {
    .trusted-header{
        max-width: 450px !important;
    }
}

@media (max-width: 500px) {
    .logo-slider {
        --fade-width: 5px !important;
    }

    .trusted-header{
        max-width: 450px !important;
    }
}

/* overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* shorthand for top:0; right:0; bottom:0; left:0; */
    background: rgba(0, 0, 0, 0.4);
    /* adjust opacity for darkness */
    z-index: 0;
}

/* Trusted section */
.trusted-header {
    /* max-width:600px;  */
    margin:0 auto 32px;
}

.trust {
    padding: 48px 0 40px;
}

.trust h6 {
    color: #374151;
    font-weight: 700;
    letter-spacing: .3px;
    text-align: center;
    margin-bottom: 22px;
}

/* Swiper */
/* ===== Logo slider styles ===== */
.logo-slider {
    --fade-bg: #fff;
    /* set to your section bg color if not white */
    position: relative;
    overflow: hidden;
}

/* Fading edges */
.logo-slider {
    --fade-width: 100px;
    /* wider fade area (default was 90px) */
    --fade-bg: #fff;
    /* match your section bg */
    position: relative;
    overflow: hidden;
}

.logo-slider .fade-left,
.logo-slider .fade-right {
    position: absolute;
    top: 0;
    width: var(--fade-width);
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* stronger fade gradient (fade earlier) */
.logo-slider .fade-left {
    left: 0;
    background: linear-gradient(to right,
            var(--fade-bg) 70%,
            /* solid for 70% of the fade area */
            rgba(255, 255, 255, 0) 100%
            /* then fade out */
        );
}

.logo-slider .fade-right {
    right: 0;
    background: linear-gradient(to left,
            var(--fade-bg) 70%,
            rgba(255, 255, 255, 0) 100%);
}

/* Swiper spacing */
.logo-slider .swiper {
    padding-block: 16px;
    /* some vertical breathing room */
}

/* Force all logos to have the same max height */
.logo-slider .img-logo {
  max-height: 130px !important;        /* adjust to your preferred size */
  width: auto;             /* keep aspect ratio */
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

.logo-slider .img-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* .swiper-slide{
    width: 150px !important;
} */

.logo-slider .swiper-button-next,
.logo-slider .swiper-button-prev {
    color: #aaa;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
    color: #555;
}

/* Strong heading weight to match mock */
.fw-800 {
    font-weight: 800 !important
}

/* Section wrapper spacing (optional) */
.py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important
}


/* Blue pills */
.ms-pill {
    background: #1f5bff;
    /* primary blue */
    color: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.ms-pill-title {
    font-weight: 800;
    letter-spacing: .2px;
}

.ms-pill-sub {
    opacity: .95;
    font-size: .95rem;
    margin-top: .25rem;
}

/* Optional: keep image aspect & nice crop on all sizes */
.ms-hero-img {
    border-radius: 1rem;
    overflow: hidden;
}

.ms-hero-img img {
    display: block;
    object-fit: cover;
    /* width:100%; */
    height: auto;
    /* becomes fixed on small if you want */
    max-height: 480px;
}

/* Slightly larger gap on xl for air */
@media (min-width: 1200px) {
    .ms-section .gap-3 {
        row-gap: 1.1rem !important;
    }
}

.ms-pill {
    background: #1f5bff;
    color: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ms-pill:hover {
    transform: translateY(-6px);
    /* slight lift */
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
    background: #0d47ff;
    /* deeper brand blue */
}

.object-cover {
    object-fit: cover;
    object-position: center;
}

/* Section background (light bluish like the mock) */
.bg-section {
    background: #eff8ff;
    /* very light blue */
}


/* Three Simple Steps */
.hiw-card {
    background: #d0e9ff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
    min-height: 400px;
}

.hiw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(13, 71, 255, .15);
}

.hiw-num {
    font-size: 5rem;
    font-weight: 800;
    color: #033ec4;
}

.hiw-sub {
    font-size: .9rem;
    color: #5b6b86;
}

/* Arrows */
.hiw-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3a6ae9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(31, 91, 255, .35);
}

.hiw-arrow-icon {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.hiw-card h6{
    font-size:24px;
    width: 200px;
}

.hiw-card hr{
    width:80px; 
    height:3px; 
    background-color:#083eb2; 
    opacity:unset;
}

.hiw-content{
    max-width: 250px;
}

.hiw-button a{
    width: 300px; 
    background-color:#083eb2; 
    font-size:.8rem;
}

/* FAQ */
/* base */

.fw-800 {
    font-weight: 800 !important
}

.faq-accordion .accordion-item {
    border: 0;
    background: transparent;
    margin-bottom: 14px;
}

.accordion-header {
    border-bottom: 0;
}

/* header button */
.faq-accordion .accordion-button {
    background: var(--faq-bg);
    color: var(--faq-ink);
    font-weight: 600;
    border: 1px solid var(--faq-border);
    border-radius: 14px !important;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 20px rgba(13, 71, 255, .06);
}

.faq-accordion .accordion-button:focus {
    /* box-shadow:0 0 0 0 transparent; */
}

/* when OPEN: join with body as one rounded card */
.faq-accordion .accordion-button:not(.collapsed) {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    /* box-shadow:0 10px 24px rgba(13,71,255,.10); */
}

/* body */
.faq-accordion .accordion-body {
    background: var(--faq-bg);
    color: #2a3347;
    border: 1px solid var(--faq-border);
    border-top: 0;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    padding: 1rem 1.1rem 1.15rem;
}

/* chevron (brand color) */
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d47ff'%3e%3cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    font-weight: bold;
}

/* Notify */
.notify-section {
    background-color: #eff8ff;
}

/* Custom */
.text-custom-purple {
    color: #5b73d3;
}

.text-dark-purple {
    color: #083eb2;
}

.btn-dark-purple {
    background-color:#0140c1 !important;
    border-color: #0140c1 !important;
    color: #fff;
}

/* Adjust heights on larger screens */
@media (max-width: 500px) {
    .logo-slider .img-logo {
        max-height: 115px !important;
    }
}

@media (min-width: 768px) {
    .logo-slider .img-logo {
        max-height: 64px;
    }
}

@media (min-width: 1200px) {
    .logo-slider .img-logo {
        max-height: 72px;
    }
}

@media (min-width: 1921px) {
    .logo-slider {
        --fade-width: 300px;
    }
}

@media (min-width: 1601px) and (max-width: 1920px) {
    .logo-slider {
        --fade-width: 250px;
    }
}

@media (max-width: 1600px) {
    .logo-slider {
        --fade-width: 150px;
    }
}

@media (min-width:768px) and (max-width: 886px) {
    .hiw-card {
        max-width: 200px;
        min-height: 200px;
    }

    .hiw-card h6 {
        font-size: 18px;
    }

    .hiw-arrow{
        display: none !important;
    }
}

@media (max-width: 500px) {
    .hiw-card {
        width: 100%;
    }

    .notify-section h2,
    .notify-section p{
        text-align: left !important;
    }
}
