/* =============================================
   Unite Business Automation — Main Stylesheet
   Design: Light & Dark Mode Support
   Brand Color: #0074BD
   Fully Responsive
   ============================================= */

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

/* ---- CSS VARIABLES - DARK MODE (DEFAULT) ---- */
:root {
  --brand: #0074BD;
  --brand-dark: #005a91;
  --brand-light: #00a3ff;
  --brand-soft: #e8f4ff;
  --brand-glow: rgba(0, 116, 189, 0.35);
  --brand-glow-strong: rgba(0, 116, 189, 0.6);
  
  /* Dark Mode Colors */
  --bg-primary: #050d15;
  --bg-secondary: #0a1828;
  --bg-tertiary: #0f2236;
  --bg-card: #0a1828;
  --text-primary: #c8d8e8;
  --text-secondary: #6a8aa8;
  --text-muted: #4a6a88;
  --border-color: rgba(0, 116, 189, 0.18);
  --card-bg: linear-gradient(135deg, #0a1828, #050d15);
  --section-bg: linear-gradient(135deg, #0a1828, #050d15);
  
  --white: #ffffff;
  --accent: #00e5ff;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- LIGHT MODE VARIABLES ---- */
[data-theme="light"] {
  --bg-primary: #f5f7fc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e8edf5;
  --bg-card: #ffffff;
  --text-primary: #1a2a3a;
  --text-secondary: #4a6a88;
  --text-muted: #8aa0b8;
  --border-color: rgba(0, 116, 189, 0.15);
  --card-bg: linear-gradient(135deg, #ffffff, #f8fafd);
  --section-bg: linear-gradient(135deg, #ffffff, #f0f4f9);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  color: var(--text-primary);
  line-height: 1.15;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

ul {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* ===================== SELECTION ===================== */
::selection {
  background: var(--brand);
  color: var(--white);
}

::-moz-selection {
  background: var(--brand);
  color: var(--white);
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
}

/* ===================== LOADER ===================== */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.15), rgba(0, 163, 255, 0.08));
  padding: 1.5rem;
  border-radius: 50%;
  animation: loaderContainerPulse 2s ease-in-out infinite;
}

.loader-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 20px;
  animation: loaderPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 30px var(--brand-glow);
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 20px var(--brand-glow);
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
    box-shadow: 0 0 40px var(--brand-glow-strong);
  }
}

@keyframes loaderContainerPulse {
  0%, 100% {
    background: linear-gradient(135deg, rgba(0, 116, 189, 0.15), rgba(0, 163, 255, 0.08));
  }
  50% {
    background: linear-gradient(135deg, rgba(0, 116, 189, 0.25), rgba(0, 163, 255, 0.15));
  }
}

/* ===================== THEME TOGGLE BUTTON ===================== */
.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  border-color: var(--brand);
  background: rgba(0, 116, 189, 0.1);
}

.theme-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.theme-icon.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: var(--white);
  box-shadow: 0 0 10px var(--brand-glow);
}

.theme-icon:not(.active) {
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ===================== NAVBAR WITH LOGO ===================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

#navbar.scrolled {
  background: var(--bg-primary);
  backdrop-filter: blur(20px);
  padding: 0.5rem 0;
  box-shadow: 0 1px 0 var(--border-color), 0 8px 40px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand with Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-logo-wrapper {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--brand-glow);
  transition: all 0.3s ease;
}

.nav-brand:hover .nav-logo-wrapper {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--brand-glow-strong);
}

.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 0 var(--brand-glow);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 8px transparent;
    opacity: 0.7;
  }
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--brand-light);
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.15), rgba(0, 163, 255, 0.08));
}

.nav-link.active {
  color: var(--brand-light);
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.2), rgba(0, 163, 255, 0.1));
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 2px;
}

