/* UDAYWAL'S SERVICES — Design System */

:root {
  --uds-navy: #0b3d5c;
  --uds-blue: #1565a8;
  --uds-teal: #1a8a8c;
  --uds-gold: #c9a227;
  --uds-gold-dark: #a8841a;
  --uds-light: #f4f7fb;
  --uds-muted: #5b6b7c;
  --uds-dark: #12263a;
  --uds-white: #ffffff;
  --uds-shadow: 0 10px 30px rgba(11, 61, 92, 0.12);
  --uds-radius: 14px;
  --font-en: "Poppins", system-ui, sans-serif;
  --font-hi: "Noto Sans Devanagari", "Poppins", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--uds-dark);
  background: var(--uds-white);
  line-height: 1.6;
}

html[lang="hi"] body {
  font-family: var(--font-hi);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--uds-blue);
  text-decoration: none;
}

a:hover {
  color: var(--uds-teal);
}

:focus-visible {
  outline: 3px solid var(--uds-gold);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 16px rgba(11, 61, 92, 0.08);
}

.top-bar {
  background: var(--uds-navy);
  color: #d7e6f2;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}

.top-bar a {
  color: #d7e6f2;
  margin-right: 1.25rem;
}

.top-bar a:hover {
  color: var(--uds-gold);
}

.navbar {
  padding: 0.65rem 0;
  border-bottom: 1px solid #e8eef4;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--uds-navy) !important;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.brand-mark {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(240px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 72px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
}

.navbar-nav .nav-link {
  color: var(--uds-dark) !important;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--uds-blue) !important;
  background: rgba(21, 101, 168, 0.08);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid #d5e0ea;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--uds-muted);
  cursor: pointer;
}

.lang-btn.active {
  background: var(--uds-navy);
  color: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--uds-gold), var(--uds-gold-dark));
  color: #1a1400 !important;
  border: 0;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
}

.btn-accent:hover {
  filter: brightness(1.05);
  color: #1a1400 !important;
}

.btn-primary-uds {
  background: var(--uds-blue);
  border: 0;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
}

.btn-primary-uds:hover {
  background: var(--uds-navy);
  color: #fff;
}

.btn-outline-uds {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  background: transparent;
}

.btn-outline-uds:hover {
  background: #fff;
  color: var(--uds-navy);
}

/* Hero & sections */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 61, 92, 0.88), rgba(26, 138, 140, 0.72)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.hero-content {
  padding: 5rem 0 4rem;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.hero .lead {
  font-size: 1.15rem;
  max-width: 640px;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--uds-light);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-weight: 700;
  color: var(--uds-navy);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--uds-muted);
  max-width: 680px;
  margin: 0 auto;
}

.page-banner {
  background:
    linear-gradient(120deg, rgba(11, 61, 92, 0.9), rgba(26, 138, 140, 0.75)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: #fff;
  padding: 4rem 0 3rem;
}

.page-banner h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-banner p {
  opacity: 0.92;
  max-width: 640px;
  margin: 0;
}

/* Cards */
.feature-card,
.service-card,
.property-card,
.value-card,
.gallery-card,
.industry-card {
  background: #fff;
  border: 0;
  border-radius: var(--uds-radius);
  box-shadow: var(--uds-shadow);
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.service-card:hover,
.property-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 61, 92, 0.16);
}

