/* index.css — Homepage specific styles (extends shared.css) */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    linear-gradient(150deg, rgba(10,15,30,0.82) 0%, rgba(15,23,42,0.78) 50%, rgba(17,24,39,0.85) 100%),
    url('assets/hero.jpeg');
  background-size: cover;
  background-position: center;
  padding: 5.5rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

/* Animated radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -50px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,106,0,0.18) 0%, transparent 65%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 65%);
  pointer-events: none;
}
@keyframes heroGlow {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.15); opacity: 1; }
}

/* Dot grid pattern */
.hero-decoration {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,106,0,0.12);
  color: #fb923c;
  border: 1px solid rgba(255,106,0,0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 1.25rem;
  color: white;
  letter-spacing: -0.03em;
}
.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.hero-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.hero-stat { }
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero-stat-num span { color: var(--primary); }
.hero-stat-label {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.2rem;
  font-weight: 500;
}

/* ============================================================
   QUICK SERVICES
   ============================================================ */
.quick-services {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}
.quick-inner { max-width: 1280px; margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  margin-bottom: 1.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.service-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,106,0,0.03), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(255,106,0,0.12);
  transform: translateY(-3px);
  background: white;
}
.service-card:hover::after { opacity: 1; }

.service-card-icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
  display: block;
}
.service-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}
.service-card-badge {
  font-size: 0.65rem;
  background: hsla(142,71%,45%,0.1);
  color: hsl(142,62%,32%);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  display: inline-block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.show-all-btn {
  background: var(--primary);
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.show-all-btn .chev {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.8em;
}
.show-all-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg); padding: 5rem 1.5rem; }
.features-inner { max-width: 1280px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}
.section-header p { color: var(--muted-fg); font-size: 1rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), hsl(35,100%,60%));
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 1.1rem;
  display: block;
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  color: var(--foreground);
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.feature-btns { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ============================================================
   ENQUIRY FORM
   ============================================================ */
.enquiry {
  background: white;
  padding: 5rem 1.5rem;
  position: relative;
}
.enquiry::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.enquiry-inner { max-width: 660px; margin: 0 auto; }

.enquiry h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.enquiry p { color: var(--muted-fg); margin-bottom: 2.25rem; line-height: 1.7; }

/* ============================================================
   TRUSTED / LOGOS
   ============================================================ */
.trusted { background: var(--bg); padding: 4rem 1.5rem; border-top: 1px solid var(--border); }
.trusted-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.trusted-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  margin-bottom: 2rem;
}
.logos-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.logo-pill {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1.5rem;
  font-weight: 800;
  color: var(--muted-fg);
  font-size: 0.9rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.logo-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   CTA DARK
   ============================================================ */
.cta-dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 60%, #1a1f35 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,106,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-dark h2 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  position: relative;
}
.cta-dark p {
  color: #64748b;
  margin-bottom: 2.25rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { padding: 3.5rem 1.25rem 3rem; min-height: 360px; background-position: center 20%; }
  .hero-stats { gap: 1.5rem; padding-top: 2rem; margin-top: 2rem; }
  .hero-stat-num { font-size: 1.3rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .features { padding: 3.5rem 1.25rem; }
  .enquiry { padding: 3.5rem 1.25rem; }
  .trusted { padding: 3rem 1.25rem; }
  .cta-dark { padding: 3.5rem 1.25rem; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { width: 100%; justify-content: center; }
  .hero-stats { gap: 1rem; }
  .feature-card { padding: 1.5rem; }
}