/* CTA Button */
.nav-cta {
  padding: 0.55rem 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--brand-glow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--brand-glow-strong);
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(0, 116, 189, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(0, 116, 189, 0.2);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 99px;
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 0.5rem;
  background: var(--bg-primary);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile .nav-link {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  text-align: center;
  border-radius: 10px;
}

/* ===================== HERO SECTION ===================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 7rem;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, var(--brand-glow) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brand-light);
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.1), rgba(0, 163, 255, 0.05));
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-light);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.line-accent {
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.line-outline {
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15);
  color: transparent;
}

[data-theme="dark"] .line-outline {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 40px;
  transition: all 0.3s var(--ease-out-expo);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--brand-glow-strong);
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
}

.btn-ghost {
  padding: 0.85rem 2rem;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 40px;
  background: transparent;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-light);
  background: rgba(0, 116, 189, 0.1);
  transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin-left: auto;
}

.hero-glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-orb 6s ease-in-out infinite;
}

@keyframes float-orb {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -55%) scale(1.1);
  }
}

.hero-screen {
  position: relative;
  z-index: 2;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.hero-screen-bar {
  background: var(--bg-tertiary);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-screen-body {
  padding: 1.5rem;
}

.screen-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
}

.screen-metric:last-child {
  border-bottom: none;
}

.metric-label {
  color: var(--text-secondary);
}

.metric-value {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-head);
}

.metric-bar {
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 99px;
  width: 80px;
  overflow: hidden;
  margin-top: 0.3rem;
}

.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 99px;
  width: 0%;
  animation: metric-grow 2s var(--ease-out-expo) forwards;
}

@keyframes metric-grow {
  to {
    width: var(--fill-w, 80%);
  }
}

.hero-floating-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.hero-floating-card.card-1 {
  top: 10%;
  left: -8%;
  animation: float-card1 5s ease-in-out infinite;
}

.hero-floating-card.card-2 {
  bottom: 15%;
  right: -5%;
  animation: float-card2 6s ease-in-out infinite;
}

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

@keyframes float-card2 {
  0%, 100% {
    transform: translateY(0px) rotate(1.5deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

.float-card-icon {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.float-card-val {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-head);
  font-size: 1rem;
}

.float-card-label {
  color: var(--text-secondary);
  font-size: 0.72rem;
}

/* ===================== HERO STATS ===================== */
.hero-stats-container {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.hero-stats {
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-stats > div {
  flex: 1;
  text-align: center;
  padding: 1.2rem 0.5rem;
  border-right: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.hero-stats > div:last-child {
  border-right: none;
}

.hero-stats > div:hover {
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.15), rgba(0, 163, 255, 0.08));
}

.hero-stat-val {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: pre-line;
}

/* ===================== SECTION COMMON ===================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
}

.text-center {
  text-align: center;
  margin: 0 auto;
}

/* ===================== TECHNOLOGIES SECTION ===================== */
.tech-section {
  background: var(--section-bg);
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}

.tech-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-light), transparent);
}

.tech-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tech-header .section-label {
  justify-content: center;
  display: inline-flex;
}

.tech-header .section-title {
  margin-bottom: 1rem;
}

.tech-header .section-sub {
  margin: 0 auto;
}

.tech-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
}

.tech-marquee::before,
.tech-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.tech-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.tech-marquee-content {
  display: flex;
  gap: 2rem;
  animation: scrollTech 25s linear infinite;
  width: fit-content;
}

.tech-marquee:hover .tech-marquee-content {
  animation-play-state: paused;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
  min-width: 100px;
}

.tech-item:hover {
  border-color: var(--brand);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--brand-glow);
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.1), rgba(0, 163, 255, 0.05));
}

.tech-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.tech-item span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

@keyframes scrollTech {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===================== ABOUT SECTION ===================== */
#about {
  background: var(--section-bg);
  padding: 4rem 0;
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-light), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  height: 380px;
}

.about-img-1 {
  grid-row: 1 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.about-img-2 {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.about-since {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 5px 20px var(--brand-glow);
}

.about-since h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.about-img-1 img,
.about-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-1:hover img,
.about-img-2:hover img {
  transform: scale(1.05);
}

.about-grid .section-label {
  margin-bottom: 0.5rem;
}

.about-grid .section-title {
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

.about-grid .section-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
  margin: 1.2rem 0;
}

.about-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.check-icon {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 5px var(--brand-glow);
}

/* ===================== WHY US ===================== */
#why-us {
  background: var(--bg-primary);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 3rem;
}

.why-card {
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.why-card:hover {
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.1), rgba(0, 163, 255, 0.05));
}

