/* Surya Service Experts - modern service website styles */
:root {
  --brand-primary: #006d77;
  --brand-secondary: #ee9b00;
  --brand-accent: #0a9396;
  --bg-soft: #edf6f9;
  --bg-warm: #fff8ee;
  --text-strong: #1f2937;
  --text-muted: #4b5563;
  --white: #ffffff;
  --border-soft: #dbe4ea;
  --shadow-sm: 0 8px 22px rgba(8, 28, 47, 0.08);
  --shadow-md: 0 20px 45px rgba(8, 28, 47, 0.15);
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --transition: all 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text-strong);
  line-height: 1.7;
  background: linear-gradient(180deg, #f8fbfc 0%, #ffffff 28%, #f7fafc 100%);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 4.6rem 0;
}

.section-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.section-subtitle {
  margin: 0 auto 2.4rem;
  max-width: 720px;
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.highlight {
  color: var(--brand-primary);
}

.top-strip {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  color: var(--white);
  font-size: 0.92rem;
}

.top-strip .container {
  min-height: 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(219, 228, 234, 0.8);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.25;
}

.brand small {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link,
.drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  color: var(--text-strong);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover,
.drop-toggle:hover,
.nav-link.active,
.drop-toggle.active {
  background: var(--bg-soft);
  color: var(--brand-primary);
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  padding: 0.5rem;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.68rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text-strong);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--bg-soft);
  color: var(--brand-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand-primary), var(--brand-accent));
  color: var(--white);
  padding: 0.76rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
  padding: 0.72rem 1.2rem;
}

.btn-outline:hover {
  background: var(--bg-soft);
}

.mobile-toggle {
  display: none;
  min-width: 44px;
  height: 44px;
  padding: 0 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--white);
  color: var(--text-strong);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4.8rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(8px);
  z-index: -1;
}

.hero::before {
  left: -140px;
  top: -80px;
  background: radial-gradient(circle, rgba(10, 147, 150, 0.2), transparent 72%);
}

.hero::after {
  right: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(238, 155, 0, 0.2), transparent 70%);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--bg-soft);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 3.5vw, 3.3rem);
  line-height: 1.18;
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.hero-image {
  border-radius: 16px;
  object-fit: cover;
  min-height: 340px;
  width: 100%;
}

.stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.stat {
  border: 1px dashed #c9d9e0;
  border-radius: 12px;
  text-align: center;
  padding: 0.7rem 0.5rem;
}

.stat h3 {
  margin: 0;
  color: var(--brand-primary);
  font-size: 1.28rem;
}

.stat p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--brand-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card img {
  height: 185px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.service-card h3,
.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.services-enquiry-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.services-grid-block {
  margin: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card p.muted {
  margin-bottom: 0.5rem;
}

.service-problems {
  margin: 0 0 1.2rem 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  list-style: none;
  flex-grow: 1;
}

.service-problems li {
  position: relative;
  margin-bottom: 0.35rem;
}

.service-problems li::before {
  content: "•";
  color: var(--brand-primary);
  position: absolute;
  left: -1rem;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  top: -1px;
}

.service-card .btn {
  margin-top: auto;
}

.enquiry-panel {
  text-align: left;
  position: sticky;
  top: 96px;
}

.muted {
  color: var(--text-muted);
}

.brands {
  background: var(--bg-soft);
  border-top: 1px solid #d6e6eb;
  border-bottom: 1px solid #d6e6eb;
}

.brand-pill {
  text-align: center;
  background: var(--white);
  border-radius: 999px;
  padding: 0.7rem;
  border: 1px solid var(--border-soft);
  font-weight: 600;
}

.testimonial {
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -11px;
  right: 10px;
  font-size: 3.2rem;
  color: rgba(10, 147, 150, 0.18);
  font-weight: 700;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1rem 1.1rem;
  text-align: left;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.faq-answer {
  border-top: 1px solid var(--border-soft);
  padding: 0 1.1rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding: 0.95rem 1.1rem;
}

.cta {
  background: linear-gradient(120deg, #003d4c, #0a9396);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.cta p {
  color: #f2f6f7;
}

.form-wrap {
  background: var(--white);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd9df;
  border-radius: 10px;
  padding: 0.78rem 0.9rem;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(10, 147, 150, 0.24);
  border-color: var(--brand-accent);
}

.form-note {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.success-msg {
  display: none;
  color: #05603a;
  background: #e7f8ee;
  border: 1px solid #8cd7b2;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

.success-msg.show {
  display: block;
}

footer {
  background: #0f172a;
  color: #e2e8f0;
  margin-top: 2rem;
}

.footer-grid {
  padding: 3rem 0 1.6rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.6fr 1fr 1fr;
}

.footer-title {
  margin: 0 0 0.6rem;
  color: #f8fafc;
}

.footer-links a {
  display: inline-block;
  margin-bottom: 0.42rem;
  color: #d6e4ee;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.sub-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.32);
  padding: 0.9rem 0 1.1rem;
  font-size: 0.84rem;
  color: #c9d5e1;
}

.float-stack {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 999;
  display: grid;
  gap: 0.65rem;
}

.float-btn {
  min-width: 58px;
  padding: 0;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-call {
  background: #006d77;
}

.float-whatsapp {
  background: #25d366;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #0b1424;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bar a {
  color: var(--white);
  text-align: center;
  padding: 0.86rem 0.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-bar a:first-child {
  background: #006d77;
}

.mobile-bar a:last-child {
  background: #128c7e;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    top: 78px;
    right: 0;
    width: min(360px, 96vw);
    height: calc(100vh - 78px);
    background: #ffffff;
    border-left: 1px solid var(--border-soft);
    transform: translateX(110%);
    transition: var(--transition);
    padding: 1.1rem;
    align-items: flex-start;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-link,
  .drop-toggle {
    width: 100%;
    justify-content: space-between;
    border-radius: 11px;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: 0;
    box-shadow: none;
    padding: 0.3rem 0.45rem;
    margin-top: 0.25rem;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .desktop-cta {
    display: none;
  }

  .hero-grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .services-enquiry-layout {
    grid-template-columns: 1fr;
  }

  .enquiry-panel {
    position: static;
  }

  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.6rem;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .top-strip {
    font-size: 0.8rem;
  }

  .top-strip .container {
    min-height: 46px;
  }

  .section {
    padding: 3.6rem 0;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .float-stack {
    bottom: 72px;
  }

  .mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: 58px;
  }
}
