/* Vyomira Brand Stylesheet */
:root {
  --color-primary: #1e3a8a;
  --color-primary-dark: #14285e;
  --color-primary-hover: #1e40af;
  --color-primary-light: #eff6ff;
  --color-black: #000000;
  --color-dark: #0f172a;
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-600: #64748b;
  --color-gray-800: #1e293b;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Typography & Resets */
body {
  font-family: var(--font-body);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: var(--font-heading);
  color: var(--color-black);
  letter-spacing: -0.02em;
}

/* Navbar & Topbar */
.top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  padding: 0.45rem 0;
  font-size: 0.835rem;
  position: relative;
  z-index: 1030;
}

.topbar-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(30, 58, 138, 0.05);
  border: 1px solid rgba(30, 58, 138, 0.12);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.76rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.topbar-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background-color: var(--color-gray-200);
  margin: 0 0.5rem;
  display: inline-block;
}

.topbar-link {
  color: var(--color-gray-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.topbar-link:hover {
  color: var(--color-primary);
}

.topbar-actions-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.topbar-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-800);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.2s ease;
}

.topbar-icon-btn:hover {
  background-color: var(--color-primary-light);
  border-color: rgba(30, 58, 138, 0.25);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.topbar-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

.topbar-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.topbar-portal-link:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   TOPBAR: BRAND LOGO (LEFT) & SIMPLE SEARCH BOX (RIGHT)
   ========================================================================== */
.header-brand-topbar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(15, 30, 61, 0.08);
  padding: 0.95rem 0;
  position: relative;
  z-index: 1025;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

.brand-logo-img {
  height: 68px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.02);
}

@media (max-width: 991.98px) {
  .brand-logo-img {
    height: 56px;
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .brand-logo-img {
    height: 46px;
    max-width: 170px;
  }
}

/* Simple Search Box on Right Side */
.simple-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.simple-search-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.simple-search-box:focus-within {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.12);
}

.simple-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
  flex-grow: 1;
}

.simple-search-icon {
  color: #64748b;
  font-size: 0.95rem;
}

.simple-search-box:focus-within .simple-search-icon {
  color: var(--color-primary);
}

.simple-search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: #0f172a;
  font-family: var(--font-body);
}

.simple-search-input::placeholder {
  color: #94a3b8;
  font-size: 0.875rem;
}

.btn-clear-search {
  background: none;
  border: none;
  padding: 0;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.btn-clear-search:hover {
  color: #ef4444;
}

.btn-simple-search-submit {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.15rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.btn-simple-search-submit:hover {
  background-color: #14285e;
}

/* Simple Search Live Dropdown */
.simple-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.16);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 0.5rem;
  z-index: 1060;
  max-height: 320px;
  overflow-y: auto;
}

.simple-search-live-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  color: #0f172a;
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.simple-search-live-item:hover {
  background-color: #eff6ff;
  color: var(--color-primary);
}

.simple-search-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.simple-search-item-meta {
  font-size: 0.75rem;
  color: #64748b;
}

.simple-search-item-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid rgba(30, 58, 138, 0.18);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* Topbar Hotline Block */
.topbar-call-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   BOTTOM 100% DARK BACKGROUND NAVIGATION BAR
   ========================================================================== */
.header-nav-dark {
  width: 100% !important;
  background-color: #0a1324 !important;
  background: linear-gradient(90deg, #070e1c 0%, #0c1836 50%, #070e1c 100%) !important;
  border-bottom: 2px solid #1e3a8a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.dark-nav-link {
  color: #f1f5f9 !important;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.935rem;
  padding: 0.85rem 1.15rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: all 0.18s ease;
  position: relative;
  white-space: nowrap;
}

.dark-nav-link:hover {
  color: #38bdf8 !important;
  background-color: rgba(255, 255, 255, 0.06);
}

.dark-nav-link.active {
  color: #ffffff !important;
  font-weight: 600;
  background-color: rgba(30, 58, 138, 0.45);
}

.dark-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.15rem;
  right: 1.15rem;
  height: 3px;
  background-color: #38bdf8;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 8px #38bdf8;
}

