/* ==========================================================================
   AIK HENG ENGINEERING PTE LTD - 2027 NEXT-GEN THEME STYLES
   Palette: Architectural Navy (#0B1329), Kinetic Orange (#FF6B00), Cyan Accent (#0284C7)
   ========================================================================== */

:root {
  --primary: #0284C7;
  --primary-hover: #0369A1;
  --primary-light: #E0F2FE;
  --secondary: #FF6B00;
  --secondary-hover: #EA580C;
  --secondary-light: #FFF7ED;
  --dark: #0B1329;
  --dark-surface: #111C38;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F8FAFC;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-xl: 38px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(11, 19, 41, 0.04);
  --shadow-md: 0 16px 32px -6px rgba(11, 19, 41, 0.08);
  --shadow-lg: 0 30px 60px -12px rgba(11, 19, 41, 0.14);
  --shadow-glow-orange: 0 12px 35px -5px rgba(255, 107, 0, 0.42);
  --shadow-glow-blue: 0 12px 35px -5px rgba(2, 132, 199, 0.4);
  
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.22s var(--ease-out-expo);
  --transition-smooth: 0.45s var(--ease-out-expo);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--slate-800);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2027 FUTURISTIC FULLSCREEN PRELOADER / SPLASH SCREEN
   ========================================================================== */
/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* fixes mobile browser address-bar height issue */
  background: radial-gradient(circle at 50% 50%, #111C38 0%, #080D1C 100%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  overflow: hidden;
  transition: opacity 0.7s var(--ease-out-expo, ease-out),
              visibility 0.7s var(--ease-out-expo, ease-out);
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}

.preloader-glow-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  max-width: 80vw;
  max-height: 80vw;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, rgba(2, 132, 199, 0.15) 50%, transparent 70%);
  filter: blur(50px);
}

.preloader-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Logo ---------- */
.preloader-logo {
  display: block;
  height: 70px;
  width: auto;
  max-width: 85vw;
  object-fit: contain;
  margin-bottom: 1.5rem;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
}

/* ---------- Spinner rings ---------- */
.preloader-scanner-box {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(2, 132, 199, 0.4);
  animation: spinSlow 9s linear infinite;
}

.preloader-ring-active {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: #FF6B00;
  border-right-color: #0284C7;
  animation: spinFast 1.1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes spinFast { to { transform: rotate(360deg); } }

/* ---------- Text ---------- */
.preloader-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.preloader-subtext {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  color: #38BDF8;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

/* ---------- Progress bar ---------- */
.preloader-bar-container {
  width: 220px;
  max-width: 80vw;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full, 999px);
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0284C7, #FF6B00);
  box-shadow: 0 0 10px #FF6B00;
  transition: width 0.1s linear;
}

.preloader-counter {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 0.6rem;
  font-weight: 700;
}

/* ==========================================================================
   PRELOADER RESPONSIVE
   ========================================================================== */

/* Tablets */
@media (max-width: 768px) {
  .preloader-logo {
    height: 60px;
    margin-bottom: 1.25rem;
  }
  .preloader-brand {
    font-size: 1.3rem;
    letter-spacing: 1.5px;
  }
  .preloader-subtext {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }
}

/* Phones */
@media (max-width: 480px) {
  .preloader-logo {
    height: 50px;
    padding: 5px 8px;
    margin-bottom: 1rem;
  }
  .preloader-scanner-box {
    width: 64px;
    height: 64px;
    margin-bottom: 1.1rem;
  }
  .preloader-brand {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  .preloader-subtext {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.1rem;
  }
  .preloader-bar-container {
    width: 180px;
  }
  .preloader-counter {
    font-size: 0.75rem;
  }
  .preloader-glow-orb {
    width: 240px;
    height: 240px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .preloader-logo {
    height: 42px;
  }
  .preloader-brand {
    font-size: 1rem;
  }
  .preloader-bar-container {
    width: 150px;
  }
}

/* Short screens, such as phones in landscape */
@media (max-height: 480px) {
  .preloader-logo {
    height: 40px;
    margin-bottom: 0.6rem;
  }
  .preloader-scanner-box {
    width: 48px;
    height: 48px;
    margin-bottom: 0.6rem;
  }
  .preloader-brand {
    font-size: 1rem;
  }
  .preloader-subtext {
    margin-bottom: 0.6rem;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .preloader-ring,
  .preloader-ring-active {
    animation-duration: 20s;
  }
}

/* Scroll reveal triggers */
.reveal-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(25px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}
.reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}
.revealed {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* Custom Interactive Cursor */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--secondary);
    transition: transform 0.08s ease-out;
  }
  .cursor-ring {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(2, 132, 199, 0.6);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.16s ease-out, width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--slate-600);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Section Header Shared */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background-color: var(--secondary-light);
  color: var(--secondary);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.08);
}

