/* =============================================
   HOME PAGE — index.css
   ============================================= */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.18) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,110,138,0.2) 0%, transparent 70%);
  bottom: -80px; left: 10%;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1160px;
  margin: 0 auto; padding: 0 5%;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
}
.hero-content { }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  animation: blink 1.4s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.hero-title em {
  font-style: italic;
  color: var(--teal-bright);
}
.hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--teal-bright);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* 3D Logo animation area */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
#logo-canvas {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 40px rgba(0,180,216,0.35));
}
.hero-visual-ring {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(0,180,216,0.2);
  animation: ring-rotate 20s linear infinite;
}
.hero-visual-ring-2 {
  width: 460px; height: 460px;
  border-color: rgba(0,180,216,0.1);
  animation-direction: reverse;
  animation-duration: 30s;
}
@keyframes ring-rotate { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 28px 5%;
}
.trust-bar-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
}
.trust-icon {
  width: 36px; height: 36px;
  background: rgba(0,180,216,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-mid); font-size: 1rem;
}
.trust-text-label { font-size: 0.78rem; color: var(--text-muted); }
.trust-text-val { font-size: 0.88rem; font-weight: 600; color: var(--navy); }

/* ── INTRO SECTION ── */
.intro { background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* image gets more space */
  gap: 4rem;
  align-items: center;
}
.intro-img-wrap {
  position: relative;
  margin-left: -250px; /* adjust as needed */
}

.intro-img-bg {
  width: 110%;
  height: 500px;
  overflow: hidden;
  border-radius: 24px;
}

.intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center; /* focus image toward left */
  display: block;
}
.intro-img-bg svg { width: 200px; opacity: 0.9; }
.intro-pill {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: center;
}
.intro-pill-icon {
  width: 40px; height: 40px;
  background: rgba(0,180,216,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.intro-pill-text strong { display: block; font-size: 0.9rem; color: var(--navy); }
.intro-pill-text span  { font-size: 0.78rem; color: var(--text-muted); }
.intro-list { list-style: none; margin-top: 1.5rem; }
.intro-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.93rem; color: var(--text-body);
}
.intro-list li:last-child { border-bottom: none; }
.intro-list-icon { color: var(--teal-bright); font-size: 1rem; margin-top: 2px; }

/* ── SERVICES PREVIEW ── */
.services-preview { background: var(--navy); }
.services-preview .section-title { color: var(--white); }
.services-preview .section-sub { color: rgba(255,255,255,0.5); }
.services-preview-label { color: rgba(0,180,216,0.7); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1160px; margin: 0 auto;
}
.service-card-mini {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: all var(--transition);
  cursor: pointer;
}
.service-card-mini:hover {
  background: rgba(0,180,216,0.08);
  border-color: rgba(0,180,216,0.4);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px; height: 48px;
  background: rgba(0,180,216,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.service-card-mini h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.5rem; }
.service-card-mini p { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.6; }
.service-card-mini .arrow {
  display: inline-flex; margin-top: 1rem;
  color: var(--teal-bright); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em;
  gap: 4px; align-items: center;
}

/* ── WHY US ── */
.why-us { background: var(--off-white); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1160px; margin: 0 auto;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.why-card:hover {
  border-color: rgba(0,180,216,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-card-icon {
  font-size: 1.8rem; margin-bottom: 1rem;
  display: block;
}
.why-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.83rem; color: var(--text-muted); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-dark));
  padding: 80px 5%;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-img-wrap {
    display: block;
    margin-left: 0;
    width: 100%;
    order: -1;
  }

  .intro-img-bg {
    width: 100%;
    height: 400px;
  }

  .intro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .intro-pill {
    right: 15px;
    bottom: 15px;
  }
}
@media (max-width: 768px) {

  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  .hero-stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
    gap: 1.5rem;
    justify-content: center;
  }

  .hero-stat-num {
    font-size: 1.4rem;
  }

  .hero-stat-label {
    font-size: 0.72rem;
  }

  .hero-visual {
    margin-top: 1rem;
  }

  #logo-canvas {
    max-width: 280px;
  }

  .hero-visual-ring {
    width: 220px;
    height: 220px;
  }

  .hero-visual-ring-2 {
    width: 300px;
    height: 300px;
  }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; }
}
.why-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  display: block;
}

.why-card h3 {
  margin-bottom: 0.75rem;
}

.why-card p {
  margin-bottom: 0;
}
.intro-img-bg {
  width: 100%;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}