/* ================================================
   ZETTADECK SOLUTIONS - PROFESSIONAL DARK THEME
   ================================================ */

/* ================================================
   CSS VARIABLES & ROOT
   ================================================ */
:root {
  /* Professional Color Palette */
  --primary: #2563eb; /* corporate blue */
  --primary-dark: #1d4ed8; /* dark blue */
  --primary-soft: #eff6ff; /* light blue background */
  --accent: #0facac; /* teal accent */
  --accent-soft: #ecfeff; /* light cyan background */
  
  /* Additional Soft Colors */
  --purple-soft: #f5f3ff;
  --green-soft: #ecfdf5;
  
  /* Background Colors */
  --bg-main: #f8fafc; /* main page background */
  --bg-section: #ffffff; /* section background */
  --bg-alt: #eef2f7; /* alternate section background */
  
  /* Text Colors */
  --text-dark: #0f172a; /* main text */
  --text-muted: #64748b; /* secondary text */
  --heading: var(--text-dark);
  --para: var(--text-muted);
  --text: var(--para);
  
  /* Border & Surface */
  --border-soft: #e2e8f0; /* soft border */
  --card-border: var(--border-soft);
  --border: var(--border-soft);
  --card-bg: #ffffff;
  
  /* Legacy Compatibility */
  --bg: var(--bg-main);
  --bg-2: var(--bg-section);
  --glass: rgba(17, 24, 39, 0.02);
  --accent-2: rgba(37, 99, 235, 0.08);
  
  --container-width: 1200px;
}

/* Design tokens: spacing, type scale, radii, shadows */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --card-radius: var(--radius-md);

  --shadow-sm: 0 6px 18px rgba(15,23,42,0.06);
  --shadow-md: 0 12px 36px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 60px rgba(15,23,42,0.10);

  --font-base: 16px;
  --font-ui: 400 16px/1.5 Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --heading-weight: 700;
}

/* Typography scale and rhythm */
h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 var(--space-4);
  color: var(--heading);
}

h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 var(--space-3);
  color: var(--heading);
}

h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 0 0 var(--space-2);
}

p {
  margin: 0 0 var(--space-4);
  color: var(--text-muted);
  line-height: 1.7;
}

/* Section rhythm and alternating backgrounds */
main > section {
  border-top: 1px solid #eef2f7;
}

main > section:first-of-type {
  border-top: none;
}

main > section:nth-of-type(even) {
  background: transparent; /* updated to use individual section backgrounds */
}

/* Section backgrounds - professional enterprise colors */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 35%, #f0f7ff 100%);
  position: relative;
  border-top: none;
}

.video-intro {
  background: #ffffff;
}

#strengths {
  background: #f9fafb;
}

.stats {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.commitment {
  background: linear-gradient(135deg, #f5f8fc 0%, #f8fafc 100%);
}

.cta {
  background: linear-gradient(135deg, #dbeafe 0%, #cffafe 100%);
  padding: 90px 0;
}

/* Buttons: unified, rounded, subtle hover */
.btn {
  border-radius: 12px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--heading);
}

.btn-outline:hover { transform: translateY(-2px); }

/* Navbar shadow refinement when scrolled */
.nav-wrap.scrolled {
  box-shadow: var(--shadow-sm);
}


/* ================================================
   RESET & BASE STYLES
   ================================================ */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font: var(--font-ui);
  background: var(--bg-main);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: var(--font-base);
}

/* Prevent scroll when mobile navigation is open */
body.nav-open {
  overflow: hidden;
  height: 100vh;
}

/* Layout helper: centered max-width container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Background decoration behind page content */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.1), transparent 55%), radial-gradient(circle at bottom, rgba(6, 182, 212, 0.08), transparent 60%);
}

/* Utility spacing helper for section padding */
.section--pad {
  padding: 100px 0;
}

/* Default links use the corporate blue accent; nav links override to dark */
a {
  color: var(--accent);
  text-decoration: none;
}

/* Heading and paragraph defaults for strong contrast */
h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
}

p, li, .hero-lead, .card-body p, .stat-label, .trust-icons li, .f-about p, .contact-info p {
  color: var(--text-muted);
}

footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer p,
footer li,
.footer-grid p {
  color: rgba(255, 255, 255, 0.85);
}

/* ================================================
   NAVIGATION BAR - PREMIUM ENTERPRISE DESIGN
   ================================================ */