/* Caret transition on dropdown toggle */
.dark-nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.4em;
  vertical-align: 0.16em;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item.dropdown:hover .dark-nav-link.dropdown-toggle::after,
.nav-item.dropdown.is-open .dark-nav-link.dropdown-toggle::after,
.nav-item.dropdown.hover-open .dark-nav-link.dropdown-toggle::after,
.nav-item.dropdown.show .dark-nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-item.dropdown:hover > .dark-nav-link,
.nav-item.dropdown.is-open > .dark-nav-link,
.nav-item.dropdown.hover-open > .dark-nav-link,
.nav-item.dropdown.show > .dark-nav-link {
  color: #38bdf8 !important;
  background-color: rgba(255, 255, 255, 0.09);
}

/* Dark Navbar Dropdown Menu */
.dark-dropdown-menu {
  background: rgba(9, 18, 42, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 0.45rem 0.35rem;
  box-shadow: 0 22px 50px -6px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(56, 189, 248, 0.2);
  min-width: 220px;
  margin-top: 0;
  z-index: 1065;
}

.dark-dropdown-menu .dropdown-item {
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  margin: 1px 0;
  display: block;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.dark-dropdown-menu .dropdown-item:hover,
.dark-dropdown-menu .dropdown-item:focus {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.38) 0%, rgba(56, 189, 248, 0.14) 100%);
  color: #38bdf8;
  padding-left: 1.45rem;
  transform: translateX(3px);
}

/* Smooth Dropdown Hover & Click Animation on Desktop */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown {
    position: relative;
  }

  .navbar-nav .dropdown .dark-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transform-origin: top left;
    pointer-events: none;
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1065;
  }

  /* Seamless hover bridge between navbar item and dropdown */
  .navbar-nav .nav-item.dropdown::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
    z-index: 1060;
  }

  .dark-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
  }

  /* Reveal smoothly on hover or when opened by click */
  .navbar-nav .nav-item.dropdown:hover > .dark-dropdown-menu,
  .navbar-nav .nav-item.dropdown.is-open > .dark-dropdown-menu,
  .navbar-nav .nav-item.dropdown.hover-open > .dark-dropdown-menu,
  .navbar-nav .nav-item.dropdown.show > .dark-dropdown-menu,
  .navbar-nav .dropdown .dark-dropdown-menu.show,
  .navbar-nav .dropdown .dark-dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(4px) scale(1) !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 991.98px) {
  .dark-dropdown-menu {
    display: none;
    background: rgba(11, 23, 54, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.25);
    margin: 0.35rem 0.5rem;
    padding: 0.35rem 0;
    border-radius: 10px;
  }
  .nav-item.dropdown.is-open > .dark-dropdown-menu,
  .nav-item.dropdown.show > .dark-dropdown-menu,
  .dark-dropdown-menu.show {
    display: block !important;
    animation: smoothFadeDown 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}

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

/* CTA in Dark Nav */
.btn-darknav-cta {
  background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.48rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-darknav-cta:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.darknav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.2s ease;
}

.darknav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #38bdf8;
}

.darknav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #0a1324;
}

.darknav-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.darknav-portal-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.navbar-toggler-dark {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  padding: 0.35rem 0.65rem !important;
  border-radius: 6px !important;
}

.navbar-toggler-dark .navbar-toggler-icon {
  filter: invert(1) grayscale(100%) brightness(200%);
}

