/* ============================================================
   PWG SUPPLY CO., LTD — Premium Design System
   White + Blue Light Theme · Apple / Stripe / Linear Quality
   ============================================================ */

/* —————————————————————————————————————
   0. GOOGLE FONTS
   ————————————————————————————————————— */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Prompt:wght@300;400;500;600;700;800&display=swap');

/* —————————————————————————————————————
   1. DESIGN TOKENS
   ————————————————————————————————————— */
:root {
  /* Primary — Premium Blue & Cyan Accent */
  --primary-900: #071D3A; /* Deep Navy */
  --primary-800: #0A3C7C; /* Steel Dark Blue */
  --primary-700: #0D56BD; /* Deep Royal Blue */
  --primary-600: #005EE6; /* Premium Electric Blue */
  --primary-500: #0066FF; /* Brand Core Blue */
  --primary-400: #3385FF; /* Vibrant Sky Blue */
  --primary-300: #66A3FF; /* Bright Ice Blue */
  --primary-200: #99C2FF; /* Soft Pastel Blue */
  --primary-100: #CCE0FF; /* Light Accent Blue */
  --primary-50:  #F0F6FF; /* Cool Ice Blue Background */

  /* Neutrals */
  --white:    #FFFFFF;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Accents */
  --accent-gold: #F59E0B;
  --accent-cyan: #06B6D4;
  --success:     #10B981;
  --error:       #EF4444;

  /* Fonts */
  --font-th: 'Prompt', sans-serif;
  --font-en: 'Inter', 'Prompt', sans-serif;

  /* Shadows — layered, soft */
  --shadow-sm:  0 1px 2px rgba(0, 102, 255, 0.02), 0 2px 6px rgba(0, 102, 255, 0.02);
  --shadow-md:  0 4px 16px rgba(0, 102, 255, 0.04), 0 10px 30px rgba(0, 102, 255, 0.03);
  --shadow-lg:  0 8px 32px rgba(0, 102, 255, 0.06), 0 20px 50px rgba(0, 102, 255, 0.04);
  --shadow-xl:  0 12px 48px rgba(0, 102, 255, 0.08), 0 30px 70px rgba(0, 102, 255, 0.06);
  --shadow-blue: 0 4px 20px rgba(0, 102, 255, 0.15), 0 12px 40px rgba(0, 102, 255, 0.1);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* —————————————————————————————————————
   2. CSS RESET & BASE
   ————————————————————————————————————— */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-th);
  background-color: var(--white);
  color: var(--gray-700);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  line-height: 1.2;
  font-family: var(--font-th);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-500);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-400) var(--gray-200);
}

/* Selection */
::selection {
  background: var(--primary-100);
  color: var(--primary-900);
}

::-moz-selection {
  background: var(--primary-100);
  color: var(--primary-900);
}

/* —————————————————————————————————————
   3. KEYFRAME ANIMATIONS
   ————————————————————————————————————— */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,136,229,0.4); }
  50%      { box-shadow: 0 0 20px 8px rgba(30,136,229,0.15); }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40%  { transform: translateX(-50%) translateY(-10px); }
  60%  { transform: translateX(-50%) translateY(-5px); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--primary-200); }
  50%      { border-color: var(--primary-400); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* —————————————————————————————————————
   4. LOADING SCREEN
   ————————————————————————————————————— */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #030812; /* Premium Sci-Fi Deep Navy */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-wrapper.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.08); /* Sophisticated reveal animation */
}

/* Sci-fi tech grid background */
.loader-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  pointer-events: none;
  z-index: 1;
  animation: loaderGridMove 25s linear infinite;
}

@keyframes loaderGridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 320px;
}

.loader-visual {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

/* SVG Tech Ring */
.loader-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  animation: loaderSpin 8s linear infinite;
}

.loader-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 4px;
}

.loader-circle-glow {
  fill: none;
  stroke: var(--primary-500);
  stroke-width: 4px;
  opacity: 0.15;
  filter: blur(6px);
}

.loader-circle-line {
  fill: none;
  stroke: url(#loader-grad);
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-dasharray: 283; /* 2 * PI * r (r=45) */
  stroke-dashoffset: 283;
  animation: loaderStrokeAnim 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 3;
}

.loader-letter {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: var(--font-en);
  background: linear-gradient(135deg, var(--white), #99C2FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: loaderLetterPulse 1.5s ease-in-out infinite alternate;
}

.loader-letter:nth-child(1) { animation-delay: 0.1s; }
.loader-letter:nth-child(2) { animation-delay: 0.25s; }
.loader-letter:nth-child(3) { animation-delay: 0.4s; }

/* Progress Info & Bar */
.loader-progress-info {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.loader-percentage {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--white);
  letter-spacing: -1px;
}

.loader-percent-symbol {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-400);
  margin-left: 2px;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.loader-bar-fill {
  width: 0%; /* Dynamic from app.js */
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-cyan));
  border-radius: 99px;
  transition: width 0.1s ease-out;
}

.loader-text {
  font-size: 0.7rem;
  color: var(--gray-500);
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-en);
  animation: loaderTextGlow 1.5s ease-in-out infinite alternate;
}

