/* ==========================================================================
   TheDivineX - Reference Design System (Pure White Background & IT Agency Styling)
   Based on user-provided design reference:
   - Base background: Pure White (#FFFFFF)
   - Accent Primary: Vibrant Royal Blue (#0052FF / #0066FF)
   - Secondary Accent: Mint / Cyan (#00D2B4) from TheDivineX Logo
   - Dark Headings: Deep Tech Navy (#0A1128 / #0F172A)
   - Body Text: Slate (#475569)
   - Asymmetric Cards: Alternating Royal Blue (#0052FF) & White (#FFFFFF)
   ========================================================================== */

:root {
  --bg-main: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-surface-alt: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;

  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --border-hover: #0052FF;

  --brand-navy: #0A1128;
  --brand-blue: #0052FF;
  --brand-blue-hover: #003ECC;
  --brand-blue-light: #EFF6FF;
  --brand-cyan: #00D2B4;
  --brand-cyan-light: #E6FAF7;

  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5D;

  --text-primary: #0A1128;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  --gradient-brand: linear-gradient(135deg, #0052FF 0%, #0099FF 50%, #00D2B4 100%);
  --gradient-blue: linear-gradient(135deg, #0052FF 0%, #0040CC 100%);
  --gradient-cta: linear-gradient(135deg, #0052FF 0%, #0084FF 100%);

  --shadow-sm: 0 2px 8px rgba(10, 17, 40, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(10, 17, 40, 0.08), 0 8px 10px -6px rgba(10, 17, 40, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(10, 17, 40, 0.12), 0 10px 15px -5px rgba(10, 17, 40, 0.06);
  --shadow-blue: 0 12px 28px rgba(0, 82, 255, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --nav-height: 86px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  -webkit-font-smoothing: antialiased;
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

.ambient-glow {
  display: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--brand-navy);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.025em;
}

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

/* Strict Image and SVG Sizing Rules */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Default bounds for common icon classes to prevent blowup */
.btn-icon {
  width: 18px !important;
  height: 18px !important;
}

.btn-circle-arrow svg {
  width: 14px !important;
  height: 14px !important;
}

.top-bar-item svg {
  width: 14px !important;
  height: 14px !important;
}

.top-bar-links svg {
  width: 15px !important;
  height: 15px !important;
}

.header-phone-icon svg {
  width: 18px !important;
  height: 18px !important;
}

.nav-toggle svg {
  width: 22px !important;
  height: 22px !important;
}

.hero-pretitle svg {
  width: 16px !important;
  height: 16px !important;
}

.hero-guarantee svg {
  width: 16px !important;
  height: 16px !important;
}

.about-feature-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.asymm-card .asymm-icon svg {
  width: 24px !important;
  height: 24px !important;
}

.section-tag svg {
  width: 16px !important;
  height: 16px !important;
}

.service-icon svg {
  width: 26px !important;
  height: 26px !important;
}

.service-features li svg {
  width: 16px !important;
  height: 16px !important;
}

.idea-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.project-btn svg {
  width: 16px !important;
  height: 16px !important;
}

.audience-title svg {
  width: 20px !important;
  height: 20px !important;
}

.lead-benefits li svg {
  width: 18px !important;
  height: 18px !important;
}

.direct-connect-btns .btn-icon {
  width: 18px !important;
  height: 18px !important;
}

.modal-close svg {
  width: 16px !important;
  height: 16px !important;
}

.case-box-title svg {
  width: 15px !important;
  height: 15px !important;
}

.faq-icon {
  width: 20px !important;
  height: 20px !important;
}

.footer-contact-item svg {
  width: 16px !important;
  height: 16px !important;
}

.floating-whatsapp-btn svg {
  width: 30px !important;
  height: 30px !important;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
}

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

/* ==========================================================================
   Top Information Bar (Matching reference header strip)
   ========================================================================== */
.top-bar {
  background: var(--brand-navy);
  color: #94A3B8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #CBD5E1;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--brand-cyan);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-links a {
  color: #94A3B8;
}

.top-bar-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Main Navbar (Clean White Background)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(10, 17, 40, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

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

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Call us today badge in header */
.header-phone-widget {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-phone-icon svg {
  width: 18px;
  height: 18px;
}

.header-phone-text {
  display: flex;
  flex-direction: column;
}

.header-phone-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.2;
}

.header-phone-num {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
}

.header-phone-num:hover {
  color: var(--brand-blue);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: #F8FAFC;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--brand-navy);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  background: #FFFFFF;
  padding: 28px 24px;
  border-top: 1px solid var(--border-color);
  flex-direction: column;
  justify-content: space-between;
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-navy);
}

/* ==========================================================================
   Buttons (Pill Shapes Matching Reference Design)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-blue);
  border: 1px solid var(--brand-blue);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 82, 255, 0.45);
  color: #FFFFFF;
}

.btn-circle-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}

.btn-circle-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #FFFFFF;
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--brand-navy);
  border: 1.5px solid var(--border-color);
}

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

.btn-lg {
  padding: 15px 34px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero Section (Pure White Background with Soft Blue Ambient Glow)
   ========================================================================== */
.hero-section {
  background-color: #FFFFFF;
  padding: 56px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 52px;
}

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

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
  margin-bottom: 22px;
  color: var(--brand-navy);
}

.hero-title .highlight-blue {
  color: var(--brand-blue);
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-guarantee svg {
  width: 16px;
  height: 16px;
  color: var(--brand-blue);
}

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

.hero-person-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  filter: drop-shadow(0 20px 35px rgba(0, 82, 255, 0.12));
}

/* ==========================================================================
   Second Section ("About / Scale Engineering Capacity") - From Reference
   ========================================================================== */
.about-split-section {
  padding: 88px 0;
  background-color: #FFFFFF;
  position: relative;
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.about-image-stack {
  position: relative;
}

.about-wave-bg {
  position: absolute;
  top: -30px;
  left: -40px;
  width: 240px;
  height: auto;
  z-index: 0;
  opacity: 0.75;
}

.about-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.about-badge-card {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 20px 40px rgba(10, 17, 40, 0.12);
  z-index: 2;
  text-align: center;
}

.about-badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 6px;
}

.about-badge-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content-col {
  display: flex;
  flex-direction: column;
}

.about-tag {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.about-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 18px;
}

.about-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 24px;
  height: 24px;
}

.about-feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.about-feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-signature-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.about-sign-text h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
}

.about-sign-text p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Third Section ("Why Choose Us / Asymmetric 2x2 Cards Grid") - From Reference
   ========================================================================== */
.why-split-section {
  padding: 88px 0;
  background-color: #FFFFFF !important;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 56px;
}

.why-left-content h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--brand-navy);
}