@media (max-width: 991.98px) {
  .header-nav-dark .navbar-collapse {
    background: #091122;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    margin-top: 0.5rem;
  }
  .dark-nav-link {
    padding: 0.65rem 1rem !important;
    border-radius: 6px;
  }
  .dark-nav-link.active::after {
    display: none;
  }
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-white) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary-custom:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.btn-outline-custom {
  background-color: transparent;
  border: 2px solid var(--color-black);
  color: var(--color-black) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-outline-custom:hover {
  background-color: var(--color-black);
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

.btn-white-custom {
  background-color: var(--color-white);
  border: 2px solid var(--color-white);
  color: var(--color-primary) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-white-custom:hover {
  background-color: transparent;
  color: var(--color-white) !important;
}

/* Badge / Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

/* Hero Section: High-Tech Atmospheric Safety & Gas Testing Command Showcase */
.hero-section {
  padding: 3.5rem 0 3.25rem;
  background: 
    radial-gradient(ellipse 90% 70% at 18% 12%, rgba(219, 234, 254, 0.65) 0%, transparent 58%),
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(254, 243, 199, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 80% 65% at 65% 85%, rgba(224, 242, 254, 0.55) 0%, transparent 55%),
    linear-gradient(150deg, #ffffff 0%, #f3f7fd 25%, #e9f2fd 60%, #f7faff 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(30, 58, 138, 0.09);
}

/* Technical Blueprint Grid Pattern */
.hero-tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(30, 58, 138, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 45%, #000000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000000 30%, transparent 78%);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.hero-luminous-glow-1 {
  position: absolute;
  top: -100px;
  right: 10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(147, 197, 253, 0.06) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-luminous-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.13) 0%, rgba(186, 230, 253, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

.hero-luminous-glow-3 {
  position: absolute;
  top: 20%;
  left: 45%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(251, 191, 36, 0.02) 45%, transparent 65%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30, 58, 138, 0.2);
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.06);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulseGreen 1.8s infinite ease-in-out;
}

.hero-batch-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-gray-200);
  color: var(--color-gray-600);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.32rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.4vw, 2.95rem);
  font-weight: 800;
  line-height: 1.22;
  margin-top: 0;
  margin-bottom: 1.05rem;
  color: #0f1e3d;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 540px;
}

.hero-key-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-card-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card-item:hover {
  background: #ffffff;
  border-color: rgba(30, 58, 138, 0.3);
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.09);
}

.pillar-icon-squircle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.935rem;
  font-weight: 500;
  color: var(--color-gray-800);
}

.pillar-item i {
  font-size: 1.15rem;
  color: var(--color-primary);
}

.btn-hero-primary {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
  border: 2px solid #1e3a8a !important;
  color: #ffffff !important;
  padding: 0.85rem 1.85rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 25px -4px rgba(30, 58, 138, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(30, 58, 138, 0.45) !important;
}

.btn-hero-secondary {
  padding: 0.85rem 1.5rem;
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(30, 58, 138, 0.2);
  color: #1e3a8a;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-hero-secondary:hover {
  background: #ffffff;
  border-color: #1e3a8a;
  color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.12);
}

.hero-tag-link {
  background: #ffffff;
  border: 1px solid var(--color-gray-200);
  border-radius: 6px;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.hero-tag-link:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.hero-trust-text {
  font-size: 0.84rem;
  color: var(--color-gray-600);
  line-height: 1.4;
}

/* Right Column: High-Tech Command Deck */
.hero-command-deck {
  position: relative;
  z-index: 2;
  padding-bottom: 1.25rem;
}

/* Live Gas Atmosphere Telemetry Deck Card */
.gas-sensor-deck-card {
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.16);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.gas-sensor-deck-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #0ea5e9, var(--color-primary));
  transition: background 0.3s ease;
}

/* Hazardous Alarm state */
.gas-sensor-deck-card.hazard-alarm-state {
  border-color: #ef4444;
  background: #fffafa;
  box-shadow: 0 16px 36px rgba(239, 68, 68, 0.22);
  animation: hazardPulse 1.2s infinite ease-in-out;
}

.gas-sensor-deck-card.hazard-alarm-state::before {
  background: linear-gradient(90deg, #ef4444, #f59e0b, #ef4444);
}

@keyframes hazardPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(239, 68, 68, 0.16); }
  50% { box-shadow: 0 16px 40px rgba(239, 68, 68, 0.35); }
}

.detector-brand-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-primary);
}

.detector-sub-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-gray-600);
  background: var(--color-gray-100);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.deck-telemetry-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.deck-telemetry-status.alarm-mode {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
}

.status-indicator-dot.alarm-mode {
  background-color: #ef4444;
  animation: pulseGreen 0.6s infinite ease-in-out;
}