/* Animations */
@keyframes loaderSpin {
  0% { transform: rotate(-90deg); }
  100% { transform: rotate(270deg); }
}

@keyframes loaderStrokeAnim {
  0% { stroke-dashoffset: 283; }
  50% { stroke-dashoffset: 60; }
  100% { stroke-dashoffset: 283; }
}

@keyframes loaderLetterPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
    filter: drop-shadow(0 0 2px rgba(0, 102, 255, 0));
  }
  100% {
    transform: scale(1.04);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.7));
  }
}

@keyframes loaderTextGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; color: var(--primary-300); }
}

/* —————————————————————————————————————
   5. CONTAINER
   ————————————————————————————————————— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* —————————————————————————————————————
   6. NAVIGATION
   ————————————————————————————————————— */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s var(--ease-out);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.04);
  border-bottom: 1px solid var(--gray-100);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.nav-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
  display: block;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 102, 255, 0.6));
  transition: transform 0.3s var(--ease-out);
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(13,71,161,0.25);
  transition: all 0.3s var(--ease-out);
}

.nav-logo-icon span {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
}

.nav-logo:hover .nav-logo-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(13,71,161,0.3);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-company {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 1px;
}

.nav-logo-tagline {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--primary-600);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: clamp(24px, 10vw, 150px); /* Shift links left, scaling responsively on desktop */
}

.nav-link {
  position: relative;
  padding: 8px 18px;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  border-radius: var(--radius-sm);
}

.nav-link i {
  display: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-300));
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

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

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

.mobile-only-footer {
  display: none;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  z-index: 1001;
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease-out);
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
}

.nav-toggle:hover {
  background: var(--gray-100);
}

.nav-toggle-bar,
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* —————————————————————————————————————
   7. HERO
   ————————————————————————————————————— */
#home .hero,
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 100px 0 60px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 246, 255, 0.95) 60%,
    rgba(204, 224, 255, 0.8) 100%
  );
}

#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

.hero-grid-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-text-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-full);
  color: var(--primary-700);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  font-family: var(--font-en);
  animation: slideUp 1s 0.3s var(--ease-out) both;
}

.hero-badge i {
  font-size: 0.75rem;
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  animation: slideUp 1s 0.5s var(--ease-out) both;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--gray-700);
  font-weight: 400;
  margin-top: 0.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 400;
  animation: slideUp 1s 0.7s var(--ease-out) both;
}

.hero-cta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideUp 1s 0.9s var(--ease-out) both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--primary-500);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2.5s ease infinite;
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
  font-family: var(--font-en);
}

.hero-scroll-indicator:hover {
  color: var(--primary-700);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Premium Hero Visual Graphic */
.hero-visual {
  position: relative;
  width: 100%;
  height: 460px;
  animation: scaleIn 1.2s 0.5s var(--ease-out) both;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  border: 1px solid rgba(0, 102, 255, 0.05);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  z-index: 5;
  transition: all 0.5s var(--ease-out);
}

.float-card-1 {
  top: 40px;
  left: -20px;
  animation: float 5s ease-in-out infinite;
}

.float-card-2 {
  bottom: 50px;
  right: -20px;
  padding: 16px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  animation: float 6s ease-in-out infinite 1s;
}

.float-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.float-card-info {
  display: flex;
  flex-direction: column;
}

.float-card-label {
  font-size: 0.65rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.float-card-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-800);
}

.blueprint-line-art {
  width: 130px;
  height: 70px;
  opacity: 0.8;
}

.main-graphic-container {
  width: 85%;
  height: 80%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 102, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.main-graphic-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,102,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.graphic-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-400), transparent);
  animation: slideDown 4s linear infinite;
  opacity: 0.6;
}

.graphic-logo-icon {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-100);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.graphic-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-700);
  margin-bottom: 0.75rem;
  font-family: var(--font-en);
}

.graphic-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.graphic-status-list {
  display: flex;
  gap: 1.25rem;
}

.status-item-small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
}

.dot-active {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--success);
}

/* —————————————————————————————————————
   8. BUTTONS
   ————————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-family: inherit;
}

.btn i {
  font-size: 0.85rem;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover i {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  color: white;
  box-shadow: 0 4px 15px rgba(13,71,161,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13,71,161,0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Outline on light backgrounds */
.hero .btn-outline,
.services-section .btn-outline,
.contact-section .btn-outline,
.about-section .btn-outline {
  border: 2px solid var(--primary-500);
  color: var(--primary-600);
}

.hero .btn-outline:hover,
.services-section .btn-outline:hover,
.contact-section .btn-outline:hover,
.about-section .btn-outline:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-600);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

/* —————————————————————————————————————
   9. BENTO GRID ABOUT & STATS SECTION
   ————————————————————————————————————— */
.bento-about-section {
  padding: 120px 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.bento-about-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 1.75rem;
}

.bento-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0, 102, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.06);
}

.bento-card:hover .bento-card-bg {
  opacity: 1;
}

/* Card Specifics - Experience Dashboard */
.card-experience {
  grid-column: span 1;
  grid-row: span 1;
  background: linear-gradient(135deg, #071D3A 0%, #005EE6 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 94, 230, 0.15);
}

.card-experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 15px 15px;
  pointer-events: none;
}