.feature-card .card-body,
.service-card .card-body,
.property-card .card-body,
.value-card .card-body {
  padding: 1.35rem;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(26, 138, 140, 0.12);
  color: var(--uds-teal);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card img,
.property-card img,
.gallery-card img,
.about-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-card img {
  height: 220px;
}

.gallery-card img {
  height: 220px;
}

.badge-soft {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  color: var(--uds-gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.price-tag {
  color: var(--uds-blue);
  font-weight: 700;
  font-size: 1.1rem;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--uds-teal);
  font-weight: 700;
}

/* About */
.founder-photo-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.founder-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
  background: #e8eef4;
}

.founder-quote {
  background: var(--uds-navy);
  color: #fff;
  border-radius: var(--uds-radius);
  padding: 2rem;
  position: relative;
}

.contact-email-list li {
  margin-bottom: 0.35rem;
}

.contact-email-list .email-label {
  opacity: 0.9;
}

.founder-quote::before {
  content: "“";
  font-size: 4rem;
  line-height: 1;
  color: var(--uds-gold);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  opacity: 0.5;
}

.mission-box {
  background: #fff;
  border-left: 4px solid var(--uds-gold);
  border-radius: 0 var(--uds-radius) var(--uds-radius) 0;
  padding: 1.5rem;
  box-shadow: var(--uds-shadow);
  height: 100%;
}

/* Contact */
.contact-info-card {
  background: var(--uds-navy);
  color: #fff;
  border-radius: var(--uds-radius);
  padding: 2rem;
  height: 100%;
}

.contact-info-card a {
  color: #cfe7f7;
}

.contact-info-card a:hover {
  color: var(--uds-gold);
}

.contact-info-card .info-item {
  margin-bottom: 1.25rem;
}

.map-frame {
  border: 0;
  border-radius: var(--uds-radius);
  width: 100%;
  min-height: 320px;
  box-shadow: var(--uds-shadow);
}

.form-card {
  background: #fff;
  border-radius: var(--uds-radius);
  box-shadow: var(--uds-shadow);
  padding: 2rem;
}

.form-label {
  font-weight: 500;
  color: var(--uds-dark);
}

.form-control,
.form-select {
  border-radius: 10px;
  border-color: #d5e0ea;
  padding: 0.7rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--uds-teal);
  box-shadow: 0 0 0 0.2rem rgba(26, 138, 140, 0.2);
}

.alert-success-uds {
  background: #e8f7f0;
  border: 1px solid #9ad4b5;
  color: #1d6b45;
  border-radius: 10px;
}

.alert-danger-uds {
  background: #fdeeee;
  border: 1px solid #efb4b4;
  color: #8a2a2a;
  border-radius: 10px;
}

/* Footer */
.site-footer {
  background: var(--uds-dark);
  color: #c9d5e0;
  padding: 3.5rem 0 0;
  margin-top: 0;
}

.footer-brand {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
  .brand-mark {
    height: 46px;
  }
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.45rem;
}

.footer-links a,
.footer-contact a {
  color: #c9d5e0;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--uds-gold);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding: 1.1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* WhatsApp float — icon only (works even if old text markup is still compiled) */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-float .whatsapp-icon {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background: center / 28px 28px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

.whatsapp-float svg.whatsapp-icon {
  background: none;
  color: #fff !important;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

.cta-band {
  background: linear-gradient(120deg, var(--uds-navy), var(--uds-teal));
  color: #fff;
  border-radius: var(--uds-radius);
  padding: 2.5rem;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid #d5e0ea;
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-weight: 500;
  color: var(--uds-muted);
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--uds-navy);
  border-color: var(--uds-navy);
  color: #fff;
}

.gallery-item[hidden] {
  display: none !important;
}

/* Stats bar */
.stats-bar {
  background: var(--uds-navy);
  color: #fff;
  padding: 1.75rem 0;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--uds-gold);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.google-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.google-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.google-badge-stars {
  color: var(--uds-gold);
  font-weight: 700;
}

/* Testimonials */
.testimonial-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.testimonial-track {
  position: relative;
  min-height: 220px;
}

.testimonial-card {
  padding: 1.5rem;
}

.testimonial-card[hidden] {
  display: none !important;
}

.testimonial-stars {
  color: var(--uds-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26, 138, 140, 0.15);
  color: var(--uds-teal);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d5e0ea;
  background: #fff;
  color: var(--uds-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.testimonial-nav:hover {
  background: var(--uds-navy);
  color: #fff;
  border-color: var(--uds-navy);
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--uds-navy);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--uds-teal);
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--uds-muted);
}

.faq-answer[hidden] {
  display: none !important;
}

/* Footer map & certs */
.footer-map {
  margin-top: 2rem;
}

.footer-map .map-frame {
  min-height: 220px;
  max-height: 260px;
}

.footer-certs {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.footer-certs li {
  margin-bottom: 0.25rem;
}

.footer-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  color: var(--uds-gold) !important;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 68vh;
  }

  .hero .container.hero-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .navbar-nav {
    padding: 0.75rem 0 1rem;
  }

  .navbar-nav .nav-link {
    padding: 0.65rem 0.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .hero .container.hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.1rem);
    line-height: 1.25;
    max-width: 100%;
  }

  .hero .lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  .page-banner {
    padding: 3rem 0 2rem;
  }

  .page-banner .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .form-card {
    padding: 1.25rem;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}
