/*** 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) {
  /* Hero height – full screen on mobile */
  #carouselId .carousel-item { min-height: 100svh; min-height: 100vh; }
  #carouselId .carousel-item img { height: 100vh; height: 100svh; object-fit: cover; object-position: center top; }

  /* Caption: bottom-left on mobile */
  .carousel-caption {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 2rem;
  }

  /* Content box – minimal, no border/glass box on mobile */
  #carouselId .carousel-caption .carousel-content {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    max-width: 100%;
    margin: 0;
    text-align: left;
  }
  #carouselId .carousel-caption .carousel-content::before { display: none; }

  /* Mobile: hide subheading, paragraph, and button — only heading */
  #carouselId .carousel-caption h6 { display: none !important; }
  #carouselId .carousel-caption p { display: none !important; }
  #carouselId .carousel-caption a { display: none !important; }

  /* Heading only – bold and clean */
  #carouselId .carousel-caption h1 {
    font-size: 1.75rem !important;
    line-height: 1.18 !important;
    margin-bottom: 0 !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.55);
  }

  /* Nav arrows – hide on small phones */
  #carouselId .carousel-control-prev,
  #carouselId .carousel-control-next { display: none; }

  /* Highlight becomes horizontal slider */
  .usp-strip .row { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; 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 .counter { min-width: 180px; scroll-snap-align: start; }
}

/* ============================================================
   NEW HERO SECTION  (.nv-hero)
   ============================================================ */
.nv-hero {
    background:
        radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px),
        radial-gradient(circle, rgba(232,64,51,.07) 1px, transparent 1px),
        linear-gradient(135deg, #0f1623 0%, #1a2035 55%, #111827 100%);
    background-size: 28px 28px, 56px 56px, 100% 100%;
    background-position: 0 0, 14px 14px, 0 0;
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative radial blobs */
.nv-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.nv-hero-blob--1 {
    width: 560px; height: 560px;
    top: -180px; right: -120px;
    background: radial-gradient(circle, rgba(232,64,51,.18) 0%, transparent 70%);
}
.nv-hero-blob--2 {
    width: 380px; height: 380px;
    bottom: -140px; left: 38%;
    background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
}

/* Inner wrapper */
.nv-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 32px;
    display: flex;
    align-items: center;
    gap: 64px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* LEFT content */
.nv-hero-content { flex: 1; min-width: 0; }

.nv-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(232,64,51,.15);
    color: #FF5A4A;
    border: 1px solid rgba(232,64,51,.35);
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    margin-bottom: 22px;
}

.nv-hero-title {
    font-size: clamp(34px, 5vw, 66px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -.5px;
}
.nv-accent { color: #E84033; }

.nv-hero-desc {
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.75;
    max-width: 490px;
    margin-bottom: 34px;
}

/* CTA buttons */
.nv-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.nv-btn-primary {
    background: #E84033;
    color: #fff;
    border: none;
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 6px 20px rgba(232,64,51,.38);
}
.nv-btn-primary:hover {
    background: #C0392B;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(232,64,51,.45);
}
.nv-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.35);
    padding: 13px 34px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.nv-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,.1);
    color: #fff;
}

/* Stats strip */
.nv-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    padding: 16px 28px;
}
.nv-stat { text-align: center; }
.nv-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #FF5A4A;
    line-height: 1;
    margin-bottom: 4px;
}
.nv-stat-lbl {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}
.nv-stat-divider {
    width: 1px;
    height: 42px;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}

/* RIGHT image */
.nv-hero-media {
    flex: 0 0 46%;
    max-width: 46%;
    position: relative;
}
.nv-hero-img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,.35);
}
.nv-hero-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 24px;
}

/* Floating badge (bottom-left of image) */
.nv-hero-float-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.nv-float-icon {
    width: 38px; height: 38px;
    background: #E84033;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}
.nv-hero-float-badge strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}
.nv-hero-float-badge span {
    font-size: 11px;
    color: #6b7280;
}

/* Floating pill (top-right of image) */
.nv-hero-float-pill {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #E84033;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 16px rgba(232,64,51,.4);
    white-space: nowrap;
}