.card-experience .bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: #00E5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-experience .bento-stat-num {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  font-family: var(--font-en);
  background: linear-gradient(135deg, #FFFFFF, #B3D1FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.card-experience .bento-stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
  color: var(--primary-100);
}

.card-experience .bento-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
  margin-top: 1rem;
}

.chart-bar {
  flex: 1;
  height: var(--height);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: all 0.5s var(--ease-out);
}

.card-experience:hover .chart-bar {
  background: linear-gradient(to top, #00E5FF, #0066FF);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Card Intro */
.card-intro {
  grid-column: span 2;
  grid-row: span 1;
}

.card-intro .card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-600);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.card-intro .bento-title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}

.card-intro .bento-text {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.card-intro .bento-text:not(:last-child) {
  margin-bottom: 1rem;
}

/* Card Standards */
.card-standards {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-subtitle-small {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bento-subtitle-small i {
  color: var(--primary-600);
}

.bento-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.bento-list li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-50);
  border: 1px solid rgba(0, 102, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: all 0.3s var(--ease-out);
}

.bento-list li:hover {
  transform: translateX(4px);
  background: var(--white);
  border-color: rgba(0, 102, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.bento-list li i {
  color: var(--success);
  font-size: 1.05rem;
}

.standards-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--primary-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

/* Add pulsing active dot for standards badge */
.standards-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--success);
  animation: blinker 1.5s infinite;
}

/* Card Stats Grid - Vertical Overhaul */
.card-stats-mini {
  grid-column: span 1;
  grid-row: span 1;
}

.mini-stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.mini-stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--gray-50);
  border: 1px solid rgba(0, 102, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  transition: all 0.3s var(--ease-out);
}

.mini-stat-item:hover {
  transform: translateX(4px);
  background: var(--white);
  border-color: rgba(0, 102, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.mini-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.mini-stat-icon-wrap.blue-glow {
  background: rgba(0, 102, 255, 0.05);
  color: var(--primary-600);
}

.mini-stat-icon-wrap.cyan-glow {
  background: rgba(6, 182, 212, 0.05);
  color: var(--accent-cyan);
}

.mini-stat-icon-wrap.gold-glow {
  background: rgba(245, 158, 11, 0.05);
  color: var(--accent-gold);
}

.mini-stat-item:hover .mini-stat-icon-wrap.blue-glow {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.25);
}

.mini-stat-item:hover .mini-stat-icon-wrap.cyan-glow {
  background: var(--accent-cyan);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.25);
}

.mini-stat-item:hover .mini-stat-icon-wrap.gold-glow {
  background: var(--accent-gold);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

.mini-stat-text {
  display: flex;
  flex-direction: column;
}

.mini-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  font-family: var(--font-en);
}

.mini-stat-lbl {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-top: 2px;
}

/* Card Emergency - 1x1 Block */
.card-emergency {
  grid-column: span 1;
  grid-row: span 1;
  border: 1px dashed rgba(239, 68, 68, 0.3);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, rgba(0, 102, 255, 0.03) 100%);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.05);
}

.card-emergency:hover {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.1);
}

.card-emergency .bento-card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-emergency .bento-btn-call {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #FFEBEB;
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #EF4444;
  animation: pulse 1.5s infinite;
}

.bento-title-small {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.bento-desc-small {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.bento-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.85rem;
  background: linear-gradient(135deg, #EF4444 0%, #D32F2F 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
  text-decoration: none;
  flex-shrink: 0;
}

.bento-btn-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
  filter: brightness(1.05);
}

.bento-btn-call i {
  font-size: 1rem;
}




/* —————————————————————————————————————
   10. SECTION HEADERS
   ————————————————————————————————————— */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-full);
  color: var(--primary-700);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
  font-family: var(--font-en);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-300));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}


/* —————————————————————————————————————
   12. SERVICES SECTION
   ————————————————————————————————————— */
.services-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 102, 255, 0.05);
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  box-shadow:
    0 1px 3px rgba(0, 102, 255, 0.02),
    0 8px 24px rgba(0, 102, 255, 0.04);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.12);
  border-color: var(--primary-300);
}

.service-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

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

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

.service-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.service-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--gray-100);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 1;
  line-height: 1;
  transition: color 0.3s var(--ease-out);
  font-family: var(--font-en);
}

.service-card:hover .service-number {
  color: var(--primary-50);
}

.service-content {
  padding: 2rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(13,71,161,0.2);
  transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  transition: color 0.3s var(--ease-out);
}

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

.service-text {
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 0.95rem;
}

.service-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.service-tag {
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: background 0.3s var(--ease-out);
}

.service-card:hover .service-tag {
  background: var(--primary-100);
}

/* Service Card Rating Link */
.service-rating-link {
  display: flex;
  align-items: center;
  margin-top: auto; /* Push to the absolute bottom of the card content */
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 102, 255, 0.08);
  gap: 0.75rem;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.service-card:hover .service-rating-link {
  border-top-color: rgba(0, 102, 255, 0.15);
}