/* Sensor Box */
.sensor-channel-box {
  background: #f8fafc;
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 98px;
  min-width: 0;
}

.sensor-channel-box:hover {
  background: #ffffff;
  border-color: rgba(30, 58, 138, 0.25);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.06);
}

.sensor-channel-box.in-alarm {
  background: #fef2f2;
  border-color: #fca5a5;
}

.channel-gas-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-gray-800);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-unit {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-gray-600);
  white-space: nowrap;
}

.channel-value {
  font-size: clamp(1.2rem, 2.2vw, 1.38rem);
  font-weight: 800;
  color: #0f1e3d;
  line-height: 1.15;
  margin: 0.2rem 0 0.35rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.channel-value.text-danger {
  color: #ef4444 !important;
}

.channel-status-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.bar-fill {
  height: 100%;
  transition: width 0.4s ease, background-color 0.3s ease;
}

.channel-safe-range {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--color-gray-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-simulate-alarm {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid rgba(30, 58, 138, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.btn-simulate-alarm:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-simulate-alarm.alarm-active {
  background: #ef4444;
  border-color: #dc2626;
  color: #ffffff;
}

/* Specialist Card & Vertically Long Animated Showcase */
.hero-vertical-card-container {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  animation: heroVerticalFloat 5.5s ease-in-out infinite;
  padding: 0.75rem 0.25rem;
}

@keyframes heroVerticalFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-vertical-card {
  position: relative;
  height: 460px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 4px solid #ffffff !important;
  box-shadow: 0 20px 45px rgba(30, 58, 138, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  background: #0f172a;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hero-vertical-card:hover {
  box-shadow: 0 28px 56px rgba(30, 58, 138, 0.24), 0 6px 16px rgba(0, 0, 0, 0.08) !important;
}

.hero-vertical-card .hero-specialist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-vertical-card:hover .hero-specialist-img {
  transform: scale(1.05);
}

.specialist-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.82) 40%, rgba(15, 23, 42, 0.96) 100%);
  padding: 1.25rem 1.4rem 1.15rem;
  color: #ffffff;
  z-index: 2;
}

.overlay-session-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #2563eb;
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.overlay-session-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

/* Floating Verification Seal */
.hero-verification-seal {
  position: absolute;
  top: -6px;
  right: -10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  box-shadow: 0 10px 26px rgba(30, 58, 138, 0.15);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-verification-seal:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.2);
}

.seal-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.seal-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f1e3d;
  line-height: 1.15;
}

.seal-subtitle {
  font-size: 0.68rem;
  color: var(--color-gray-600);
}

/* Floating Pass Rate Badge */
.hero-passrate-badge {
  position: absolute;
  bottom: -6px;
  left: 12px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.25s ease;
}

.hero-passrate-badge:hover {
  transform: translateY(-2px);
}

.passrate-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #10b981;
  line-height: 1;
}

.passrate-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.2;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 2.75rem 0 2.5rem;
  }
  .hero-vertical-card-container {
    max-width: 400px;
    margin-top: 1.25rem;
  }
  .hero-vertical-card {
    height: 380px !important;
  }
  .hero-verification-seal {
    top: 8px;
    right: 8px;
  }
  .hero-passrate-badge {
    bottom: 8px;
    left: 8px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0 1.75rem;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-subtitle {
    font-size: 0.96rem;
  }
  .hero-vertical-card-container {
    max-width: 100%;
  }
  .hero-vertical-card {
    height: 320px !important;
  }
  .hero-verification-seal {
    top: 8px;
    right: 8px;
    padding: 0.45rem 0.75rem;
  }
  .seal-title {
    font-size: 0.75rem;
  }
  .seal-subtitle {
    font-size: 0.62rem;
  }
  .hero-passrate-badge {
    bottom: 8px;
    left: 8px;
    padding: 0.45rem 0.75rem;
  }
  .passrate-num {
    font-size: 1.1rem;
  }
  .passrate-label {
    font-size: 0.65rem;
  }
}

