
/* ===================== THEME ===================== */
:root{
    --brand:#174A5E;            /* identity color */
    --brand-600:#091e26;        /* darker */
    --brand-700:#07161c;        /* darker */
    --brand-300:#5d808e;        /* lighter */
    --brand-200:#456e7e;        /* lighter */
    --btn-primary:#DEEB4C;
    --ink:#0B1F2A;
    --muted:#5f7282;
    --soft:#F2F7FF;
    --card:#FFFFFF;
    --shadow:0 16px 38px rgba(0,0,0,.10);
    --radius:18px;
    --lime:#127FF1;
    --lime-700:#126ff1;
    --stroke:#829900;
}
html,body{
    overflow-x:hidden;
    background:#fff;
    color:var(--ink);
    scroll-behavior: smooth;
}
body{
    font-family:system-ui,-apple-system,Segoe UI,Inter,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
    line-height:1.6
}

font-weight-300 {
    font-weight: 300 !important;
}

/* ===================== NAV ===================== */
.site-nav{
    position:fixed;
    inset-inline:0;
    top:0;
    z-index:1030;
    transition:all .25s ease;
    scrollbar-gutter: stable;
}
/* .dropdown-menu, .offcanvas-body {

  scrollbar-gutter: stable;
} */

/* Target the mobile menu body */
#mobileMenu .offcanvas-body {
    overflow-y: overlay !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#mobileMenu .offcanvas-body::-webkit-scrollbar {
    display: none;
    width: 0 !important;
}


.site-nav.stuck{
    /* padding-block: .5rem; py-2 */
    background: rgba(23, 74, 94, 0.8);
    backdrop-filter:saturate(180%) blur(10px);
}

@media (min-width: 992px) {
    .site-nav {
        padding-block: 2.0rem !important;
    }

    .site-nav.stuck {
        padding-block: .5rem !important; /* py-2 */
        background: rgba(23, 74, 94, 0.8);
        backdrop-filter: saturate(180%) blur(10px);
    }
}

.nav-link{
    color:#EAF3FF !important;
    font-weight: 500;
}

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

.brand{
    display:inline-flex;
    gap:.5rem;
    align-items:center;
    color:#fff;
    font-weight:800;
}

.brand-color{
    color:var(--btn-primary);
    font-weight:800;
}

.brand-color2{
    color:var(--brand);     
}

.brand-dot{
    width:28px;
    height:28px;
    border-radius:9px;
    background:linear-gradient(135deg,var(--brand),var(--brand-300));
}

.brand-logo{
    width:28px;
    height:28px;
    border-radius:9px;
    object-fit:cover;
    display:inline-block;
}

/* Buttons */
.btn-brand{
    background:var(--btn-primary);
    border:2px solid var(--btn-primary);
    color:#3B4500;
    font-weight:700;
}

.btn-brand:hover{
    background:#A7C400 ;
    color:#3B4500;
}
.btn-story{

    border:2px solid  var(--brand);
    color:var(--brand) !important;
    font-weight:500;
}
.btn-story:hover{

    border:2px solid  var(--brand);
    color:#fff !important;
    font-weight:500;
    background-color: var(--brand) !important;
}

.btn-ghost{
    border:2px solid #fff;
    color:#fff;
    font-weight:700;
}
.btn-ghost:hover{
    background:#fff;
    color:var(--brand);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--brand);
    color: #fff !important;              /* text color */
}
.nav-pills .nav-link {
    border: none;           /* text color when not active */
}

/* Top nav underline links */
.nav .menu-link{
    position:relative;
    color:#fff !important;
    transition:transform .18s ease;
    padding-bottom:12px;
}
.nav .menu-link::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:2px;
    height:2px;
    border-radius:2px;
    background:linear-gradient(90deg,var(--brand-300),var(--brand));
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .22s ease;
}
.nav .menu-link:hover,
.nav .menu-link:focus{
    color:#fff !important;
    transform:translateY(-1px);
}
.nav .menu-link:hover::after,
.nav .menu-link:focus::after{
    transform:scaleX(1);
}
#mobileMenu .mb-2:last-of-type a.list-group-item[data-bs-toggle="collapse"] {
    border-bottom: 1px solid transparent !important;
}