.service-stars-mini {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 0.82rem;
}

.rating-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-right: auto;
  transition: color 0.3s var(--ease-out);
}

.service-card:hover .rating-text {
  color: var(--primary-700);
}

.rating-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.75rem;
  transition: all 0.3s var(--ease-out);
}

.service-card:hover .rating-arrow {
  background: var(--primary-600);
  color: white;
  transform: translateX(3px);
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
}

/* —————————————————————————————————————
   12.5 PROCESS TIMELINE SECTION
   ————————————————————————————————————— */
.timeline-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
}

/* Connecting line */
.timeline-progress-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gray-100);
  z-index: 1;
}

.timeline-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--primary-500), var(--primary-300));
  transition: height 0.3s ease;
}

.timeline-step {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 4rem;
  width: 50%;
  z-index: 2;
}

.timeline-step:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  margin-left: 50%;
}

.timeline-step:nth-child(odd) {
  margin-right: 50%;
}

.timeline-marker {
  position: absolute;
  top: 24px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--gray-300);
  z-index: 3;
  transition: all 0.4s var(--ease-out);
}

.timeline-step:nth-child(even) .timeline-marker {
  left: -10px;
  right: auto;
}

.timeline-number {
  position: absolute;
  top: 15px;
  right: -60px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-300);
  font-family: var(--font-en);
  z-index: 3;
  transition: color 0.4s var(--ease-out);
}

.timeline-step:nth-child(even) .timeline-number {
  left: -60px;
  right: auto;
}

.timeline-card {
  width: 90%;
  background: var(--white);
  border: 1px solid rgba(0, 102, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}

.timeline-step:nth-child(odd) .timeline-card {
  margin-right: 2rem;
}

.timeline-step:nth-child(even) .timeline-card {
  margin-left: 2rem;
}

.timeline-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s var(--ease-out);
}

.timeline-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.timeline-step-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Active timeline styles on scroll */
.timeline-step.active .timeline-marker {
  border-color: var(--primary-500);
  background: var(--primary-50);
  box-shadow: 0 0 0 6px rgba(0, 102, 255, 0.15);
  transform: scale(1.1);
}

.timeline-step.active .timeline-number {
  color: var(--primary-500);
}

.timeline-step.active .timeline-card {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.timeline-step.active .timeline-icon {
  background: var(--primary-500);
  color: var(--white);
}

/* —————————————————————————————————————
   13. CTA SECTION
   ————————————————————————————————————— */
.cta-section {
  padding: 100px 0;
  background: #050b14; /* Match footer background */
  background-image: 
    radial-gradient(rgba(0, 102, 255, 0.08) 1px, transparent 0),
    radial-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: rotateGlow 20s linear infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: rotateGlow 25s linear infinite reverse;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(7, 29, 58, 0.85) 0%, rgba(13, 71, 161, 0.4) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: var(--radius-2xl);
  padding: 4rem;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(0, 102, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Cybernetic scanning laser line */
.cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
  0% { left: -50%; }
  100% { left: 150%; }
}

.cta-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--white) 30%, var(--primary-100) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.cta-text p {
  color: var(--gray-300);
  font-size: 1.15rem;
  font-weight: 500;
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-50) 100%);
  color: var(--primary-700);
  box-shadow: 
    0 4px 15px rgba(0,0,0,0.15),
    0 0 10px rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 1.1rem 2.2rem;
  flex-shrink: 0;
}

.cta-section .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.cta-section .btn-primary i {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-section .btn-primary:hover {
  color: var(--white);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 
    0 12px 25px rgba(0, 102, 255, 0.3),
    0 0 15px rgba(0, 229, 255, 0.25);
}

.cta-section .btn-primary:hover::after {
  opacity: 1;
}

.cta-section .btn-primary:hover i {
  transform: translateX(5px) translateY(-3px) rotate(15deg);
}

/* —————————————————————————————————————
   14. REVIEWS SECTION
   ————————————————————————————————————— */
.reviews-section {
  padding: 100px 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.reviews-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.reviews-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.reviews-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); /* Snappy and premium slide animation */
}

.review-card {
  min-width: 100%;
  padding: 3.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  box-shadow:
    0 1px 3px rgba(0,0,0,0.02),
    0 8px 24px rgba(0,0,0,0.04);
  text-align: center;
  position: relative;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.95) translateY(12px);
  opacity: 0.35;
}

.review-card.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 
    0 20px 40px rgba(0, 102, 255, 0.08), 
    0 1px 3px rgba(0, 102, 255, 0.04);
}

@keyframes quoteFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-5deg); color: var(--primary-300); }
}

.review-quote-icon {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  font-size: 2.5rem;
  color: var(--primary-100);
  line-height: 1;
  opacity: 0.85;
  animation: quoteFloat 4s ease-in-out infinite;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 4px;
}

.review-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}

.review-author-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-200);
  margin: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary-500);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card.active .review-avatar {
  border-color: var(--primary-500);
  box-shadow: 
    0 0 0 4px rgba(0, 102, 255, 0.15),
    0 0 15px rgba(0, 102, 255, 0.3);
  transform: scale(1.1);
}

