/* ============================================================
   DEVSHA TECH PVT LTD — Design System & Styles
   Color Palette: Deep Navy #0F2D4A · Aqua Mint #31E1E1 · White
   ============================================================ */

/* ----- Google Font ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* --- Light Theme (default) --- */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f7fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fbff;
  --bg-navbar: rgba(255, 255, 255, 0.92);
  --bg-footer: #0a1628;

  --text-primary: #0F2D4A;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-on-dark: #e8ecf1;

  --accent: #31E1E1;
  --accent-hover: #28c8c8;
  --accent-glow: rgba(49, 225, 225, 0.25);
  --navy: #0F2D4A;
  --navy-light: #1a3d5c;
  --navy-dark: #091e33;

  --border: #e2e8f0;
  --border-light: #edf2f7;
  --shadow-sm: 0 1px 3px rgba(15, 45, 74, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 45, 74, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 45, 74, 0.1);
  --shadow-xl: 0 20px 50px rgba(15, 45, 74, 0.12);

  /* --- Typography --- */
  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.75rem;
  --fs-5xl: 3.5rem;
  --lh-tight: 1.2;
  --lh-base: 1.6;
  --lh-loose: 1.8;

  /* --- Layout --- */
  --container-max: 1200px;
  --section-py: 6rem;
  --navbar-h: 76px;

  /* --- Transitions --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.2s var(--ease-out);
  --t-base: 0.35s var(--ease-out);
  --t-slow: 0.6s var(--ease-out);

  /* --- Radius --- */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
  --bg-primary: #0a1628;
  --bg-secondary: #0e1e34;
  --bg-card: #122340;
  --bg-card-hover: #163058;
  --bg-navbar: rgba(10, 22, 40, 0.92);
  --bg-footer: #060e1a;

  --text-primary: #e8ecf1;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border: #1e3a5f;
  --border-light: #162d4a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
}

body {
  font-family: var(--ff);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--t-base), color var(--t-base);
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  line-height: var(--lh-tight);
  color: var(--text-primary);
  font-weight: 700;
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

p {
  color: var(--text-secondary);
  line-height: var(--lh-loose);
}

.text-accent { color: var(--accent); }
.text-center { text-align: center; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background: var(--bg-secondary);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: var(--fs-4xl);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--r-full);
  transition: all var(--t-base);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 15px rgba(15, 45, 74, 0.3);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 45, 74, 0.35);
}

[data-theme="dark"] .btn-primary {
  background: var(--accent);
  color: var(--navy-dark);
  box-shadow: 0 4px 15px rgba(49, 225, 225, 0.25);
}

[data-theme="dark"] .btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(49, 225, 225, 0.35);
}

.btn-accent {
  background: var(--accent);
  color: var(--navy-dark);
  box-shadow: 0 4px 15px rgba(49, 225, 225, 0.25);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49, 225, 225, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: var(--bg-navbar);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--t-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  height: 64px;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--text-primary);
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.nav-brand span {
  color: var(--accent);
  font-weight: 800;
}

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

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
  border-radius: var(--r-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  font-size: 1.25rem;
}

.theme-toggle:hover {
  background: var(--bg-secondary);
  color: var(--accent);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--r-md);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--r-full);
  transition: all var(--t-base);
  transform-origin: center;
}

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

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

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

/* Mobile Menu */
.nav-mobile-overlay {
  display: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-h);
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 45, 74, 0.06) 0%, transparent 70%);
  animation: heroGlow 10s ease-in-out 2s infinite alternate;
  pointer-events: none;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(circle, rgba(49, 225, 225, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .hero::after {
  background: radial-gradient(circle, rgba(49, 225, 225, 0.04) 0%, transparent 70%);
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

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

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(49, 225, 225, 0.2);
}

.hero-title {
  font-size: var(--fs-5xl);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent), #28c8c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: var(--lh-loose);
}

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

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Animated shield graphic */
.hero-graphic {
  position: relative;
  width: 400px;
  height: 400px;
}

.hero-graphic .shield {
  width: 100%;
  height: 100%;
  animation: floatShield 6s ease-in-out infinite;
}

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

.hero-graphic .orbit {
  position: absolute;
  border: 1.5px dashed var(--accent-glow);
  border-radius: 50%;
  animation: spinOrbit 20s linear infinite;
}

.hero-graphic .orbit-1 {
  width: 450px;
  height: 450px;
  top: -25px;
  left: -25px;
}

.hero-graphic .orbit-2 {
  width: 500px;
  height: 500px;
  top: -50px;
  left: -50px;
  animation-duration: 30s;
  animation-direction: reverse;
}

.hero-graphic .orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-glow);
}

