/* ==========================================================================
   Emily Web Development - Design System & Custom Stylesheet
   Pure Vanilla CSS - Modern Glassmorphism & High-Performance UI
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Dark Theme Tokens (Default) */
  --bg-dark: #090D16;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(26, 38, 66, 0.75);
  --bg-glass-nav: rgba(9, 13, 22, 0.8);
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(99, 102, 241, 0.3);

  /* Brand Color Accents */
  --indigo-accent: #6366F1;
  --cyan-accent: #06B6D4;
  --violet-accent: #8B5CF6;
  --emerald-accent: #10B981;
  --amber-accent: #F59E0B;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #06B6D4 0%, #6366F1 50%, #8B5CF6 100%);
  --gradient-btn: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  --gradient-btn-hover: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-badge: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);

  /* Shadows & Blur */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.4);
  --blur-nav: blur(16px);
  --blur-card: blur(20px);

  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Tokens */
[data-theme="light"] {
  --bg-dark: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-glass-nav: rgba(248, 250, 252, 0.85);
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-color: rgba(15, 23, 42, 0.1);
  --border-glow: rgba(99, 102, 241, 0.25);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
  --shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.08);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Accent Text Utilities */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-accent { color: var(--cyan-accent); }
.text-orange { color: #F97316; }
.text-blue { color: #3B82F6; }
.text-yellow { color: #FBBF24; }
.text-purple { color: #A855F7; }
.text-amber { color: var(--amber-accent); }

/* Ambient Background Blobs */
.ambient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  animation: blobFloat 18s ease-in-out infinite alternate;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--cyan-accent);
  top: -150px;
  left: -150px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--violet-accent);
  top: 35%;
  right: -200px;
  animation-delay: -6s;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: var(--indigo-accent);
  bottom: -150px;
  left: 20%;
  animation-delay: -12s;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, -40px) scale(0.9); }
}

/* Glassmorphism Common Class */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-card);
  -webkit-backdrop-filter: var(--blur-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  outline: none;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: var(--gradient-glass);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--cyan-accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass-nav);
  backdrop-filter: var(--blur-nav);
  -webkit-backdrop-filter: var(--blur-nav);
  border-bottom: 1px solid var(--border-color);
  transition: padding var(--transition-normal);
  padding: 18px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 0.8rem;
  display: block;
  color: var(--cyan-accent);
  font-weight: 600;
  margin-top: -4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--cyan-accent);
  transform: rotate(15deg);
}

.sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: block; color: var(--amber-accent); }

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 160px 0 90px 0;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 30px;
  background: var(--gradient-badge);
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-accent);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-accent);
  box-shadow: 0 0 10px var(--emerald-accent);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
}

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

.hero-trust-bar {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

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

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

.hero-preview-card {
  overflow: hidden;
  padding: 0;
  box-shadow: var(--shadow-lg);
}

.card-browser-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.browser-address {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 16px;
  border-radius: 6px;
}

.browser-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gradient-brand);
  color: #FFF;
  padding: 2px 8px;
  border-radius: 4px;
}

.card-media-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-preview-card:hover .hero-image {
  transform: scale(1.03);
}

.floating-tech-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  animation: floatAnim 6s ease-in-out infinite alternate;
}

.badge-1 { top: 10%; right: -15px; animation-delay: 0s; }
.badge-2 { bottom: 20%; left: -20px; animation-delay: -2s; }
.badge-3 { bottom: -10px; right: 20%; animation-delay: -4s; }

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

