/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

/* Mobile: refine hero and make highlight a swipeable slider */
@media (max-width: 575.98px) {
  #carouselId .carousel-item { min-height: 60vh; }
  #carouselId .carousel-item img { height: 60vh; object-fit: cover; }
  #carouselId .carousel-item h1 { font-size: 22px !important; line-height: 1.15; margin-bottom: 8px !important; }
  #carouselId .carousel-item p { font-size: 12px !important; }
  #carouselId .carousel-caption .carousel-content { padding: 10px 12px; }
  .carousel-caption .carousel-content .btn { padding: 7px 12px; font-size: 13px; }

  /* Highlight becomes horizontal slider */
  .usp-strip .row { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .usp-strip .row::-webkit-scrollbar { display: none; }
  .usp-strip [class^="col-"], .usp-strip [class*=" col-"] { flex: 0 0 auto; width: auto; }
  .usp-strip .usp-card { min-width: 200px; scroll-snap-align: start; }
}

/* Desktop: hero + highlight within one screen, with improved hero UX */
@media (min-width: 992px) {
  #carouselId .carousel-item { min-height: 64vh; }
  #carouselId .carousel-item img { height: 64vh; object-fit: cover; }
  #carouselId .carousel-item h1 { font-size: clamp(30px, 3.6vw, 46px) !important; line-height: 1.12; margin-bottom: 12px !important; }
  #carouselId .carousel-item p { font-size: 16px !important; max-width: 720px; margin-bottom: 14px !important; }
  .carousel-caption .carousel-content { padding-top: 8px; padding-bottom: 8px; }
  .carousel-caption .carousel-content .btn { padding: 8px 16px; font-size: 15px; }
  .usp-strip { padding-top: 6px !important; padding-bottom: 6px !important; }
  .usp-strip .counter { padding: 10px 12px; }
  .usp-strip .row { row-gap: 12px; }
}

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/

/* Brand theme overrides */
:root {
    --bs-primary: #040681;
    --bs-secondary: #e74b1d;
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-font-sans-serif: 'Inter', sans-serif;
}

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

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

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 8s linear infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from { left: 100%; }
    to { left: -100%; }
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 8px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 12px 16px;
    color: #111111;
    font-size: 18px;
    outline: none;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: var(--bs-secondary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #111111 !important;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .navbar-nav .nav-link:hover {
    background: rgba(4, 6, 129, 0.06);
    border-radius: 10px;
}

.navbar .navbar-brand img {
    height: 48px;
}

@media (max-width: 576px) {
    .navbar .navbar-brand img {
        height: 38px;
    }
}

.navbar .nav-cta {
    margin-left: 12px;
}

.navbar .nav-cta .btn-brand {
    padding: 10px 20px;
    box-shadow: 0 10px 22px rgba(4, 6, 129, 0.18);
    transition: transform .15s ease, box-shadow .2s ease;
}
.navbar .nav-cta .btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(4, 6, 129, 0.24);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/*** Navbar End ***/

.nav-elevated {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    backdrop-filter: saturate(140%);
}

/* Modern navbar polish */
.navbar-modern { background: rgba(255,255,255,.85); backdrop-filter: blur(10px) saturate(140%); border-bottom: 1px solid #e5e7eb; }
.navbar-modern-inner { padding: 10px 0; }
.navbar-modern .navbar-brand img { height: 46px; transition: transform .2s ease; }
.navbar-modern .navbar-brand img:hover { transform: scale(1.03); }
.navbar-modern .navbar-nav .nav-link { position: relative; padding: 12px 16px 12px 16px; border-radius: 12px; color: #0f172a; font-weight: 600; margin-right: 20px; }
.navbar-modern .navbar-nav .nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.navbar-modern .navbar-nav .nav-link:hover { background: transparent; color: #0f172a; }
.navbar-modern .navbar-nav .nav-link:hover::after, .navbar-modern .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-modern .navbar-nav .nav-link.active { background: transparent; border: 0; box-shadow: none; color: #0f172a; }
.navbar-modern.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 10px 24px rgba(0,0,0,.06); border-bottom-color: #e2e8f0; }
.navbar-modern.is-scrolled .navbar-modern-inner { padding: 6px 0; transition: padding .2s ease; }
.navbar-modern.is-scrolled .navbar-brand img { height: 40px; }
.navbar-modern .nav-shell { display: inline-flex; align-items: center; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; }
.navbar-modern .nav-shell { margin-right: 18px !important; }
.navbar-modern .nav-shell { margin: 0 auto; }
.navbar-modern .nav-shell .navbar-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.navbar-modern .nav-shell .nav-link { margin: 0; padding: 12px 18px; background: transparent; }
/* .navbar-modern .navbar-nav .nav-link.active { background: linear-gradient(135deg, rgba(4,6,129,.22), rgba(231,75,29,.18)); border: 1px solid rgba(4,6,129,.30); box-shadow: 0 10px 26px rgba(4,6,129,.18); color: #0b1220; } */
@media (max-width: 991.98px) {
  .navbar-modern-inner { padding: 6px 0; }
  .navbar-modern .navbar-collapse { background: rgba(255,255,255,.96); border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
}

/* Hide home slider dots */
#carouselId .carousel-indicators { display: none !important; }
@media (max-width: 991.98px) {
  .navbar-modern-inner { padding: 6px 0; }
  .navbar-modern .navbar-collapse { background: rgba(255,255,255,.96); border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
}

.navbar-modern .nav-cta .btn-brand { box-shadow: 0 12px 26px rgba(4,6,129,.20); }
.navbar-modern .nav-cta .btn-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(4,6,129,.25); }
@media (max-width: 991.98px) {
  .navbar-modern-inner { padding: 6px 0; }
  .navbar-modern .navbar-collapse { background: rgba(255,255,255,.96); border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
}


/*** Carousel Start ***/

#carouselId .carousel-item {
    position: relative;
}

#carouselId .carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background:
      linear-gradient(90deg, rgba(4,6,129,.55), rgba(0,0,0,.45) 35%, rgba(0,0,0,.30) 70%, rgba(0,0,0,.15));
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

/* Always cover: ensure hero images fill and crop nicely */
#carouselId .carousel-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Clean modern panel for hero text (no blur) */
#carouselId .carousel-caption .carousel-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(17, 24, 39, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 22px 28px;
    box-shadow: 0 18px 34px rgba(0,0,0,.22);
    position: relative;
    overflow: hidden;
}
#carouselId .carousel-caption .carousel-content::before {
    content: "";
    position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--bs-secondary), rgba(231,75,29,.4));
}

/* Refined typography in hero */
#carouselId .carousel-caption .carousel-content { text-align: center; }
#carouselId .carousel-caption h6 { color: #f3f4f6; letter-spacing: .5px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
#carouselId .carousel-caption h1 { text-shadow: 0 2px 8px rgba(0,0,0,.35); }
#carouselId .carousel-caption p { color: #e5e7eb; margin-left: auto; margin-right: auto; }

/* Modern circular nav arrows (scoped to home slider) */
#carouselId .carousel-control-prev,
#carouselId .carousel-control-next {
    width: 48px; height: 48px;
    top: 50%; transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    opacity: .95;
}
#carouselId .carousel-control-prev { left: 16px; }
#carouselId .carousel-control-next { right: 16px; }
#carouselId .carousel-control-prev:hover,
#carouselId .carousel-control-next:hover { background: #f8fafc; border-color: #d1d5db; }
#carouselId .carousel-control-prev-icon,
#carouselId .carousel-control-next-icon { filter: invert(20%); }

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    #carouselId .carousel-item {
        min-height: 500px;
    }
    
    #carouselId .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    #carouselId .carousel-item h1 {
        font-size: 40px !important;
    }

    #carouselId .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    #carouselId .carousel-item {
        min-height: 400px;
    }
    
    #carouselId .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    #carouselId .carousel-item h1 {
        font-size: 28px !important;
    }

    #carouselId .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/nextventure/breadcrumb-nextventure.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** Services Start ***/