.nav-wrap {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 40;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #f0f7ff 0%, #f5f9fc 100%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.nav-wrap.scrolled {
  background: linear-gradient(135deg, #f8fbff 0%, #f5f9fc 100%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  gap: 0;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 12px;
  flex: 0 0 auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav .brand .logo {
  width: auto;
  height: 44px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav .brand .logo:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.footer .logo.small {
  width: 48px;
  height: 48px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.logo-img.small-logo {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Navbar: show full emblem without cropping */
.nav .logo {
  width: auto;
  height: auto;
  background: transparent;
}

.nav .logo .logo-img {
  width: auto;
  height: 42px;
  object-fit: contain;
  transform: none;
}

/* Image fallback: show styled ZD if image missing */
.logo .fallback-text {
  display: none;
  font-weight: 800;
  color: #021015;
}

.logo.fallback {
  background: linear-gradient(135deg, var(--accent), #00b3ff);
  color: #021015;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.logo.fallback .fallback-text {
  display: block;
  padding: 10px;
}

.logo.small.fallback {
  width: 56px;
  height: 56px;
}

/* Crop/zoom the raster logo to show inner emblem only */
.logo.crop-inner {
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo.crop-inner .logo-img {
  width: auto;
  height: 150%;
  transform-origin: center center;
  transform: scale(1.6) translateY(-6%);
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.logo.small.crop-inner .logo-img {
  height: 160%;
  transform: scale(1.9) translateY(-6%);
}

.logo.crop-inner.fallback {
  padding: 0;
}

/* Brand name */
.name {
  font-weight: 600;
  color: var(--heading);
  font-size: 16px;
  letter-spacing: 0.3px;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand:hover .name {
  color: var(--heading);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.name span {
  font-weight: 700;
}

/* Navigation links - Premium styling */
.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  padding-right: 12px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--heading);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  letter-spacing: 0.2px;
  font-size: 15px;
  position: relative;
  display: inline-block;
}

/* Animated underline effect */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Active page indicator */
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}

.nav-links a.active::after {
  transform: scaleX(1);
  transition: none;
}

/* Mobile menu toggle - Premium animation */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-toggle:hover {
  background: var(--primary-soft);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--heading);
  margin: 5px 0;
  border-radius: 2px;
  opacity: 0.9;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 10px;
}

.nav-toggle span:nth-child(1) {
  top: 10px;
}

.nav-toggle span:nth-child(2) {
  top: 19px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

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

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

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

/* NAV SEARCH removed to simplify navbar as requested */

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f7ff 0%, #f5fbff 30%, #fafbff 60%, #eeeff4 100%);
  background-attachment: fixed;
}

.hero::before,
.hero::after {
  content: "";
  display: none; /* background handled by main hero gradient */
}

.hero-wrapper {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: min(600px, 75vh);
  position: relative;
  z-index: 2;
}

.hero-left {
  max-width: 580px;
  padding-left: 40px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

/* Badge Enhancement */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.06) 100%);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 13px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  margin-bottom: 24px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* Enhanced Typography */
.hero-title {
  font-size: clamp(42px, 5.5vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 20px 0;
  color: var(--heading);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  color: var(--para);
  line-height: 1.7;
  font-size: 18px;
  margin: 0 0 32px 0;
  max-width: 500px;
}

/* CTA Buttons */
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(15, 23, 42, 0.12);
}

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Trust Icons */
.trust-icons {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.trust-icons li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--para);
  font-weight: 500;
  font-size: 14px;
}

.trust-icons i {
  color: var(--primary);
  font-size: 16px;
}

/* ================================================
   HERO IMAGE & DECORATION
   ================================================ */

.hero-image-wrapper {
  position: relative;
  max-width: 520px;
  width: 100%;
  aspect-ratio: 4/3;
}

.hero-image-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(148, 163, 184, 0.08) 0%, transparent 50%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14),
              0 0 1px rgba(15, 23, 42, 0.05);
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #f0f7ff 0%, #f9fbff 100%);
}

@media (hover: hover) {
  .hero-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 64px rgba(37, 99, 235, 0.18),
                0 0 1px rgba(15, 23, 42, 0.05);
  }
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }

  .hero-left {
    padding-left: 0;
  }

  .hero-image-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(32px, 5vw, 42px);
  }

  .hero-lead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-ctas {
    gap: 12px;
    margin-bottom: 32px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .trust-icons {
    gap: 16px;
  }

  .trust-icons li {
    font-size: 12px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image-wrapper {
    min-height: 280px;
  }

  .trust-icons {
    flex-direction: column;
    gap: 12px;
  }
}

/* ================================================
   SERVICES SECTION
   ================================================ */


.why {
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.why .section-head h2 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.3px;
}

.why .section-head p {
  color: var(--text-muted);
}

/* Stats Section - Dark Professional Style */
.stats {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.stats .stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats .stat-card:nth-child(1) {
  border-color: rgba(59, 130, 246, 0.3);
}

.stats .stat-card:nth-child(2) {
  border-color: rgba(6, 182, 212, 0.3);
}

.stats .stat-card:nth-child(3) {
  border-color: rgba(34, 197, 94, 0.3);
}

.stats .stat-card:nth-child(4) {
  border-color: rgba(168, 85, 247, 0.3);
}

.stats .stat-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  border-color: rgba(37, 99, 235, 0.5);
}

.stats .stat-number {
  color: #0ea5e9;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
  text-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.stats .stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.95;
}

/* ================================================
   OUR APPROACH SECTION - HORIZONTAL TIMELINE
   ================================================ */
.approach {
  background: linear-gradient(180deg, #f4f8ff 0%, #eef3fb 100%);
  position: relative;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.approach-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
  align-items: stretch;
}

.timeline-step {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.step-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5a4 100%);
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.timeline-step:hover .step-icon {
  background: linear-gradient(135deg, #1d4ed8 0%, #0d9488 100%);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.2);
}

.timeline-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  letter-spacing: -0.2px;
}

.timeline-step p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.commitment {
  background: linear-gradient(180deg, #f1f4f9 0%, #eef2f7 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.1);
}

/* ================================================
   COMMITMENT SECTION - GRID FEATURES (2x2)
   ================================================ */

.commitment.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.commitment-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 0;
  width: 100%;
}

.commitment-feature {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 40px 36px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  min-height: 100%;
  height: 100%;
}

.commitment-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
}

.commitment-feature-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5a4 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.commitment-feature-icon i {
  font-size: 32px;
  color: #ffffff;
}

.commitment-feature:hover .commitment-feature-icon {
  transform: scale(1.15) translateY(-6px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
}

.commitment-feature-content {
  flex: 1;
  text-align: center;
  width: 100%;
}

.commitment-feature-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.commitment-feature-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.cta {
  background: linear-gradient(135deg, #dbeafe 0%, #cffafe 100%);
  padding: 80px 0;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-text h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
}

.cta-text p {
  font-size: 18px;
  color: #475569;
  margin: 0 0 36px 0;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

/* ================================================
   VIDEO INTRODUCTION SECTION
   ================================================ */
.video-intro {
  background: #ffffff;
}

.video-intro .section-head {
  margin-bottom: 48px;
}

.video-intro .section-head h2 {
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.video-intro .section-head p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Centered video container with max-width */
.video-container {
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
}

/* Responsive video container - maintains 16:9 aspect ratio */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  background: #000;
  transition: box-shadow 0.3s ease;
}

.video-wrapper:hover {
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.video-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

.section-head {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.section-head p {
  color: #64748b;
  line-height: 1.7;
  font-size: 16px;
  margin: 0;
}

.video-intro .section-head {
  margin-bottom: 48px;
}

#strengths .section-head {
  margin-bottom: 60px;
}

/* ================================================
   SERVICES SECTION - ENTERPRISE SAAS DESIGN
   ================================================ */
.services {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  padding: 100px 0;
  position: relative;
}

/* Subtle background glow effect */
.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

/* ================================================
   SERVICES GRID & CARDS - MODERN DESIGN
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: 18px;
}

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

.service-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Premium hover interaction with magnetic effect */
.service-card {
  --magneticX: 0px;
  --magneticY: 0px;
}

.service-card:hover {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  background: #ffffff;
  /* Magnetic transform applied via JavaScript */
}

/* Remove gradient backgrounds - clean white cards */
.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3),
.service-card:nth-child(4),
.service-card:nth-child(5),
.service-card:nth-child(6) {
  background: #ffffff;
}

/* Icon box styling with gradient container and glow */
.icon-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #2563eb, #0ea5a4);
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.service-card:hover .icon-box {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.32);
}

.icon-box svg {
  width: 32px;
  height: 32px;
  color: white;
  stroke-width: 2;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.service-card:hover .icon-box svg {
  transform: scale(1.1);
}

/* Service card typography - professional hierarchy */
.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.service-card p {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* Learn More - Subtle professional CTA with arrow animation */
.service-card .learn-more {
  color: #2563EB;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.35s ease;
  padding: 0;
  width: fit-content;
  position: relative;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: inherit;
}

.service-card .learn-more::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #2563EB;
  transition: width 0.3s ease;
}

.service-card .learn-more:hover {
  color: #1e40af;
  gap: 8px;
}

.service-card .learn-more:hover::after {
  width: 100%;
}

/* Arrow rotation effect */
.service-card .arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

.service-card .learn-more[aria-expanded="true"] .arrow {
  transform: rotate(90deg);
}

/* Expandable content styling - overlay approach */
.service-expanded {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  visibility: hidden;
}

.service-expanded.expanded {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.expanded-content {
  background: transparent;
  border-top: none;
  margin: 0;
  padding: 0;
}

.expanded-content p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 16px;
}

.expanded-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  margin: 16px 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-list,
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.tech-list li,
.benefits-list li {
  font-size: 13px;
  color: #64748B;
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.5;
}

.tech-list li::before,
.benefits-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: #2563EB;
  font-weight: bold;
}



.card-body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card-body h3 {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: var(--heading);
}

.card-body p {
  margin: 0 0 20px 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

/* ================================================
   STRENGTHS GRID & CARDS - WHY CHOOSE US
   ================================================ */
#strengths {
  background: linear-gradient(180deg, #f4f8fc 0%, #eef3f9 100%);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.strength-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  text-align: left;
}

.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
  background: #ffffff;
}

/* Icon styling for strengths */
.strength-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5a4 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.strength-icon i {
  font-size: 28px;
  color: #ffffff;
}

.strength-card:hover .strength-icon {
  transform: scale(1.12) translateY(-6px);
}

/* Strength card typography */
.strength-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 12px 0;
  letter-spacing: -0.2px;
}

.strength-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

.card-body .more {
  display: inline-block;
  margin-top: auto;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
}

.card-body .more:hover {
  gap: 4px;
  transform: translateX(2px);
}

/* Icon Box Styling */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 24px;
}

/* Professional Icon Colors */
.icon-box.webdev-icon {
  background: #eef4ff;
  color: #2563eb;
}

.icon-box.mobile-icon {
  background: #e8fbff;
  color: #06b6d4;
}

.icon-box.java-icon {
  background: #fff3e8;
  color: #ea580c;
}

.icon-box.cloud-icon {
  background: #f3efff;
  color: #9333ea;
}

.icon-box.ai-icon {
  background: #e9fbf3;
  color: #059669;
}

.icon-box.consult-icon {
  background: #f4f6f8;
  color: #64748b;
}

/* ================================================
   STATS SECTION
   ================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-card {
  background: white;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Add subtle color accents */
.stat-card:nth-child(1) {
  background: linear-gradient(180deg, #ffffff 0%, var(--primary-soft) 100%);
}

.stat-card:nth-child(2) {
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
}

.stat-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, var(--purple-soft) 100%);
}

