/* BTN Technology — Global Styles
   Palette: Sapphire #0F4C81, Electric Blue #1FB6FF, Teal #18A999, Violet #7A6FF0, Amber #F5A524
   Neutrals: Graphite #1E2329, Slate #2B3240, Cloud #F5F7FB
*/
:root {
    --bg: #F5F7FB;
    /* Cloud */
    --text: #1E2329;
    /* Graphite */
    --muted: #6B7280;
    /* Gray-500 */
    --primary: #0F4C81;
    /* Sapphire */
    --primary-600: #0C3E6A;
    /* Darker Sapphire */
    --accent: #1FB6FF;
    /* Electric Blue */
    --teal: #18A999;
    --violet: #7A6FF0;
    --amber: #F5A524;
    --card: #ffffff;
    --shadow: 0 8px 24px rgba(15, 76, 129, .12);
    --radius: 1.25rem;
    --grad-hero: linear-gradient(135deg, rgba(15, 76, 129, .85), rgba(31, 182, 255, .65));
}

html,
body {
    background: var(--bg);
    color: var(--text);
    scroll-behavior: smooth
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6
}

/* Typography tweaks */
.h1,
.h2,
.h3,
.h4,
.h5,
.display-1,
.display-2,
.display-3,
.display-4 {
    letter-spacing: .2px
}

.lead {
    color: #E9F1FF
}

/* Accent text gradient */
.text-gradient {
    background: linear-gradient(90deg, var(--accent), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Navbar */
.navbar {
    backdrop-filter: saturate(140%) blur(6px)
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: .4px
}

/* Buttons */
.btn-brand {
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .75rem 1.25rem;
    box-shadow: var(--shadow)
}

.btn-brand:hover {
    background: var(--primary-600)
}

.btn-ghost {
    border-radius: 999px;
    padding: .75rem 1.25rem;
    border: 2px solid #fff;
    color: #fff
}

/* Cards */
.feature-card {
    background: var(--card);
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    font-size: 22px;
    color: #fff
}

.i-blue {
    background: var(--primary)
}

.i-cyan {
    background: var(--accent)
}

.i-teal {
    background: var(--teal)
}

.i-violet {
    background: var(--violet)
}

.i-amber {
    background: var(--amber)
}

/* Hero */
.hero {
    position: relative;
    margin-top: 64px
}

.hero-video {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1) saturate(1.1);
}


.hero-overlay {
    position: relative;
    z-index: 1;
    background: var(--grad-hero)
}

.hero .content {
    padding: 8rem 0 6rem
}

.kicker {
    color: #E6F4FF;
    text-transform: uppercase;
    letter-spacing: .24em;
    font-weight: 700;
    font-size: .8rem
}

.display-title {
    color: #fff;
    font-weight: 900
}

/* Products */
.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow)
}

.card.product {
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.card.product img {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    object-fit: cover;
    height: 210px
}

.badge-special {
    background: var(--primary)
}

/* Forms */
.pill-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.nav-pills .nav-link {
    border-radius: 999px
}

.banner {
    border-radius: var(--radius)
}

/* Pagination */
.pagination .page-link {
    border-radius: 999px;
    margin: 0 .125rem
}

/* =======================================================
   BTN Web 4.0 — Animated Gradient Footer (Cinematic Glow)
======================================================= */

.site-footer {
    background: linear-gradient(135deg, #0F4C81, #18A999, #1FB6FF, #0F4C81);
    background-size: 400% 400%;
    animation: footerGradientShift 18s ease-in-out infinite;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* soft shimmer highlight layer */
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.08), transparent 70%);
    mix-blend-mode: overlay;
    pointer-events: none;
    animation: shimmerWave 20s linear infinite;
}

@keyframes footerGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmerWave {
    0% {
        transform: translateX(-10%) translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateX(10%) translateY(3%);
        opacity: 0.8;
    }

    100% {
        transform: translateX(-10%) translateY(0);
        opacity: 0.6;
    }
}

/* Footer links and icons remain visible and crisp */
.site-footer a.footer-link {
    color: #E6F4FF;
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
    z-index: 2;
}