.services .services-item {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 24px 0;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(4, 6, 129, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}


/* Remove old overlay effect and use hover lift */
.services-content::after { display: none; }

.services-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(4, 6, 129, 0.12);
    border-color: rgba(231, 75, 29, 0.25);
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .3s;
}

.services-item .services-content-icon i {
    font-size: 56px !important;
    color: var(--bs-primary);
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item .btn {
    border-radius: 999px;
    padding: 10px 22px;
    box-shadow: 0 6px 16px rgba(231, 75, 29, 0.25);
}

.services-item .btn:hover {
    box-shadow: 0 10px 24px rgba(4, 6, 129, 0.2);
}

/* Soften default services cards outside homepage */
.services:not(.services-parallax) .services-item { box-shadow: 0 6px 16px rgba(0,0,0,.06); border: 1px solid rgba(4,6,129,.08); }
.services:not(.services-parallax) .services-item:hover { transform: none; box-shadow: 0 8px 18px rgba(0,0,0,.08); border-color: rgba(4,6,129,.12); }

/* Enhanced Services card elements */
.services .chip {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(4,6,129,.10);
    color: var(--bs-primary);
    box-shadow: inset 0 0 0 1px rgba(4,6,129,.18);
    font-size: 20px;
}
.services .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.services .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0;
    color: #374151;
}
.services .feature-list li i {
    color: var(--bs-secondary);
    margin-top: 3px;
}
.services .feature-list li span { flex: 1; }
.services .services-content p { color: #4b5563; }
.services .services-content h4 { font-weight: 700; }

  /* Alternating service sections */
  .services .service-section { padding: 44px 0; }
  .services .service-section + .service-section { border-top: 1px solid #e5e7eb; margin-top: 8px; }
  .services .service-section.alt { background: linear-gradient(90deg, rgba(4,6,129,.035), rgba(231,75,29,.035)); border: 1px solid #e5e7eb; border-radius: 16px; padding: 48px 28px; }
  .services .service-media img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 44px rgba(4,6,129,.12); }
  .services .service-body { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 24px 24px; box-shadow: 0 18px 44px rgba(0,0,0,.08); position: relative; }
  .services .service-body::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary)); }
  .services .service-body h3 { font-weight: 800; letter-spacing: -.2px; margin-bottom: 8px; }
  .services .service-body .chip { width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(4,6,129,.12), rgba(4,6,129,.05)); color: var(--bs-primary); box-shadow: inset 0 0 0 1px rgba(4,6,129,.18); font-size: 22px; }
  .services .feature-list { margin-top: 10px; }
  .services .feature-list li { gap: 12px; margin: 10px 0; }
  .services .feature-list li i { width: 22px; height: 22px; border-radius: 50%; background: rgba(231,75,29,.12); color: var(--bs-secondary); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 3px; }
  @media (max-width: 991.98px) {
      .services .service-section { padding: 28px 0; }
      .services .service-section.alt { padding: 28px 18px; }
      .services .service-body { margin-top: 6px; }
  }

  /* Homepage Services parallax */
  .services-parallax { position: relative; overflow: hidden; }
  .services-parallax .parallax-bg { position: absolute; inset: 0; z-index: 1; background: radial-gradient(1200px 600px at -10% -20%, rgba(4,6,129,.12), transparent 40%), radial-gradient(1000px 500px at 110% 120%, rgba(231,75,29,.10), transparent 45%), linear-gradient(180deg, rgba(4,6,129,.04), rgba(231,75,29,.04)); background-attachment: fixed; }
  .services-parallax .container { position: relative; z-index: 2; }
  .services-parallax .services-inner { perspective: 800px; }
  .services-parallax .parallax-item { will-change: transform; transition: transform .3s ease-out, box-shadow .3s ease; border: 1px solid rgba(4,6,129,.08); box-shadow: 0 12px 28px rgba(4,6,129,.10); border-radius: 16px; background: #fff; }
  .services-parallax .parallax-item:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(4,6,129,.16); }
  .services-parallax .services-content-icon .svc-icon { width: 88px; height: 88px; display: inline-flex; align-items: center; justify-content: center; border-radius: 18px; background: linear-gradient(135deg, rgba(4,6,129,.12), rgba(231,75,29,.10)); box-shadow: inset 0 0 0 1px rgba(4,6,129,.15), 0 8px 20px rgba(0,0,0,.08); color: var(--bs-primary); }
  .services-parallax .services-content-icon .svc-icon i { font-size: 36px; }
  @media (min-width: 992px) {
    .services-parallax .col-lg-4:nth-child(1) .parallax-item { margin-top: 10px; }
    .services-parallax .col-lg-4:nth-child(2) .parallax-item { margin-top: -10px; }
    .services-parallax .col-lg-4:nth-child(3) .parallax-item { margin-top: 20px; }
    .services-parallax .col-lg-4:nth-child(4) .parallax-item { margin-top: 10px; }
    .services-parallax .col-lg-4:nth-child(5) .parallax-item { margin-top: -10px; }
    .services-parallax .col-lg-4:nth-child(6) .parallax-item { margin-top: 20px; }
  }
  @media (max-width: 991.98px) {
    .services-parallax .parallax-bg { background-attachment: scroll; opacity: .95; }
    .services-parallax .parallax-item { margin-top: 0; }
  }

