@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/********** style CSS **********/

:root {
	/* Brand Colors */
	--primary: #3762AE !important;
	--secondary: #4DAF4E !important;
	--dark: #08172C;

	/* UI Colors */
	--light: #f8f9fa;
	--text-dark: #212529;
	--text-light: #ffffff;
	--bg-light-blue: #f0f4f8;

	/* Fonts */
	--font-main: 'Poppins', sans-serif;
	--transition: all 0.3s ease-in-out;
}

body {
	font-family: var(--font-main);
	color: var(--text-dark);
	overflow-x: hidden;
	background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	letter-spacing: 0.5px;
	line-height: 1.3;
}

a {
	text-decoration: none;
}

.shake-horizontal {
  display: inline-block;
  animation: shakeX 1.2s ease-in-out infinite;
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}


/* Base Button */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 0; /* KEY: establishes stacking context */
  transition: color 0.3s ease;
}

/* Pseudo Elements (Sliding Layers) */
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 50%;
  z-index: -1; /* 🔥 KEY FIX: stay behind text */
  transition: width 0.35s cubic-bezier(.785, .135, .15, .86);
}

/* Top slide */
.btn::before {
  top: 0;
  left: 0;
}

/* Bottom slide */
.btn::after {
  bottom: 0;
  right: 0;
}

/* Trigger slide on hover & focus */
.btn:hover::before,
.btn:hover::after,
.btn:focus-visible::before,
.btn:focus-visible::after {
  width: 100%;
}

/* Text color on hover/focus */
.btn:hover,
.btn:focus-visible {
  color: #fff !important;
}

/* Primary */
.btn-primary::before,
.btn-primary::after {
  background-color: var(--secondary, #0d6efd);
}

/* Secondary */
.btn-secondary::before,
.btn-secondary::after {
  background-color: #2d6a2e;
}

/* Success */
.btn-success::before,
.btn-success::after {
  background-color: #0f5132;
}

/* Info */
.btn-info::before,
.btn-info::after {
  background-color: #055160;
}

/* Warning */
.btn-warning::before,
.btn-warning::after {
  background-color: #664d03;
}

/* Danger */
.btn-danger::before,
.btn-danger::after {
  background-color: #842029;
}

/* Light */
.btn-light::before,
.btn-light::after {
  background-color: #000000;
}

/* Dark */
.btn-dark::before,
.btn-dark::after {
  background-color: #222222;
}

/* Keyboard focus (WCAG) */
.btn:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.5);
  outline-offset: 3px;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  .btn::before,
  .btn::after {
    transition: none;
  }
}

/* =========================================
   MOBILE HEADER & NAV – ADVANCED UI
   ========================================= */
@media (max-width: 991.98px) {

  /* ---------- Header spacing ---------- */
  .site-header {
    backdrop-filter: saturate(180%) blur(6px);
  }

  /* ---------- Navbar ---------- */
  .navbar {
    padding: 0.75rem 0;
  }

  /* ---------- Brand ---------- */
  .navbar-brand img {
    height: 42px;
    transition: transform 0.3s ease;
  }

  /* ---------- Toggler ---------- */
  .navbar-toggler {
    border: 0;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(0,0,0,0.04);
  }

  .navbar-toggler:focus-visible {
    outline: 3px solid rgba(13,110,253,.5);
    outline-offset: 2px;
  }

  /* ---------- Collapse Panel ---------- */
  .navbar-collapse {
    margin-top: 1rem;
    background: #ffffff;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    animation: slideDownNav 0.35s ease;
  }

  @keyframes slideDownNav {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ---------- Menu Items ---------- */
  .navbar-nav {
    gap: 0.25rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    color: #1f2937;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus-visible {
    background: rgba(13,110,253,.08);
    color: #0d6efd;
  }

  .navbar-nav .nav-link.active {
    background: rgba(13,110,253,.12);
    color: #0d6efd;
    font-weight: 600;
  }

  /* ---------- CTA Button ---------- */
  .navbar .btn {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
  }

  /* ---------- Topbar ---------- */
  .site-header .bg-secondary {
    font-size: 0.8rem;
  }

  .site-header .bg-secondary a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }
}

/* =========================================
   REDUCED MOTION (ACCESSIBILITY)
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}


/* HERO TYPOGRAPHY */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title span {
  color:var(--bs-secondary);
}

.hero-text {
  font-size: 1.05rem;
  max-width: 520px;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

/* CTA spacing */
.hero-actions .btn {
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* Mobile refinement */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.1rem;
  }
}

 
/* HERO BASE */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* SLIDES */
.hero-slides {
  position: relative;
  height: 100%;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}

/* Overlay for better readability */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,28,63,0.75),
    rgba(15,28,63,0.55)
  );
}

/* ACTIVE SLIDE */
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* CONTENT ABOVE OVERLAY */
.hero-slide .container {
  position: relative;
  z-index: 3;
}

/* TEXT ANIMATION */
.hero-title,
.hero-text,
.hero-actions {
  opacity: 0;
  transform: translateY(30px);
  transition: all .6s ease;
}

.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .2s;
}

.hero-slide.active .hero-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .4s;
}

.hero-slide.active .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .6s;
}

/* NAVIGATION */
.hero-nav {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 4;
}

.hero-nav button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  transition: transform .3s, background .3s;
}

.hero-nav button.active {
  background: #fff;
  transform: scale(1.5);
}

/* BRAND PARTNERS */
.brand-partners {
  overflow: hidden;
}

.logo-scroller {
  position: relative;
  overflow: hidden;
  cursor: grab;
}

.logo-scroller:active {
  cursor: grabbing;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  will-change: transform;
}

.logo-item {
  flex: 0 0 auto;
}

.logo-item img {
  height: 48px;
  width: auto;
  background:#fff;
  border-radius:10px;
  pointer-events: none; /* important for drag */
}

.logo-item img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .logo-track {
    transition: none !important;
  }
}

/* PRODUCTS SECTION */

.products-section .product-card {
  background: #fff;
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.products-section .product-card img {
  width:100%;
  margin-bottom: 1rem;
}

.products-section .product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.products-section .product-card p {
  font-size: .95rem;
  color: #555;
  margin-bottom: 1rem;
}

.products-section .product-card .btn {
  font-size: .88rem;
  padding: .5rem 1rem;
  border-radius: 6px;
}

.products-section .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.products-section .product-card:hover img {
  opacity: 1;
}


/* SERVICES SECTION */

.service-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.service-item:last-child {
  border-bottom: 0;
}

.service-icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13,110,253,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  font-size: 1.25rem;
}

.service-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.service-content p {
  font-size: .95rem;
  color: #555;
  margin-bottom: 0;
}

/* FOOTER */
.footer-links li {
  margin-bottom: .5rem;
}

.footer-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}


/*********************** Breadcrumb *********************/
.page-header {
    background: linear-gradient(rgb(0 0 0 / 54%), #4c67b0), url(../images/banner-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #999999;
}