.why-left-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Asymmetric 2x2 Cards Grid */
.asymm-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Solid Blue Card */
.asymm-card.blue-card {
  background: var(--gradient-blue);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 34px 26px;
  box-shadow: 0 16px 32px rgba(0, 82, 255, 0.28);
  transition: transform var(--transition-normal);
}

.asymm-card.blue-card:hover {
  transform: translateY(-6px);
}

.asymm-card.blue-card .asymm-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.asymm-card.blue-card h4 {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.asymm-card.blue-card p {
  font-size: 14.5px;
  color: #FFFFFF !important;
  font-weight: 500;
  line-height: 1.55;
}

/* Pure White Card */
.asymm-card.white-card {
  background: #FFFFFF;
  color: var(--brand-navy);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.asymm-card.white-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.asymm-card.white-card .asymm-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.asymm-card.white-card h4 {
  font-size: 19px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
}

.asymm-card.white-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Trust Strip (4 Pillars on White)
   ========================================================================== */
.trust-strip {
  background-color: #FFFFFF !important;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 36px 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.trust-item:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.trust-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 2px;
}

.trust-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   Why Choose TheDivineX Grid
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.why-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.why-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.why-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Services Section (4 Primary Cards on White)
   ========================================================================== */
.section {
  padding: 88px 0;
  position: relative;
  background-color: #FFFFFF !important;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--brand-navy);
}

.section-title .text-gradient {
  color: var(--brand-blue);
}

.section-subtitle {
  font-size: 17.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.service-header {
  margin-bottom: 20px;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon.blue { background: var(--brand-blue-light); border: 1px solid rgba(0, 82, 255, 0.25); color: var(--brand-blue); }
.service-icon.cyan { background: var(--brand-cyan-light); border: 1px solid rgba(0, 210, 180, 0.35); color: #009985; }
.service-icon.purple { background: #FAF5FF; border: 1px solid rgba(168, 85, 247, 0.25); color: #9333EA; }
.service-icon.emerald { background: #ECFDF5; border: 1px solid rgba(16, 185, 129, 0.25); color: #059669; }

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--brand-navy);
}

.service-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.service-features li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-blue);
}

.service-cta:hover {
  color: var(--brand-blue-hover);
  gap: 12px;
}

/* ==========================================================================
   Idea-To-Product Grid
   ========================================================================== */
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.idea-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.idea-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.idea-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.idea-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.idea-icon svg {
  width: 20px;
  height: 20px;
}

.idea-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--brand-navy);
}

.idea-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.idea-card.cta-highlight {
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.08) 0%, rgba(0, 210, 180, 0.1) 100%);
  border: 2px dashed var(--brand-blue);
}