/* Desktop dropdowns */
@media (min-width: 992px){
    .dropdown-menu{
        --drop-y: 8px;
        opacity:0;
        transform:translateY(var(--drop-y));
        transition:opacity .18s ease, transform .18s ease;
        border-radius:12px;
        box-shadow:0 14px 40px rgba(0,0,0,.18);
        border:1px solid rgba(15,47,77,.10);
        background:#fff;
        margin-top:0;
    }

    .dropdown-menu .dropdown-item{
        font-weight:700;
        color:#1e2b36;
    }
    .dropdown-menu .dropdown-item:hover{
        background:#F8FAFC;
        color:#0b58ad;
    }

    .nav-item.dropdown:hover > .dropdown-menu,
    .nav-item.dropdown:focus-within > .dropdown-menu{
        display:block;
        opacity:1;
        transform:translateY(0);
    }

    /* Mega menu */
    .dropdown-menu.mega{
        min-width:520px;
        max-width:calc(100vw - 3rem);
        padding:0;
        background:rgba(246,250,255,.95);
        border:1px solid rgba(15,47,77,.10);
        box-shadow:0 20px 60px rgba(0,0,0,.20);
        border-radius:18px;
        overflow:hidden;
    }

    .mega .mega-inner{
        display:flex;
    }

    .mega .mega-left{
        flex:0 0 56%;
        padding:24px 26px;
        background:linear-gradient(180deg, rgba(255,255,255,.75), rgba(220,232,248,.55));
    }

    .mega .mega-right{
        flex:1;
        padding:24px;
        background:linear-gradient(180deg, rgba(255,255,255,.8), rgba(230,240,252,.9));
        border-left:1px solid rgba(15,47,77,.08);
        display:flex;
        flex-direction:column;
        gap:16px;
        justify-content:flex-start;
    }

    .mega .label{
        font-size:.78rem;
        letter-spacing:.12em;
        text-transform:uppercase;
        color:#98a6b5;
        font-weight:800;
        margin-bottom:10px;
    }

    .mega .link-list{
        list-style:none;
        padding-left:0;
        margin:0;
    }

    .mega .link-list li a{
        display:block;
        padding:8px 0;
        text-decoration:none;
        color:#1e2b36;
        font-weight:700;
    }
    .mega .link-list li a:hover{
        color:#0b58ad;
    }

    .mega .promo{
        border-radius:14px;
        overflow:hidden;
        background:#d9e8ff;
        box-shadow:0 10px 28px rgba(0,0,0,.12);
    }
    .mega .promo img{
        display:block;
        width:100%;
        height:140px;
        object-fit:cover;
    }

    .btn-lime{
        background:var(--btn-primary);
        color:#3B4500;
        border:0;
        font-weight:800;
        border-radius:8px;
        padding:12px 18px;
    }
    .btn-lime:hover{
        background:#A7C400 ;
        color:#3B4500;
    }
}

/* ===================== MOBILE OFFCANVAS ===================== */

/* offcanvas panel bg */
#mobileMenu.offcanvas{
    background:#f6f8fb;
}

/* header like the screenshot */
#mobileMenu .offcanvas-header{
    background:#fff;
    border-bottom:1px solid rgba(15,47,77,.08);
}
#mobileMenu a.list-group-item[data-bs-toggle="collapse"][aria-expanded="true"] {
    border-bottom:  1px solid transparent;
}

/* list: remove default list-group look */
#mobileMenu .list-group-item{
    border:0;
    background:transparent;
}

/* section headers (the clickable collapse triggers) */
#mobileMenu a.list-group-item[data-bs-toggle="collapse"]{
    padding:1.05rem 0;
    font-weight:500;
    font-size:1.05rem;
    color:var(--ink);
    border-bottom:1px solid rgba(15,47,77,.08);
}

/* icons color */
#mobileMenu a.list-group-item[data-bs-toggle="collapse"] .bi{
    color:#829900;
}

/* rotate the caret when expanded (works because aria-expanded is on the trigger) */
#mobileMenu a.list-group-item[data-bs-toggle="collapse"] .bi-caret-down-fill{
    transition: transform .22s ease-in-out;
}
#mobileMenu a.list-group-item[data-bs-toggle="collapse"][aria-expanded="true"] .bi-caret-down-fill{
    transform:rotate(180deg);
}