/* Professional Executive Stats Section */
.stats-section {
  padding: 5rem 0 4.5rem;
  background: 
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(219, 234, 254, 0.45) 0%, transparent 60%),
    linear-gradient(180deg, #f8faff 0%, #f1f6fd 45%, #ffffff 100%);
  border-top: 1px solid rgba(30, 58, 138, 0.09);
  border-bottom: 1px solid rgba(30, 58, 138, 0.09);
  position: relative;
  overflow: hidden;
}

.stats-ambient-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 780px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.stats-header-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.stats-eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1e3a8a;
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.18);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.stats-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: #0f1e3d;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 0.65rem;
}

.stats-subtext {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.stat-box-card {
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.11);
  border-radius: 20px;
  padding: 2rem 1.65rem 1.85rem;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stat-box-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #0ea5e9, var(--color-primary));
  opacity: 0.85;
  transition: height 0.25s ease, opacity 0.25s ease;
}

.stat-box-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(30, 58, 138, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(30, 58, 138, 0.32);
}

.stat-box-card:hover::before {
  height: 5px;
  opacity: 1;
}

.stat-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1.25rem;
}

.stat-icon-squircle {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-box-card:hover .stat-icon-squircle {
  transform: scale(1.1) rotate(4deg);
}

.stat-icon-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e3a8a;
}

.stat-icon-teal {
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  color: #0284c7;
}

.stat-icon-emerald {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
}

.stat-icon-amber {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
}

.stat-trend-chip {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 0.45rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.2vw, 3.1rem);
  font-weight: 800;
  color: #0f1e3d;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e3a8a;
}

.stat-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.12rem;
  color: #0f1e3d;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.stat-description {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.stat-card-divider {
  height: 1px;
  background: #f1f5f9;
  margin-bottom: 0.85rem;
}

.stat-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1e3a8a;
  background: #eff6ff;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  align-self: flex-start;
}

/* Accreditations Trust Strip */
.stats-trust-strip {
  margin-top: 3.25rem;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(30, 58, 138, 0.04);
}

.trust-strip-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1rem;
  text-align: center;
}

.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.trust-accred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.2s ease;
}

.trust-accred-badge:hover {
  background: #eff6ff;
  border-color: rgba(30, 58, 138, 0.25);
  color: #1e3a8a;
  transform: translateY(-1px);
}

/* Section Common */
.section-header {
  margin-bottom: 3.25rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--color-gray-600);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ==========================================================================
   COURSES SECTION - EXACT SPECIFICATION MATCHING ATTACHMENT
   ========================================================================== */
.courses-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.courses-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 2rem;
}

/* Category Filter Tabs Bar */
.course-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.course-tabs-nav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--color-gray-200);
  padding: 0;
  overflow: hidden;
}

.course-tab-btn {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-gray-800);
  padding: 0.75rem 1.65rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.course-tab-btn:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* Active tab style matching brand color combination */
.course-tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.course-tab-btn.active:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
}

/* Courses Grid & Cards - Generously Spaced Grid */
.courses-row, #coursesGrid {
  display: flex;
  flex-wrap: wrap;
  margin-right: -24px;
  margin-left: -24px;
  row-gap: 48px;
}

.courses-row > [class*="col-"] {
  padding-right: 24px;
  padding-left: 24px;
}

@media (min-width: 1200px) {
  .courses-row, #coursesGrid {
    margin-right: -32px;
    margin-left: -32px;
    row-gap: 56px;
  }
  .courses-row > [class*="col-"] {
    padding-right: 32px;
    padding-left: 32px;
  }
}

.course-item {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.course-item.d-none-filtered {
  display: none !important;
}

.course-card {
  background-color: var(--color-white);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.05);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
  border-color: rgba(30, 58, 138, 0.35);
}