.orbit-1 .orbit-dot { top: 0; left: 50%; transform: translate(-50%, -50%); }
.orbit-2 .orbit-dot { bottom: 0; right: 10%; transform: translate(50%, 50%); }

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

/* ===== ABOUT SNIPPET (Home) ===== */
.about-snippet .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-snippet-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.about-snippet-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.about-snippet-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  border: 2px solid var(--accent-glow);
}

.about-snippet-content .section-label {
  text-align: left;
}

.about-snippet-content h2 {
  font-size: var(--fs-4xl);
  margin-bottom: 1.25rem;
}

.about-snippet-content p {
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
}

.about-feature-item .icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* ===== SERVICE CARDS (Home) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--navy));
  transform: scaleX(0);
  transition: transform var(--t-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--accent);
  transition: all var(--t-base);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--navy-dark);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--t-fast);
}

.service-card:hover .card-link {
  gap: 0.6rem;
}

/* ===== STATS ===== */
.stats-section {
  background: var(--navy);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(49, 225, 225, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

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

.stat-item {
  color: #fff;
}

.stat-number {
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

/* ===== TESTIMONIALS ===== */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.testimonial-inner::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--accent-glow);
  line-height: 1;
}

.testimonial-text {
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: var(--lh-loose);
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-lg);
}

.testimonial-info h4 {
  font-size: var(--fs-base);
  font-weight: 600;
}

.testimonial-info p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.slider-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--t-fast);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: var(--r-full);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 225, 225, 0.08) 0%, transparent 70%);
}

.cta-banner::before {
  width: 500px;
  height: 500px;
  top: -200px;
  left: -100px;
}

.cta-banner::after {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -50px;
}

.cta-banner h2 {
  font-size: var(--fs-4xl);
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-footer);
  color: var(--text-on-dark);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand img {
  height: 36px;
}

.footer-brand h3 {
  color: #fff;
  font-size: var(--fs-xl);
}

.footer-brand h3 span {
  color: var(--accent);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--fs-sm);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

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

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--t-fast);
}

.footer-socials a:hover {
  background: var(--accent);
  color: var(--navy-dark);
}

.footer-col h4 {
  color: #fff;
  font-size: var(--fs-base);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--fs-sm);
  transition: color var(--t-fast);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: var(--navy);
  padding: calc(var(--navbar-h) + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 225, 225, 0.06) 0%, transparent 70%);
}

.page-header h1 {
  color: #fff;
  font-size: var(--fs-4xl);
  margin-bottom: 0.75rem;
  position: relative;
}

.page-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-lg);
  position: relative;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.4);
  position: relative;
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb a:hover {
  color: var(--accent);
}

.page-header .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ===== ABOUT PAGE ===== */
/* Mission / Vision / Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--t-base);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r-lg);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}

.value-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: var(--fs-sm);
}

/* Company Story */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  font-size: var(--fs-3xl);
  margin-bottom: 1.25rem;
}

.story-text p {
  margin-bottom: 1rem;
}

.story-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.team-avatar {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-avatar::before {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: var(--accent-glow);
  border-radius: 50%;
}

.team-avatar .initials {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.team-info {
  padding: 1.5rem;
}

.team-info h4 {
  font-size: var(--fs-base);
  margin-bottom: 0.25rem;
}

.team-info p {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 500;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.team-socials a {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  transition: all var(--t-fast);
}

.team-socials a:hover {
  background: var(--accent);
  color: var(--navy-dark);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px var(--accent-glow);
}

.timeline-content {
  width: calc(50% - 40px);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 1.5rem;
}

.timeline-content .year {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-content h4 {
  font-size: var(--fs-base);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: var(--fs-sm);
}

/* ===== SERVICES PAGE ===== */
.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  transition: all var(--t-base);
  display: flex;
  gap: 1.5rem;
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-detail-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: var(--r-lg);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
}

.service-detail-content h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.75rem;
}

.service-detail-content p {
  font-size: var(--fs-sm);
  margin-bottom: 1rem;
}

.service-detail-content ul {
  list-style: none;
}

.service-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.service-detail-content ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--t-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy-dark);
  padding: 0.35rem 1.25rem;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.5rem;
}

.pricing-header p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-price {
  margin-bottom: 2rem;
}

.pricing-price .amount {
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-price .period {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: var(--accent);
  font-weight: 700;
}

.pricing-features .cross {
  color: var(--text-muted);
  opacity: 0.4;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--t-base);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 2px 10px var(--accent-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: var(--bg-card);
  transition: background var(--t-fast);
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--fs-sm);
  transition: all var(--t-base);
  color: var(--text-secondary);
}