.site-footer a.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.social-link {
    color: #E6F4FF;
    font-size: 1.4rem;
    transition: color 0.25s ease, transform 0.25s ease;
    position: relative;
    z-index: 2;
}

.social-link:hover {
    color: var(--amber);
    transform: translateY(-3px) scale(1.05);
}


/* Floating WhatsApp Icon (round, always on top) */
.whatsapp-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, opacity .2s ease;
}

.whatsapp-fab:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .26)
}

.whatsapp-fab svg {
    display: block
}

/* Scroll-to-top button */
.scroll-top {
    position: fixed;
    right: 16px;
    bottom: 84px;
    /* 56px FAB + spacing */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0F4C81;
    color: #fff;
    border: none;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1050;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    display: none;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}

.scroll-top:hover {
    transform: translateY(-2px) scale(1.05)
}

.scroll-top.show {
    display: block;
    opacity: 1
}

/* Utilities */
.rounded-2xl {
    border-radius: 1.25rem
}

.shadow-brand {
    box-shadow: var(--shadow)
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: #fff;
    opacity: .85;
    font-size: .85rem
}

.scroll-cue .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #fff;
    margin-left: 6px;
    animation: bounce 1.4s infinite
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-cue .dot {
        animation: none
    }
}


/* Compare UI (shared) */
.compare-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 -6px 16px rgba(0, 0, 0, .08);
    display: none
}

.compare-bar.show {
    display: block
}

.compare-chip {
    border: 1px dashed rgba(15, 76, 129, .35);
    border-radius: 999px;
    padding: .25rem .5rem;
    font-size: .85rem;
    color: #0F4C81;
    display: inline-flex;
    align-items: center;
    gap: .25rem
}

.compare-chip button {
    border: 0;
    background: transparent;
    line-height: 1
}

.product-compare {
    position: absolute;
    right: .5rem;
    top: .5rem;
    z-index: 2
}

/* ===== Brand Logos strip ===== */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1200px) {
    .logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.logo-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px 14px 10px 14px;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.logo-card .logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    /* keeps them uniform */
    overflow: hidden;
}

.logo-card img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: .9;
    transition: filter .15s ease, opacity .15s ease;
}

.logo-card:hover img {
    filter: none;
    opacity: 1;
}

.logo-card .logo-title {
    margin-top: 10px;
    font-size: .85rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .content {
        padding: 6rem 0 4rem
    }
}

/* Hide FABs on print */
@media print {

    .whatsapp-fab,
    .scroll-top {
        display: none !important;
    }
}


/* Brand Logos grid + modal */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px
}

@media (max-width:1200px) {
    .logo-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media (max-width:992px) {
    .logo-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width:768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

.logo-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 16px 12px;
    text-align: center;
    transition: transform .15s, box-shadow .15s
}

.logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08)
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    overflow: hidden
}

.logo-card img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: .95;
    transition: filter .15s, opacity .15s
}

.logo-card:hover img {
    filter: none;
    opacity: 1
}

.logo-title {
    margin-top: 10px;
    font-size: .9rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

/* === Specials Carousel === */
.specials .card.product img.special-img {
    height: 220px;
    /* consistent image height */
    width: 100%;
    object-fit: cover;
    /* crop uniformly */
}

@media (max-width: 576px) {
    .specials .card.product img.special-img {
        height: 200px;
    }
}

/* Optional: improve carousel transitions & spacing */
.carousel-multi .carousel-item {
    transition: transform .6s ease-in-out;
    /* default is fine; keep smooth */
}

.carousel-multi .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Skeleton shimmer for images */
.skeleton{
  position:relative; overflow:hidden; background:#e9eef6;
}
.skeleton::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%); animation: shimmer 1.25s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%);} }

/* Specials image uniformity (already present, ensure) */
.specials .card.product img.special-img{ height: 220px; width:100%; object-fit:cover; }
@media (max-width: 576px){ .specials .card.product img.special-img{ height: 200px; } }