/* Carousel Progress Bar */
.carousel-progress-container {
  width: calc(100% - 48px);
  height: 3px;
  background: var(--gray-100);
  border-radius: 10px;
  margin: 1.75rem auto 0.75rem;
  overflow: hidden;
  position: relative;
  max-width: 760px;
}

.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-600), var(--accent-cyan));
  border-radius: 10px;
  transition: width 2s linear;
}

.review-author-details {
  text-align: left;
}

.review-author {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.review-role {
  color: var(--primary-600);
  font-size: 0.85rem;
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-100);
  color: var(--primary-600);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.carousel-btn:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.carousel-prev {
  left: -24px;
}

.carousel-next {
  right: -24px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  padding: 0;
}

.carousel-dot:hover {
  background: var(--primary-300);
}

.carousel-dot.active {
  background: var(--primary-500);
  width: 24px; /* Morph into a premium pill capsule shape */
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
}

/* —————————————————————————————————————
   15. TRUST SECTION
   ————————————————————————————————————— */
.trust-section {
  margin-top: 4rem;
  text-align: center;
}

.trust-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-family: var(--font-en);
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.8rem;
  transition: all 0.3s var(--ease-out);
}

.trust-item i {
  font-size: 1.8rem;
  color: var(--gray-300);
  transition: all 0.3s var(--ease-out);
}

.trust-item:hover {
  color: var(--gray-600);
}

.trust-item:hover i {
  color: var(--primary-500);
  transform: scale(1.1);
}

/* —————————————————————————————————————
   16. CONTACT SECTION
   ————————————————————————————————————— */
.contact-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contact-info-desc {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--gray-100);
  transition: all 0.3s var(--ease-out);
}

.contact-card:hover {
  border-color: var(--primary-200);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(13,71,161,0.06);
  background: var(--white);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(13,71,161,0.2);
  text-decoration: none;
}

.contact-icon-line {
  background: linear-gradient(135deg, #06C755, #00B843);
  box-shadow: 0 4px 12px rgba(6,199,85,0.2);
}

.contact-icon-email {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-300));
}

.contact-icon-map {
  background: linear-gradient(135deg, #FF6B35, #F7931E);
  box-shadow: 0 4px 12px rgba(255,107,53,0.2);
}

.contact-icon-manager {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  box-shadow: 0 4px 12px rgba(0,102,255,0.2);
}

.contact-icon-tax {
  background: linear-gradient(135deg, var(--accent-gold), #D97706);
  box-shadow: 0 4px 12px rgba(245,158,11,0.2);
}

.contact-card-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
}

.contact-card-content p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-availability {
  font-size: 0.8rem;
  color: var(--primary-600);
  font-weight: 500;
}

/* Contact Page Redesign */
.contact-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.contact-title-main {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle-main {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-card-content p a {
  transition: color 0.3s ease;
}

.contact-card-content p a:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-title-main {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion Styling */
.faq-container-box {
  margin-top: 3.5rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 2.5rem;
}

.faq-title-main {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-title-main i {
  color: var(--primary-500);
}

.faq-item {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(0, 102, 255, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

/* Vertical gradient accent bar on the left */
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-400), var(--primary-600));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-200);
  background: var(--white);
  box-shadow: 0 12px 30px -4px rgba(0, 102, 255, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
}

.faq-trigger {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary-900);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative;
  z-index: 1;
}

.faq-trigger span {
  padding-right: 1.5rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* Circular Icon Wrapper */
.faq-trigger i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--primary-500);
  font-size: 0.8rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-trigger:hover span {
  color: var(--primary-600);
}

.faq-trigger:hover i {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--white);
  transform: scale(1.05);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.75rem;
}

.faq-content p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-600);
  padding-bottom: 1.35rem;
  border-top: 1px dashed rgba(226, 232, 240, 0.8);
  padding-top: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Active FAQ Item State */
.faq-item.active {
  background: var(--white);
  border-color: var(--primary-300);
  box-shadow: 0 15px 35px -5px rgba(0, 102, 255, 0.1), 0 5px 15px -5px rgba(0, 102, 255, 0.04);
}

.faq-item.active::before {
  transform: scaleY(1);
}

.faq-item.active .faq-trigger span {
  color: var(--primary-600);
}

.faq-item.active .faq-trigger i {
  transform: rotate(135deg);
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
}

.faq-item.active .faq-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--gray-50);
  padding: 3rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(187,222,251,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.form-desc {
  color: var(--gray-500);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-form {
  position: relative;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-label i {
  color: var(--primary-500);
  margin-right: 4px;
  font-size: 0.8rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-900);
  font-size: 1rem;
  transition: all 0.3s var(--ease-out);
  font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 4px rgba(25,118,210,0.08);
  background: var(--white);
  outline: none;
}

.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: white;
  color: var(--gray-900);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.form-status.success {
  padding: 1rem;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--success);
  animation: slideUp 0.4s var(--ease-out);
}

.form-status.error {
  padding: 1rem;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  color: var(--error);
  animation: slideUp 0.4s var(--ease-out);
}

/* —————————————————————————————————————
   17. FOOTER
   ————————————————————————————————————— */
.footer {
  background: #030712; /* Deep space dark background */
  background-image: 
    radial-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 0),
    radial-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 0);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-500), var(--accent-cyan), var(--primary-500), transparent);
  background-size: 200% 100%;
  animation: borderGlow 4s linear infinite;
  z-index: 2;
}