.stat-card:nth-child(4) {
  background: linear-gradient(180deg, #ffffff 0%, var(--green-soft) 100%);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  margin-top: 8px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ================================================
   CALL-TO-ACTION SECTION
   ================================================ */
.cta {
  display: flex;
  justify-content: center;
}

.cta-card {
  max-width: 820px;
  padding: 48px;
  border-radius: 16px;
  background: var(--bg-section);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: var(--text-dark);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 32px;
}

footer .section-head h2,
footer .section-head p {
  color: #ffffff;
}

.footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer a:hover {
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
  align-items: start;
  justify-items: start;
}

.footer-grid > * {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer .copyright {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.f-about p {
  color: var(--para);
  max-width: 280px;
  margin-bottom: 24px;
}

.f-links,
.f-services,
.f-contact {
  display: flex;
  flex-direction: column;
}

.f-links ul,
.f-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.8;
}

.f-links li,
.f-services li {
  margin: 0;
}



/* ================================================
   FOOTER LOGO - FIX DISPLAY
   ================================================ */
.footer .logo {
  width: auto;
  height: auto;
  background: transparent;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

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

.footer .logo.small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.footer .logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  transform: none;
  scale: 1;
}

.footer .logo-img.small-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Ensure cropped logos in footer display properly */
.footer .logo.crop-inner {
  overflow: visible;
  width: auto;
  height: auto;
}

.footer .logo.crop-inner .logo-img {
  height: 40px;
  width: auto;
  transform: none;
  scale: 1;
  object-fit: contain;
}

.footer .logo.small.crop-inner .logo-img {
  height: 40px;
  transform: none;
  scale: 1;
}

/* ================================================
   RESPONSIVE DESIGN - TABLETS & DESKTOP
   ================================================ */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr 360px;
  }

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

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

  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .approach-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .commitment.container {
    padding: 60px 16px;
  }

  .commitment-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

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

/* ================================================
   RESPONSIVE DESIGN - TABLET (768px and below)
   ================================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 28px;
  }

  .commitment.container {
    padding: 55px 20px;
  }

  .section--pad {
    padding: 75px 0;
  }

  /* Tablet navbar spacing */
  .nav {
    padding: 16px 36px;
    height: 68px;
  }

  .brand {
    padding-left: 8px;
  }

  .nav-links {
    gap: 4px;
    padding-right: 8px;
  }

  .nav-links a {
    padding: 8px 14px;
    font-size: 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-ctas {
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .sphere-wrap {
    height: 260px;
  }

  .hero-image {
    max-width: 100%;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
  }

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

  .service-card {
    padding: 28px;
    max-width: 100%;
    min-height: 380px;
  }

  .expanded-content {
    margin: 0;
    padding: 0;
  }

  .icon-box {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .strength-card {
    padding: 24px;
  }

  .strength-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  .strength-icon i {
    font-size: 24px;
  }

  .approach-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
  }

  .step-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 16px;
  }

  .timeline-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .timeline-step p {
    font-size: 13px;
  }

  .commitment-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 40px;
  }

  .commitment-feature {
    padding: 28px 24px;
    gap: 16px;
  }

  .commitment-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .commitment-feature-icon i {
    font-size: 26px;
  }

  .commitment-feature-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .commitment-feature-content p {
    font-size: 13px;
    line-height: 1.6;
  }

  .cta-text h2 {
    font-size: 32px;
  }

  .cta-text p {
    font-size: 16px;
  }

  .cta-buttons {
    gap: 12px;
  }

  .video-intro .section-head {
    margin-bottom: 40px;
  }

  .video-intro .section-head h2 {
    font-size: 28px;
  }

  .video-intro .section-head p {
    font-size: 15px;
  }

  .video-container {
    max-width: 700px;
  }

  .video-wrapper {
    border-radius: 14px;
  }

  .video-frame {
    border-radius: 14px;
  }

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

  .nav-links {
    z-index: 50;
  }
}

/* Responsive footer adjustments to ensure the 4-column layout collapses cleanly */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    grid-auto-rows: minmax(0, auto);
    align-items: start;
  }

  .footer-grid > * {
    width: 100%;
    max-width: 100%;
  }

  .footer { padding: var(--space-6) 0; }
  .footer .socials { justify-content: center; margin-top: var(--space-3); }
  .footer .copyright { text-align: center; }
}