/* submenu becomes a white rounded card */
#mobileMenu .submenu{
    margin:0 0 .2rem 0;
    background:#fff;
    border-radius:16px;
    box-shadow:0 10px 24px rgba(15,47,77,.08);
    /* Default opening behavior: snappy height transition */
    transition: height .18s ease, box-shadow .08s ease;
    will-change: height;
    overflow: hidden;
    transform-origin: top;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing:antialiased;
}

/* Reduce paint-heavy styles while the collapse animation is running */
#mobileMenu .submenu.collapsing{
    box-shadow: none;
    pointer-events: none;
}

#mobileMenu .submenu.closing{
    transition: height .10s cubic-bezier(.2,.8,.2,1) !important;
}

#mobileMenu .submenu.collapse.show{
    pointer-events: auto;
    box-shadow:0 10px 24px rgba(15,47,77,.08);
}

/* submenu links */
#mobileMenu .submenu a{
    display:block;
    padding:.9rem 1rem;
    color:#475569;
    font-weight:500;
    border-left:3px solid transparent;
    text-decoration:none;
    transition:border-color .10s ease, color .10s ease, background-color .10s ease;
    font-size: 0.95rem;
}

/* hover left border + soft background */
#mobileMenu .submenu a:hover{
    color:var(--brand);
    background:#f3f7ff;
    border-left-color:var(--brand);
}

/* optional "active" state, add class="is-active" to any submenu link */
#mobileMenu .submenu a.is-active{
    color:var(--brand);
    background:#f3f7ff;
    border-left-color:var(--brand);
}

/* CTA buttons shape */


#mobileMenu .submenu{
    margin-left:.25rem;
    margin-right:.25rem;
}

#mobileMenu a.list-group-item[data-bs-toggle="collapse"] .bi{
    margin-right:.6rem;
}

/* Keep the caret on the right tight */
#mobileMenu a.list-group-item[data-bs-toggle="collapse"] .bi-caret-down-fill{
    margin-right:0;
    margin-left:.5rem;
}

#mobileMenu a.list-group-item[data-bs-toggle="collapse"][aria-expanded="true"]{
    color: var(--brand);
}

#mobileMenu a.list-group-item[data-bs-toggle="collapse"][aria-expanded="true"] .bi{
    color: var(--brand);
}


/* Keep it brand color when expanded too */
#mobileMenu a.list-group-item[data-bs-toggle="collapse"][aria-expanded="true"] .bi-caret-down-fill{
    color: var(--brand) !important;
}