.footer::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.15) translate(-30px, -20px); opacity: 1; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.8fr 1.2fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1.5rem;
}

@media (max-width: 768px) {
  .footer-services-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

.footer-col {
  background: rgba(255, 255, 255, 0.012);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.footer-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.footer-col:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(0, 102, 255, 0.2);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 20px 40px rgba(0, 102, 255, 0.08);
}

.footer-col:first-child {
  border-color: rgba(0, 102, 255, 0.08);
}

.footer-col:first-child:hover {
  border-color: rgba(0, 229, 255, 0.25);
}

.footer .nav-logo-icon {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
}

.footer .nav-logo-company {
  color: var(--white);
}

.footer .nav-logo-tagline {
  color: var(--primary-300);
}

.footer-description {
  color: var(--gray-400);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.footer-social,
.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.social-link::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.social-link:hover {
  color: var(--white);
  transform: translateY(-4px);
  background: rgba(0, 102, 255, 0.12);
  box-shadow: 
    0 8px 20px rgba(0, 102, 255, 0.25),
    0 0 10px rgba(0, 229, 255, 0.15);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover i {
  transform: rotate(8deg) scale(1.1);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.footer-heading::after {
  content: '';
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-cyan));
  display: block;
  margin-top: 0.6rem;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.footer-link {
  display: flex;
  align-items: center;
  color: var(--gray-400);
  padding: 7px 0;
  transition: all 0.3s var(--ease-out);
  font-size: 0.92rem;
  position: relative;
  text-decoration: none;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1.2px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-cyan));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 6px;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.35);
}

.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 7px 0;
  color: var(--gray-400);
  font-size: 0.92rem;
  transition: all 0.3s var(--ease-out);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer-contact-item:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-contact-item i {
  color: var(--primary-400);
  margin-top: 5px;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.footer-contact-item:hover i {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
  transform: scale(1.15) rotate(-5deg);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--gray-500);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

/* —————————————————————————————————————
   18. SCROLL REVEAL
   ————————————————————————————————————— */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-out);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-out);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s var(--ease-out);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* —————————————————————————————————————
   19. BACK TO TOP & FLOATING BUTTONS
   ————————————————————————————————————— */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--white);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease-out);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.08),
    0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-100);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(13,71,161,0.15);
  background: var(--primary-50);
  color: var(--primary-700);
}

.floating-contact {
  position: fixed;
  bottom: 100px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
}

.floating-phone {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  box-shadow: 0 4px 15px rgba(13,71,161,0.3);
}

.floating-phone:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(13,71,161,0.4);
}

.floating-line {
  background: #06C755;
  box-shadow: 0 4px 15px rgba(6,199,85,0.3);
}

.floating-line:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(6,199,85,0.4);
}