/* Product details gallery tweaks */
#pd-hero {
    border-radius: var(--radius)
}
/* =======================================================
   BTN Web 4.0 — Modern Trust & Specials Styling
======================================================= */

/* Section Titles */
.section-title {
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .3px;
}

/* ---------- TRUST SECTION ---------- */
.trust {
  background: linear-gradient(135deg, rgba(15,76,129,0.06), rgba(31,182,255,0.04));
}
.trust-card {
  background: rgba(255,255,255,0.85);
  border-radius: 1rem;
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

/* ---------- SPECIALS SECTION ---------- */
.specials {
  background: linear-gradient(135deg, #f7f9fc 0%, #eaf4ff 100%);
}
.specials .card {
  border-radius: 1.25rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.specials .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.specials .card-title {
  font-weight: 700;
}
.specials .special-img {
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
}

/* carousel controls refinement */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  background-color: rgba(0,0,0,0.35);
  border-radius: 50%;
  padding: 1rem;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--primary);
}

/* simple reveal animation */
@keyframes fadeUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
.trust-card, .specials .card {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.trust-card:nth-child(1){animation-delay:.1s}
.trust-card:nth-child(2){animation-delay:.2s}
.trust-card:nth-child(3){animation-delay:.3s}
.trust-card:nth-child(4){animation-delay:.4s}
/* =======================================================
   BTN Web 4.0 — Premium Logo Hover Animation
   Adds depth, motion, and glow to trust logos
======================================================= */

.trust-card {
  position: relative;
  background: rgba(255,255,255,0.85);
  border-radius: 1rem;
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(15,76,129,0.08);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1),
              box-shadow .4s ease,
              background .4s ease;
}

/* animated light sweep */
.trust-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
  transform: skewX(-20deg);
  transition: left 0.6s ease-in-out;
}

.trust-card:hover::after {
  left: 130%;
}

/* subtle scale + glow */
.trust-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(15,76,129,0.16);
  background: rgba(255,255,255,0.95);
}

/* inner logo image styling */
.trust-card img {
  filter: grayscale(100%) brightness(0.95);
  transition: filter .3s ease, transform .3s ease;
  max-height: 70px;
  object-fit: contain;
}

.trust-card:hover img {
  filter: none;
  transform: scale(1.07);
}

/* Responsive refinement */
@media (max-width: 768px) {
  .trust-card { padding: 1.25rem; }
  .trust-card img { max-height: 56px; }
}
/* =======================================================
   BTN Web 4.0 — Global Section Title Reveal (All Sections)
======================================================= */

.section-title {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  display: inline-block;
}

.section-title.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-title .underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  transition: width 0.8s ease-out 0.2s;
}

.section-title.in-view .underline {
  width: 100%;
}

/* =======================================================
   BTN Web 4.0 — Specials Card Reveal Animation
======================================================= */

/* start hidden */
.specials .card {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}

/* when visible */
.specials .card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* staggered animation timing */
.specials .card:nth-child(1) {
    transition-delay: 0.1s;
}

.specials .card:nth-child(2) {
    transition-delay: 0.2s;
}

.specials .card:nth-child(3) {
    transition-delay: 0.3s;
}

.specials .card:nth-child(4) {
    transition-delay: 0.4s;
}

.specials .card:nth-child(5) {
    transition-delay: 0.5s;
}

.specials .card:nth-child(6) {
    transition-delay: 0.6s;
}
/* =======================================================
   BTN Web 4.0 — Training Video Gallery
======================================================= */

.training {
  background: linear-gradient(180deg, #f9fafc 0%, #ffffff 100%);
}

.video-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,76,129,0.12);
}

.video-card video {
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* fade-up reveal */
.video-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.video-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* =======================================================
   BTN Web 4.0 — Training & Tutorials Section
   Responsive video gallery with cinematic polish
======================================================= */

.training {
    background: linear-gradient(180deg, #f9fafc 0%, #ffffff 100%);
}

.training .section-title {
    font-weight: 800;
    letter-spacing: 0.3px;
}

/* --- Video Card Layout --- */
.video-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    padding-bottom: 0.75rem;
    position: relative;
}

/* Soft sapphire glow + lift on hover */
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 76, 129, 0.15),
        0 0 0 3px rgba(31, 182, 255, 0.15);
    border: 1px solid rgba(31, 182, 255, 0.3);
}

