/* =============================================================
   HOME PAGE CSS — 3D INTERACTIVE TILT & MODERN AGENCY LOOK
   ============================================================= */

/* === HERO SECTION === */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(112, 184, 32, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
              var(--bg-main);
  padding: 84px 0 68px;
  overflow: hidden;
  position: relative;
}

.hero-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  box-shadow: var(--sh-sm);
}

.hero-tag span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(112, 184, 32, 0.25);
  animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.7; }
}

.hero h1 {
  font-size: clamp(3rem, 2rem + 4.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  color: var(--navy);
  font-weight: 900;
}

.hero h1 .highlight {
  color: var(--green);
  position: relative;
  display: inline-block;
}

.hero > .wrap > .hero-grid > div:first-child > p {
  font-size: 19px;
  color: var(--text-body);
  line-height: 1.68;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-main {
  width: 100%;
  max-width: 480px;
  height: 440px;
  object-fit: cover;
  border-radius: var(--r-3xl);
  box-shadow: 0 24px 56px -12px rgba(11, 14, 35, 0.22);
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* Floating KPI Badges */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 12px 18px;
  box-shadow: 0 12px 30px -4px rgba(11, 14, 35, 0.12), 0 0 0 1px rgba(11, 14, 35, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: float-card 4.5s ease-in-out infinite;
}

.hero-float-card.card-1 { top: 20px; left: -24px; animation-delay: 0s; }
.hero-float-card.card-2 { bottom: 32px; left: -20px; animation-delay: 1.8s; }
.hero-float-card.card-3 { top: 80px; right: -24px; animation-delay: 0.9s; }
.hero-float-card.card-4 { bottom: 120px; right: -18px; animation-delay: 2.5s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

.hero-float-card .fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.fc-icon.green { background: var(--green-pale); color: var(--green-dark); }
.fc-icon.navy { background: var(--navy-pale); color: var(--navy); }
.fc-icon.gold { background: var(--accent-light); color: var(--accent); }

.hero-float-card .fc-text b {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.hero-float-card .fc-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-float-card .fc-val {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green-dark);
  margin-left: 8px;
}

@media (max-width: 1024px) {
  .hero-float-card.card-1 { left: -10px; }
  .hero-float-card.card-3 { right: -10px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .hero-img-main { height: 360px; }
}

@media (max-width: 520px) {
  .hero-float-card.card-1 { display: none; }
  .hero-float-card.card-4 { display: none; }
}

/* === BUSINESS VERTICALS STRIP === */
.biz-strip {
  background: var(--white);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.business-types {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.biz-type-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all var(--t-fast);
}

.biz-type-pill i {
  color: var(--green-dark);
  font-size: 13px;
}

.biz-type-pill:hover {
  background: var(--white);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

/* === SERVICES SECTION === */
.services-intro {
  background: var(--bg-main);
}

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

.svc-card {
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

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

.svc-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 460px;
  box-shadow: var(--sh-lg);
}

.svc-card.tall {
  grid-row: span 2;
  min-height: 340px;
  box-shadow: var(--sh-lg);
}

.svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 35, 0.1) 0%, rgba(11, 14, 35, 0.92) 80%);
}

.svc-card-body {
  position: relative;
  z-index: 2;
  padding: 36px;
  margin-top: auto;
  color: var(--white);
}

.svc-card-body .svc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.svc-card-body h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.svc-card-body p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 480px;
}

.svc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  transition: gap var(--t-fast);
}

.svc-card:hover .svc-arrow {
  gap: 10px;
}

/* Plain Cards */
.svc-card.plain {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.svc-card.plain:hover {
  border-color: var(--green);
  box-shadow: var(--sh-md);
}

.svc-card.plain .svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.svc-card.plain .svc-icon.green-bg { background: var(--green-pale); color: var(--green-dark); }
.svc-card.plain .svc-icon.navy-bg { background: var(--navy-pale); color: var(--navy); }
.svc-card.plain .svc-icon.gold-bg { background: var(--accent-light); color: var(--accent); }

.svc-card.plain h3 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.svc-card.plain p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.svc-card.plain .svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  transition: all var(--t-fast);
}

.svc-card.plain:hover .svc-link {
  color: var(--green-dark);
  gap: 10px;
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-card.featured { grid-column: span 2; grid-row: span 1; min-height: 320px; }
  .svc-card.tall { grid-row: span 1; min-height: 260px; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-card.featured, .svc-card.tall { grid-column: span 1; min-height: 280px; }
}

/* ============================================================
   3D INTERACTIVE TILT CARDS — EXACT MATCH FOR REFERENCE DESIGN
   ============================================================ */

/* 3D Perspective Container */
.perspective-container {
  perspective: 1200px;
}

/* Why Us Section matching User's uploaded screenshot */
.why-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1200px;
}

.why-card-3d,
.tilt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 38px 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(11, 14, 35, 0.04);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  will-change: transform;
}

/* Header of 3D Card: Number + Circle Icon */
.card-3d-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  transform: translateZ(20px);
}