/* ================================================
   RESPONSIVE DESIGN - MOBILE (720px and below)
   ================================================ */
@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 20px;
  }

  .commitment.container {
    padding: 50px 16px;
  }

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

  /* Navigation */
  .nav-wrap {
    z-index: 60;
  }

  .nav {
    padding: 12px 24px;
    height: 64px;
    justify-content: space-between;
    align-items: center;
  }

  .brand {
    padding-left: 4px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav .brand .logo {
    width: auto;
    height: 36px;
  }

  .name {
    font-size: 14px;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-section);
    padding: 120px 24px 40px;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    z-index: 55;
    border-top: none;
  }

  .nav-links.open {
    display: flex;
    animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

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

  .nav-links a {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--heading);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }

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

  .nav-links a:hover {
    background: var(--primary-soft);
    color: var(--primary);
    padding-left: 20px;
  }

  .nav-links a.active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
  }

  .nav-toggle {
    display: block;
    z-index: 41;
  }

  /* Hero */
  .hero-left {
    max-width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(22px, 6vw, 32px);
    margin: 12px 0 10px;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.5;
  }

  .badge {
    padding: 6px 10px;
    font-size: 12px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 11px 16px;
    font-size: 13px;
    width: 100%;
    justify-content: center;
  }

  .btn-primary {
    box-shadow: 0 6px 20px rgba(15,23,42,0.06);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(15,23,42,0.08);
  }

  .trust-icons {
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
  }

  .sphere-wrap {
    height: 200px;
  }

  /* Footer logo size (mobile) */
  .footer .logo.small {
    padding: 8px;
  }

  .footer .logo-img,
  .footer .logo-img.small-logo,
  .footer .logo.crop-inner .logo-img,
  .footer .logo.small.crop-inner .logo-img {
    height: 34px;
  }

  .hero-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }

  .glow-sphere {
    width: 180px;
    height: 180px;
  }

  /* Services */
  .section-head h2 {
    font-size: clamp(20px, 5vw, 28px);
  }

  .section-head p {
    font-size: 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    justify-items: center;
  }

  .service-card {
    padding: 32px;
    max-width: 520px;
    min-height: 400px;
  }

  .expanded-content {
    margin: 0;
    padding: 0;
  }

  .icon-box {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .stat-card {
    padding: 18px;
    border-radius: 10px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 13px;
    margin-top: 6px;
  }

  /* Strengths */
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .strength-card {
    padding: 20px;
  }

  .strength-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .strength-icon i {
    font-size: 22px;
  }

  .strength-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .strength-card p {
    font-size: 12px;
  }

  /* Approach Timeline */
  .approach-timeline {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .step-icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
    margin-bottom: 12px;
  }

  .timeline-step h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .timeline-step p {
    font-size: 12px;
    line-height: 1.5;
  }

  /* Commitment */
  .commitment-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .commitment-feature {
    padding: 24px 20px;
    gap: 16px;
  }

  .commitment-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .commitment-feature-icon i {
    font-size: 24px;
  }

  .commitment-feature-content h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .commitment-feature-content p {
    font-size: 12px;
    line-height: 1.6;
  }

  /* CTA */
  .cta-card {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .cta-card h2 {
    font-size: clamp(18px, 5vw, 24px);
  }

  .cta-card p {
    font-size: 13px;
  }

  .btn-cta {
    padding: 11px 20px;
    font-size: 13px;
    width: 100%;
    margin-top: 12px;
  }

  .btn-cta:hover {
    transform: translateY(-2px);
  }

  /* Footer */
  .footer {
    margin-top: var(--space-6);
    padding: var(--space-5) 0;
  }

  .footer h4 {
    color: var(--heading);
    margin-bottom: 10px;
    opacity: 0.98;
  }

  .footer p,
  .footer li,
  .footer .copyright {
    color: var(--para);
    opacity: 0.98;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--space-6);
    align-items: start;
  }

  .f-about p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--para);
    margin: 0;
  }

  .f-links h4,
  .f-services h4,
  .f-contact h4 {
    font-size: 15px;
    margin-bottom: var(--space-3);
    font-weight: 700;
    color: var(--heading);
  }

  .f-links li,
  .f-services li {
    font-size: 14px;
    color: var(--para);
  }

  .f-contact p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--para);
  }

  .socials a {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-right: 8px;
  }

  .copyright {
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
    color: var(--para);
  }
}