.idea-card.cta-highlight .idea-title {
  font-size: 18px;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.idea-card.cta-highlight .idea-desc {
  color: var(--brand-blue);
  font-weight: 700;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 9px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-navy);
}

.filter-btn.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.35);
}

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

.project-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.project-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-color);
}

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

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

.status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.completed { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.status-badge.in-dev { background: #FFFBEB; color: #D97706; border: 1px solid #FDE68A; }

.type-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(10, 17, 40, 0.9);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.project-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.project-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tech-tag {
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 82, 255, 0.15);
  color: var(--brand-blue);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 82, 255, 0.25);
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.project-btn:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  overflow-y: auto;
}

.modal-overlay.active { display: flex; }

.modal-container {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.modal-close:hover { background: var(--brand-blue); color: #FFFFFF; }
.modal-content { padding: 36px; }
.modal-title { font-size: 28px; font-weight: 800; color: var(--brand-navy); margin-bottom: 8px; }
.modal-img { width: 100%; height: 300px; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 24px; background: #F8FAFC; border: 1px solid var(--border-color); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.case-study-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.case-box { background: #F8FAFC; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; }
.case-box-title { font-size: 13.5px; font-weight: 800; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 8px; }
.case-box-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.modal-cta-box {
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.08) 0%, rgba(0, 210, 180, 0.1) 100%);
  border: 1px solid rgba(0, 82, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Development Process & Audience
   ========================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
}

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

.audience-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.audience-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.audience-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audience-title svg {
  width: 22px;
  height: 22px;
  color: var(--brand-blue);
}

.audience-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   11. Lead Generation Section (Pure White, Premium Agency Card)
   ========================================================================== */
.lead-section {
  background: #F8FAFC;
  padding: 80px 0;
}

.lead-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  box-shadow: 0 20px 40px -15px rgba(10, 17, 40, 0.07), 0 1px 3px rgba(10, 17, 40, 0.04);
  position: relative;
  overflow: hidden;
}

.lead-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0052FF 0%, #00D2B4 100%);
}

.lead-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.lead-info-col h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.lead-info-col p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.lead-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.lead-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: #334155;
  line-height: 1.5;
}

.lead-benefits li .lead-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.lead-benefits li .lead-check-icon svg {
  width: 14px;
  height: 14px;
}

.lead-benefits li strong {
  color: var(--brand-navy);
}