/* --- Video Wrapper --- */
.video-wrapper {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    display: block;
    border-radius: 1.25rem;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: filter 0.3s ease;
}

.video-card:hover video {
    filter: brightness(1.08) saturate(1.15);
}

/* --- Play Button Overlay --- */
.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.4s ease, opacity 0.4s ease;
    cursor: pointer;
    z-index: 2;
}

.video-play-btn span {
    display: inline-block;
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-wrapper:hover .video-play-btn span {
    transform: scale(1.12);
}

/* Fade overlay when playing */
.video-wrapper.playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
}

/* --- Captions --- */
.video-card h5 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    margin-top: 0.75rem;
}

.video-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
    padding: 0 0.75rem;
}

/* --- Fade-in Reveal Animation --- */
.video-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.video-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .video-play-btn span {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .video-play-btn span {
        font-size: 2.2rem;
    }

    .video-card h5 {
        font-size: 1rem;
    }
}
/* =======================================================
   BTN Web 4.0 — Section Title Reveal Animation
======================================================= */

.section-title {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}

/* Animate when visible */
.section-title.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Optional underline accent */
.section-title .underline {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--teal));
    margin: 0.5rem auto 0;
    border-radius: 999px;
    opacity: 0.9;
}

/* Slight stagger for subtitle text if present */
.section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.15s, transform 0.8s ease-out 0.15s;
}

.section-subtitle.in-view {
    opacity: 1;
    transform: translateY(0);
}
/* =======================================================
   BTN Web 4.0 — Universal Section Reveal Animation
   Applies to all major content blocks for a cinematic flow
======================================================= */

/* Base fade-up animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Slight stagger for lists of items */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}

.reveal-stagger.in-view>* {
    opacity: 1;
    transform: translateY(0);
}

/* Optional delay for cascading effects */
.reveal-stagger>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger>*:nth-child(5) {
    transition-delay: 0.5s;
}

/* Works for section titles too */
.section-title {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-title.in-view {
    opacity: 1;
    transform: translateY(0);
}/* =======================================================
   BTN Web 4.0 — Subtle Parallax Backgrounds
   Creates depth motion on scroll for hero / key sections
======================================================= */

.parallax {
    position: relative;
    overflow: hidden;
    will-change: transform;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transform: translateY(0);
    transition: transform 0.2s linear;
}

/* optional dim overlay for contrast */
.parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 0;
}

/* ensure inner content stays above */
.parallax>* {
    position: relative;
    z-index: 1;
}

/* performance tweaks for mobile */
@media (max-width: 768px) {
    .parallax::before {
        background: rgba(0, 0, 0, 0.15);
    }
}
.parallax::before {
    background: linear-gradient(180deg,
            rgba(15, 76, 129, 0.70) 0%,
            rgba(31, 182, 255, 0.35) 100%);
}
/* --- Reveal Animations --- */
.reveal-left,
.reveal-right,
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.fade-in.in-view {
    opacity: 1;
    transform: none;
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

/* Optional stagger delay for feature rows */
.fade-in.delay-1 {
    transition-delay: 0.15s;
}

.fade-in.delay-2 {
    transition-delay: 0.30s;
}

.fade-in.delay-3 {
    transition-delay: 0.45s;
}

.fade-in.delay-4 {
    transition-delay: 0.60s;
}
/* CTA image subtle hover effect */
section .rounded-circle:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: all .25s ease;
}
/* SOLUTIONS SECTION VIDEO BACKGROUND */
.solutions-video-section {
    position: relative;
    overflow: hidden;
    background: #0F4C81;
    color: #fff;
}

.solutions-video-wrapper video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.5);
}

.solutions-overlay {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.75), rgba(31, 182, 255, 0.3));
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
}

.solutions-video-section .container {
    position: relative;
    z-index: 2;
}