.section-badge.blue {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: rgba(2, 132, 199, 0.28);
}

.section-title {
  margin-bottom: 1.2rem;
}

.section-desc {
  max-width: 680px;
  margin-bottom: 3.5rem;
  font-size: 1.125rem;
}

/* Interactive Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #EA580C 0%, #FF6B00 100%);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -8px rgba(255, 107, 0, 0.55);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-outline-primary:hover {
  background: var(--secondary);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-orange);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--dark);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.btn-white:hover {
  background-color: var(--slate-100);
  color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: all var(--transition-fast);
}

/* Top bar */
.topbar {
  background-color: var(--dark);
  color: var(--slate-400);
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-info, .topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.topbar-info a, .topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-300);
  transition: color var(--transition-fast);
}
.topbar-info a:hover {
  color: var(--secondary);
}

/* Header & Navigation */
.header-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-smooth);
}

.header-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  padding-block: 0.2rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform var(--transition-smooth);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--slate-700);
  position: relative;
  padding: 0.4rem 0;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link svg {
  opacity: 0.6;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

.nav-link:hover svg, .nav-link.active svg {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--secondary);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background-color: var(--dark);
  border-radius: 4px;
  transition: all var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -10px 0 30px rgba(0,0,0,0.18);
  z-index: 1005;
  padding: 6rem 2rem 2rem;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mobile-nav a.active, .mobile-nav a:hover {
  color: var(--secondary);
  padding-left: 6px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 41, 0.55);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  z-index: 1002;
  transition: opacity var(--transition-smooth);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO 4-SLIDER 2027 STYLE
   ========================================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.slider-container {
  width: 100%;
  height: 88vh;
  min-height: 660px;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 7.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .slide-bg-img {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(11, 19, 41, 0.94) 0%, 
    rgba(11, 19, 41, 0.80) 55%, 
    rgba(11, 19, 41, 0.35) 100%
  );
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  color: #FFFFFF;
  padding-block: 4rem;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 107, 0, 0.22);
  border: 1px solid rgba(255, 107, 0, 0.6);
  border-radius: var(--radius-full);
  color: #FF8F3D;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  transform: translateY(35px);
  opacity: 0;
  transition: all 0.6s var(--ease-out-expo) 0.2s;
}

.slide-title {
  color: #FFFFFF;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  transform: translateY(45px);
  opacity: 0;
  transition: all 0.7s var(--ease-out-expo) 0.35s;
}

.slide-title span.text-highlight {
  background: linear-gradient(135deg, #FF6B00 0%, #FFA800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
}

.slide-desc {
  color: var(--slate-300);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  margin-bottom: 2.6rem;
  max-width: 660px;
  transform: translateY(45px);
  opacity: 0;
  transition: all 0.7s var(--ease-out-expo) 0.5s;
}

.slide-buttons {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  transform: translateY(35px);
  opacity: 0;
  transition: all 0.7s var(--ease-out-expo) 0.65s;
}

.slide.active .slide-tag,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-buttons {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Controls */
.slider-nav-arrows {
  position: absolute;
  right: 3.5rem;
  bottom: 3.5rem;
  z-index: 10;
  display: flex;
  gap: 0.9rem;
}

.slider-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.slider-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.12);
  box-shadow: var(--shadow-glow-orange);
}