/*** Services End ***/


/*** Testimonials Start ***/
.testimonials {
    background: #ffffff;
}
.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(4, 6, 129, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.testimonial-quote {
    font-size: 18px;
    color: #374151;
}
.testimonial-header i {
    width: 30px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    /* background: rgba(4,6,129,.08); */
    color: var(--bs-primary);
}
.testimonial-author img {
    width: 56px; height: 56px; object-fit: cover;
}
.testimonial-author .name { font-weight: 700; }
.testimonial-author .role { color: #6b7280; font-size: 14px; }
.testimonial-stars i { color: #f59e0b; }

/* carousel indicators for testimonials */
.testimonials .carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%;
    background-color: #cbd5e1;
}
.testimonials .carousel-indicators .active { background-color: var(--bs-secondary); }
.testimonials .carousel-control-prev,
.testimonials .carousel-control-next {
    width: 48px; height: 48px; top: 50%; transform: translateY(-50%);
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 999px; opacity: .95;
    z-index: 3;
}
.testimonials .carousel-control-prev:hover,
.testimonials .carousel-control-next:hover { background: #f8fafc; }

/* Dark icons for controls so they are visible on light buttons */
.testimonials .carousel-control-prev-icon,
.testimonials .carousel-control-next-icon {
    filter: invert(20%);
}

.testimonials .carousel-indicators { z-index: 3; }
/*** Testimonials End ***/

/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}
/*** Blog End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #ffffff;
}

.contact-form {
    background: #ffffff;
    border: 1px solid rgba(4, 6, 129, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.contact-form h4 { color: var(--bs-primary); }

.form-control, .form-select, textarea.form-control {
    border: 1px solid #e5e7eb;
    background-color: #f8fafc;
}

.form-control:focus, .form-select:focus, textarea.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .2rem rgba(4, 6, 129, 0.12);
    background-color: #ffffff;
}

/* Floating labels */
.form-floating > .form-control,
.form-floating > textarea.form-control {
    padding: 1.2rem .9rem .4rem .9rem;
    height: auto;
    min-height: 56px;
}

.form-floating > label {
    color: #6b7280;
    padding: .85rem .9rem;
}

.form-floating textarea.form-control { min-height: 140px; }

/* Buttons */
.btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary { background: var(--bs-secondary); border-color: var(--bs-secondary); }
.btn-secondary:hover { filter: brightness(1.05); }

/* Brand gradient button for key actions */
.btn-brand {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    border: 0;
}
.btn-brand:hover {
    filter: brightness(1.03);
}

/* Contact form accent strip */
.contact-form.with-accent {
    position: relative;
}
.contact-form.with-accent::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
}

/*** Contact End ***/


/*** Footer Start ***/

.site-footer {
    background: #f8fafc;
}
.site-footer .footer-title {
    color: var(--bs-primary);
    font-weight: 700;
}
.site-footer p,
.site-footer a { color: #4b5563; }
.site-footer a:hover { color: var(--bs-primary); }

.site-footer .social a {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #e5e7eb; border-radius: 999px; margin-right: 8px;
    transition: all .2s ease;
}
.site-footer .social a:hover { border-color: var(--bs-primary); background: rgba(4,6,129,.06); }

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a { transition: .3s; }
.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover { letter-spacing: .5px; }

.site-footer .footer-newsletter .form-control {
    background: #fff;
    border: 1px solid #e5e7eb;
    height: 48px;
}
.site-footer .footer-newsletter .btn {
    height: 48px;
}

.footer-bottom {
    background: #f1f5f9;
    border-top: 1px solid #e5e7eb;
}

/*** Footer End ***/

/*** About Enhancements Start ***/
.about-badges .badge {
    background: #eef2ff;
    color: var(--bs-primary);
    border: 1px solid rgba(4,6,129,.15);
}

.card-soft {
    background: #ffffff;
    border: 1px solid rgba(4, 6, 129, 0.08);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(4,6,129,.08);
}
.card-soft .icon { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: linear-gradient(135deg, rgba(4,6,129,.12), rgba(4,6,129,.04)); color: var(--bs-primary); box-shadow: inset 0 0 0 1px rgba(4,6,129,.15); }

.card-gradient {
    position: relative;
}
.card-gradient::before {
    content: "";
    position: absolute; inset: 0; border-radius: 16px; padding: 1px;
    background: linear-gradient(135deg, rgba(4,6,129,.25), rgba(4,6,129,.05));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.card-accent-left { position: relative; }
.card-accent-left::after { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--bs-primary), rgba(4,6,129,.35)); }
.hover-lift { transition: transform .2s ease, box-shadow .2s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.08); }