.why-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.15), rgba(0, 163, 255, 0.08));
  border: 1px solid rgba(0, 116, 189, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: var(--brand);
  box-shadow: 0 5px 15px var(--brand-glow);
}

.why-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.why-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================== SERVICES ===================== */
#services {
  background: var(--section-bg);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-light), transparent);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.35s var(--ease-out-expo);
}

.service-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.08), rgba(0, 163, 255, 0.04));
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.15), rgba(0, 163, 255, 0.08));
  border: 1px solid rgba(0, 116, 189, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: var(--brand);
  box-shadow: 0 5px 15px var(--brand-glow);
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-card-arrow {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-light);
  transition: gap 0.2s ease;
}

.service-card:hover .service-card-arrow {
  gap: 0.75rem;
}

/* ===================== CLIENTS SECTION ===================== */
#clients {
  background: var(--bg-primary);
}

.clients-header {
  margin-bottom: 2.5rem;
}

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

.client-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.client-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px var(--brand-glow);
}

.client-img-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}

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

.client-info {
  padding: 0.8rem 1rem;
  text-align: center;
}

.client-info h4 {
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
  color: var(--text-primary);
}

.client-cat {
  font-size: 0.65rem;
  color: var(--brand-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.clients-more-btn {
  text-align: center;
  margin-top: 1.5rem;
}

/* ===================== TEAM SECTION ===================== */
.team-section {
  background: var(--section-bg);
  padding: 4rem 0;
  position: relative;
}

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-light), transparent);
}

.team-header {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-header .section-label {
  justify-content: center;
  display: inline-flex;
  margin-bottom: 1rem;
}

.team-header .section-title {
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.team-header .section-sub {
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  width: auto;
  max-width: 100%;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 auto;
}

.team-grid-single {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
  text-align: center;
}

.team-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px var(--brand-glow);
}

.team-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-info {
  padding: 1rem;
}

.team-role {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 0.35rem;
}

.team-info h3 {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.team-info p {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===================== LEADERSHIP MESSAGES SECTION ===================== */
#ceo {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.leadership-messages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.leadership-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.leadership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out-expo);
}

.leadership-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 20px 40px var(--brand-glow);
}

.leadership-card:hover::before {
  transform: scaleX(1);
}

.leadership-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.leadership-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 0 15px var(--brand-glow);
}

.leadership-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadership-title h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.leadership-title .role {
  font-size: 0.7rem;
  color: var(--brand-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.leadership-quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.leadership-quote {
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--brand);
}

.leadership-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.leadership-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-color);
}

.signature-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.signature-title {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.leadership-social {
  display: flex;
  gap: 0.75rem;
}

.leadership-social a {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.15), rgba(0, 163, 255, 0.08));
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
}

.leadership-social a:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--brand-glow);
}

/* ===================== CONTACT ===================== */
#contact {
  background: var(--section-bg);
  padding: 5rem 0;
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-light), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.15), rgba(0, 163, 255, 0.08));
  border: 1px solid rgba(0, 116, 189, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.contact-val {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-val a {
  color: inherit;
}

.contact-val a:hover {
  color: var(--brand-light);
}

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

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
  background: var(--bg-primary);
}

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

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

.form-msg {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  display: none;
}

.form-msg.success {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), rgba(0, 200, 83, 0.05));
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: #00c853;
  display: block;
}

.form-msg.error {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.1), rgba(255, 59, 48, 0.05));
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
  display: block;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(0, 116, 189, 0.15), rgba(0, 163, 255, 0.08));
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
}

.social-btn:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--brand-glow);
}

/* ===================== FOOTER ===================== */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.footer-brand-name span {
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: all 0.2s;
  margin-bottom: 0.4rem;
}

.footer-link:hover {
  color: var(--brand-light);
  transform: translateX(5px);
}