/* —————————————————————————————————————
   20. RESPONSIVE — 1024px
   ————————————————————————————————————— */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* —————————————————————————————————————
   21. RESPONSIVE — 768px
   ————————————————————————————————————— */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  /* When mobile toggle is active, make navbar full height, transparentize background, and remove border/shadows/filters */
  .navbar.active,
  .navbar:has(.nav-toggle.active) {
    height: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Prevent the top header container from stretching when navbar is full height */
  .navbar.active .container,
  .navbar:has(.nav-toggle.active) .container {
    height: 80px !important;
  }

  /* Automatically invert logo to glow white when menu is open */
  .navbar.active .nav-logo-img,
  .navbar:has(.nav-toggle.active) .nav-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(0, 102, 255, 0.5));
  }

  /* Style the open toggle button inside the dark menu */
  .nav-toggle.active {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .nav-toggle.active span {
    background: var(--white) !important;
  }

  .nav-toggle.active:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Premium space dark background with radial blue glow */
    background: rgba(3, 8, 18, 0.96);
    background-image: radial-gradient(circle at 50% 35%, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-right: 0; /* Reset desktop margin for centered mobile menu */
    padding: 80px 24px 40px;
    overflow-y: auto; /* Enable scrolling for small screen heights */
    -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
    overscroll-behavior: contain; /* Prevent scroll chaining */
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 14px 28px;
    color: rgba(255, 255, 255, 0.7);
    width: 80%;
    max-width: 280px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap; /* Prevent any text wrapping/word breaking */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Reset desktop hover line underlay */
  .nav-link::after {
    display: none !important;
  }

  .nav-link i {
    display: inline-flex !important; /* Force icons to show on mobile overrides */
    align-items: center;
    justify-content: center;
    margin-right: 0;
    color: var(--primary-400);
    font-size: 1.15rem;
    transition: transform 0.3s ease;
  }

  .nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .nav-link:hover i {
    transform: scale(1.15);
  }

  /* Premium glowing active capsule style */
  .nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 229, 255, 0.1) 100%);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 
      0 8px 24px rgba(0, 102, 255, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
  }

  .nav-link.active i {
    color: var(--accent-cyan) !important;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
  }

  /* Mobile menu footer contact items */
  .mobile-only-footer {
    display: block;
    width: 100%;
  }

  .nav-menu-footer {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.45s;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    width: 80%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links.active .nav-menu-footer {
    opacity: 0.65;
    transform: translateY(0);
  }

  .nav-menu-footer p {
    color: var(--gray-400);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
  }

  .nav-menu-footer p a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
  }

  .nav-menu-footer p a:hover {
    color: var(--primary-300);
  }

  .nav-menu-footer p i {
    color: var(--primary-400);
    font-size: 0.95rem;
  }

  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.active .nav-link:nth-child(6) { transition-delay: 0.35s; }
  .nav-links.active .nav-link:nth-child(7) { transition-delay: 0.4s; }

  /* Hero */
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero-grid-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-text-content {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    height: 340px;
  }

  .floating-card {
    display: flex !important;
  }

  .float-card-1 {
    top: 20px;
    left: -12px;
    animation: floatMobile 5s ease-in-out infinite !important;
  }

  .float-card-2 {
    bottom: 30px;
    right: -12px;
    animation: floatMobile 6s ease-in-out infinite 1s !important;
  }

  .main-graphic-container {
    width: 100%;
    height: 100%;
    padding: 24px;
  }

  /* Bento Grid */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1rem;
  }

  .card-experience,
  .card-intro,
  .card-standards,
  .card-stats-mini,
  .card-emergency {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .mini-chart {
    display: none;
  }

  .card-experience {
    padding: 2rem;
  }

  .card-experience .bento-stat-num {
    font-size: 3.5rem;
  }

  /* Process Timeline */
  .timeline-wrapper {
    margin-top: 2rem;
  }

  .timeline-progress-line {
    left: 20px;
    transform: none;
  }

  .timeline-step {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: flex-start !important;
    padding-left: 45px;
    margin-bottom: 2.5rem;
  }

  .timeline-marker {
    left: 12px !important;
    right: auto !important;
  }

  .timeline-number {
    display: none;
  }

  .timeline-card {
    width: 100%;
  }

  .timeline-step:nth-child(odd) .timeline-card,
  .timeline-step:nth-child(even) .timeline-card {
    margin-left: 0;
    margin-right: 0;
  }

  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* Services */
  .service-image {
    height: 200px;
  }

  /* Reviews */
  .review-card {
    padding: 2rem 1.5rem;
  }

  .review-text {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .review-quote-icon {
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
  }

  /* Contact */
  .contact-form-wrapper {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-heading::after {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social,
  .footer-socials {
    justify-content: center;
  }

  .footer .nav-logo {
    justify-content: center;
  }

  /* CTA */
  .cta-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 3rem 1.75rem;
  }

  .cta-text {
    text-align: center;
  }

  /* Trust */
  .trust-logos {
    gap: 2rem;
  }

  /* Floating Contact */
  .floating-contact {
    bottom: 90px;
    right: 16px;
  }

  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .back-to-top {
    bottom: 24px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

/* —————————————————————————————————————
   22. RESPONSIVE — 480px
   ————————————————————————————————————— */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .stat-item:hover {
    background: var(--primary-50);
  }

  .stat-icon {
    margin: 0;
  }

  .stat-number {
    font-size: 2rem;
    margin-bottom: 0.15rem;
  }

  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 16px;
    letter-spacing: 2px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .about-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-content {
    padding: 1.5rem;
  }

  .service-number {
    font-size: 3rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 36px;
    font-size: 0.95rem;
  }

  .container {
    padding: 0 16px;
  }

  .about-section,
  .services-section,
  .reviews-section,
  .contact-section {
    padding: 70px 0;
  }

  .cta-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .loader-letter {
    font-size: 2.2rem;
  }
}

/* —————————————————————————————————————
   23. PRINT STYLES
   ————————————————————————————————————— */
@media print {
  .navbar,
  .loader-wrapper,
  .back-to-top,
  .floating-contact,
  #hero-particles,
  .hero-scroll-indicator,
  .carousel-btn,
  .carousel-dots {
    display: none !important;
  }

  body {
    background: white !important;
    color: #333 !important;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-overlay {
    background: rgba(10, 38, 71, 0.95) !important;
  }
}

/* —————————————————————————————————————
   24. REDUCED MOTION
   ————————————————————————————————————— */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .loader-wrapper {
    display: none !important;
  }
}

/* —————————————————————————————————————
   25. UTILITY CLASSES
   ————————————————————————————————————— */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.font-en { font-family: var(--font-en); }
.font-th { font-family: var(--font-th); }

.text-primary { color: var(--primary-600); }
.text-muted   { color: var(--gray-500); }
.text-dark    { color: var(--gray-900); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   PAGE HEADER BANNER (SUB-PAGES)
   ============================================= */
.page-header-banner {
  padding: 140px 0 70px;
  background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 102, 255, 0.08);
}

.page-header-banner::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

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

.page-banner-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--primary-600);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.page-banner-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.page-banner-subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-header-banner {
    padding: 120px 0 50px;
  }
  .page-banner-title {
    font-size: 2.2rem;
  }
  .page-banner-subtitle {
    font-size: 1rem;
  }
}