/* ===================== HERO ===================== */
.hero{
    padding-top: 5rem;
    color:#fff;
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(1200px 520px at 85% -10%, var(--brand-300) 0%, transparent 60%),
        radial-gradient(1200px 520px at -10% 20%, var(--brand-200) 0%, transparent 55%),
        /* linear-gradient(160deg, var(--brand-700), var(--brand) 55%, var(--brand-600)); */
        linear-gradient(101deg, #174A5E 59.89%, #AAAD24 130.33%);
}
.hero h1{
    font-weight:900;
    letter-spacing:.2px
}
.lead{
    color:#eaf3ff
}
.tag-pill {
    display: inline-block; /* allow fragments to wrap cleanly */
    -webkit-box-decoration-break: clone; /* ensure each wrapped line keeps its own rounded background */
    box-decoration-break: clone;
    background: #ffffffee;
    font-weight: 900;
    padding: .25rem .55rem;
    border-radius: 8px;
    line-height: 1.2;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

/* When JS splits the text into word fragments we move the background to each fragment */
.tag-pill.split{
    background: transparent;
    padding: 0;
}
.tag-pill .tag-frag{
    display: inline-block;
    background: #ffffffee;
    padding: .25rem .45rem;
    border-radius: 8px;
    line-height: 1.2;
    margin-right: .25rem;
    margin-top: 0.25rem
}
.tag-pill .tag-plain{
    display:inline;
    margin-right:.35rem;
    font-weight:900;
    color:var(--brand);
    white-space:nowrap; /* keep grouped words together */
}
@media (max-width: 576px) {

}
.p-c{
    color:#174A5E;
}

.line{
    display:inline-block;
    opacity:0;
    transform:translateY(16px)
}
.line.show{
    animation:rise .7s cubic-bezier(.2,.65,.2,1) forwards
}
.line.d1{
    animation-delay=.10s
}
.line.d2{
    animation-delay=.22s
}
.line.d3{
    animation-delay=.34s
}
.line.d4{
    animation-delay=.40s
}

@keyframes rise{
    from{
        opacity:0;
        transform:translateY(16px)
    }
    to{
        opacity:1;
        transform:none
    }
}
.hero-img{
    display:block;
    width: 420px;      /* fixed width */
    height:100%;
    object-fit:cover;

    /* image multiplies with the background color */
    mix-blend-mode: hard-light;
}

.hero-figure.in{
    animation:pop-in .9s cubic-bezier(.2,.65,.2,1) .2s forwards;
}

@keyframes pop-in{
    to{
        opacity:1;
        transform:none;
    }
}




/* ===================== SECTIONS ===================== */
section.section{
    padding:70px 0
}
.section-soft{
    background:var(--soft)
}
.img-mask{
    border-radius:22px;
    overflow:hidden;
}

/* Responsive CAPA image sizing:
   - md (>=768 and <992): larger (e.g., max-width: 540px)
   - lg (>=992 and <=1199.98): smaller (e.g., max-width: 360px)
   - xl (>=1200): keep original / full width
*/
section.section .img-mask .img-small {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto;
    display: block;
    height: auto;
}

.icon circle {
    stroke: var(--stroke) !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* Medium screens: make the image larger */
    section.section .img-mask .img-small {
        max-width: 540px !important; /* adjust if you want larger/smaller */
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Scale CAPA image to match XL look using clamp so it grows with viewport */
    .capa-col .img-mask {
        overflow: visible; /* allow the image to extend slightly beyond the mask if needed */
    }

    .capa-col .img-mask .img-small {
        width: clamp(420px, 36vw, 560px) !important; /* keeps the image large and proportional */
        max-width: none !important;
        box-sizing: border-box;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@media (min-width: 992px) {
    /* XL and above: preserve original (full-width within the column) */
    section.section .img-mask .img-small {
        width: 100% !important;
        max-width: none !important;
    }
}

.reveal{
    opacity:0;
    transform:translateY(18px);
    transition:opacity .7s ease,transform .7s ease
}
.reveal.in{
    opacity:1;
    transform:none
}
.reveal.d1{
    transition-delay:.08s
}
.reveal.d2{
    transition-delay:.16s
}
.reveal.d3{
    transition-delay:.24s
}
.normal-weight{
    font-weight:500
}

.br22{
    border-radius:22px
}

/* ===================== FEATURE / TICK BOXES ===================== */
.tick-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px
}
@media (max-width: 767.98px){
    .tick-grid{
        grid-template-columns:1fr
    }
}
.tick{
    background:#fff;
    border-radius:16px;
    padding:14px 14px 14px 56px;
    position:relative;
    box-shadow:var(--shadow);
    transition:transform .25s ease, box-shadow .25s ease;
    will-change: transform;
}
.tick:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.14);
    animation:bounce .35s ease
}
@keyframes bounce{
    0%   {
        transform:translateY(-3px);
    }
    60%  {
        transform:translateY(-5px);
    }
    100% {
        transform:translateY(-3px);
    }
}
.tick .badge-icon{
    position:absolute;
    left:12px;
    top:12px;
    width:30px;
    height:30px;
    border-radius:50%;
    background:#fff;
    display:grid;
    place-items:center;

}
.tick .badge-icon svg{
    width:24px;
    height:24px;
}
.tick p{
    margin:0;
    color:var(--ink);
    font-weight:600
}

.feature-card{
    background:#fff;
    border-radius:var(--radius);
    padding:20px;
    box-shadow:var(--shadow);
    height:100%;
    transition:transform .25s ease, box-shadow .25s ease
}
.feature-card:hover{
    transform:translateY(-6px);
    box-shadow:0 22px 46px rgba(0,0,0,.15);
    animation:bounce .5s ease
}
.feature-card .icon{
    width:44px;
    height:44px;
    border-radius:12px;
    border: 1px solid var(--muted);
    display:inline-grid;
    place-items:center;
    background:#fff;
    color:#829900;
    font-weight:800
}

.story-card{
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:transform .25s ease, box-shadow .25s ease;
    min-height: 100%;

}
.story-card:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 50px rgba(0,0,0,.16);
    animation:bounce .5s ease
}
.story-card img {
    height: 200px;
    object-fit: cover;
}

.cta-gradient{
    color:#fff;
    background:linear-gradient(160deg,var(--brand-700),var(--brand) 60%,var(--brand-600))
}

.contact-card{
    background:#fff;
    border-radius:20px;
    box-shadow:var(--shadow);
    padding:24px
}
.site-footer{
    color:#cfe5ff;
    background: linear-gradient(
        160deg,
        var(--brand),
        var(--brand-600) 60%,
        var(--brand-700)
        );
    padding-top:60px
}
.site-footer a{
    color:#eaf3ff
}
.logo-grid img{
    height:34px;
    width:auto;
    filter:grayscale(100%);
    opacity:.95
}
.link-light{
    color:#fff !important
}
.logo-white {
    background: transparent !important;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.2s ease, filter 0.2s ease;
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.trusted-logos .col-6 {
    display:flex;
    justify-content:center;
    align-items:center;
}
@media (min-width: 768px) {
    .trusted-logos .col-md-3,
    .trusted-logos .col-lg-2 {
        flex: 0 0 170px;
        max-width: 170px;
    }
}
.logo-white:hover {
    opacity: 1;
}
.footer-text:hover{
    color:#e6e6e6 !important;
    transition: color 0.2s ease;

}

/* ===================== SCROLL TO TOP ===================== */
.scroll-top{
    position:fixed;
    bottom:28px;
    right:28px;
    z-index:1050;
    width:48px;
    height:48px;
    border-radius:50%;
    border:none;
    outline:none;
    background:var(--brand);
    color:#fff;
    display:grid;
    place-items:center;
    box-shadow:0 6px 16px rgba(0,0,0,.2);
    font-size:22px;
    cursor:pointer;
    opacity:0;
    transform:translateY(12px);
    pointer-events:none;
    transition:opacity .3s ease, transform .3s ease, background .2s ease;
}
.scroll-top:hover{
    background:var(--brand-600);
    transform:translateY(6px)
}
.scroll-top.show{
    opacity:1;
    transform:none;
    pointer-events:auto
}
#contact {
    scroll-margin-top: 80px; /* height of navbar */
}

/* White background behind the navbar logo */
.brand-logo-wrapper{
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;

}

/* Your existing .brand-logo can stay; these sizes are safe */
.brand-logo{
    width:200px;
    height:40px;
    object-fit:contain;
    display:inline-block;
    border-radius:8px; /* optional: rounds image corners inside the wrapper */
}

/* Responsive tweak for smaller screens */
@media (max-width:768px){
    .brand-logo{
        width:140px;
        height:auto;
    }
    .brand-logo-wrapper{
        padding:3px 5px;
        border-radius:6px;
    }
}

.accordion-button:not(.collapsed) {
    color: var(--brand);
    background-color: transparent;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}
.accordion-button::after {
    background-size: 1rem;
    opacity: 0.6;
    transition: all 0.3s;
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563EB'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.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");
    transform: rotate(-180deg);
}

.logo-grid {
    justify-content: center;
}

.logo-item {
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* Card style */
.custom-card {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* blurred shadow */
    margin: 0 auto;
    max-width: 450px;
    width: 100%;
}

/* Iframe container ratio */
.custom-ratio {
    --bs-aspect-ratio: 65%; /* smaller iframe */
}

/* Iframe style */
.custom-iframe {

    /* width: 350px;
    height: 250px; */
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#caseTabs {
    scrollbar-width: none;
}
#caseTabs::-webkit-scrollbar {
    display: none;
}

.req-star{
    color:#dc3545;
    font-weight:600;
}

.form-check .invalid-feedback{
    display:block;
}