/* Course Media Box with Course Related Images */
.course-media-box {
  position: relative;
  background-color: #f1f5f9;
  height: 230px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.course-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-thumbnail-img {
  transform: scale(1.06);
}

.course-media-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Badge on top left of media */
.course-tag-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.95rem;
  border-radius: 6px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.course-duration-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.32rem 0.75rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* SVG placeholder matching fallback */
.course-placeholder-svg {
  width: 84px;
  height: 84px;
  color: #a3a3a3;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

/* Course Body */
.course-body {
  padding: 1.6rem 1.6rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.42;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.2rem;
}

.course-meta {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-gray-200);
}

.course-meta i {
  font-size: 1.05rem;
  color: var(--color-primary);
}

/* Course Footer */
.course-footer {
  padding: 1.15rem 1.6rem 1.4rem;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.btn-course-details {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn-course-details:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.28);
}

/* ==========================================================================
   OUR INSTRUCTOR SECTION
   ========================================================================== */
.instructors-section {
  background-color: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
  padding: 5rem 0;
}

.instructor-card {
  background-color: var(--color-white);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.instructor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
  border-color: rgba(30, 58, 138, 0.35);
}

.instructor-avatar-box,
.instructor-img-wrapper {
  position: relative;
  height: 260px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.instructor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.instructor-card:hover .instructor-img {
  transform: scale(1.06);
}

.instructor-specialty-badge,
.instructor-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(30, 58, 138, 0.92);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.32rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.instructor-body {
  padding: 1.4rem 1.4rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.instructor-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.instructor-verified-icon {
  color: #2563eb;
  font-size: 0.95rem;
}

.instructor-title,
.instructor-role {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.instructor-bio {
  color: var(--color-gray-600);
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.instructor-meta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  margin-bottom: 0.75rem;
}

.instructor-rating-pill,
.instructor-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.instructor-students-pill,
.instructor-students {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #eff6ff;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(30, 58, 138, 0.15);
}

.instructor-footer {
  padding: 0.95rem 1.4rem 1.15rem;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.instructor-social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-600);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.instructor-social-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   ABOUT VYOMIRA - CONTENT & IMAGE COMPOSITION
   ========================================================================== */
.about-mv-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-mv-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.08);
  border-color: rgba(30, 58, 138, 0.25);
}

.about-section-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.07);
  border-color: rgba(30, 58, 138, 0.22);
}

.about-card-header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.about-item-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  transition: all 0.2s ease;
}

.about-item-row:hover {
  background: #ffffff;
  border-color: rgba(30, 58, 138, 0.2);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.06);
  transform: translateX(3px);
}

.about-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(30, 58, 138, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-item-icon.accent-icon {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.about-closing-card {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #f0f7ff 100%);
  border: 1.5px solid rgba(30, 58, 138, 0.18) !important;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.06);
}

.about-visual-frame {
  position: relative;
  padding: 1.5rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(30, 58, 138, 0.14);
  border: 4px solid var(--color-white);
  height: 420px;
  background-color: #e5e7eb;
}

.about-feature-img,
.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-visual-frame:hover .about-feature-img,
.about-visual-frame:hover .about-main-img {
  transform: scale(1.03);
}

.about-accent-badge-top,
.about-corner-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.15);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

.about-accent-badge-bottom,
.about-floating-badge {
  position: absolute;
  bottom: 25px;
  left: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(30, 58, 138, 0.12);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 340px;
  z-index: 3;
  animation: floatGentle 5s ease-in-out infinite;
}

.about-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ SECTION (ABOVE FOOTER)
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray-200);
}

.faq-accordion .accordion-item {
  border: 1px solid var(--color-gray-200);
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion .accordion-item:hover {
  border-color: rgba(30, 58, 138, 0.3);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.07);
}

.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-black);
  background-color: var(--color-white);
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.faq-accordion .accordion-body {
  padding: 1.35rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-gray-600);
  background-color: var(--color-white);
}

/* Feature & Service Cards */
.feature-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: all 0.2s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.08);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--color-gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Value Highlights / About */
.bg-light-surface {
  background-color: var(--color-gray-50);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.check-icon {
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 16px;
  padding: 3.5rem 2.5rem;
}

.cta-banner h2 {
  color: var(--color-white);
  font-weight: 800;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

/* Contact Form & Cards */
.form-control, .form-select {
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-black);
}

.form-control:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
  outline: none;
}

.contact-info-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Specific generous spacing for "The Science of Gases & Exposure Limits" */
#course-col-2 {
  padding-left: clamp(20px, 2.5vw, 36px) !important;
  padding-right: clamp(20px, 2.5vw, 36px) !important;
}

