/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; color: #1d1e20; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, button { font-family: inherit; }

/* ===== HEADER / NAV ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header .logo { font-size: 1.1rem; font-weight: 700; color: #1d1e20; letter-spacing: 1px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: #1d1e20; position: relative; padding-bottom: 4px; }
.nav-links a:hover, .nav-links a.active { color: #387C6D; }
.nav-links a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #387C6D; }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #2a6e5e 0%, #387C6D 30%, #4a9e8a 60%, #6dbfaa 100%);
  color: #fff; text-align: center;
  padding: 100px 20px 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 70%);
}
.hero h1 { font-size: 3.2rem; font-weight: 700; letter-spacing: 4px; margin-bottom: 16px; position: relative; }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; position: relative; }
.btn-hero {
  display: inline-block; padding: 14px 40px;
  border: 2px solid #fff; color: #fff; border-radius: 30px;
  font-weight: 600; font-size: 1rem; transition: all 0.3s;
  position: relative;
}
.btn-hero:hover { background: #fff; color: #387C6D; }

/* ===== CARDS ROW (Hero bottom) ===== */
.hero-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 50px; position: relative;
}
.hero-card { position: relative; overflow: hidden; height: 240px; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  padding: 20px; color: #fff; font-weight: 500; font-size: 0.95rem;
  text-align: center;
}

/* ===== SECTION GENERAL ===== */
.section { padding: 80px 40px; max-width: 1200px; margin: 0 auto; }
.section-dark { background: #1d2b2f; color: #fff; padding: 80px 40px; }
.section-light { background: #f0f5f3; padding: 80px 40px; }
.section-teal { background: linear-gradient(135deg, #2a6e5e, #387C6D); color: #fff; padding: 80px 40px; }
.section-title { font-size: 2.2rem; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-subtitle { font-size: 1.05rem; text-align: center; opacity: 0.8; margin-bottom: 50px; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-text h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; font-style: italic; }
.about-text p { font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.about-img { position: relative; }
.about-img img { width: 100%; border-radius: 4px; }
.stats-overlay {
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  background: #387C6D; color: #fff; padding: 24px 40px;
  border-radius: 4px; display: flex; gap: 40px; min-width: 320px;
}
.stat-item h3 { font-size: 2rem; font-weight: 700; }
.stat-item p { font-size: 0.85rem; opacity: 0.8; }

.btn-outline {
  display: inline-block; padding: 12px 32px;
  border: 2px solid #1d1e20; color: #1d1e20; border-radius: 30px;
  font-weight: 600; font-size: 0.95rem; transition: all 0.3s;
}
.btn-outline:hover { background: #387C6D; color: #fff; border-color: #387C6D; }
.btn-outline-white {
  display: inline-block; padding: 12px 32px;
  border: 2px solid #fff; color: #fff; border-radius: 30px;
  font-weight: 600; font-size: 0.95rem; transition: all 0.3s;
}
.btn-outline-white:hover { background: #fff; color: #387C6D; }

/* ===== SERVICES CARDS ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.service-card-body p { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* ===== SERVICE DETAIL ===== */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto 60px; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail img { width: 100%; border-radius: 8px; height: 320px; object-fit: cover; }
.service-detail-text h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.service-detail-text h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.service-detail-text p { font-size: 1rem; line-height: 1.7; color: #555; }

/* ===== TESTIMONIALS ===== */
.testimonials { max-width: 1200px; margin: 0 auto; }
.testimonials h2 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.testimonials .subtitle { font-size: 1rem; color: #777; margin-bottom: 40px; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testimonial-card {
  background: #fff; padding: 30px; border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.testimonial-card .stars { color: #ffc107; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-card p { font-size: 0.95rem; line-height: 1.6; color: #555; margin-bottom: 16px; }
.testimonial-card .author { font-weight: 700; font-size: 0.9rem; }

/* ===== NEWSLETTER / CTA ===== */
.newsletter { text-align: center; max-width: 600px; margin: 0 auto; }
.newsletter h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.newsletter p { font-size: 1rem; opacity: 0.8; margin-bottom: 30px; }
.newsletter-form { display: flex; gap: 12px; justify-content: center; }
.newsletter-form input {
  padding: 12px 20px; border: 1px solid #ddd; border-radius: 30px;
  font-size: 0.95rem; width: 300px; outline: none;
}
.newsletter-form input:focus { border-color: #387C6D; }
.newsletter-form button, .btn-teal {
  padding: 12px 28px; background: #387C6D; color: #fff;
  border: none; border-radius: 30px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; transition: background 0.3s;
}
.newsletter-form button:hover, .btn-teal:hover { background: #2a6e5e; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; max-width: 1200px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 0.95rem; outline: none; transition: border 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #387C6D; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form button {
  padding: 14px 32px; background: #387C6D; color: #fff;
  border: none; border-radius: 30px; font-weight: 600;
  font-size: 1rem; cursor: pointer; align-self: flex-start; transition: background 0.3s;
}
.contact-form button:hover { background: #2a6e5e; }
.contact-img img { width: 100%; border-radius: 8px; }

/* ===== LOCATION ===== */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.location-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.location-info p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }

/* ===== FOOTER ===== */
.footer {
  background: #1d2b2f; color: #fff; padding: 60px 40px 30px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; max-width: 1200px; margin: 0 auto 40px;
}
.footer-col h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.footer-col p, .footer-col a { font-size: 0.9rem; color: #ccc; line-height: 1.8; display: block; }
.footer-col a:hover { color: #fff; }
.footer-form { display: flex; gap: 8px; margin-top: 12px; }
.footer-form input {
  padding: 10px 14px; border: 1px solid #555; border-radius: 30px;
  background: transparent; color: #fff; font-size: 0.85rem; flex: 1; outline: none;
}
.footer-form button {
  padding: 10px 20px; background: #387C6D; color: #fff;
  border: none; border-radius: 30px; font-weight: 600; font-size: 0.85rem; cursor: pointer;
}
.social-links { display: flex; gap: 12px; margin-top: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center; font-size: 1rem;
  transition: background 0.3s;
}
.social-links a:hover { background: #387C6D; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #888; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: #f0f5f3; padding: 60px 40px; text-align: center;
}
.cta-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 1rem; color: #555; margin-bottom: 30px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header { padding: 16px 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; gap: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 2rem; letter-spacing: 2px; }
  .hero { padding: 60px 20px 40px; }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-card { height: 200px; }
  .about-grid, .service-detail, .contact-grid, .location-grid, .service-detail.reverse { grid-template-columns: 1fr; gap: 30px; direction: ltr; }
  .stats-overlay { position: relative; bottom: 0; left: 0; transform: none; width: 100%; justify-content: center; }
  .services-grid, .testimonial-grid, .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; align-items: center; }
  .newsletter-form input { width: 100%; }
  .section, .section-dark, .section-light, .section-teal { padding: 50px 20px; }
}