.direct-connect-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
}

.direct-connect-card h4 {
  font-size: 12.5px;
  color: #64748B;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.direct-connect-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.direct-contact-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
}

.direct-contact-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.direct-contact-tile.whatsapp:hover {
  border-color: var(--whatsapp-green);
}

.direct-contact-tile.email:hover {
  border-color: var(--brand-blue);
}

.direct-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-contact-tile.whatsapp .direct-contact-icon {
  background: #E8FBF0;
  color: var(--whatsapp-green);
}

.direct-contact-tile.email .direct-contact-icon {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

.direct-contact-icon svg {
  width: 20px;
  height: 20px;
}

.direct-contact-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.direct-contact-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.2;
}

.direct-contact-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.direct-contact-arrow {
  color: #94A3B8;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.direct-contact-arrow svg {
  width: 16px;
  height: 16px;
}

.direct-contact-tile:hover .direct-contact-arrow {
  transform: translateX(3px);
  color: var(--brand-blue);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-navy);
}

.form-input, .form-select, .form-textarea {
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--brand-navy);
  transition: all var(--transition-fast);
  width: 100%;
  font-family: inherit;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #94A3B8;
}

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

/* 2x2 Interactive Project Selection Grid */
.project-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.project-tile {
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  text-align: left;
}

.project-tile:hover {
  border-color: #94A3B8;
  background: #FFFFFF;
}

.project-tile.active {
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
  box-shadow: 0 2px 10px rgba(0, 82, 255, 0.12);
}

.project-tile-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.project-tile-content {
  display: flex;
  flex-direction: column;
}

.project-tile-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.2;
}

.project-tile.active .project-tile-title {
  color: var(--brand-blue);
}

.project-tile-desc {
  font-size: 11px;
  color: #64748B;
  margin-top: 2px;
}

.project-tile.active .project-tile-desc {
  color: #0040CC;
}

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

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

.form-privacy-note {
  font-size: 13px;
  color: #64748B;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
  margin-bottom: 16px;
  line-height: 1.5;
}

.form-alert:empty {
  display: none !important;
}

.form-alert.form-alert-success {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  color: #065F46;
}

.form-alert.form-alert-error {
  background: #FEF2F2;
  border: 1.5px solid #EF4444;
  color: #991B1B;
}

/* ==========================================================================
   FAQ & Footer
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--brand-navy);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--brand-blue);
  transition: transform var(--transition-normal);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer-inner {
  padding: 0 26px 24px 26px;
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.final-cta {
  background: linear-gradient(135deg, #F8FAFC 0%, var(--brand-blue-light) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 96px 0;
  text-align: center;
}

.final-cta-title {
  font-size: 46px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 18px;
}

.final-cta-desc {
  font-size: 18.5px;
  color: var(--text-secondary);
  margin-bottom: 34px;
}

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 36px 0;
}

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

.footer-brand p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 18px 0 24px 0;
}

.footer-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--brand-blue);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  z-index: 95;
  box-shadow: 0 -8px 20px rgba(10, 17, 40, 0.08);
}

.mobile-bar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 10px;
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 4px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.mobile-bar-btn.whatsapp { background: var(--whatsapp-green); color: #FFFFFF; }
.mobile-bar-btn.call { background: #FFFFFF; color: var(--brand-navy); border: 1px solid var(--border-color); }
.mobile-bar-btn.email { background: #FFFFFF; color: var(--brand-blue); border: 1.5px solid var(--brand-blue); }
.mobile-bar-btn.estimate { background: var(--brand-blue); color: #FFFFFF; }

/* ==========================================================================
   Quick Interactive Project Chips (Form UX Optimization)
   ========================================================================== */
.project-chips-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.project-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.project-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
}