/* ================================================
   RESPONSIVE DESIGN - SMALL MOBILE (480px and below)
   ================================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section--pad {
    padding: 50px 0;
  }

  .nav .brand .logo {
    width: auto;
    height: 32px;
  }

  .name {
    font-size: 12px;
  }

  .name span {
    display: none;
  }

  .hero-title {
    font-size: clamp(18px, 7vw, 28px);
    margin: 10px 0 8px;
  }

  .hero-lead {
    font-size: 13px;
  }

  .badge {
    padding: 5px 8px;
    font-size: 11px;
  }

  .btn {
    padding: 10px 14px;
    font-size: 12px;
  }

  .trust-icons {
    font-size: 12px;
  }

  .sphere-wrap {
    height: 160px;
  }

  .glow-sphere {
    width: 140px;
    height: 140px;
  }

  .section-head h2 {
    font-size: clamp(18px, 6vw, 24px);
  }

  .section-head p {
    font-size: 13px;
  }

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

  .service-card {
    padding: 20px;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strength-card {
    padding: 20px;
  }

  .strength-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .strength-icon i {
    font-size: 22px;
  }

  .strength-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .strength-card p {
    font-size: 13px;
  }

  .icon-box {
    width: 80px;
    height: 80px;
  }

  .icon-box svg {
    width: 44px;
    height: 44px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }

  .stat-card {
    padding: 14px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  .approach-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .step-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .timeline-step h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .timeline-step p {
    font-size: 11px;
    line-height: 1.4;
  }

  .commitment-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .commitment-feature {
    padding: 20px 16px;
    gap: 12px;
  }

  .commitment-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .commitment-feature-icon i {
    font-size: 22px;
  }

  .commitment-feature-content h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .commitment-feature-content p {
    font-size: 11px;
    line-height: 1.5;
  }

  .cta {
    padding: 48px 0;
  }

  .cta-content {
    padding: 0 16px;
  }

  .cta-text h2 {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 12px;
  }

  .cta-text p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-buttons .btn {
    width: 100%;
    padding: 12px 16px;
  }

  .video-intro .section-head {
    margin-bottom: 32px;
  }

  .video-intro .section-head h2 {
    font-size: clamp(20px, 6vw, 28px);
  }

  .video-intro .section-head p {
    font-size: 14px;
  }

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

  .video-wrapper {
    border-radius: 12px;
  }

  .video-frame {
    border-radius: 12px;
  }

  .footer-grid {
    gap: 20px;
  }

  .f-about p {
    font-size: 12px;
  }

  .f-links h4,
  .f-services h4,
  .f-contact h4 {
    font-size: 13px;
  }

  .f-links li,
  .f-services li {
    font-size: 12px;
  }

  .f-contact p {
    font-size: 12px;
  }

  .socials a {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .copyright {
    font-size: 11px;
  }
}

/* ================================================
   RESPONSIVE DESIGN - EXTRA SMALL (320px and below)
   ================================================ */
