/* ===== SERVICES.CSS — Kapoor & Nair ===== */
/* Aesthetic: Clean white canvas with deep midnight teal. Bold alternating blocks. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FFFFFF;
  --off: #F8F9FC;
  --off-2: #F0F2F7;
  --teal: #0E4D5C;
  --teal-2: #1A6F84;
  --teal-light: rgba(14,77,92,0.08);
  --teal-glow: rgba(14,77,92,0.15);
  --ink: #0D1117;
  --text: #2C3440;
  --muted: #6B7688;
  --gold: #C8A96E;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--text); font-family: var(--font-body); overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); }
em { font-style: italic; color: var(--teal-2); }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); font-family: var(--font-body);
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--teal); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--white);
  padding: 16px 30px; border-radius: 6px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--teal-2); transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(14,77,92,0.3); }
.btn-large { padding: 20px 40px; font-size: 17px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 22px 0; transition: var(--transition); }
.nav.scrolled { background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); padding: 14px 0; border-bottom: 1px solid rgba(14,77,92,0.1); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 40px; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); }
.logo-icon { color: var(--teal); font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { color: var(--teal); }
.nav-cta { display: inline-block; padding: 10px 22px; background: var(--teal); color: var(--white); border-radius: 6px; font-size: 13px; font-weight: 600; transition: var(--transition); }
.nav-cta:hover { background: var(--teal-2); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: 0.3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* SERVICES HERO */
.srv-hero {
  background: var(--ink); color: var(--white);
  padding: 160px 0 100px; position: relative; overflow: hidden;
}
.sh-bg { position: absolute; inset: 0; }
.sh-circle {
  position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.sh-c1 { width: 500px; height: 500px; background: rgba(14,77,92,0.25); top: -100px; right: -50px; }
.sh-c2 { width: 400px; height: 400px; background: rgba(14,77,92,0.15); bottom: -100px; left: -50px; animation: sh-float 8s ease-in-out infinite; }
@keyframes sh-float { 0%,100% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.05) translate(20px,-20px); } }
.sh-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.sh-content { position: relative; z-index: 2; max-width: 700px; }
.sh-content h1 { font-size: clamp(48px, 6vw, 80px); margin: 20px 0 24px; }
.sh-content p { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,0.6); max-width: 560px; }
.sh-pills { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.pill {
  padding: 10px 22px; border: 1px solid rgba(255,255,255,0.15); border-radius: 40px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75);
  transition: var(--transition); cursor: pointer;
}
.pill:hover { border-color: var(--teal-2); color: var(--white); background: rgba(14,77,92,0.3); }

/* SERVICE BLOCKS */
.service-block { padding: 100px 0; background: var(--white); }
.service-block.sb-alt { background: var(--off); }
.sb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sb-num {
  font-size: 80px; font-family: var(--font-display); font-weight: 900;
  color: var(--teal-light); line-height: 1; margin-bottom: -10px;
  letter-spacing: -0.02em;
}
.sb-content h2 { font-size: clamp(36px, 4vw, 54px); margin: 16px 0 24px; }
.sb-content p { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 20px; }
.sb-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0 36px; }
.sb-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.sb-list li i { color: var(--teal); margin-top: 3px; font-size: 13px; }

.sb-visual { position: relative; }
.img-placeholder {
  width: 100%; aspect-ratio: 4/3; background: var(--off-2);
  border: 1px solid rgba(14,77,92,0.1); border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: var(--muted); transition: var(--transition);
}
.img-placeholder i { font-size: 56px; color: var(--teal-light); }
.img-placeholder span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.sb-visual:hover .img-placeholder { border-color: rgba(14,77,92,0.25); }

.sb-stat {
  position: absolute; bottom: -20px;
  background: var(--teal); color: var(--white);
  padding: 18px 24px; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(14,77,92,0.3);
}
.sb-stat-right { right: -20px; }
.sb-stat-left { left: -20px; }
.sb-stat strong { display: block; font-size: 28px; font-family: var(--font-display); font-weight: 700; }
.sb-stat small { font-size: 12px; color: rgba(255,255,255,0.7); }

/* SERVICES CTA */
.srv-cta { background: var(--ink); padding: 100px 0; }
.scta-inner { text-align: center; }
.scta-inner h2 { font-size: clamp(32px, 4vw, 50px); color: var(--white); margin-bottom: 16px; }
.scta-inner p { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* FOOTER */
.footer { background: var(--ink); color: var(--white); padding: 80px 0 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 64px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; margin-bottom: 20px; }
.footer-logo i { color: var(--gold); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 300px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); font-size: 14px; transition: var(--transition); }
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-family: var(--font-body); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact { gap: 14px !important; }
.footer-contact li { font-size: 13px; color: rgba(255,255,255,0.45); display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.footer-contact li i { color: var(--gold); min-width: 14px; margin-top: 3px; font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.3); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .sb-grid { grid-template-columns: 1fr; gap: 48px; }
  .sb-right .sb-visual { order: -1; }
  .sb-stat { position: static; margin-top: 16px; display: inline-block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .sh-pills { gap: 8px; }
  .pill { font-size: 12px; padding: 8px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); padding: 100px 32px; gap: 24px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 22px; color: var(--ink); }
  .nav-cta { display: none; }
  .hamburger { display: flex; z-index: 1001; }
  .container { padding: 0 24px; }
}