.faq-item.active .faq-icon {
  background: var(--accent);
  color: var(--navy-dark);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-loose);
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--t-fast);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--navy-dark);
  border-color: var(--accent);
  font-weight: 600;
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 74, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay .btn {
  transform: translateY(10px);
  transition: all var(--t-base);
}

.project-card:hover .project-overlay .btn {
  transform: translateY(0);
}

.project-info {
  padding: 1.5rem;
}

.project-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.project-info h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Case Study Highlight */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.case-study-image {
  height: 100%;
  min-height: 350px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  position: relative;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-content {
  padding: 2.5rem;
}

.case-study-content .project-category {
  margin-bottom: 1rem;
}

.case-study-content h3 {
  font-size: var(--fs-2xl);
  margin-bottom: 1rem;
}

.case-study-content p {
  margin-bottom: 1.5rem;
}

.case-study-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.case-study-stat strong {
  display: block;
  font-size: var(--fs-2xl);
  color: var(--accent);
  font-weight: 700;
}

.case-study-stat span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

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

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all var(--t-base);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--r-lg);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
}

.contact-info-card h4 {
  font-size: var(--fs-base);
  margin-bottom: 0.35rem;
}

.contact-info-card p {
  font-size: var(--fs-sm);
}

.contact-info-card a {
  color: var(--accent);
}

.contact-info-card a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}

.contact-form-wrapper h3 {
  font-size: var(--fs-2xl);
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: var(--fs-sm);
}

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

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

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--t-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(49, 225, 225, 0.1);
  color: var(--accent);
  border: 1px solid rgba(49, 225, 225, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Map */
.contact-map {
  margin-top: 4rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 350px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== BLOG LISTING (simple) ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-image {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.blog-tag {
  padding: 0.2rem 0.6rem;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--r-full);
  font-weight: 600;
}

.blog-content h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-content p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 2.75rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.75rem;
    --section-py: 5rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-visual {
    display: none;
  }

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

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

  .stat-divider { display: none; }

  .about-snippet .container {
    grid-template-columns: 1fr;
  }

  .about-snippet-image {
    order: -1;
  }

  .about-snippet-content .section-label {
    text-align: center;
  }

  .about-snippet-content {
    text-align: center;
  }

  .about-features {
    justify-items: center;
  }

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

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

  .story-content {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }

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

  .case-study {
    grid-template-columns: 1fr;
  }

  .case-study-image {
    min-height: 250px;
  }

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

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

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.875rem;
    --fs-3xl: 1.5rem;
    --section-py: 4rem;
    --navbar-h: 64px;
  }

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transition: right var(--t-base);
    box-shadow: var(--shadow-xl);
    z-index: 999;
  }

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

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: var(--fs-base);
    width: 100%;
    border-radius: var(--r-md);
  }

  .nav-links a:hover {
    background: var(--bg-secondary);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    backdrop-filter: blur(4px);
  }

  .nav-mobile-overlay.open {
    display: block;
  }

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

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

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    text-align: left;
    padding-left: 50px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: 100%;
  }

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

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

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

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

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .case-study-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 1.875rem;
    --fs-4xl: 1.5rem;
    --section-py: 3rem;
  }

  .container {
    padding: 0 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--r-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ===== SELECTION ===== */
::selection {
  background: var(--accent);
  color: var(--navy-dark);
}

/* ===== UTILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== OEM PARTNERS SECTION ===== */
.partners-section {
  position: relative;
  background: var(--bg-primary);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--navy-light));
  opacity: 0;
  transition: opacity var(--t-fast);
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-logo-wrap {
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  margin-bottom: 1.15rem;
  transition: all var(--t-base);
  box-shadow: 0 2px 6px rgba(15, 45, 74, 0.04);
}

[data-theme="dark"] .partner-logo-wrap {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.2);
}

.partner-card:hover .partner-logo-wrap {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(49, 225, 225, 0.15);
}

.partner-logo {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-name {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.partner-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy);
  background: rgba(49, 225, 225, 0.18);
  border: 1px solid rgba(49, 225, 225, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-full);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

[data-theme="dark"] .partner-tag {
  color: var(--accent);
  background: rgba(49, 225, 225, 0.12);
  border-color: rgba(49, 225, 225, 0.25);
}

.partner-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-base);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }
  
  .partner-card {
    padding: 1.25rem 1rem;
  }
}