@media (max-width: 360px) {
  .container {
    padding: 0 14px;
  }

  .section--pad {
    padding: 40px 0;
  }

  .nav {
    padding: 10px 0;
  }

  .nav .brand .logo {
    width: auto;
    height: 28px;
  }

  .hero-title {
    font-size: clamp(16px, 8vw, 24px);
    margin: 8px 0 6px;
  }

  .hero-lead {
    font-size: 12px;
    line-height: 1.4;
  }

  .sphere-wrap {
    height: 140px;
  }

  .glow-sphere {
    width: 120px;
    height: 120px;
  }

  .services-grid {
    gap: 16px;
    margin-top: 16px;
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 16px;
  }

  .icon-box {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .icon-box svg {
    width: 40px;
    height: 40px;
  }

  .service-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .service-card p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .strength-card {
    padding: 16px;
  }

  .strength-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }

  .strength-icon i {
    font-size: 20px;
  }

  .strength-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .strength-card p {
    font-size: 12px;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 11px;
  }

  .cta-card {
    padding: 20px 14px;
  }

  .cta-card h2 {
    font-size: clamp(14px, 7vw, 18px);
  }

  .cta-card p {
    font-size: 11px;
  }

  .footer-grid {
    gap: 16px;
  }

  .socials a {
    width: 36px;
    height: 36px;
    font-size: 14px;
    margin-right: 6px;
  }
}


/* ================================================
   OVERFLOW & SCROLLING PREVENTION
   ================================================ */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

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

/* Contact and form elements styling */
.contact-content,
.contact-info {
  width: 100%;
  max-width: 100%;
}

.contact-info > div {
  min-width: 0;
}

/* Ensure all containers don't overflow */
.section-head,
.hero-grid,
.services-grid,
.stats-grid,
.commitment-row,
.cta-card,
.footer-grid {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6 {
  word-break: break-word;
  overflow-wrap: break-word;
}

p, a, li {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.inview {
  opacity: 1;
  transform: none;
}

/* ================================================
   ACCESSIBILITY
   ================================================ */
a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ================================================
   PERFORMANCE - REDUCED MOTION
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  .glow-sphere {
    animation: none;
  }

  * {
    transition: none !important;
  }
}

/* ================================================
   DECORATIVE EFFECTS
   ================================================ */
.service-card:hover {
  box-shadow: var(--shadow-lg);
}


/* ================================================
   CONTACT PAGE - PREMIUM STYLING
   ================================================ */
#contact.cta {
  display: flex;
  justify-content: center;
}


#contact .cta-card {
  max-width: 720px;
  padding: 48px 40px;
  border-radius: 12px;
  background: var(--card-bg);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#contact .cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

#contact .cta-card h2 {
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--heading);
}

#contact .cta-card > p {
  font-size: 16px;
  color: var(--para);
  margin: 0 0 32px;
  font-weight: 300;
  letter-spacing: 0.2px;
}

/* Contact Info Styling */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}

.contact-info > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  opacity: 0.9;
}

.contact-info p {
  margin: 6px 0;
  font-size: 16px;
}

/* Email Links Premium Styling */
.contact-info a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.contact-info a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

  .contact-info a:hover {
  text-shadow: none;
  letter-spacing: 0.5px;
}

.contact-info a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Social Icons Section */
.contact-info .socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.contact-info .socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: visible;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.contact-info .socials a::before {
  /* decorative overlay kept subtle for contact area */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.02));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.contact-info .socials a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-info .socials a:hover::before { opacity: 1; }

.contact-info .socials a i {
  font-size: 18px;
  color: var(--heading);
  position: relative;
  z-index: 1;
}

/* Responsive Contact Section */
@media (max-width: 768px) {
  #contact .cta-card {
    padding: 40px 32px;
    border-radius: 16px;
  }

  #contact .cta-card h2 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 10px;
  }

  #contact .cta-card > p {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .contact-info {
    gap: 28px;
  }

  .contact-info h4 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .contact-info p {
    font-size: 15px;
  }

  .contact-info .socials a {
    width: 46px;
    height: 46px;
    gap: 12px;
  }

  .contact-info .socials a i {
    font-size: 1.125em;
  }

  /* Footer social icons responsive adjustments */
  .footer .socials a { width: 46px; height: 46px; }
  .footer .socials a i { font-size: 1.125em; }
}

@media (max-width: 480px) {
  #contact .cta-card {
    padding: 36px 24px;
    border-radius: 14px;
  }

  #contact .cta-card h2 {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 8px;
  }

  #contact .cta-card > p {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .contact-info {
    gap: 24px;
  }

  .contact-info h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .contact-info a {
    font-size: 14px;
  }

  .contact-info .socials {
    gap: 12px;
  }

  .contact-info .socials a {
    width: 42px;
    height: 42px;
  }

  .contact-info .socials a i {
    font-size: 16px;
  }

  /* Footer social icons responsive adjustments */
  .footer .socials { gap: 12px; justify-content: center; }
  .footer .socials a { width: 42px; height: 42px; }
  .footer .socials a i { font-size: 1em; }
}

/* ================================================
   FINAL SOCIAL MEDIA ICONS - PROFESSIONAL STYLING
   ================================================ */
.socials {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.socials a {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  line-height: 1;
}

/* Brand color backgrounds */
.socials a.linkedin {
  background: #475569;
}

.socials a.telegram {
  background: #475569;
}

.socials a.youtube {
  background: #475569;
}

.socials a.instagram {
  background: #475569;
}

/* Professional hover animation */
.socials a:hover {
  transform: translateY(-4px);
  background: #64748b;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.socials a:active {
  transform: translateY(-2px) scale(0.98);
}

/* Ensure icons are visible and white */
.socials i,
.socials svg {
  display: inline-block;
  font-size: 1.2em;
  line-height: 1;
  color: white;
}

/* ================================================
   LEGAL PAGES - PRIVACY POLICY STYLING
   ================================================ */

/* Legal Page Hero Section */
.legal-hero {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--accent-soft) 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.legal-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

.legal-hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 300;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* Legal Page Content Container */
.legal-page {
  padding: 60px 0;
  background: var(--bg-main);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Legal Sections */
.legal-section {
  margin-bottom: 56px;
  line-height: 1.8;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  color: var(--text-dark);
  margin: 0 0 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 12px;
  display: inline-block;
}

.legal-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.8;
}

.legal-section p:last-of-type {
  margin-bottom: 0;
}

/* Legal Lists */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}