.footer-bottom {
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ===================== BACK TO TOP ===================== */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--brand-glow);
}

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

#back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--brand-glow-strong);
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
}

#back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: white;
}

/* ===================== CLIENTS PAGE ===================== */
.clients-page-section {
  padding: 8rem 0 4rem;
  background: var(--bg-primary);
  min-height: 100vh;
}

.clients-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-page-header .section-label {
  justify-content: center;
  display: inline-flex;
}

.clients-page-header .section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.clients-page-header .section-sub {
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-secondary);
}

.clients-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.client-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.client-stat-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--brand-glow);
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.clients-full-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin: 2.5rem 0;
}

.clients-full-grid .client-img-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.clients-full-grid .client-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}

.clients-full-grid .client-card:hover .client-img-wrap img {
  transform: scale(1.08);
}

.clients-testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.testimonial-author {
  font-size: 0.8rem;
  color: var(--brand-light);
  font-weight: 500;
}

.back-to-home {
  text-align: center;
  margin-top: 2rem;
}

/* ===================== ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-animate {
  opacity: 0;
  transform: translateY(20px);
}

.hero-animate.go {
  animation: heroIn 0.7s var(--ease-out-expo) forwards;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .container {
    max-width: 1100px;
    padding: 0 1.5rem;
  }

  .team-grid-single {
    gap: 1rem;
  }
}

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

  .hero-visual {
    max-width: 450px;
    margin: 0 auto;
  }

  .about-grid {
    gap: 2.5rem;
  }

  .about-img-grid {
    height: 340px;
  }

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

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

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid-single {
    grid-template-columns: repeat(3, 1fr);
  }

  .clients-full-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .leadership-messages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 550px;
    margin: 2rem auto 0;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile.open {
    display: flex;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-floating-card {
    display: none;
  }

  .hero-stats > div {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .hero-stats > div:nth-child(odd) {
    border-right: 1px solid var(--border-color);
  }

  .hero-stats > div:nth-child(3),
  .hero-stats > div:nth-child(4) {
    border-bottom: none;
  }

  .hero-stat-val {
    font-size: 1.5rem;
  }

  #about {
    padding: 3rem 0;
  }

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

  .about-img-grid {
    height: 300px;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-since h4 {
    font-size: 0.75rem;
  }

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

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

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

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

  .clients-page-header .section-sub {
    white-space: normal;
    padding: 0 1rem;
    font-size: 0.9rem;
  }

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

  .team-header .section-title {
    white-space: normal;
    font-size: 1.6rem;
    padding: 0 0.5rem;
  }

  .team-header .section-sub {
    white-space: normal;
    padding: 0 1rem;
    font-size: 0.85rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-sub {
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
  }

  .btn-primary,
  .btn-ghost {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .hero-stats > div {
    flex: 1 1 100%;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
  }

  .hero-stats > div:last-child {
    border-bottom: none;
  }

  .hero-stat-val {
    font-size: 1.3rem;
  }

  .about-img-grid {
    height: 200px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .about-img-1 {
    grid-row: auto;
    aspect-ratio: 16/9;
  }

  .about-img-2 {
    display: none;
  }

  .about-since {
    margin-top: 0.5rem;
  }

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

  .team-grid-single {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }

  .clients-full-grid {
    grid-template-columns: 1fr;
  }

  .clients-stats-grid {
    grid-template-columns: 1fr;
  }

  .leadership-header {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .leadership-avatar {
    width: 80px;
    height: 80px;
  }

  .leadership-quote {
    font-size: 0.85rem;
  }

  .leadership-card {
    padding: 1.2rem;
  }

  .clients-testimonial {
    padding: 1.2rem;
  }

  .testimonial-quote {
    font-size: 0.85rem;
  }

  #back-to-top {
    width: 36px;
    height: 36px;
    bottom: 1rem;
    right: 1rem;
  }
}

@media print {

  #navbar,
  #page-loader,
  #back-to-top,
  .nav-toggle,
  .hero-floating-card,
  .hero-glow-orb {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 0.5rem 0;
    page-break-inside: avoid;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}