:root {
  --bg: #0f172a;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #f59e0b;
  --accent-2: #1d4ed8;
  --white: #ffffff;
  --border: #e2e8f0;
  --section: #f8fafc;
}
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
section[id] { scroll-margin-top: 90px; }
.container {
  width: min(1120px, calc(100% - 32px));
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-header {
  background: linear-gradient(135deg, #0f172a, #111827);
  color: white;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 6px 20px rgba(15,23,42,0.2);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #fb7185);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.hero {
  background: radial-gradient(circle at top left, #dbeafe, #f8fafc 50%, #f8fafc);
  padding: 52px 0 38px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
}
.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
}
.hero h1,
.page-header h1 { margin: 0 0 12px; font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1.1; }
.hero-description,
.page-header p,
.about-section p,
.gallery-info p,
.service-card p,
.contact-info p,
.location-card p,
.testimonial-card p,
.faq-item p { color: var(--muted); }
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.btn { background: var(--accent-2); color: white; }
.btn-secondary { background: transparent; border: 1px solid #0f172a; color: #0f172a; }
.hero-visual img {
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(15,23,42,0.16);
  width: 100%;
  object-fit: cover;
  height: 430px;
}
.hero-badge {
  margin-top: 12px;
  text-align: center;
  background: rgba(37,99,235,0.08);
  color: var(--accent-2);
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
}
.trusted-logos,
.stats,
.testimonials,
.services-grid,
.gallery-grid,
.contact-layout,
.about-grid,
.location-layout,
.faq-list {
  display: grid;
  gap: 22px;
}
.trusted-strip {
  background: #0f172a;
  color: white;
  padding: 16px 0;
  text-align: center;
}
.trusted-logos {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
}
.trusted-logos span {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 16px;
  border-radius: 999px;
}
.page-section { padding: 0 0 32px; }
.profile-card,
.location-card,
.service-card,
.gallery-item,
.contact-info,
.contact-form,
.about-section,
.testimonial-card,
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}
.profile-card,
.location-card,
.contact-form,
.contact-info,
.about-section,
.service-card,
.gallery-item,
.testimonial-card,
.faq-item {
  padding: 22px;
}
.profile-grid,
.location-layout,
.contact-layout,
.about-grid,
.testimonials,
.services-grid,
.gallery-grid,
.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-grid { display: grid; gap: 26px; }
.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.badge {
  background: #dcfce7;
  color: #166534;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}
.location-layout {
  display: grid;
  align-items: center;
}
.location-visual {
  background: linear-gradient(135deg, #1d4ed8, #93c5fd);
  min-height: 260px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 3rem;
}
.location-details h2,
.section-title { margin-top: 0; }
.icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.service-card h3,
.gallery-info h3,
.contact-info h3,
.testimonial-card strong,
.faq-item h3 { margin-top: 0; }
.category-tag {
  display: inline-block;
  background: var(--section);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
}

/* Services banner */
.services-banner {
  margin: 18px 0 28px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #0b1220 0%, #172033 100%);
  box-shadow: 0 14px 30px rgba(11,18,32,0.06);
  color: white;
}
.services-features {
  display: flex;
  gap: 18px;
  align-items: stretch;
  justify-content: space-between;
}
.service-feature {
  flex: 1 1 0;
  text-align: center;
  padding: 12px 10px;
}
.service-feature .icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.service-feature h4 { margin: 6px 0; font-size: 1rem; color: #ffd54f; }
.service-feature p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.85); }

@media (max-width: 860px) {
  .services-features { flex-direction: column; gap: 12px; }
  .service-feature { text-align: left; display: flex; gap: 12px; align-items: center; }
  .service-feature .icon { font-size: 24px; }
  .service-feature p { font-size: 0.85rem; }
}
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-image {
  height: 210px;
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  cursor: pointer;
}
.image-placeholder { background: #e2e8f0; border-radius: 15px; min-height: 210px; display: grid; place-items: center; font-size: 3rem; }
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.contact-info .info-item + .info-item { margin-top: 18px; }
.form-group { margin-bottom: 16px; }
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
textarea { resize: vertical; }
.submit-btn {
  border: none;
  border-radius: 12px;
  background: var(--accent-2);
  color: white;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
}
.success {
  background: #dcfce7;
  color: #166534;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 700;
}
.page-header {
  padding: 40px 0 0;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-card {
  background: white;
  border-radius: 18px;
  padding: 16px;
  max-width: 680px;
  width: 100%;
}
.modal-img {
  width: 100%;
  border-radius: 10px;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}
.modal-actions { text-align: right; margin-top: 12px; }
.close-btn {
  background: #0f172a;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.85);
  padding: 24px 0;
  margin-top: 32px;
}

/* Slider styles (fade transition) */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}
.slider .slides {
  position: relative;
  width: 100%;
  height: 360px;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-indicators .indicator {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
}
.slider-indicators .indicator.active {
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(29,78,216,0.12);
}

@media (max-width: 860px) {
  .slider .slides { height: 220px; }
  .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 18px; }
}

/* Reduce extra vertical gap below the slider when followed by a page section */
.slider-section { padding-bottom: 8px; }
.slider-section + .container.page-section { padding-top: 12px; }

@media (max-width: 860px) {
  .container { width: calc(100% - 24px); }
  .hero-grid,
  .contact-layout,
  .location-layout,
  .profile-grid,
  .services-grid,
  .gallery-grid,
  .testimonials,
  .faq-list,
  .trusted-logos,
  .about-grid { grid-template-columns: 1fr; }
  .navbar { flex-direction: column; gap: 12px; align-items: stretch; }
  .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 10px; justify-content: center; }
  .nav-links a { width: 100%; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,0.08); }
  .hero { padding: 24px 0 16px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions a { width: 100%; }
  .hero-visual { width: 100%; }
  .hero-visual img { height: auto; }
  .services-features, .trusted-logos { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .trusted-logos { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .service-card, .gallery-item, .contact-info, .contact-form, .about-section, .testimonial-card, .faq-item { padding: 18px; }
  .site-header { position: relative; }
  .site-header .container { width: 100%; padding: 0 0 0 0; }
  .site-header .navbar { padding: 12px 0; }
  .brand { width: 100%; justify-content: center; }
}