/* =============================================
   GALLERY / ON-SITE WORKS
   ============================================= */
.gallery-section {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.gallery-card {
  background: var(--white);
  border: 1px solid rgba(0, 102, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}

.gallery-card-image-main {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}

.gallery-card-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-card:hover .gallery-card-image-main img {
  transform: scale(1.02);
}

.gallery-card-thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.gallery-thumb {
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  background: var(--gray-200);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

.gallery-thumb.active {
  border-color: var(--primary-500);
  transform: scale(1.05);
}

.gallery-card-content {
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.gallery-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.gallery-card-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.gallery-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 600;
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
  margin-top: auto;
}

/* =============================================
   ABOUT US SECTION (HOME PAGE OVERHAUL)
   ============================================= */
.about-us-section {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Backdrop glow */
.about-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

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

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Tech borders on image */
.tech-border-top-left, .tech-border-bottom-right {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary-500);
  z-index: 3;
  pointer-events: none;
}

.tech-border-top-left {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.tech-border-bottom-right {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

/* Floating Stat Badge 1 (Safety) */
.about-stat-badge-floating {
  position: absolute;
  top: -25px;
  left: -25px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 102, 255, 0.15);
  box-shadow: 
    0 12px 35px rgba(0, 102, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 4;
  transition: all 0.4s var(--ease-out);
}

.about-stat-badge-floating:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 18px 45px rgba(0, 102, 255, 0.15);
}

.about-stat-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1.2rem;
  position: relative;
}

/* Pulsing radar ring behind shield */
.about-stat-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-400);
  border-radius: 50%;
  animation: badgePulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.about-stat-info {
  display: flex;
  flex-direction: column;
}

.stat-badge-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Glowing blinker next to label */
.stat-badge-lbl::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: blinker 1.5s infinite;
}

@keyframes blinker {
  50% { opacity: 0; }
}

.stat-badge-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-top: 2px;
}

/* Floating Badge 2 (Experience) */
.experience-badge-floating {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: rgba(7, 29, 58, 0.85); /* Deep glass navy */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: white;
  padding: 1.85rem 1.6rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 15px 35px rgba(0, 102, 255, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  z-index: 4;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.experience-badge-floating:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--primary-400);
  box-shadow: 
    0 25px 50px rgba(0, 102, 255, 0.4),
    0 0 20px rgba(0, 102, 255, 0.2);
}

.exp-badge-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.12) 0%, transparent 75%);
  pointer-events: none;
}

.experience-badge-floating .exp-num {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #00E5FF, #0066FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0, 229, 255, 0.3));
}

.experience-badge-floating .exp-text {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 1.5px;
  text-align: center;
  color: var(--primary-100);
}

/* About text info */
.about-info {
  display: flex;
  flex-direction: column;
}

/* Company title with gradient */
.about-title-gradient {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--primary-500);
}

.about-text {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* Feature cards */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-feature-card {
  background: var(--white);
  border: 1px solid rgba(0, 102, 255, 0.05);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.4s var(--ease-out);
}

.about-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-out);
}

.about-feature-card:hover .feature-icon-wrapper {
  background: var(--primary-600);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.feature-card-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-card-content p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* HOME FAQ SECTION (HOME PAGE) */
.home-faq-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--primary-50) 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.home-faq-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.home-faq-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.home-faq-section .container {
  position: relative;
  z-index: 1;
}

.home-faq-wrapper {
  max-width: 800px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Responsive */
@media (max-width: 991px) {
  .about-us-section {
    padding: 80px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-image img {
    height: 400px;
  }
  .about-stat-badge-floating {
    top: -10px;
    left: 10px;
  }
  .experience-badge-floating {
    bottom: -10px;
    right: 10px;
    padding: 1.25rem 1rem;
  }
  .experience-badge-floating .exp-num {
    font-size: 2.2rem;
  }
  .experience-badge-floating .exp-text {
    font-size: 0.7rem;
  }
  .about-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================
   21. PREMIUM CONTACT MODAL STYLING
   ========================================== */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.contact-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 8, 18, 0.75);
  backdrop-filter: blur(12px);
}

.contact-modal-card {
  position: relative;
  background: rgba(7, 21, 38, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.25), inset 0 0 20px rgba(0, 229, 255, 0.05);
  border-radius: 24px;
  width: 90%;
  max-width: 420px;
  padding: 2.5rem;
  z-index: 2501;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.contact-modal.active .contact-modal-card {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: rotate(90deg);
}

.modal-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.modal-subtitle {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.modal-qr-container {
  background: white;
  padding: 12px;
  border-radius: 18px;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.modal-qr-img {
  width: 180px;
  height: 180px;
  display: block;
}

.modal-id {
  font-size: 1.15rem;
  font-weight: 600;
  color: #00e5ff;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.modal-phone-display {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, #ffffff, #00b0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 15px rgba(0, 176, 255, 0.3);
}

.modal-availability {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #00E676;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #00E676;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.modal-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-icon-line {
  color: #06C755;
}

.modal-icon-phone {
  color: #00b0ff;
}

