/* Jai Maa Santoshi Pvt. Ltd. - Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@600;700&display=swap');

:root {
  --primary: #128c7e;
  --primary-dark: #0a6b5f;
  --accent: #25d366;
  --accent-light: #dcf8c6;
  --dark: #1a1a2e;
  --text: #2d3436;
  --text-muted: #636e72;
  --light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 12px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
}

/* Typography */
h1, .h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}
h2, .h2, .section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.3;
}
h3, .h3, .card-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.35;
}
p, .card-text, .section-subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}
small, .text-small, .footer-bottom, .whatsapp-label {
  font-size: 14px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--primary-dark);
}

/* Layout */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--primary-dark);
}
.logo img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}
.logo-name span { color: var(--accent); }
@media (max-width: 600px) {
  .logo-name { font-size: 0.95rem; white-space: normal; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
}

/* Hero Slider - sliding images at top */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--dark);
}
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  min-height: 280px;
  max-height: 480px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 107, 95, 0.85) 0%, rgba(18, 140, 126, 0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--white);
}
.hero-slide-overlay h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hero-slide-overlay p {
  font-size: clamp(14px, 2vw, 17px);
  max-width: 520px;
  opacity: 0.95;
}
.hero-slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}
.hero-slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.hero-slider-dots span.active {
  background: var(--white);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .hero-slider {
    aspect-ratio: 16/10;
    min-height: 240px;
  }
}

/* Legacy hero (inner pages) */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.hero p {
  opacity: 0.95;
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section-alt {
  background: var(--light);
}
.section-title {
  color: var(--dark);
  margin-bottom: 0.75rem;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* Service duration badge */
.service-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18, 140, 126, 0.1);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2rem;
  border: 1px solid rgba(18, 140, 126, 0.2);
}
.service-duration strong { font-family: var(--font-head); }

/* Two-column layout: content first, images second */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col-content { }
.two-col-images {
  position: sticky;
  top: 6rem;
}
.two-col-images .services-slider-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  min-height: 320px;
  position: relative;
  background: var(--light);
}
.services-slider .services-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.services-slider .services-slide.active {
  opacity: 1;
  z-index: 1;
}
.services-slider .services-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}
.services-slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.3s;
}
.services-slider-dots span.active {
  background: var(--white);
}

@media (max-width: 900px) {
  .two-col-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .two-col-images { position: static; }
  .two-col-images .services-slider-wrap { min-height: 280px; }
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}
.card-body {
  padding: 1.5rem;
}
.card-title {
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.card-text {
  color: var(--text-muted);
  font-size: 17px;
}

/* Service list (text-only in two-col) */
.service-list {
  list-style: none;
}
.service-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.service-list li:last-child { border-bottom: none; }
.service-list a {
  font-weight: 500;
  color: var(--dark);
}
.service-list a:hover { color: var(--primary); }
.service-list .btn-outline {
  padding: 0.4rem 0.9rem;
  font-size: 14px;
}

/* About Us + Why Choose Us in one row */
.section-about-why .about-why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.section-about-why .section-title {
  text-align: left;
  margin-bottom: 1rem;
}
.section-about-why .section-subtitle {
  text-align: left;
  margin: 0 0 1rem;
}
.section-about-why .about-col .section-subtitle + p {
  margin-top: 0;
}
.section-about-why .why-list {
  max-width: none;
  margin: 0;
}
@media (max-width: 768px) {
  .section-about-why .about-why-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section-about-why .section-title,
  .section-about-why .section-subtitle { text-align: center; }
  .section-about-why .why-list { margin: 0 auto; max-width: 520px; }
}

/* Why Choose Us - checklist */
.why-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
}
.why-list li {
  padding: 0.75rem 0;
  padding-left: 2.25rem;
  position: relative;
  color: var(--text);
  font-size: 17px;
}
.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.why-list li::after {
  content: '✓';
  position: absolute;
  left: 0.25rem;
  top: 0.6rem;
  font-size: 0.65rem;
  color: var(--white);
  font-weight: bold;
}

/* Service detail blocks */
.service-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
}
.service-block:nth-child(even) {
  direction: rtl;
}
.service-block:nth-child(even) > * {
  direction: ltr;
}
.service-block-img {
  height: clamp(200px, 35vh, 320px);
  width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--light);
}
.service-block-content {
  padding: 1.5rem 2rem;
}
.service-block h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.service-block p,
.service-block ul {
  font-size: 17px;
  line-height: 1.6;
}
.service-block ul {
  margin-left: 1.25rem;
  color: var(--text-muted);
}
.service-block li {
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .service-block,
  .service-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service-block-content { padding: 1.25rem; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-grid h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--accent-light);
}
.footer-grid p,
.footer-grid a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.footer-grid a:hover {
  color: var(--accent);
}
.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-info-card {
  background: var(--light);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.contact-info-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}
.contact-info-card p,
.contact-info-card a {
  margin-bottom: 0.5rem;
  color: var(--text);
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--dark);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 17px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Contact page – Google Map embed */
.contact-map-wrap {
  margin-top: 0.5rem;
}
.contact-map-wrap .section-title {
  text-align: left;
  margin-bottom: 1rem;
}
.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-map-wrap .section-title { text-align: center; }
}

/* WhatsApp floating buttons - bottom right */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  color: var(--white);
}
.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.whatsapp-label {
  font-size: 0.75rem;
  color: var(--text);
  background: var(--white);
  padding: 2px 8px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  margin-right: 8px;
}
.whatsapp-float .wa-row {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

/* Page header (for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.25rem;
}
.page-hero p {
  font-size: 17px;
  opacity: 0.95;
}

/* Utility */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
