/* ==========================================================================
   LIFELONG WEB AGENCY — OFFICIAL DESIGN SYSTEM & STYLESHEET
   Google Stitch Aesthetic: Blue / Cyan / Teal / Slate / Clean Light Theme
   Typography: Plus Jakarta Sans
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --primary-blue: #0052cc;
  --primary-blue-hover: #0043a8;
  --primary-blue-light: #eef4ff;
  --brand-cyan: #00c2cb;
  --brand-cyan-glow: rgba(0, 194, 203, 0.25);
  --brand-teal: #00a88f;
  --electric-accent: #00d2ff;
  
  /* Gradient Signatures */
  --gradient-primary: linear-gradient(135deg, #0052cc 0%, #00c2cb 100%);
  --gradient-hero: linear-gradient(135deg, #0052cc 0%, #00a88f 100%);
  --gradient-dark: linear-gradient(135deg, #0a192f 0%, #0f2b48 100%);
  --gradient-card-glow: linear-gradient(135deg, rgba(0, 82, 204, 0.08) 0%, rgba(0, 194, 203, 0.08) 100%);
  
  /* Neutral / Surface Colors */
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: #ffffff;
  --bg-surface-dark: #0a192f;
  --bg-card-dark: #10223d;
  
  /* Text Colors */
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-focus: #0052cc;
  --border-dark: rgba(255, 255, 255, 0.12);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(0, 82, 204, 0.12), 0 10px 15px -5px rgba(0, 194, 203, 0.08);
  --shadow-glow: 0 0 25px rgba(0, 194, 203, 0.35);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --nav-height: 80px;
  --nav-height-scrolled: 70px;
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  color: var(--text-body);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Container & Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

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

.section-header {
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-tag-light {
  background-color: rgba(255, 255, 255, 0.15);
  color: #00d2ff;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.link-highlight {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-highlight:hover {
  color: var(--brand-teal);
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.45);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-heading);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-white {
  background-color: #ffffff;
  color: var(--text-heading);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #f1f5f9;
  color: var(--primary-blue);
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   5. Header & Sticky Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: height var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.site-header.scrolled {
  height: var(--nav-height-scrolled);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  background-color: rgba(255, 255, 255, 0.96);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

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

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-heading);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-blue);
  line-height: 1;
}

/* Desktop Nav List */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .nav-list {
    gap: 18px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .nav-cta {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

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

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

/* Header Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.hamburger-btn:hover {
  background-color: var(--bg-surface);
}

.hamburger-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-heading);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger-btn.is-active .bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-active .bar-2 {
  opacity: 0;
}

.hamburger-btn.is-active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.mobile-drawer-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.close-drawer-btn {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
}

.mobile-nav-link {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-contact-mail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  word-break: break-all;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 194, 203, 0.08) 0%, rgba(0, 82, 204, 0.04) 50%, transparent 80%);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.15) 0%, rgba(0, 82, 204, 0.05) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-blue-light);
  border: 1px solid rgba(0, 82, 204, 0.18);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-teal);
}

.hero-headline {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust-indicators {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-icon {
  color: var(--brand-teal);
}

/* Modern Digital Visual Mockup (Stitch Reference) */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
}

.hero-visual-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.hero-visual-card:hover {
  transform: translateY(-4px);
}

.browser-chrome {
  background-color: #f1f5f9;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

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

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.browser-address-bar {
  flex: 1;
  background-color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-light);
}

.pill-secure {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background-color: #d1fae5;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.browser-preview-body {
  padding: 24px;
  background-color: #fafbfc;
}

.preview-hero-strip {
  background: linear-gradient(135deg, #0a192f 0%, #173256 100%);
  padding: 24px;
  border-radius: var(--radius-md);
  color: #ffffff;
  margin-bottom: 20px;
}

.preview-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.preview-title-bar {
  width: 70%;
  height: 16px;
  background: #ffffff;
  border-radius: 4px;
  margin-bottom: 8px;
}

.preview-sub-bar {
  width: 50%;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  margin-bottom: 16px;
}

.preview-buttons {
  display: flex;
  gap: 10px;
}

.preview-btn-main {
  width: 80px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 6px;
}

.preview-btn-ghost {
  width: 60px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

/* Stats inside Mockup */
.preview-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.preview-stat-card {
  background-color: #ffffff;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stat-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.stat-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.pulse-green { background-color: #10b981; }
.pulse-blue { background-color: #0052cc; }
.pulse-cyan { background-color: #00c2cb; }

.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
}

.stat-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 2px;
}

/* Preview Code */
.preview-code-block {
  background-color: #0f172a;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  line-height: 1.4;
}

.code-line {
  color: #94a3b8;
}

.code-line.indent {
  padding-left: 14px;
}

.c-tag { color: #f43f5e; }
.c-attr { color: #38bdf8; }
.c-val { color: #4ade80; }
.c-text { color: #f8fafc; font-weight: bold; }

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floatBounce 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -18px;
  right: -18px;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: -2s;
}

.badge-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
}

.floating-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes floatBounce {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   7. Services Section
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-surface);
}

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

.service-card {
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 194, 203, 0.3);
}

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

.card-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrap {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: scale(1.06);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-description {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-blue);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-learn-more:hover {
  color: var(--brand-teal);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   8. Website Value Section
   -------------------------------------------------------------------------- */
.value-section {
  background-color: #ffffff;
}

.value-banner {
  background: linear-gradient(145deg, #0a192f 0%, #0d2847 100%);
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.value-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.value-header {
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.value-heading {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.value-subheading {
  font-size: 1.05rem;
  color: #94a3b8;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 194, 203, 0.4);
  transform: translateY(-3px);
}

.value-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 194, 203, 0.15);
  color: #00d2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.value-text p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-us-section {
  background-color: var(--bg-surface);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--bg-surface-elevated);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 82, 204, 0.3);
}

.why-card-wide {
  grid-column: span 2;
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-normal);
}

.why-card:hover .why-icon-box {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: rotate(6deg) scale(1.05);
}

.why-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.why-description {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. About Section
   -------------------------------------------------------------------------- */
.about-section {
  background-color: #ffffff;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text-lead p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 28px;
  font-weight: 450;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

.feature-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-teal);
  margin-top: 7px;
  flex-shrink: 0;
}

.about-action-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.about-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.brand-showcase-box {
  background: linear-gradient(145deg, #0a192f 0%, #102a4d 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.brand-logo-large {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.brand-logo-large img {
  filter: drop-shadow(0 10px 20px rgba(0, 194, 203, 0.3));
}

.brand-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 0 10px;
}

.brand-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-pill {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #00d2ff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 210, 255, 0.2);
}

/* --------------------------------------------------------------------------
   11. Process Section
   -------------------------------------------------------------------------- */
.process-section {
  background-color: var(--bg-surface);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.step-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.step-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   12. Portfolio Section
   -------------------------------------------------------------------------- */
.portfolio-section {
  background-color: #ffffff;
}

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

.portfolio-card {
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 194, 203, 0.4);
}

.portfolio-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #0f172a;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.04);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.portfolio-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.portfolio-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  transition: color var(--transition-fast);
}

.portfolio-link-btn:hover {
  color: var(--brand-teal);
}

/* --------------------------------------------------------------------------
   13. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 60px 0;
  background-color: var(--bg-surface);
}

.cta-box {
  background: linear-gradient(135deg, #0052cc 0%, #00a88f 100%);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.cta-headline {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.cta-subtext {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-button-group .btn-primary {
  background: #ffffff;
  color: var(--primary-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-button-group .btn-primary:hover {
  background: #f8fafc;
  color: #003e99;
}

.cta-button-group .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-button-group .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   14. Contact Section & Form Styling
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: #ffffff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-info-panel {
  background-color: var(--bg-surface);
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}

.contact-card-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.info-panel-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.info-panel-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.detail-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-heading);
}

.direct-chat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.direct-chat-header {
  font-size: 0.92rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.direct-chat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.direct-chat-desc a {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Contact Form Panel */
.contact-form-panel {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.form-status-banner {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-status-banner.status-success {
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.form-status-banner.status-error {
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

.form-row {
  margin-bottom: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.required {
  color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.12);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #ef4444;
  background-color: #fffbfa;
}

@keyframes highlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 194, 203, 0.7); border-color: var(--brand-cyan); }
  50% { box-shadow: 0 0 0 8px rgba(0, 194, 203, 0.2); border-color: var(--primary-blue); }
  100% { box-shadow: 0 0 0 0 rgba(0, 194, 203, 0); }
}

.highlight-pulse {
  animation: highlightPulse 1.2s ease-out;
}

.field-error {
  font-size: 0.78rem;
  font-weight: 600;
  color: #dc2626;
  margin-top: 6px;
  min-height: 18px;
  display: block;
}

/* Checkbox Styling */
.consent-group {
  margin-bottom: 24px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.checkbox-container:hover input ~ .custom-checkbox {
  border-color: var(--primary-blue);
}

.checkbox-container input:checked ~ .custom-checkbox {
  background: var(--gradient-primary);
  border-color: var(--primary-blue);
}

.checkbox-container input:checked ~ .custom-checkbox::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.consent-label-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.4;
}

/* Submit row */
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.btn-submit {
  min-width: 180px;
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

.btn-submit.loading .btn-spinner {
  display: inline-block;
}

.btn-submit.loading .btn-arrow {
  display: none;
}

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

.form-secure-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-surface);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active {
  border-color: rgba(0, 82, 204, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-heading);
  gap: 20px;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question,
.faq-question:hover {
  color: var(--primary-blue);
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-normal);
}

.faq-icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

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

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-surface-dark);
  color: #cbd5e1;
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .brand-name {
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.92rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #00d2ff;
  transform: translateX(4px);
}

.footer-contact-text {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.footer-email-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #00d2ff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
  word-break: break-all;
}

.footer-email-link:hover {
  text-decoration: underline;
}

.footer-location-text {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-cta {
  display: inline-block;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.legal-btn:hover {
  color: #00d2ff;
  text-decoration: underline;
}

.divider {
  color: #475569;
}

/* --------------------------------------------------------------------------
   17. Modals: Portfolio & Legal
   -------------------------------------------------------------------------- */
.app-modal {
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  background: transparent;
  max-width: 680px;
  width: 90%;
  margin: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.app-modal::backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-light);
}

.modal-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: 0.06em;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.modal-close-btn:hover {
  color: var(--text-heading);
}

.modal-body {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-image-preview {
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0f172a;
}

.modal-img {
  width: 100%;
  height: auto;
}

.modal-description-wrap h4,
.modal-highlights h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.modal-description-wrap p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-specs-list li {
  font-size: 0.92rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-specs-list li::before {
  content: '✓';
  color: var(--brand-teal);
  font-weight: 800;
}

.modal-legal-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 18px;
  margin-bottom: 6px;
}

.modal-legal-content p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}

.modal-legal-content ul {
  padding-left: 20px;
  list-style: disc;
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 14px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 20px 30px;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints (320px, 375px, 768px, 1024px, 1280px+)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-trust-indicators {
    justify-content: center;
  }

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

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

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

  .why-card-wide {
    grid-column: span 2;
  }

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

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

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

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

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .desktop-nav,
  .nav-actions .nav-cta {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .section-padding {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .value-banner {
    padding: 40px 24px;
  }

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

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

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

  .why-card-wide {
    grid-column: span 1;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact-form-panel {
    padding: 24px;
  }

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

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

  .badge-top-right,
  .badge-bottom-left {
    display: none; /* remove overlapping floating badges on small mobile */
  }

  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-icon {
    width: 26px;
    height: 26px;
  }

  .whatsapp-float-tooltip {
    display: none; /* Hide tooltip on touch devices */
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 66px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-headline {
    font-size: 2.1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .cta-button-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-button-group .btn {
    width: 100%;
  }

  .btn-submit {
    width: 100%;
  }

  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  .logo-img {
    height: 40px;
  }

  .preview-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .preview-code-block {
    font-size: 0.7rem;
    padding: 10px 14px;
    overflow-x: auto;
  }

  .contact-form-panel {
    padding: 20px 16px;
  }

  .floating-whatsapp-btn {
    bottom: 18px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-headline {
    font-size: 1.85rem;
  }

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

  .cta-headline {
    font-size: 1.75rem;
  }

  .btn-lg {
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .logo-img {
    height: 36px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Button Styles
   -------------------------------------------------------------------------- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a88f 0%, #25d366 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 990;
  text-decoration: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55), 0 3px 10px rgba(0, 0, 0, 0.16);
  color: #ffffff;
}

.floating-whatsapp-btn:active {
  transform: translateY(0) scale(0.98);
}

.floating-whatsapp-btn:focus-visible {
  outline: 3px solid var(--primary-blue);
  outline-offset: 4px;
}

.whatsapp-float-icon {
  width: 30px;
  height: 30px;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background-color: var(--text-heading);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: var(--shadow-md);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--text-heading);
}

.floating-whatsapp-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   19. Premium Scroll Reveal & Smooth Motion System
   ========================================================================== */

/* Only activate initial hidden state when JS is running */
.js-loaded .reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Subtle scale for featured container banners (CTA box) */
.js-loaded .reveal-scale {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.76s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.76s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Active Revealed State */
.js-loaded .reveal-on-scroll.is-revealed,
.js-loaded .reveal-scale.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Reset will-change once revealed and not hovered to conserve GPU */
.js-loaded .reveal-on-scroll.is-revealed:not(:hover),
.js-loaded .reveal-scale.is-revealed:not(:hover) {
  will-change: auto;
}

/* Stagger delays (60ms–80ms increments for refined, responsive sequencing) */
.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.18s; }
.stagger-4 { transition-delay: 0.24s; }
.stagger-5 { transition-delay: 0.30s; }
.stagger-6 { transition-delay: 0.36s; }

/* Mobile stagger speed-up: keep pacing prompt on touch screens */
@media (max-width: 768px) {
  .stagger-1 { transition-delay: 0.04s; }
  .stagger-2 { transition-delay: 0.08s; }
  .stagger-3 { transition-delay: 0.12s; }
  .stagger-4 { transition-delay: 0.16s; }
  .stagger-5 { transition-delay: 0.20s; }
  .stagger-6 { transition-delay: 0.24s; }
}

/* Seamless compatibility with existing card & element hover effects */
.service-card.reveal-on-scroll.is-revealed:hover,
.why-card.reveal-on-scroll.is-revealed:hover,
.process-step.reveal-on-scroll.is-revealed:hover,
.portfolio-card.reveal-on-scroll.is-revealed:hover,
.value-card.reveal-on-scroll.is-revealed:hover {
  transform: translateY(-6px);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.hero-visual-card.reveal-on-scroll.is-revealed:hover {
  transform: translateY(-4px);
  transition: transform var(--transition-normal);
}

/* Hero background glow subtle parallax transition */
.hero-bg-glow {
  transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

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

  .js-loaded .reveal-on-scroll,
  .js-loaded .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-bg-glow {
    transform: none !important;
  }
}
