/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #15b9d9;
  --primary-dk: #0d9ab8;
  --dark: #1a1a2e;
  --text: #3a3a3a;
  --muted: #5a5a5a;
  --light: #f5f8fa;
  --white: #fff;
  --shadow: 0 2px 14px rgba(0,0,0,.09);
  --radius: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  height: 64px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
}

.brand-sub {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}

.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  padding: .2rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-call {
  background: var(--primary);
  color: #fff;
  padding: .42rem 1.2rem;
  border-radius: 22px;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}

.btn-call:hover { background: var(--primary-dk); }

.hamburger {
  display: none;
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: .28rem .58rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text);
  margin-left: auto;
  line-height: 1;
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .btn-call { display: none; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: #fff;
    padding: 1rem 2rem 1.3rem;
    gap: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .65rem 0;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* =====================
   HERO — JS SLIDESHOW
   ===================== */
.hero {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111; /* dark fallback — prevents white flash */
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .85s ease;
}

.slide.active { opacity: 1; }

.slide-1 {
  background-image:
    linear-gradient(rgba(0,0,0,.48), rgba(0,0,0,.52)),
    url('img/carousel1.jpg');
}

.slide-2 {
  background-image:
    linear-gradient(rgba(0,0,0,.48), rgba(0,0,0,.52)),
    url('img/carousel2.jpg');
}

/* Prev / Next arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.hero-arrow:hover {
  background: var(--primary-dk);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}

.hero-arrow.left  { left: 20px; }
.hero-arrow.right { right: 20px; }

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 1.5rem;
  max-width: 840px;
}

.hero-overlay h1 {
  font-size: 3.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: .35rem;
}

.hero-loc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.4rem;
}

.hindi-banner {
  background: #ffe600;
  color: #1a1a1a;
  font-weight: 600;
  font-size: .92rem;
  padding: .7rem 1.1rem;
  border-radius: 5px;
  line-height: 2;
}

/* =====================
   PAGE BANNER (service / contact)
   ===================== */
.page-banner {
  background:
    linear-gradient(rgba(0,0,0,.52), rgba(0,0,0,.54)),
    url('img/carousel-2.jpg') center / cover no-repeat;
  padding: 5.5rem 1.5rem 3.2rem;
  text-align: center;
}

.page-banner h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  color: rgba(255,255,255,.72);
}

.breadcrumb a { color: #fff; }
.breadcrumb .sep { opacity: .55; }

/* =====================
   SECTION GENERIC
   ===================== */
.section { padding: 4.5rem 0; }
.section-light { background: var(--light); }

.section-head {
  text-align: center;
  margin-bottom: 2.6rem;
}

.section-head .label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
}

.section-head h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: .28rem 0 .6rem;
}

.section-head p {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: .95rem;
}

/* =====================
   SERVICE CARDS
   ===================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform .22s, box-shadow .22s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}

.card img {
  height: 185px;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.05rem 1.2rem 1.25rem;
}

.card-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
}

.card-body p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: .65rem 1.9rem;
  border-radius: 24px;
  font-size: .93rem;
  font-weight: 600;
  transition: background .2s;
}

.btn-primary:hover { background: var(--primary-dk); color: #fff; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2.2rem; }

/* =====================
   CONTACT PAGE
   ===================== */
.contact-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.3rem; }

.info-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.info-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .22rem;
}

.info-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

.info-card a { color: var(--muted); }
.info-card a:hover { color: var(--primary); }

.map-wrap iframe {
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

@media (max-width: 720px) {
  .contact-layout { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 320px; }
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background:
    linear-gradient(rgba(0,0,0,.91), rgba(0,0,0,.91)),
    url('img/carousel-2.jpg') center / cover no-repeat;
  color: rgba(255,255,255,.65);
  padding: 3.8rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
  padding-bottom: 2.8rem;
}

.footer-grid h4 {
  font-size: .97rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.footer-grid p { font-size: .88rem; line-height: 1.75; }

.footer-grid ul li {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .42rem;
  line-height: 1.55;
}

.footer-grid ul li a {
  color: rgba(255,255,255,.6);
  transition: color .2s;
}

.footer-grid ul li a:hover { color: var(--primary); }

.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  max-width: 1160px;
  margin: 0 auto;
}

.copyright a { color: rgba(255,255,255,.6); }
.copyright a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* =====================
   BACK TO TOP
   ===================== */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: background .2s;
  line-height: 1;
}

.back-top:hover { background: var(--primary-dk); }

/* =====================
   RESPONSIVE FONTS
   ===================== */
@media (max-width: 640px) {
  .hero-overlay h1 { font-size: 2.2rem; }
  .section-head h2  { font-size: 1.8rem; }
  .page-banner h2   { font-size: 1.8rem; }
}