.step-num-3d {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: transform 0.3s ease;
}

.badge-circle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(11, 14, 35, 0.15);
}

/* Card Body Content with 3D Depth */
.card-3d-body {
  transform: translateZ(25px);
}

.why-card-3d h3,
.tilt-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.why-card-3d p,
.tilt-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.68;
  margin: 0;
}

/* Active Highlight Card State (Matching Middle Card in Reference) */
.tilt-card.highlight-card,
.why-card-3d.highlight-card {
  background: linear-gradient(180deg, #FFFDF8 0%, var(--accent-light) 100%);
  border-color: var(--accent-border);
  box-shadow: 0 12px 36px -6px var(--accent-glow);
}

.tilt-card.highlight-card .badge-circle-icon,
.why-card-3d.highlight-card .badge-circle-icon {
  background: var(--accent);
  color: #FFFFFF;
}

/* Hover Micro-interactions */
.why-card-3d:hover,
.tilt-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 20px 48px -10px var(--accent-glow), 0 0 0 1px var(--accent-border);
}

.why-card-3d:hover .badge-circle-icon,
.tilt-card:hover .badge-circle-icon {
  background: var(--accent);
  color: #FFFFFF;
  transform: scale(1.1) rotate(6deg);
}

@media (max-width: 900px) {
  .why-row { grid-template-columns: 1fr; }
}

/* === PROCESS STEPS SECTION === */
.process-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-steps-3d {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1200px;
}

@media (max-width: 1024px) {
  .process-steps-3d { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .process-steps-3d { grid-template-columns: 1fr; }
}

/* === TESTIMONIALS (REFERENCE SPLIT SLIDER STYLE) === */
.testi-split-section {
  background: var(--white);
  padding: 104px 0;
  overflow: hidden;
}

.testi-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.testi-content-side {
  position: relative;
  display: flex;
  flex-direction: column;
}

.testi-slider-wrapper {
  position: relative;
  min-height: 280px;
}

.testi-slide {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testi-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.testi-quote-mark {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  user-select: none;
}

.testi-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-head);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.testi-meta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 24px;
}

.testi-author-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}

.testi-author-info span {
  font-size: 13.5px;
  color: var(--text-muted);
}

.testi-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  border-left: 2px solid var(--border);
}

.testi-rating-badge i {
  color: #10B981;
  font-size: 13px;
}

/* Slider Dots Indicator Matching Screenshot (Pill for Active, Circle for Inactive) */
.testi-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testi-dot.active {
  width: 28px;
  border-radius: 100px;
  background: var(--navy);
}

/* Right Visual Portrait Side */
.testi-visual-side {
  position: relative;
}

.testi-image-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  border-radius: var(--r-3xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(11, 14, 35, 0.2);
}

.testi-portrait-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Floating Talk With Us Badge */
.testi-float-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(11, 14, 35, 0.3);
  transition: transform var(--t-fast), background var(--t-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.testi-float-badge i {
  color: #25D366;
  font-size: 16px;
}

.testi-float-badge:hover {
  background: var(--navy-mid);
  transform: translateY(-2px) scale(1.03);
}

@media (max-width: 960px) {
  .testi-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .testi-image-frame {
    margin: 0 auto;
    max-width: 100%;
  }
  .testi-portrait-img {
    height: 400px;
  }
  .testi-slider-wrapper {
    min-height: auto;
  }
}

/* === DOMAIN & HOSTING COMING SOON === */
.coming-soon-section {
  background: var(--bg-subtle);
}

.coming-soon-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-3xl);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 158, 0, 0.15);
  border: 1px solid rgba(229, 158, 0, 0.35);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.coming-soon-card h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.coming-soon-card > .cs-content > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16.5px;
  margin-bottom: 24px;
}

.cs-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.cs-feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  padding: 7px 16px;
  border-radius: 8px;
}

.cs-feature-pill i {
  color: var(--green);
}

.notify-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
}

.notify-form input[type="email"] {
  flex: 1;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: var(--white);
  font-size: 14.5px;
  outline: none;
  transition: all var(--t-fast);
}

.notify-form input:focus {
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.14);
}

.notify-form button {
  background: var(--green);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t-fast);
}

.notify-form button:hover {
  background: var(--green-dark);
}

.notify-success {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 14.5px;
  font-weight: 700;
}

.cs-visual {
  display: flex;
  justify-content: center;
}

.cs-globe {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 184, 32, 0.15) 0%, rgba(11, 14, 35, 0.4) 70%);
  border: 1px solid rgba(112, 184, 32, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(112, 184, 32, 0.15);
}

.cs-globe i {
  font-size: 72px;
  color: var(--green);
}

@media (max-width: 900px) {
  .coming-soon-card { grid-template-columns: 1fr; padding: 44px 32px; }
  .cs-visual { display: none; }
}

@media (max-width: 520px) {
  .notify-form { flex-direction: column; }
}