.legal-list li {
  margin: 0 0 14px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.legal-list li strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Contact Details Styling */
.contact-details {
  background: var(--primary-soft);
  padding: 28px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  margin: 24px 0;
}

.contact-details p {
  margin: 8px 0;
  font-size: 15px;
  color: var(--text-dark);
}

.contact-details strong {
  font-weight: 700;
}

.contact-details a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent);
}

/* ================================================
   LEGAL PAGES - RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
  .legal-hero {
    padding: 60px 0;
  }

  .legal-hero-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 12px;
  }

  .legal-hero-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .legal-updated {
    font-size: 13px;
  }

  .legal-page {
    padding: 48px 0;
  }

  .legal-container {
    padding: 0 24px;
  }

  .legal-section {
    margin-bottom: 42px;
  }

  .legal-section h2 {
    font-size: clamp(18px, 3.5vw, 26px);
    margin-bottom: 18px;
  }

  .legal-section p {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .legal-list li {
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 14px;

/* ================================================
   CONTACT SECTION - Corporate Two-Column Layout
   ================================================ */
.contact-section {
  padding: 64px 0;
  background: linear-gradient(180deg, rgba(37,99,235,0.04) 0%, rgba(6,182,212,0.02) 100%);
}
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 36px;
}
.contact-head { text-align: left; margin-bottom: 28px; }
.contact-title { font-size: clamp(28px, 3.8vw, 40px); margin: 0 0 8px; font-weight: 800; color: var(--heading); }
.contact-sub { margin: 0 0 22px; color: var(--text-muted); font-size: 16px; }

.contact-grid { display: grid; grid-template-columns: 1fr 520px; gap: 28px; align-items: start; }

.contact-card { border-radius: 16px; background: #ffffff; padding: 28px; box-shadow: var(--shadow-md); border: 1px solid var(--card-border); }
.contact-info-card .card-heading, .contact-form-card .card-heading { margin-top: 0; margin-bottom: 8px; font-size: 20px; color: var(--heading); }
.card-desc { color: var(--text-muted); margin: 0 0 18px; }

.info-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin-bottom: 18px; }
.info-list strong { display: block; color: var(--heading); margin-bottom: 6px; font-weight: 700; }
.info-list p { margin: 0; color: var(--text-muted); font-size: 14px; }

.contact-socials { display: flex; gap: 12px; margin-top: 14px; }
.contact-socials a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #ffffff; transition: transform 0.18s ease, box-shadow 0.18s ease; box-shadow: 0 6px 18px rgba(15,23,42,0.04); }
.contact-socials a:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(15,23,42,0.09); }
.contact-socials a.linkedin { background: #0e76a8; }
.contact-socials a.telegram { background: #26a5ff; }
.contact-socials a.youtube { background: #ff0000; }
.contact-socials a.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--text-dark); font-size: 14px; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-actions { display: flex; justify-content: center; margin-top: 32px; }
.form-actions .btn-primary { min-width: 200px; padding: 12px 32px; border-radius: 11px; font-weight: 500; box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2); }

/* Responsive */
@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr 420px; }
  .contact-container { padding: 0 28px; }
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-head { text-align: center; }
  .contact-title { font-size: clamp(22px, 6vw, 28px); }
  .contact-sub { text-align: center; }
  .info-list { grid-template-columns: 1fr; }
  .contact-socials { justify-content: center; }
}

@media (max-width: 480px) {
  .contact-container { padding: 0 16px; }
  .contact-card { padding: 18px; }
  .contact-socials a { width: 40px; height: 40px; border-radius: 8px; }
  .form-actions .btn-primary { min-width: 100%; }
}
  }

  .contact-details {
    padding: 20px;
    margin: 20px 0;
  }

  .contact-details p {
    font-size: 14px;
    margin: 6px 0;
  }
}

/* ================================================
   ABOUT SECTION - PREMIUM CARD LAYOUT
   ================================================ */
.about-section {
  background: linear-gradient(180deg, rgba(37,99,235,0.02) 0%, rgba(6,182,213,0.01) 100%);
  padding: 72px 20px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.about-head { text-align: center; margin-bottom: 32px; }
.about-title-main { font-size: clamp(22px, 3.5vw, 32px); font-weight: 700; margin: 0 0 8px; color: var(--text-dark); }
.about-sub { margin: 0 auto; max-width: 820px; color: var(--text-muted); line-height: 1.6; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.about-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
  transition: transform 0.32s cubic-bezier(0.2,0.9,0.25,1), box-shadow 0.32s ease;
  will-change: transform;
  min-height: 340px;
  max-width: 100%;
}
.about-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(15,23,42,0.12); }

.about-card-media { width: 100%; height: 200px; overflow: hidden; background: #f3f6fb; }
.about-card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
.about-card:hover .about-card-media img { transform: scale(1.06); }

/* Fallback when an image fails to load: show brand text with same rounded top */
.about-card-media.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(6,182,212,0.02));
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}
.about-card-media.no-image::after {
  content: 'Zettadeck';
}

.about-card-body { padding: 20px; display:flex; flex-direction:column; gap:12px; flex:1 1 auto; }
.about-card-title { font-size: 18px; margin: 0; color: var(--text-dark); font-weight: 700; }
.about-card-desc { margin: 0; color: var(--text-muted); line-height: 1.6; font-size: 14px; }