.slider-pagination {
  position: absolute;
  left: 3.5rem;
  bottom: 3.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.pagination-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.pagination-bar {
  width: 48px;
  height: 4.5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  transition: width 0.35s ease;
}

.pagination-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 8px var(--secondary);
}

.pagination-item.active .pagination-bar {
  width: 82px;
}
.pagination-item.active .pagination-progress {
  width: 100%;
  transition: width 6.5s linear;
}

.pagination-num {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}
.pagination-item.active .pagination-num {
  color: #FFFFFF;
}

/* ==========================================================================
   METRICS STRIP
   ========================================================================== */
.stats-strip {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  padding: 3.2rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 15;
  margin-top: -40px;
  border-radius: var(--radius-xl);
  max-width: 1280px;
  margin-inline: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding-inline: 1.2rem;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--slate-200);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.stat-number {
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.stat-number .accent {
  color: var(--secondary);
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-services {
  padding: 8rem 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 0, 0.45);
}

.service-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background-color: var(--slate-800);
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.08);
}

.service-arrow-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.service-card:hover .service-arrow-badge {
  background: var(--secondary);
  color: #FFFFFF;
  transform: rotate(45deg) scale(1.15);
  box-shadow: var(--shadow-glow-orange);
}

.service-body {
  padding: 2.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-category {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-title {
  font-size: 1.48rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--dark);
}

.service-card:hover .service-title {
  color: var(--secondary);
}

.service-text {
  font-size: 0.98rem;
  color: var(--slate-600);
  margin-bottom: 1.6rem;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--secondary);
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 0.95rem;
}

/* ==========================================================================
   FEATURE BANNER
   ========================================================================== */
.feature-impact-banner {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 50%, #0B1329 100%);
  color: #FFFFFF;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.impact-content h2 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.impact-content p {
  color: var(--slate-200);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.8rem;
}

.feature-points li {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-points li svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.impact-preview {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.18);
}

.impact-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   COMMITMENT & SAFETY SECTION
   ========================================================================== */
.section-commitment {
  padding: 7.5rem 0;
  background: #FFFFFF;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.commitment-card {
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-smooth);
}

.commitment-card:hover {
  background: #FFFFFF;
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.commitment-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.commitment-card:hover .commitment-icon {
  background: var(--secondary);
  color: #FFFFFF;
}

.commitment-card.blue .commitment-icon {
  background: var(--primary-light);
  color: var(--primary);
}
.commitment-card.blue:hover .commitment-icon {
  background: var(--primary);
  color: #FFFFFF;
}

/* ==========================================================================
   PAGE BANNER
   ========================================================================== */
.page-banner {
  position: relative;
  padding: 7rem 0 6rem;
  background-color: var(--dark);
  color: #FFFFFF;
  overflow: hidden;
}

.page-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.page-banner h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--slate-300);
}

.breadcrumbs a {
  color: var(--slate-300);
}

.breadcrumbs a:hover {
  color: var(--secondary);
}

