/* style.css */
/* Mobile-first reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #1e2a3a;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-sub {
  text-align: center;
  color: #4a627a;
  margin-bottom: 2rem;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* sticky header */
.site-header {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  z-index: 1000;
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-area a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1f5e3a;
}

.logo-area img {
  width: 36px;
  height: 36px;
  border-radius: 0; /* no oval corners */
}

.logo-text span {
  color: #e67e22;
}

/* center text mobile only */
.header-center-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c5e3a;
  background: #f0f7f2;
  padding: 0.25rem 0.75rem;
  border-radius: 0;
  display: none;
}

/* desktop nav */
.desktop-nav ul {
  display: none;
  gap: 2rem;
  list-style: none;
}

.desktop-nav a {
  text-decoration: none;
  font-weight: 500;
  color: #1e2a3a;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: #e67e22;
}

/* hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamb-line {
  width: 100%;
  height: 2.5px;
  background-color: #1f5e3a;
  border-radius: 0;
  transition: all 0.2s;
}

/* mobile menu panel */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
}

.mobile-menu.open {
  max-height: 300px;
}

.mobile-menu ul {
  list-style: none;
  padding: 1rem 1.5rem;
}

.mobile-menu li {
  margin: 1rem 0;
}

.mobile-menu a {
  text-decoration: none;
  font-weight: 500;
  color: #1e2a3a;
  font-size: 1.1rem;
  display: block;
}

/* sticky call button */
.sticky-call-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #25d366;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.2rem;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  font-weight: 600;
  z-index: 1100;
  border: none;
  font-size: 0.9rem;
}

.sticky-call-btn svg {
  fill: white;
  width: 22px;
  height: 22px;
}

/* Hero section */
.hero-section {
  padding: 3rem 0 2rem;
  background: #fef9f0;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  background: #e67e2220;
  color: #b45f1b;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.hero-contact-details {
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.contact-item a {
  color: #1f5e3a;
  text-decoration: none;
}

.btn-primary {
  background: #1f5e3a;
  color: white;
  padding: 0.9rem 1.8rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  border: none;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #144b2e;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* Slideshow */
.slideshow-section {
  padding: 3rem 1rem;
  background: white;
}

.slideshow-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
  animation: fadeEffect 0.8s;
}

@keyframes fadeEffect {
  from {opacity: 0.4;}
  to {opacity: 1;}
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.dots-container {
  text-align: center;
  padding: 1rem 0;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  display: inline-block;
  cursor: pointer;
}

.active-dot {
  background-color: #e67e22;
}

/* Google Form */
.form-section {
  background: #f8fafc;
  padding: 3rem 0;
}

.form-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: white;
  border: 1px solid #e2e8f0;
}

.form-wrapper iframe {
  width: 100%;
  height: auto;
  min-height: 700px;
  display: block;
  border: 0;
}

/* Services Grid */
.services-section {
  padding: 4rem 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-top: 2rem;
}

.service-card {
  background: #fefaf5;
  padding: 1.8rem;
  transition: transform 0.2s;
  border-left: 4px solid #e67e22;
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

/* why section */
.why-section {
  padding: 4rem 0;
  background: #f0f4f0;
}

.why-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.trust-list {
  list-style: none;
  margin: 1.5rem 0;
}

.trust-list li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.author-bio {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1rem;
  margin-top: 1rem;
}

.author-bio img {
  border-radius: 0;
  width: 48px;
  height: 48px;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.stat-number {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  color: #e67e22;
}

/* Gallery */
.gallery-section {
  padding: 4rem 0;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: 0.2s;
  border-radius: 0;
}

/* CTA Section */
.cta-section {
  background: #1f5e3a;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.cta-inner h2 {
  color: white;
}

.cta-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-secondary {
  background: #e67e22;
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
footer {
  background: #111;
  color: #ccc;
  padding: 2rem 0;
  text-align: center;
}

footer a {
  color: #e67e22;
  text-decoration: none;
}

.footer-links {
  margin-top: 0.8rem;
  font-size: 0.85rem;
}

/* desktop adjustments */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .hero-content { flex: 1; }
  .hero-image { flex: 1; }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    flex-direction: row;
    justify-content: space-between;
  }
  .why-content { flex: 2; }
  .why-stats { flex: 1; display: flex; flex-direction: column; gap: 1rem;}
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .header-center-text {
    display: block; /* visible on tablet/desktop? but requirement: center text between logo and hamburger on mobile only, but we keep for style, fine */
  }
  .desktop-nav ul {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
  .header-center-text {
    display: none; /* hide center text on desktop, only on mobile as per spec */
  }
}

/* ensure form iframe responsive */
@media (max-width: 640px) {
  .form-wrapper iframe {
    height: 800px;
  }
}

/* Full stylesheet – loaded after critical CSS */
.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  position: relative;
}
.section-sub {
  text-align: center;
  color: #4a627a;
  margin-bottom: 2rem;
}
.form-section {
  background: #f8fafc;
  padding: 3rem 0;
}
.form-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: white;
  border: 1px solid #e2e8f0;
}
.services-section {
  padding: 4rem 0;
  background: white;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-top: 2rem;
}
.service-card {
  background: #fefaf5;
  padding: 1.8rem;
  transition: transform 0.2s;
  border-left: 4px solid #e67e22;
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}
.why-section {
  padding: 4rem 0;
  background: #f0f4f0;
}
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.trust-list {
  list-style: none;
  margin: 1.5rem 0;
}
.trust-list li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}
.author-bio {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1rem;
  margin-top: 1rem;
}
.author-bio img {
  border-radius: 0;
  width: 48px;
  height: 48px;
}
.stat-card {
  background: white;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.stat-number {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  color: #e67e22;
}
.gallery-section {
  padding: 4rem 0;
  background: white;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: 0.2s;
  border-radius: 0;
}
.cta-section {
  background: #1f5e3a;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}
.cta-inner h2 {
  color: white;
}
.cta-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.btn-secondary {
  background: #e67e22;
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
}
footer {
  background: #111;
  color: #ccc;
  padding: 2rem 0;
  text-align: center;
}
footer a {
  color: #e67e22;
  text-decoration: none;
}
.footer-links {
  margin-top: 0.8rem;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    flex-direction: row;
    justify-content: space-between;
  }
  .why-content { flex: 2; }
  .why-stats { flex: 1; display: flex; flex-direction: column; gap: 1rem;}
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}