#course-card-2 {
  margin-left: auto;
  margin-right: auto;
}

#course-card-2 .course-body {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

#course-card-2 .course-footer {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* ==========================================================================
   BLOG SECTION (ABOVE FAQ)
   "above faq please add blog section with the images"
   ========================================================================== */
.blog-section {
  padding: 5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--color-gray-200);
}

.blog-card {
  background-color: var(--color-white);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
  border-color: rgba(30, 58, 138, 0.35);
}

.blog-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img {
  transform: scale(1.06);
}

.blog-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(30, 58, 138, 0.92);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.32rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.blog-body {
  padding: 1.4rem 1.4rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-top {
  font-size: 0.8rem;
  color: var(--color-gray-600);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-title {
  color: var(--color-primary);
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--color-gray-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.blog-footer {
  margin-top: auto;
  padding: 0.95rem 1.4rem 1.15rem;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-author-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-gray-200);
}

.blog-author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-black);
}

.btn-read-blog {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: gap 0.2s ease, color 0.2s ease;
}

.btn-read-blog:hover {
  color: var(--color-primary-hover);
  gap: 0.55rem;
}

/* ==========================================================================
   ATTACHMENT-STYLE DARK FOOTER
   "please make footer like the attachment but logo and text use our"
   ========================================================================== */
.naiser-style-footer {
  background-color: #1f242d;
  color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-badge {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.footer-brand-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin-left: 0.95rem;
  letter-spacing: -0.02em;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-squircle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #2b323d;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-social-squircle:hover {
  background-color: #3b82f6;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.3);
}

.footer-col-header {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #728096;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 0.95rem;
}

.footer-nav-link {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-link:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

.footer-app-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 250px;
}

.footer-app-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.7rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s ease;
}

.footer-app-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.app-btn-icon {
  font-size: 1.85rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-btn-text {
  display: flex;
  flex-direction: column;
}

.app-btn-sub {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1;
}

.app-btn-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-top: 2px;
}

.footer-bottom-divider {
  border-top: 1px solid #2b323d;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.footer-bottom-copyright {
  text-align: center;
  color: #8a99ad;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

/* ==========================================================================
   ANIMATED STATS SECTION (ABOVE TOP COURSES)
   "make stats section animated with nice look n feel"
   ========================================================================== */
.stats-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fe 50%, #ffffff 100%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  position: relative;
  overflow: hidden;
}

.stats-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 260px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.stat-box-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 18px;
  padding: 2.2rem 1.6rem 2rem;
  box-shadow: 0 10px 28px rgba(30, 58, 138, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stat-box-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-box-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(30, 58, 138, 0.14);
  border-color: rgba(30, 58, 138, 0.38);
}

.stat-box-card:hover::before {
  opacity: 1;
}

.stat-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.stat-box-card:hover .stat-icon-wrapper {
  transform: scale(1.12) rotate(6deg);
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 0.4rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 3.4vw, 3rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-black);
  margin-bottom: 0.35rem;
}

.stat-description {
  font-size: 0.88rem;
  color: var(--color-gray-600);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.stat-accent-bar {
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: rgba(30, 58, 138, 0.2);
  margin-top: auto;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.stat-box-card:hover .stat-accent-bar {
  width: 68px;
  background: var(--color-primary);
}

/* ==========================================================================
   SECTION & ELEMENT SCROLL-TRIGGERED ANIMATIONS
   "after every each section give little animation"
   ========================================================================== */
.reveal-section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-section.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children reveal */
.reveal-stagger > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-section.is-revealed .reveal-stagger > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s;
}

.reveal-section.is-revealed .reveal-stagger > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.reveal-section.is-revealed .reveal-stagger > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.16s;
}

.reveal-section.is-revealed .reveal-stagger > *:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

.reveal-section.is-revealed .reveal-stagger > *:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.reveal-section.is-revealed .reveal-stagger > *:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}

/* Gentle floating animation for key badges */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.hero-float-rating {
  animation: floatGentle 5s ease-in-out infinite;
}