.breadcrumbs span.active {
  color: var(--secondary);
  font-weight: 700;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark);
  color: var(--slate-400);
  padding: 5.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--slate-400);
  margin-block: 1.4rem;
  max-width: 350px;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  background: var(--secondary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-orange);
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2.5px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(6px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating Scroll to Top */
.scroll-top-btn {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  width: 52px;
  height: 52px;
  background: var(--secondary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-orange);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  border: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .commitment-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .stat-card:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-menu, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .slider-container, .hero-slider-section { min-height: 580px; height: auto; padding-bottom: 5rem; }
  .slide-content { padding-block: 3rem; }
  .slider-pagination { left: 1.5rem; bottom: 1.5rem; }
  .slider-nav-arrows { right: 1.5rem; bottom: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .commitment-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card::after { display: none !important; }
}

/* ==========================================================================
   MOBILE / TABLET COMPATIBILITY LAYER
   Several sections use inline grid styles, which beat normal media queries,
   so these rules target them by attribute and use !important on purpose.
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; overflow-wrap: break-word; }
main, .site-footer, .hero-slider-section { overflow-x: clip; }
main img:not(.slide-bg-img):not(.page-banner-img) { max-width: 100%; height: auto; }
.topbar-info a, .footer-col p, .footer-brand p, .contact-card a { overflow-wrap: anywhere; }
input, select, textarea { max-width: 100%; font-size: 16px; } /* 16px stops iOS zoom-on-focus */

/* Tablet: switch to the drawer menu earlier so six links never overflow */
@media (max-width: 1024px) {
  .nav-menu { display: none !important; }
  .hamburger { display: flex !important; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  [style*="grid-template-columns: 1.1fr 0.9fr"],
  [style*="grid-template-columns: 1fr 1.1fr"],
  [style*="grid-template-columns: 1fr 1.15fr"],
  [style*="grid-template-columns: 1fr 1fr; gap: 4"] { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  [style*="repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="repeat(3, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  .slide-content { max-width: 100%; }
}

/* Phones and small tablets */
@media (max-width: 768px) {
  .container { padding-inline: 1.1rem; }
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  [style*="padding: 3"] { padding: 1.5rem !important; }
  [style*="margin-bottom: 6rem"] { margin-bottom: 3.5rem !important; }
  [style*="margin: 0 auto 3.5rem"], [style*="margin-bottom: 3.5rem"], [style*="margin-bottom: 4rem"] { margin-bottom: 2rem !important; }
  .brand-logo img { height: 56px !important; }
  .slide-title { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .slide-desc { font-size: 1rem; }
  .slide-buttons .btn { flex: 1 1 100%; justify-content: center; }
  .page-banner h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  [style*="font-size: clamp(2.2rem"] { font-size: clamp(1.7rem, 7vw, 2.2rem) !important; }
  .btn { white-space: normal; text-align: center; }
  .footer-grid { gap: 2rem; }
  .scroll-top-btn { right: 1rem; bottom: 1rem; }
  .mobile-nav { width: min(86vw, 360px); }
}

/* Small phones */
@media (max-width: 480px) {
  .brand-logo img { height: 48px !important; }
  .section-badge { font-size: 0.7rem; }
  .btn { padding-inline: 1.25rem; }
  .slider-pagination { max-width: calc(100% - 7.5rem); overflow: hidden; }
}

/* ==========================================================================
   INTERVIEW PAGES
   ========================================================================== */
.iv-article { line-height: 1.8; color: var(--slate-700); }
.iv-article h2 { color: var(--dark); margin: 2rem 0 1rem; }
.iv-article h2:first-child { margin-top: 0; }
.iv-article h3 { color: var(--dark); margin: 2rem 0 0.75rem; font-size: 1.3rem; }
.iv-article p { margin-bottom: 1.1rem; }
.iv-article ul, .iv-article ol { margin: 0 0 1.25rem 1.5rem; }
.iv-article ul { list-style: disc; }
.iv-article ol { list-style: decimal; }
.iv-article li { margin-bottom: 0.6rem; padding-left: 0.3rem; }
.iv-questions li { font-weight: 600; color: var(--dark); }
.iv-note { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--bg-light); border-left: 4px solid #2563EB; border-radius: 8px; }
.iv-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.iv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.9rem 2.2rem; border: 0; border-radius: 10px; color: #fff; font: inherit; font-weight: 800; text-align: center; cursor: pointer; transition: transform 0.2s, filter 0.2s; }
.iv-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.iv-start { min-width: 260px; background: linear-gradient(rgba(21, 128, 61, 0.82), rgba(22, 163, 74, 0.82)), url("../img/slider/2homepageslider.jpg") center / cover no-repeat; }
.iv-stop { background: #DC2626; }
.iv-submit { background: #2563EB; }
.iv-complete { text-align: center; padding: 1rem 0; }
.iv-complete .iv-buttons { justify-content: center; }
@media (max-width: 480px) { .iv-btn { width: 100%; } .iv-start { min-width: 0; } }
