/* ============================================
   Patel Jayeshbhai — main.css
   Fresh light theme · Emerald + Amber · Bento layout
   ============================================ */

:root {
  --emerald: #0f766e;
  --emerald-dark: #115e59;
  --emerald-light: #14b8a6;
  --amber: #f59e0b;
  --amber-soft: #fbbf24;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8faf9;
  --bg-alt: #ffffff;
  --bg-tint: #ecfdf5;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section {
  padding: 110px 0;
}

/* ===== Buttons ===== */
.btn-primary, .btn-ghost, .btn-light, .btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.28);
}
.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.36);
}
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--bg-tint);
}

.btn-light {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.32);
}
.btn-light:hover { background: var(--amber-soft); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ===== Section labels/headers ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--bg-tint);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-label i { font-size: 0.5rem; }

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.08rem;
  color: var(--muted);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--emerald);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(15,118,110,0.3);
}
.logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.logo-text em { font-style: normal; color: var(--emerald); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-menu a {
  font-family: 'Sora', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}
.nav-menu a:hover { color: var(--emerald); background: var(--bg-tint); }
.nav-menu a.active { color: var(--emerald); background: var(--bg-tint); }

.header-cta { margin-left: 8px; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}
.cta-phone:hover { border-color: var(--emerald); color: var(--emerald); }
.cta-phone i { color: var(--emerald); }

.nav-toggle {
  display: none;
  background: var(--white);
  border: 1.5px solid var(--line);
  width: 44px; height: 44px;
  border-radius: 12px;
  font-size: 1.4rem;
  color: var(--ink);
  cursor: pointer;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-overlay.active { display: block; opacity: 1; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 170px 0 90px;
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 62%);
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,118,110,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,118,110,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.hero-inner {
  position: relative;
  max-width: 860px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--emerald-dark);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 0 0 rgba(20,184,166,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20,184,166,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(20,184,166,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,184,166,0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 .highlight {
  color: var(--emerald);
  position: relative;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 12px;
  background: var(--amber-soft);
  opacity: 0.4;
  z-index: -1;
  border-radius: 4px;
}
.hero-desc {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number, .stat-plus {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  display: inline;
}
.stat-plus { color: var(--emerald); }
.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ===== Marquee ===== */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  animation: scroll 22s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}
.marquee-track .dot { color: var(--amber); font-size: 0.7rem; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== About ===== */
.about { background: var(--bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
}
.about-content > p {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.about-points { margin-bottom: 32px; }
.point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  padding: 10px 0;
}
.point i { color: var(--emerald); font-size: 1.3rem; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mini-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.35s var(--ease);
}
.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.mini-card i {
  font-size: 1.8rem;
  color: var(--emerald);
  margin-bottom: 14px;
  display: block;
}
.mini-card strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.mini-card span { font-size: 0.9rem; color: var(--muted); }
.mini-card.card-b { background: var(--bg-tint); }
.mini-card.card-b i { color: var(--emerald-dark); }
.mini-card.card-c { margin-top: -28px; }
.mini-card.card-a { margin-top: 28px; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--bg-tint);
  color: var(--emerald);
  font-size: 1.6rem;
  border-radius: 16px;
  margin-bottom: 22px;
  transition: all 0.35s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--emerald);
  color: #fff;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.service-card p { font-size: 0.98rem; color: var(--muted); }
.service-tag {
  position: absolute;
  top: 24px; right: 26px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--line);
  line-height: 1;
}

/* ===== Approach / Timeline ===== */
.approach { background: var(--bg-alt); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.timeline-item {
  position: relative;
  z-index: 1;
  text-align: center;
}
.timeline-num {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  background: var(--white);
  border: 2px solid var(--emerald);
  color: var(--emerald);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: all 0.35s var(--ease);
}
.timeline-item:hover .timeline-num {
  background: var(--emerald);
  color: #fff;
  transform: scale(1.1);
}
.timeline-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.timeline-body p { font-size: 0.95rem; color: var(--muted); }

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  transition: all 0.35s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.quote-mark {
  font-family: 'Sora', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 0.5;
  height: 30px;
  opacity: 0.5;
}
.quote {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--emerald);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  border-radius: 50%;
}
.testimonial-author strong {
  display: block;
  font-family: 'Sora', sans-serif;
  color: var(--ink);
  font-size: 1rem;
}
.testimonial-author span { font-size: 0.85rem; color: var(--muted); }

/* ===== CTA ===== */
.cta-banner {
  padding: 60px 0;
}
.cta-inner {
  background: var(--emerald);
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
  border-radius: 32px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.25), transparent 70%);
  border-radius: 50%;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
}
.cta-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===== Contact ===== */
.contact { background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}
.contact-info {
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: 40px 32px;
}
.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.info-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--emerald);
  font-size: 1.2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.info-item strong {
  display: block;
  font-family: 'Sora', sans-serif;
  color: var(--ink);
  margin-bottom: 4px;
}
.info-item p { font-size: 0.95rem; color: var(--ink-soft); }
.info-item a { color: var(--emerald-dark); }
.info-item a:hover { text-decoration: underline; }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-links a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--emerald);
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s var(--ease);
}
.social-links a:hover {
  background: var(--emerald);
  color: #fff;
  transform: translateY(-3px);
}

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: all 0.25s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15,118,110,0.1);
}
.form-group textarea { resize: vertical; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 70px 0 0;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text em { color: var(--amber-soft); }
.footer-about p {
  margin: 20px 0;
  font-size: 0.95rem;
  max-width: 340px;
}
.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-contact-info i { color: var(--amber-soft); margin-top: 3px; }
.footer-links h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer-links ul li { margin-bottom: 11px; }
.footer-links a {
  font-size: 0.93rem;
  color: #94a3b8;
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--amber-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.88rem; color: #64748b; }

/* ===== Scroll top ===== */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--emerald);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  z-index: 990;
  box-shadow: 0 10px 24px rgba(15,118,110,0.35);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--emerald-dark); transform: translateY(-3px); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .mini-card.card-a, .mini-card.card-c { margin-top: 0; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .timeline::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 82%; max-width: 340px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 100px 24px 40px;
    box-shadow: -10px 0 40px rgba(15,23,42,0.12);
    transition: right 0.4s var(--ease);
    z-index: 999;
    margin-left: 0;
  }
  .nav-menu.active { right: 0; }
  .nav-menu a { font-size: 1.05rem; padding: 14px 18px; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .hero { padding: 140px 0 70px; }
  .hero-stats { gap: 32px; }
  .stat-number, .stat-plus { font-size: 2.1rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-inner { padding: 52px 28px; }
}

@media (max-width: 560px) {
  .about-cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn-primary, .hero-buttons .btn-ghost { justify-content: center; }
  .hero-stats { justify-content: space-between; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