.section-subtitle { color: #6b7280; }
.section-subtitle.small { font-size: 14px; }
.split-light { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }

/* Mission / Vision premium card */
.mv-card { position: relative; overflow: hidden; }
.mv-card { background: radial-gradient(1200px 600px at -20% -40%, rgba(4,6,129,.06), transparent 50%), #ffffff; }
.mv-card .icon { width: 60px; height: 60px; border-radius: 16px; }
.mv-card h3 { font-weight: 800; }
.mv-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(4,6,129,.08), transparent 60%); }


.steps {
    position: relative;
}
.steps::before {
    content: "";
    position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(180deg, rgba(4,6,129,.15), rgba(4,6,129,.05)); transform: translateX(-50%);
}
@media (max-width: 992px) {
    .steps::before { display: none; }
}
.step-item { position: relative; }
.step-item .step-number { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #eef2ff; border: 2px solid var(--bs-primary); color: var(--bs-primary); font-weight: 700; }
.step-item .chip { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(4,6,129,.10); color: var(--bs-primary); }
.step-body { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; }
.step-body { transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease; }
.step-body:hover { border-color: rgba(4,6,129,.35); box-shadow: 0 16px 36px rgba(4,6,129,.12); transform: translateY(-4px); background-color: #ffffff; }

.values .value-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(231,75,29,.1); color: var(--bs-secondary);
}
.value-card { transition: transform .2s ease, box-shadow .2s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(4,6,129,.12); }

.about-cta {
    background: linear-gradient(90deg, rgba(4,6,129,.05), rgba(231,75,29,.05));
    border: 1px solid #e5e7eb; border-radius: 16px;
}
/*** About Enhancements End ***/

/*** How It Works – Custom Rail ***/

/*** About Section Polish ***/
.about-section .row.g-5 { align-items: center; }
.about-section .about-content { max-width: 720px; }
.about-section .lead { color: #4b5563; }
.about-section h1 { line-height: 1.15; letter-spacing: -.2px; }
.about-section .btn { margin-top: 6px; }

.about-media { position: relative; }
.about-media .img-1 { border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.about-media .img-2 { border-radius: 16px; box-shadow: 0 16px 40px rgba(4,6,129,.15); border: 6px solid #fff; }
.about-media .img-1 { margin-bottom: 24%; }
.about-media .img-2 { margin-bottom: 0; }

.about-features .item { display: flex; align-items: flex-start; gap: 10px; }
.about-features .item i { color: var(--bs-secondary); }
.about-features .item span { color: #111827; }
.about-features > [class*="col-"] { display: flex; }

.about-features > [class*="col-"] > div { flex: 1; }

/* Simplify and align About features into a clean grid */
@media (min-width: 768px) {
  .about-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 10px; }
  .about-features > [class*="col-"] { width: auto; padding: 0; display: block; }
}
.about-features .d-flex { gap: 10px; }
.about-features .d-flex i { color: var(--bs-secondary); font-size: 14px; line-height: 1; margin-top: 6px; }
.about-section .about-content { max-width: 680px; }

/* About feature icon badge and title */
.icon-badge { width: 40px; height: 40px; min-width: 40px; min-height: 40px; flex: 0 0 40px; aspect-ratio: 1 / 1; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #eef2ff; color: var(--bs-primary); box-shadow: inset 0 0 0 2px rgba(4,6,129,.15); font-size: 16px; }
.icon-badge i { line-height: 1; }
.about-feature-title { font-weight: 600; color: #111827; }
/* Circular variant */
.icon-badge.round { border-radius: 50%; }

@media (max-width: 991.98px) {
  .about-section .about-content { max-width: 100%; }
}

.how-rail { position: relative; }
.how-rail::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, rgba(4,6,129,.18), rgba(4,6,129,.06)); transform: translateX(-50%);
  border-radius: 3px;
}
.how-item { display: flex; align-items: center; gap: 18px; margin: 18px 0; }
.how-item.right { flex-direction: row-reverse; }
.how-icon { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: rgba(4,6,129,.08); color: var(--bs-primary); box-shadow: inset 0 0 0 1px rgba(4,6,129,.16); z-index: 2; }
.how-box {
  flex: 1; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 18px 22px;
  box-shadow: 0 10px 24px rgba(4,6,129,.08); position: relative;
}
.how-item .how-box::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; background: #fff; border-left: 1px solid #e5e7eb; border-top: 1px solid #e5e7eb; transform: translateY(-50%) rotate(45deg); }
.how-item:not(.right) .how-box::after { left: -7px; }
.how-item.right .how-box::after { right: -7px; transform: translateY(-50%) rotate(225deg); }
.how-step { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #eef2ff; color: var(--bs-primary); font-weight: 700; box-shadow: inset 0 0 0 2px rgba(4,6,129,.25); margin-bottom: 8px; }
.how-title { font-weight: 700; margin: 0 0 6px 0; }
.how-desc { margin: 0; color: #4b5563; }
.how-item .how-box { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.how-item .how-box:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(4,6,129,.12); border-color: rgba(4,6,129,.25); }
@media (max-width: 992px) {
  .how-rail::before { left: 32px; transform: none; }
  .how-item, .how-item.right { flex-direction: row; }
}

/* Highlight/USP strip (scoped) */
.usp-strip { background: linear-gradient(90deg, rgba(4,6,129,.85), rgba(231,75,29,.85)); }
.usp-strip .row { row-gap: 16px; }
.usp-strip .counter { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 10px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; box-shadow: 0 10px 24px rgba(0,0,0,.10); }
@media (min-width: 992px) { .usp-strip .counter { padding: 10px 18px; } }
.usp-strip .counter:hover { transform: translateY(-3px); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.28); box-shadow: 0 16px 36px rgba(0,0,0,.14); }
.usp-strip .counter h1 { color: #fff !important; font-weight: 800; line-height: 1; margin: 0; font-size: 42px; }
.usp-strip .counter h5 { color: #f8fafc !important; font-weight: 500; margin: 0; line-height: 1.25; }
@media (max-width: 575.98px) { .usp-strip .counter h1 { font-size: 36px; } }

/* Alerts – ensure clear type colors */
.alert { border-radius: 12px; padding: 12px 16px; border-width: 1px; }
.alert a { color: inherit; text-decoration: underline; }
.alert .btn-close { box-shadow: none; filter: none; opacity: .6; }

/* Brand variants */
.alert-primary { background: rgba(4,6,129,.08); border: 1px solid rgba(4,6,129,.35); color: var(--bs-primary); }
.alert-secondary { background: rgba(231,75,29,.10); border: 1px solid rgba(231,75,29,.35); color: var(--bs-secondary); }

/* Standard semantic variants */
.alert-success { background: rgba(16,185,129,.10); border: 1px solid rgba(5,150,105,.35); color: #047857; }
.alert-danger { background: rgba(239,68,68,.10); border: 1px solid rgba(220,38,38,.35); color: #b91c1c; }
.alert-warning { background: rgba(245,158,11,.12); border: 1px solid rgba(217,119,6,.38); color: #92400e; }
.alert-info { background: rgba(59,130,246,.10); border: 1px solid rgba(3,105,161,.35); color: #075985; }