.text-gradient-light {
    background: linear-gradient(90deg, #ffffff, #A5E3FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Make accordion buttons stand out on dark video */
.accordion-button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.2);
}

.accordion-button::after {
    filter: brightness(10);
}

/* Responsive fix */
@media (max-width: 992px) {
    .solutions-video-section .row {
        flex-direction: column;
    }
}
/* =======================================================
   BTN Web 4.0 — Solutions Section Button & Accordion Fix
======================================================= */

/* Accordion buttons: dark translucent background for visibility */
.solutions-video-section .accordion-button {
    background: rgba(15, 76, 129, 0.45) !important;
    /* sapphire tint */
    color: #EAF6FF !important;
    border: none;
    font-weight: 500;
    letter-spacing: .3px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: all .25s ease;
}

.solutions-video-section .accordion-button:hover {
    background: rgba(31, 182, 255, 0.55) !important;
    color: #fff !important;
}

.solutions-video-section .accordion-button:not(.collapsed) {
    background: rgba(31, 182, 255, 0.65) !important;
    color: #fff !important;
    box-shadow: 0 0 8px rgba(31, 182, 255, 0.4);
}

/* Accordion text contrast */
.solutions-video-section .accordion-body {
    color: #E0ECF9;
}

/* Talk Solutions button styling */
.talk-btn {
    background: linear-gradient(90deg, #0F4C81, #1FB6FF);
    border: none;
    color: #fff !important;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    letter-spacing: 0.2px;
    transition: all 0.25s ease-in-out;
}

.talk-btn:hover {
    background: linear-gradient(90deg, #1FB6FF, #18A999);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 76, 129, 0.3);
}

/* Optional: add soft glow to button on video */
.talk-btn:focus,
.talk-btn:active {
    box-shadow: 0 0 0 0.25rem rgba(31, 182, 255, 0.4);
}
/* =======================================================
   BTN Web 4.0 — FAQ Styling
======================================================= */
.accordion-faq .accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(15, 76, 129, 0.08);
}

.accordion-faq .accordion-button {
    border-radius: 0.75rem;
    background: #fff;
    font-weight: 600;
    color: #0F4C81;
    box-shadow: none;
    transition: all 0.25s ease;
}

.accordion-faq .accordion-button:hover {
    background: rgba(31, 182, 255, 0.1);
    color: #0F4C81;
}

.accordion-faq .accordion-button:not(.collapsed) {
    background: #0F4C81;
    color: #fff;
}

.accordion-faq .accordion-body {
    background: #fff;
    border-radius: 0 0 0.75rem 0.75rem;
    padding: 1rem 1.25rem;
}

/* =======================================================
   BTN Web 4.0 — Finance Section (Cinematic Final)
======================================================= */
.finance-section {
    position: relative;
    overflow: hidden;
    background: #0F4C81;
    color: #fff;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

/* background video container */
.finance-section .video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.finance-section .finance-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) contrast(1.15) saturate(1.1);
    /* darkened 15% for readability */
}

/* dark blue overlay with gradient tint */
.finance-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.85), rgba(31, 182, 255, 0.4));
    z-index: 1;
}

/* content area */
.finance-section .content-wrapper {
    position: relative;
    z-index: 3;
    padding: 5rem 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    /* improves readability on light text */
}

@media (max-width: 992px) {
    .finance-section .content-wrapper {
        padding: 4rem 1rem;
    }
}

@media (max-width: 576px) {
    .finance-section .content-wrapper {
        padding: 3rem 1rem;
    }
}

/* soft gradient fade into next section */
.finance-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(to bottom, rgba(15, 76, 129, 0) 0%, rgba(245, 247, 251, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* =======================================================
   BTN Web 4.0 — Training Video Grid
======================================================= */

.video-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 76, 129, .12);
  overflow: hidden;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.training-video {
  width: 100%;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
  background: #000;
}

/* Play overlay button */
.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity .25s ease;
  cursor: pointer;
  z-index: 2;
}
.video-card:hover .video-play-overlay { opacity: 1; }