/* --------------------------------------------------------------------------
   5. Stats Section
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 40px 0;
  border-y: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.015);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  display: inline-block;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-plus {
  font-size: 2.2rem;
  font-weight: 800;
  display: inline-block;
  color: var(--cyan-accent);
}

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

/* --------------------------------------------------------------------------
   6. Services Section
   -------------------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

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

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

.service-card {
  padding: 36px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--cyan-accent); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--violet-accent); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald-accent); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--amber-accent); }

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   7. Interactive Cost Estimator Section
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.01);
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  padding: 40px;
}

.calc-group {
  margin-bottom: 32px;
}

.calc-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.calc-grid {
  display: grid;
  gap: 14px;
}

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

.calc-btn {
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: 14px;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--transition-fast);
}

.calc-btn i {
  font-size: 1.4rem;
  color: var(--cyan-accent);
}

.calc-btn span {
  font-weight: 700;
  font-size: 0.95rem;
}

.calc-btn small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.calc-btn:hover, .calc-btn.active {
  border-color: var(--indigo-accent);
  background: rgba(99, 102, 241, 0.12);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

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

.calc-checkbox-card {
  position: relative;
  cursor: pointer;
}

.feature-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-content {
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.checkbox-content i {
  color: var(--violet-accent);
}

.feature-price {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--cyan-accent);
}

.feature-checkbox:checked + .checkbox-content {
  border-color: var(--cyan-accent);
  background: rgba(6, 182, 212, 0.12);
}

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

.calc-summary {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: var(--border-glow);
}

.summary-title {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-price-display {
  margin: 24px 0 10px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.summary-price-display .currency {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan-accent);
}

.summary-price-display .price-val {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.summary-price-display .price-usd {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.summary-time-display {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-divider {
  height: 1px;
  background: var(--border-color);
  margin: 20px 0;
}

.spec-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.spec-list {
  margin-bottom: 24px;
}

.spec-list li {
  font-size: 0.88rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   8. Filterable Portfolio Showcase
   -------------------------------------------------------------------------- */
.portfolio-section {
  padding: 100px 0;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 30px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  color: #FFFFFF;
  background: var(--gradient-btn);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

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

.portfolio-card {
  overflow: hidden;
  padding: 0;
}

.portfolio-thumb {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #000000;
}

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

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(6px);
  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;
}

.portfolio-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.tag-speed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-accent);
  border-color: rgba(16, 185, 129, 0.3);
}

.portfolio-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* SVG Mock Thumbnails for Projects 3 & 4 */
.svg-thumb-fintech, .svg-thumb-health {
  background: linear-gradient(135deg, #090D16 0%, #1E1B4B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.svg-project-preview {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-color);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-logo { font-weight: 800; font-size: 0.85rem; letter-spacing: 1px; }
.mock-badge { font-size: 0.65rem; background: var(--emerald-accent); color: #000; padding: 2px 6px; border-radius: 4px; font-weight: 700; }

.mock-stat-box small { color: var(--text-muted); font-size: 0.75rem; }
.mock-stat-box h4 { font-size: 1.4rem; color: var(--cyan-accent); font-weight: 800; }

.mock-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.mock-mini-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   9. Process Timeline Section
   -------------------------------------------------------------------------- */
.process-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.01);
}

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

.process-step {
  padding: 30px;
  position: relative;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--indigo-accent);
  opacity: 0.8;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 100px 0;
}

.testimonials-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 48px;
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--indigo-accent);
  opacity: 0.4;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 32px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #FFF;
}

.user-info {
  text-align: left;
}

.user-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.user-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.user-stars {
  margin-left: auto;
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.t-nav-btn {
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.t-nav-btn:hover {
  background: var(--indigo-accent);
  border-color: transparent;
}

.t-dots {
  display: flex;
  gap: 8px;
}

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

.t-dot.active {
  background: var(--cyan-accent);
  width: 24px;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   11. FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  text-align: left;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  transition: transform var(--transition-fast);
  color: var(--cyan-accent);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  padding: 0 24px 24px 24px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   12. Contact Form Section
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.015);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

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

.c-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
}

.c-detail-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.c-detail-item a, .c-detail-item span {
  font-size: 1rem;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--indigo-accent);
  color: var(--cyan-accent);
  transform: translateY(-3px);
}

.contact-form {
  padding: 40px;
}

.form-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;

}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--indigo-accent);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
  background: rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.4);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 60px;
  justify-content: flex-end;
}

.f-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.f-col ul li {
  margin-bottom: 10px;
}

.f-col ul li a {
  font-size: 0.9rem;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.f-col ul li a:hover {
  color: var(--cyan-accent);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  background: var(--gradient-btn);
  border-color: transparent;
}

/* --------------------------------------------------------------------------
   14. Modal Popups
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 20px;
}

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

.modal-card {
  max-width: 700px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

.modal-img-wrapper {
  max-height: 300px;
  overflow: hidden;
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  padding: 30px;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 12px 0;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.modal-tech {
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.success-card {
  text-align: center;
  padding: 40px;
  max-width: 450px;
}

.success-icon {
  font-size: 3.5rem;
  color: var(--emerald-accent);
  margin-bottom: 16px;
}

.success-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.success-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   15. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group, .hero-trust-bar {
    justify-content: center;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--bg-dark);
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    transition: left var(--transition-normal);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .nav-cta-btn {
    display: none;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid, .portfolio-grid, .type-grid, .feature-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
  }
}