.project-chip.active {
  background: #FFFFFF;
  color: var(--brand-blue);
  border-color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Responsive Design System (Tablets & Mobile Viewports)
   ========================================================================== */

/* 1. Tablet Landscape & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid, .about-split-grid, .why-split-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content, .about-content-col, .why-left-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-guarantee, .hero-ctas, .about-signature-block {
    justify-content: center;
  }
  .about-feature-item {
    text-align: left;
  }
  .ideas-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-box { grid-template-columns: 1fr; padding: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* 2. Tablets Portrait & Standard Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Header & Navigation */
  .top-bar { display: none; }
  .site-header { height: 70px; }
  .navbar { height: 70px; }
  .brand-logo img { height: 42px; }
  .nav-links, .nav-actions .header-phone-widget, .nav-actions .btn { display: none; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  
  /* Prevent horizontal scroll */
  body, html {
    overflow-x: hidden;
  }

  /* Hero Section */
  .hero-section {
    padding: 36px 0 48px 0;
    text-align: center;
  }
  .hero-pretitle {
    font-size: 12.5px;
    margin-bottom: 12px;
  }
  .hero-title {
    font-size: 34px;
    line-height: 1.18;
    margin-bottom: 16px;
  }
  .hero-description {
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-guarantee {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0 auto;
    max-width: 320px;
    font-size: 13px;
  }
  .hero-visual {
    margin-top: 24px;
  }
  .hero-person-img {
    max-width: 290px;
    margin: 0 auto;
  }

  /* About Split Section */
  .about-split-section {
    padding: 56px 0;
  }
  .about-wave-bg {
    display: none;
  }
  .about-main-img {
    height: 240px;
  }
  .about-badge-card {
    position: static;
    margin: 16px auto 0 auto;
    width: 100%;
    max-width: 220px;
    padding: 16px;
  }
  .about-title {
    font-size: 28px;
  }
  .about-feature-item {
    gap: 12px;
  }
  .about-feature-icon {
    width: 42px;
    height: 42px;
  }

  /* Why Split Section & Asymmetric Cards */
  .why-split-section {
    padding: 56px 0;
  }
  .why-left-content h2 {
    font-size: 28px;
  }
  .asymm-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .asymm-card.blue-card, .asymm-card.white-card {
    padding: 24px 20px;
  }

  /* Trust Strip */
  .trust-strip {
    padding: 28px 0;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trust-item {
    padding: 14px 16px;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 28px 20px;
  }

  /* Idea Grid */
  .ideas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .idea-card {
    padding: 16px 14px;
  }
  .idea-title {
    font-size: 14.5px;
  }
  .idea-desc {
    font-size: 12.5px;
  }

  /* Portfolio & Timelines */
  .portfolio-grid, .timeline-grid, .audience-grid, .why-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Lead Form Section */
  .lead-section {
    padding: 56px 0;
  }
  .lead-box {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    border-radius: 16px;
  }
  .lead-info-col h2 {
    font-size: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* Prevent iOS Safari zoom on input focus */
  .form-input, .form-select, .form-textarea {
    font-size: 16px !important;
    min-height: 48px;
  }

  /* Modal */
  .modal-container {
    padding: 20px 16px;
    margin: 16px;
    width: calc(100% - 32px);
    max-height: 85vh;
  }
  .modal-img {
    height: 180px;
  }
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Sticky Mobile Bottom Bar */
  .mobile-bottom-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 10px 14px;
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(10, 17, 40, 0.08);
  }
  body {
    padding-bottom: 76px;
  }

  /* Move floating WhatsApp above mobile bottom bar */
  .floating-whatsapp-btn {
    bottom: 78px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}

/* 3. Small Smartphones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 29px;
  }
  .about-title, .why-left-content h2, .section-title, .lead-info-col h2 {
    font-size: 24px;
  }
  .ideas-grid {
    grid-template-columns: 1fr;
  }
  .hero-person-img {
    max-width: 250px;
  }
  .project-selector-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .direct-connect-btns {
    flex-direction: column;
  }
  .direct-connect-btns .btn-whatsapp,
  .direct-connect-btns .btn-call {
    width: 100%;
  }
}