/* Responsive adjustments */
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); gap:18px; }
  .about-card { min-height: 300px; }
  .about-card-media { height: 200px; }
}

@media (max-width: 600px) {
  .about-grid { grid-template-columns: 1fr; gap:16px; }
  .about-section { padding: 56px 12px; }
  .about-card-media { height: 200px; }
}


/* ==============================
   REFINED CONTACT STYLES
   Placed at end to ensure overrides
   ============================== */
.contact-section {
  padding: 72px 0;
  background: linear-gradient(180deg, rgba(37,99,235,0.03) 0%, rgba(6,182,212,0.01) 100%);
}
.contact-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.contact-inner { background: transparent; }
.contact-head { text-align: center; margin-bottom: 32px; }
.contact-title { font-size: clamp(28px, 4.5vw, 40px); margin: 0 0 8px; font-weight: 800; color: var(--heading); }
.contact-sub { margin: 0 auto 18px; color: var(--text-muted); max-width: 780px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-card { background: var(--card-bg); border-radius: 16px; padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--card-border); }
.contact-card .card-title { font-size: 20px; margin: 0 0 8px; color: var(--heading); font-weight: 700; }
.contact-card .card-lead { margin: 0 0 18px; color: var(--text-muted); }

.contact-info .contact-details { display: grid; grid-template-columns: 1fr; gap: 12px 20px; margin-bottom: 20px; }
.contact-info .detail-item { display:flex; flex-direction:column; gap:6px; }
.detail-label { color: var(--heading); font-weight:700; }
.detail-value a { color: var(--primary); text-decoration: none; }

.socials { display:flex; gap:12px; }
.socials a { width:46px; height:46px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px; color:#fff; transition:transform .18s ease, box-shadow .18s ease; box-shadow: 0 8px 24px rgba(15,23,42,0.06); }
.socials a:hover { transform: translateY(-6px); box-shadow: 0 22px 42px rgba(15,23,42,0.09); }
.socials a.linkedin { background: #0e76a8; }
.socials a.telegram { background: #26a5ff; }
.socials a.youtube { background: #ff0000; }
.socials a.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-size: 14px; color: var(--text-dark); }
.contact-form .grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-bottom:12px; }
.contact-form textarea { min-height: 140px; resize:vertical; }
.form-actions { display:flex; gap:12px; margin-top:12px; }

@media (max-width: 1000px) {
  .contact-wrap { padding: 0 22px; }
  .contact-grid { grid-template-columns: 1fr 460px; }
}

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-head { text-align: center; }
  .contact-card { padding: 28px; }
}

@media (max-width: 480px) {
  .contact-wrap { padding: 0 16px; }
  .contact-card { padding: 20px; }
  .socials a { width:40px; height:40px; border-radius:8px; }
}

/* ==========================
   CAREERS - Open Positions
   ========================== */
.jobs-section { padding: 64px 0; background: transparent; }
.jobs-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.jobs-head { text-align: left; margin-bottom: 20px; }
.jobs-title { font-size: clamp(24px, 3.8vw, 32px); margin: 0 0 8px; font-weight:800; color:var(--heading); }
.jobs-sub { margin:0 0 20px; color:var(--text-muted); }

.jobs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: stretch; }
.job-card { background: var(--card-bg); border-radius: 14px; padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--card-border); display:flex; flex-direction:column; justify-content:space-between; transition: transform 0.22s cubic-bezier(0.2,0.9,0.2,1), box-shadow 0.22s ease; }
.job-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(15,23,42,0.12); }
.job-title { font-size:18px; margin:0 0 8px; color:var(--heading); font-weight:700; }
.job-meta { color:var(--text-muted); font-size:13px; margin-bottom:8px; }
.job-info { font-size:13px; color:var(--text-muted); margin-bottom:12px; }
.job-desc { color:var(--text-muted); font-size:14px; line-height:1.6; margin-bottom:14px; min-height:44px; }

.job-skills { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.skill-badge { display:inline-block; padding:6px 10px; border-radius:999px; background: rgba(37,99,235,0.06); color:var(--primary); font-weight:600; font-size:13px; }

.btn-apply { display:inline-block; padding:10px 16px; border-radius:10px; color:#fff; text-decoration:none; font-weight:700; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 10px 26px rgba(37,99,235,0.12); border: none; }
.btn-apply:hover { transform: translateY(-3px); }

/* Apply button inert state and click animation */
.apply-btn { cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.apply-btn:active { transform: translateY(2px) scale(0.995); box-shadow: 0 8px 18px rgba(15,23,42,0.06); }
.apply-btn.pressed { transform: translateY(2px) scale(0.995); }

@media (max-width: 1000px) {
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .jobs-wrap { padding: 0 16px; }
}

@media (max-width: 600px) {
  .jobs-grid { grid-template-columns: 1fr; gap: 20px; }
  .jobs-wrap { padding: 0 16px; }
  .jobs-head { text-align: center; }
  .jobs-title { font-size: 22px; }
}


@media (max-width: 480px) {
  .legal-hero {
    padding: 48px 0;
  }

  .legal-hero-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 10px;
  }

  .legal-hero-subtitle {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .legal-updated {
    font-size: 12px;
  }

  .legal-page {
    padding: 40px 0;
  }

  .legal-container {
    padding: 0 16px;
  }

  .legal-section {
    margin-bottom: 36px;
  }

  .legal-section h2 {
    font-size: clamp(16px, 4vw, 22px);
    margin-bottom: 14px;
  }

  .legal-section p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .legal-list li {
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 13px;
  }

  .contact-details {
    padding: 16px;
    margin: 16px 0;
  }

  .contact-details p {
    font-size: 13px;
    margin: 5px 0;
  }
}