.hero-float-students {
  animation: floatGentle 5s ease-in-out infinite 2.5s;
}

/* Pulse animation on section headers */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid rgba(30, 58, 138, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (ANIMATED WHATSAPP & SCROLL TO TOP)
   "please add right side animated whatsapp icon, and add scroll to top"
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 26px;
  right: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  z-index: 1080;
  pointer-events: none;
}

.floating-action-btn {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
}

/* WhatsApp Animated Floating Button */
.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-size: 1.95rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
  animation: whatsappPulse 3s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}

/* Pulsating Ripple Rings Behind WhatsApp Icon */
.whatsapp-float-btn::before,
.whatsapp-float-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.45);
  z-index: -1;
  pointer-events: none;
}

.whatsapp-float-btn::before {
  animation: whatsappRipple 2.2s infinite ease-out;
}

.whatsapp-float-btn::after {
  animation: whatsappRipple 2.2s infinite ease-out 1.1s;
}

@keyframes whatsappRipple {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.8;
  }
  100% {
    width: 180%;
    height: 180%;
    opacity: 0;
  }
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.08) rotate(-6deg);
  }
  30% {
    transform: scale(1.08) rotate(6deg);
  }
  45% {
    transform: scale(1);
  }
}

/* WhatsApp Tooltip on the left */
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
  visibility: hidden;
  background: #1f242d;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #1f242d;
}

.whatsapp-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 0 8px #25D366;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Scroll To Top Button */
.scroll-top-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #1E3A8A;
  color: #ffffff;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: #14285e;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.35);
  color: #ffffff;
}

.scroll-top-btn:active {
  transform: translateY(0);
}

@media (max-width: 576px) {
  .floating-actions-container {
    bottom: 18px;
    right: 18px;
    gap: 10px;
  }
  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    font-size: 1.75rem;
  }
  .scroll-top-btn {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   LEGAL & POLICY PAGES STYLING (Privacy, Terms, Refund, Cancellation)
   ========================================================================== */
.legal-page-hero {
  background: linear-gradient(135deg, #0b1528 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem 0;
  position: relative;
  overflow: hidden;
}

.legal-page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(30, 58, 138, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.legal-breadcrumb {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.legal-breadcrumb a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.legal-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.legal-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.legal-hero-meta .badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
}

.legal-document-wrapper {
  background-color: #f8fafc;
  padding: 3rem 0 5rem 0;
}

.legal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  padding: 2.5rem 2.5rem;
  color: #334155;
  line-height: 1.8;
  font-size: 1.025rem;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 1.75rem 1.25rem;
    font-size: 0.975rem;
  }
}

.legal-card h1, .legal-card h2, .legal-card h3, .legal-card h4, .legal-card h5, .legal-card h6 {
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.legal-card h2 {
  font-size: 1.35rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.5rem;
}

.legal-card h3 {
  font-size: 1.15rem;
}

.legal-card p {
  margin-bottom: 1.15rem;
}

.legal-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-card li {
  margin-bottom: 0.6rem;
}

.legal-callout-box {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: #1e3a8a;
}

.legal-highlight-box {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: #92400e;
}

.legal-officer-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.legal-nav-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #f1f5f9;
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.legal-nav-pill-link:hover, .legal-nav-pill-link.active {
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   COOKIE CONSENT POPUP & SETTINGS MODAL (DPDP ACT 2023 COMPLIANT)
   ========================================================================== */
.cookie-banner-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
  z-index: 9999;
  padding: 1.5rem 1.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

@media (max-width: 576px) {
  .cookie-banner-popup {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 1.25rem;
  }
}

.cookie-banner-popup.d-none {
  display: none !important;
}

.cookie-banner-text {
  font-size: 0.925rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 1rem;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-cookie-accept {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cookie-accept:hover {
  background: #14285e;
  color: #ffffff;
}

.btn-cookie-reject {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cookie-reject:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-cookie-customize {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(30, 58, 138, 0.3);
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cookie-customize:hover {
  background: rgba(30, 58, 138, 0.06);
  border-color: var(--color-primary);
}