.play-toggle {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.9);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Lightbox fullscreen popup */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-lightbox.show { display: flex; }

.video-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.video-lightbox-content video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}
.close-btn:hover { color: #1FB6FF; }
/* =======================================================
   BTN Web 4.0 — Advanced Popup Video Player
======================================================= */

.video-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.video-lightbox.show {
    display: flex;
}

.video-lightbox-content {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.popup-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    max-height: 70vh;
}

/* Custom Controls */
.video-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 20, 20, 0.85);
    padding: 10px 14px;
    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform .2s ease;
}

.control-btn:hover {
    transform: scale(1.15);
}

.speed-select {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 4px 8px;
}

.progress-bar-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin: 0 10px;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1FB6FF, #18A999);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    margin-left: 10px;
}

.close-btn:hover {
    color: #1FB6FF;
}
/* =======================================================
   BTN Web 4.0 — About Us Parallax Style
======================================================= */
.about-hero {
  background: #0e1525;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.about-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.15) saturate(1.1);
  transform: translateY(0);
  will-change: transform;
  z-index: 0;
  transition: transform 0.2s ease-out;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,25,50,0.65),
    rgba(15,76,129,0.65),
    rgba(31,182,255,0.35)
  );
  z-index: 1;
}

.about-hero .container { position: relative; z-index: 2; }

/* Cards */
.about-card {
  background: rgba(255,255,255,0.08);
  border-radius: 1rem;
  backdrop-filter: blur(6px);
  transition: transform .3s ease, box-shadow .3s ease;
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

/* Icons */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
}
.bg-accent { background: var(--accent); }
.bg-primary { background: var(--primary); }
.bg-teal { background: var(--teal); }

/* Mission / Vision */
.about-mission {
  background: rgba(255,255,255,0.06);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  color: #fff;
  transition: transform .3s ease;
}
.about-mission:hover { transform: translateY(-3px); }

/* Gradient divider */
.gradient-divider {
  height: 80px;
  background: linear-gradient(180deg, rgba(15,76,129,0.15) 0%, #ffffff 100%);
}
/* =======================================================
   Safe Fix — Full Height About Video (BTN Web 4.0)
   Keeps existing layout intact
======================================================= */
.about-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;          /* full screen height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #0E1525;        /* fallback if video fails */
}

.about-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.6) contrast(1.1) saturate(1.1);
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,25,50,0.65),
    rgba(15,76,129,0.65),
    rgba(31,182,255,0.35)
  );
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2;
  padding: 7rem 1rem;
}
/* =======================================================
   BTN Web 4.0 — Navbar Enhancements
======================================================= */

/* Logo sizing + crisp display */
.navbar .btn-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease-in-out, filter 0.25s ease-in-out;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08)) brightness(1.05);
}

.navbar .btn-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .navbar .btn-logo {
        height: 38px;
    }
}

/* Nav link underline animation */
.nav-link {
    position: relative;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
    background: var(--accent);
}

/* Transparent → solid effect */
.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* =======================================================
   BTN Web 4.0 — Animated Gradient Navbar (Cinematic Sync)
======================================================= */

/* Base transparent navbar with animated gradient overlay */
.navbar {
    background: linear-gradient(90deg, #0F4C81, #18A999, #1FB6FF, #0F4C81);
    background-size: 400% 400%;
    animation: navbarGradientShift 18s ease-in-out infinite;
    transition: background-color 0.4s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1050;
}

/* When scrolled, solidify while preserving shimmer */
.navbar.scrolled {
    background: linear-gradient(90deg, #ffffff, #f9f9f9, #f5f5f5);
    background-size: 200% 200%;
    animation: navbarGradientShift 22s linear infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Animation syncs with footer’s gradient cycle */
@keyframes navbarGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Maintain readable text on all backgrounds */
.navbar .nav-link {
    color: #fff;
    font-weight: 500;
    transition: color .25s ease, border-color .25s ease;
}

.navbar.scrolled .nav-link {
    color: var(--text);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--amber);
    border-bottom: 2px solid var(--amber);
}

/* Logo visibility preserved */
.navbar .btn-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}