/* === Tablet === */
@media (max-width: 991.98px) {
    .nv-hero { min-height: auto; width: 100%; overflow-x: hidden; }
    .nv-hero-inner { flex-direction: column; gap: 36px; padding: 52px 28px 44px; width: 100%; box-sizing: border-box; }
    .nv-hero-media { max-width: 100%; width: 100%; flex: none; }
    .nv-hero-img { height: 340px; }
    .nv-hero-title { font-size: clamp(28px, 6vw, 46px); }
    .nv-hero-desc { max-width: 100%; }
    .nv-hero-stats { flex-wrap: wrap; }
}

/* === Mobile === */
@media (max-width: 575.98px) {
    /* Hero wrapper */
    .nv-hero {
        width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Inner wrapper */
    .nv-hero-inner {
        padding: 40px 24px 36px !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* Content block */
    .nv-hero-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        transform: none !important;
        animation: none !important;
        overflow: visible !important;
    }

    /* Stats — force full width, no scroll, all 3 visible */
    .nv-hero-stats {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        display: flex !important;
        justify-content: space-between !important;
        padding: 14px 12px !important;
        box-sizing: border-box !important;
    }
    .nv-stat { flex: 1 !important; text-align: center !important; min-width: 0 !important; }
    .nv-stat-divider { width: 1px !important; flex-shrink: 0 !important; }

    .nv-hero-media {
        transform: none !important;
        animation: none !important;
    }

    /* Badge */
    .nv-hero-badge { font-size: 11px; padding: 5px 13px; margin-bottom: 14px; max-width: 100%; }

    /* Heading — clear sizing, no overflow */
    .nv-hero-title {
        font-size: 28px;
        line-height: 1.18;
        letter-spacing: -.2px;
        margin-bottom: 14px;
        word-break: break-word;
        max-width: 100%;
    }

    /* Paragraph */
    .nv-hero-desc {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 22px;
        max-width: 100%;
    }

    /* Buttons — full width, stacked */
    .nv-hero-actions { flex-direction: column; gap: 10px; margin-bottom: 24px; }
    .nv-btn-primary, .nv-btn-outline {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
        display: block;
        box-sizing: border-box;
    }

    /* Stats — all 3 fit in one row equally */
    .nv-hero-stats {
        display: flex;
        flex-wrap: nowrap;
        overflow: visible;
        gap: 0;
        padding: 14px 12px;
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
        align-items: center;
    }
    .nv-stat { flex: 1; text-align: center; padding: 0 4px; min-width: 0; }
    .nv-stat-num { font-size: 22px; white-space: nowrap; }
    .nv-stat-lbl { font-size: 9px; white-space: nowrap; }
    .nv-stat-divider { width: 1px; height: 36px; flex-shrink: 0; }

    /* Image */
    .nv-hero-img { height: 220px; border-radius: 16px; }
    .nv-hero-img-wrap { border-radius: 16px; }

    /* Floating elements */
    .nv-hero-float-badge { display: none; }
    .nv-hero-float-pill { font-size: 10px; padding: 5px 11px; top: 10px; right: 10px; }

    /* Blobs */
    .nv-hero-blob--1 { width: 220px; height: 220px; top: -80px; right: -60px; }
    .nv-hero-blob--2 { display: none; }
}
/* ============================================================ */

/* ============================================================
   PARTNERS MARQUEE SECTION
   ============================================================ */

.partners-section {
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 52px 0 48px;
    overflow: hidden;
}

/* Header */
.partners-header {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 36px;
}
.partners-label {
    display: inline-block;
    background: rgba(232,64,51,.08);
    color: #E84033;
    border: 1px solid rgba(232,64,51,.25);
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.partners-title {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.2;
}
.partners-sub {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* Track wrapper — clips overflow, holds fade overlays */
.partners-track-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Soft fade on left & right edges */
.partners-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.partners-fade--left  { left: 0;  background: linear-gradient(to right,  #f8f9fa 0%, transparent 100%); }
.partners-fade--right { right: 0; background: linear-gradient(to left, #f8f9fa 0%, transparent 100%); }

/* Scrolling track */
.partners-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: partners-scroll 28s linear infinite;
    padding: 8px 0;
}
/* Pause on hover */
.partners-track:hover { animation-play-state: paused; }

/* Scroll keyframe — moves left by exactly 50% (one full set) */
@keyframes partners-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual logo card */
.partner-logo-card {
    flex: 0 0 auto;
    width: 180px;
    height: 90px;
    background: #ffffff;
    border: 1px solid #e5e9f2;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: box-shadow .25s, transform .25s;
    cursor: default;
}
.partner-logo-card:hover {
    box-shadow: 0 6px 20px rgba(232,64,51,.18);
    transform: translateY(-3px);
    border-color: rgba(232,64,51,.3);
}

/* Dark card — for logos with white/invisible text (e.g. pawanputra) */
.partner-logo-card--dark {
    background: #1a2035;
    border-color: #1a2035;
}

/* Logo images */
.partner-logo-card img {
    max-width: 100%;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none;
    transition: filter .25s;
}
/* Subtle grayscale at rest, full color on hover */
.partner-logo-card:not(.partner-logo-card--dark) img {
    filter: grayscale(20%);
}
.partner-logo-card:hover img {
    filter: grayscale(0%);
}

/* Mobile tweaks */
@media (max-width: 575.98px) {
    .partners-section { padding: 36px 0 32px; }
    .partners-header { margin-bottom: 24px; }
    .partners-title { font-size: 20px; }
    .partners-sub { font-size: 13px; }
    .partner-logo-card { width: 140px; height: 72px; padding: 10px 14px; border-radius: 10px; }
    .partner-logo-card img { max-height: 44px; }
    .partners-fade { width: 60px; }
    .partners-track { gap: 14px; animation-duration: 22s; }
}
/* ============================================================ */

/* Tablet: bottom-left caption, partial content box */
@media (min-width: 576px) and (max-width: 991.98px) {
  .carousel-caption { padding-left: 2rem; padding-right: 2rem; padding-bottom: 2.5rem; }
  #carouselId .carousel-caption .carousel-content { max-width: 520px; margin: 0; }
  #carouselId .carousel-caption h1 { font-size: clamp(24px, 4vw, 36px) !important; line-height: 1.15; }
  #carouselId .carousel-caption p { font-size: 14px !important; margin-bottom: 14px !important; }
  .carousel-caption .carousel-content .btn,
  .carousel-caption .carousel-content a button { padding: 9px 18px !important; font-size: 13px !important; }
}

/* 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: #111827;
    --bs-secondary: #E84033;
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-font-sans-serif: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* Override Bootstrap text-primary/secondary to logo colors */
.text-primary { color: #E84033 !important; }
.text-secondary { color: #E84033 !important; }
.bg-primary { background-color: #111827 !important; }
.bg-secondary { background-color: #E84033 !important; }

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(232, 64, 51, 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(232, 64, 51, 0.30);
    transition: transform .15s ease, box-shadow .2s ease;
}
.navbar .nav-cta .btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(232, 64, 51, 0.40);
}

.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(17,24,39,.22), rgba(232,64,51,.18)); border: 1px solid rgba(17,24,39,.30); box-shadow: 0 10px 26px rgba(17,24,39,.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(232,64,51,.30); }
.navbar-modern .nav-cta .btn-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(232,64,51,.40); }
@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(17,24,39,.70), rgba(0,0,0,.45) 40%, rgba(0,0,0,.25) 75%, rgba(0,0,0,.10));
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-left: 3rem;
    padding-right: 2rem;
    padding-bottom: 3rem;
    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: 620px;
    margin: 0;
    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(232,64,51,.4));
}

/* Refined typography in hero */
#carouselId .carousel-caption .carousel-content { text-align: left; }
#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: 465px;
        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(17, 24, 39, 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(17, 24, 39, 0.12);
    border-color: rgba(232, 64, 51, 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(232, 64, 51, 0.25);
}

.services-item .btn:hover {
    box-shadow: 0 10px 24px rgba(17, 24, 39, 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(17,24,39,.08); }
.services:not(.services-parallax) .services-item:hover { transform: none; box-shadow: 0 8px 18px rgba(0,0,0,.08); border-color: rgba(17,24,39,.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(17,24,39,.10);
    color: var(--bs-primary);
    box-shadow: inset 0 0 0 1px rgba(17,24,39,.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(17,24,39,.035), rgba(232,64,51,.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(17,24,39,.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(17,24,39,.12), rgba(17,24,39,.05)); color: var(--bs-primary); box-shadow: inset 0 0 0 1px rgba(17,24,39,.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(232,64,51,.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(17,24,39,.12), transparent 40%), radial-gradient(1000px 500px at 110% 120%, rgba(232,64,51,.10), transparent 45%), linear-gradient(180deg, rgba(17,24,39,.04), rgba(232,64,51,.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(17,24,39,.08); box-shadow: 0 12px 28px rgba(17,24,39,.10); border-radius: 16px; background: #fff; }
  .services-parallax .parallax-item:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(17,24,39,.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(17,24,39,.12), rgba(232,64,51,.10)); box-shadow: inset 0 0 0 1px rgba(17,24,39,.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(17, 24, 39, 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(17,24,39,.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(rgba(255,240,238,.9), rgba(255,248,247,.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(17, 24, 39, 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(17, 24, 39, 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, #E84033 0%, #C0392B 100%);
    border: 0;
}
.btn-brand:hover {
    background: linear-gradient(135deg, #FF5A4A 0%, #E84033 100%);
    filter: brightness(1.02);
}

/* 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-secondary);
    font-weight: 700;
}
.site-footer p,
.site-footer a { color: #4b5563; }
.site-footer a:hover { color: var(--bs-secondary); }

.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-secondary); background: rgba(232,64,51,.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: #FFF0EE;
    color: var(--bs-primary);
    border: 1px solid rgba(17,24,39,.15);
}

.card-soft {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(17,24,39,.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(17,24,39,.12), rgba(17,24,39,.04)); color: var(--bs-primary); box-shadow: inset 0 0 0 1px rgba(17,24,39,.15); }

.card-gradient {
    position: relative;
}
.card-gradient::before {
    content: "";
    position: absolute; inset: 0; border-radius: 16px; padding: 1px;
    background: linear-gradient(135deg, rgba(17,24,39,.25), rgba(17,24,39,.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(17,24,39,.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(17,24,39,.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(17,24,39,.08), transparent 60%); }


.steps {
    position: relative;
}
.steps::before {
    content: "";
    position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(180deg, rgba(17,24,39,.15), rgba(17,24,39,.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: #FFF0EE; 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(17,24,39,.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(17,24,39,.35); box-shadow: 0 16px 36px rgba(17,24,39,.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(232,64,51,.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(17,24,39,.12); }

.about-cta {
    background: linear-gradient(90deg, rgba(17,24,39,.05), rgba(232,64,51,.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(17,24,39,.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: #FFF0EE; color: var(--bs-primary); box-shadow: inset 0 0 0 2px rgba(17,24,39,.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(17,24,39,.18), rgba(17,24,39,.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(17,24,39,.08); color: var(--bs-primary); box-shadow: inset 0 0 0 1px rgba(17,24,39,.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(17,24,39,.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: #FFF0EE; color: var(--bs-primary); font-weight: 700; box-shadow: inset 0 0 0 2px rgba(17,24,39,.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(17,24,39,.12); border-color: rgba(17,24,39,.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, #111827 0%, #E84033 100%); }
.usp-strip .row { row-gap: 16px; align-items: stretch; }
/* Equal-size cards: col takes full height, counter fills it */
.usp-strip [class*="col-"] { display: flex; }
.usp-strip .counter {
    flex: 1;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    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);
    min-height: 80px;
}
.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: 38px; font-variant-numeric: tabular-nums; flex-shrink: 0; min-width: 2.5ch; }
.usp-strip .counter h5 { color: #f8fafc !important; font-weight: 500; margin: 0; line-height: 1.3; font-size: 14px; }
@media (max-width: 575.98px) {
    .usp-strip .counter { min-height: 70px; padding: 12px 14px; gap: 10px; }
    .usp-strip .counter h1 { font-size: 30px; }
    .usp-strip .counter h5 { font-size: 12px; }

    /* Mobile marquee — GPU-accelerated, no flicker */
    .usp-strip .row.usp-marquee-active {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        animation: usp-marquee 18s linear infinite;
        will-change: transform;
        gap: 0;
    }
    .usp-strip .row.usp-marquee-active [class*="col-"] {
        flex: 0 0 auto;
        width: 220px;
        padding: 0 6px;
    }
}

@keyframes usp-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 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(17,24,39,.08); border: 1px solid rgba(17,24,39,.35); color: var(--bs-primary); }
.alert-secondary { background: rgba(232,64,51,.10); border: 1px solid rgba(232,64,51,.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; }


/*** ─── MOBILE RESPONSIVE FIXES ───────────────────────────────────────────── ***/

/* ── Page Header (breadcrumb banner) ── */
@media (max-width: 767.98px) {
  .page-header { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .page-header h1.display-2 { font-size: 2rem !important; margin-bottom: 0.75rem !important; }
  .page-header .breadcrumb-item,
  .page-header .breadcrumb-item a { font-size: 14px; }
}

/* ── About media – fix overlapping images on small screens ── */
@media (max-width: 767.98px) {
  .about-media { height: auto !important; }
  .about-media .img-1 { width: 100% !important; margin-bottom: 0 !important; border-radius: 12px; }
  .about-media .img-2 { display: none; }
  .about-section .row.g-5 > .col-lg-5 { min-height: unset !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .about-media .img-1 { width: 65% !important; margin-bottom: 30% !important; }
  .about-media .img-2 { width: 65% !important; }
}

/* ── About content ── */
@media (max-width: 575.98px) {
  .about-section h1 { font-size: 1.6rem !important; }
  .about-section .lead { font-size: 1rem; }
  .about-badges { gap: 6px !important; }
  .about-features { display: flex !important; flex-direction: column; gap: 10px; }
  .about-features > [class*="col-"] { width: 100% !important; }
}

/* ── Service page – service-section cards ── */
@media (max-width: 767.98px) {
  .services .service-section { padding: 20px 0; }
  .services .service-section.alt { padding: 20px 14px; border-radius: 12px; }
  .services .service-body { padding: 18px 16px; border-radius: 14px; }
  .services .service-media img { border-radius: 12px; margin-bottom: 16px; }
  .services .service-body h3 { font-size: 1.2rem; }
  .services .text-center.mx-auto h1 { font-size: 1.55rem; }
}

/* ── Home services grid ── */
@media (max-width: 575.98px) {
  .services-parallax .services-content-icon .svc-icon { width: 72px; height: 72px; }
  .services-parallax .services-content-icon .svc-icon i { font-size: 28px; }
  .services-item .services-content { padding: 18px 14px !important; }
  .services-item h4 { font-size: 1.05rem; }
  .services-item p { font-size: 0.9rem; }
}

/* ── How It Works rail ── */
@media (max-width: 767.98px) {
  .how-rail::before { display: none; }
  .how-item, .how-item.right { flex-direction: column; align-items: flex-start; gap: 10px; margin: 12px 0; }
  .how-icon { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; }
  .how-box { padding: 14px 16px; border-radius: 14px; }
  .how-item .how-box::after { display: none; }
  .how-title { font-size: 1rem; }
}

/* ── Mission & Vision cards ── */
@media (max-width: 575.98px) {
  .mv-card, .card-soft { padding: 20px 16px !important; }
  .mv-card h3, .card-soft h3 { font-size: 1.15rem; }
}

/* ── Values cards ── */
@media (max-width: 575.98px) {
  .values .value-card { padding: 20px 14px !important; }
  .values .value-icon { width: 48px; height: 48px; }
}

/* ── Testimonials ── */
@media (max-width: 767.98px) {
  .testimonial-card { padding: 20px 18px !important; }
  .testimonial-quote { font-size: 15px; }
  .testimonials .carousel-control-prev,
  .testimonials .carousel-control-next { display: none; }
  .testimonials h1 { font-size: 1.5rem; }
}

/* ── Contact section ── */
@media (max-width: 767.98px) {
  .contact-detail { padding: 16px !important; }
  .contact-detail::before { height: 30%; }
  .contact-map { min-height: 260px; padding: 10px !important; }
  .contact-form { padding: 20px 16px !important; }
  .contact-form h4 { font-size: 1rem; }
}
@media (max-width: 575.98px) {
  .contact-detail .d-flex.bg-light { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-detail .d-flex.bg-light .btn-square { width: 52px !important; height: 52px !important; }
}


/* ── General section headings on mobile (NOT carousel) ── */
@media (max-width: 575.98px) {
  .about-section h1,
  .services h1,
  .testimonials h1,
  .container-fluid:not(#carouselId) > .container h1 { font-size: 1.55rem !important; line-height: 1.2; }
  .container-fluid h2 { font-size: 1.35rem !important; }
  .py-5:not(#carouselId *) { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .my-5 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
}

/* ── Footer ── */
@media (max-width: 767.98px) {
  .site-footer .col-lg-4,
  .site-footer .col-lg-3 { margin-bottom: 24px; }
  .footer-bottom .d-flex { flex-direction: column; gap: 8px; text-align: center; }
}

/*** ─── END MOBILE RESPONSIVE FIXES ─────────────────────────────────────── ***/