@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --green-dark: #0D3B1E;
  --green-primary: #1B5E20;
  --green-medium: #2E7D32;
  --green-light: #4CAF50;
  --gold-primary: #C8A951;
  --gold-light: #E8D48B;
  --gold-dark: #A68A3E;
  --cream: #FDF6E3;
  --cream-dark: #F5EDDA;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-medium: #4A4A4A;
  --text-light: #7A7A7A;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.3; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13, 59, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  transition: var(--transition);
}
.navbar.scrolled { background: var(--green-dark); box-shadow: var(--shadow-md); }
.nav-content { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 45px; width: auto; border-radius: 50%; }
.nav-logo span { color: var(--gold-primary); font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { color: var(--cream); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--transition); position: relative; }
.nav-links a:hover { color: var(--gold-primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold-primary); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }

.lang-toggle {
  background: transparent; border: 1px solid var(--gold-primary); color: var(--gold-primary);
  padding: 6px 14px; border-radius: 20px; cursor: pointer; font-size: 0.8rem; font-weight: 600;
  transition: var(--transition);
}
.lang-toggle:hover { background: var(--gold-primary); color: var(--green-dark); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--green-dark); padding: 8px 20px; border-radius: 25px;
  text-decoration: none; font-weight: 600; font-size: 0.85rem;
  transition: var(--transition); display: flex; align-items: center; gap: 6px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(200,169,81,0.4); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { width: 25px; height: 2px; background: var(--cream); transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 50%, var(--green-medium) 100%);
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1.5" fill="rgba(200,169,81,0.08)"/></svg>');
  background-size: 40px 40px;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,81,0.15); border: 1px solid rgba(200,169,81,0.3);
  padding: 8px 18px; border-radius: 30px; color: var(--gold-light);
  font-size: 0.85rem; font-weight: 500; margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--gold-primary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { color: var(--white); font-size: 3.2rem; font-weight: 800; margin-bottom: 8px; }
.hero h1 .gold { color: var(--gold-primary); }
.hero-tagline { color: var(--gold-light); font-size: 1.15rem; font-weight: 300; margin-bottom: 12px; letter-spacing: 2px; }
.hero-desc { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 30px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--green-dark); padding: 14px 32px; border-radius: 30px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(200,169,81,0.4); }

.btn-secondary {
  background: transparent; border: 2px solid var(--gold-primary); color: var(--gold-primary);
  padding: 12px 30px; border-radius: 30px; text-decoration: none;
  font-weight: 600; font-size: 1rem; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: var(--gold-primary); color: var(--green-dark); transform: translateY(-3px); }

.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-image::before {
  content: ''; position: absolute; inset: -8px; border: 2px solid rgba(200,169,81,0.3);
  border-radius: calc(var(--radius-lg) + 8px);
}
.hero-stats {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 20px; background: var(--white); padding: 16px 30px;
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
}
.stat { text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--green-primary); }
.stat-label { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

/* ===== USP STRIP ===== */
.usp-strip { background: var(--green-dark); padding: 28px 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp-item { display: flex; align-items: center; gap: 12px; color: var(--cream); justify-content: center; }
.usp-icon { font-size: 1.8rem; }
.usp-text { font-size: 0.85rem; font-weight: 500; line-height: 1.3; }

/* ===== SECTION COMMON ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-badge {
  display: inline-block; background: rgba(27,94,32,0.1);
  color: var(--green-primary); padding: 6px 18px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.section-title { font-size: 2.4rem; color: var(--green-dark); margin-bottom: 12px; }
.section-title .gold { color: var(--gold-primary); }
.section-desc { color: var(--text-medium); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== FOUNDER ===== */
.founder { background: var(--white); }
.founder-content { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.founder-img { position: relative; }
.founder-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.founder-img::after {
  content: ''; position: absolute; bottom: -10px; right: -10px; width: 100px; height: 100px;
  border: 3px solid var(--gold-primary); border-radius: var(--radius-md); z-index: -1;
}
.founder-name { font-size: 1.8rem; color: var(--green-dark); margin-bottom: 4px; }
.founder-role { color: var(--gold-dark); font-weight: 600; margin-bottom: 16px; }
.founder-story { color: var(--text-medium); margin-bottom: 20px; }
.founder-highlights { display: flex; flex-wrap: wrap; gap: 12px; }
.founder-tag {
  background: rgba(27,94,32,0.08); color: var(--green-primary); padding: 8px 16px;
  border-radius: 25px; font-size: 0.85rem; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}

/* ===== SERVICES ===== */
.services { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer;
  border: 1px solid rgba(0,0,0,0.05);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 180px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-img .service-icon {
  position: absolute; bottom: -20px; right: 20px;
  width: 50px; height: 50px; background: var(--green-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  box-shadow: var(--shadow-sm); border: 3px solid var(--white);
}
.service-card-body { padding: 28px 20px 20px; }
.service-card h3 { font-size: 1.2rem; color: var(--green-dark); margin-bottom: 8px; }
.service-card p { color: var(--text-medium); font-size: 0.9rem; margin-bottom: 14px; }
.service-card .price-tag {
  display: inline-block; background: rgba(200,169,81,0.15); color: var(--gold-dark);
  padding: 4px 12px; border-radius: 15px; font-size: 0.8rem; font-weight: 600;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 40px; left: 15%; right: 15%;
  height: 2px; background: linear-gradient(90deg, var(--gold-primary), var(--green-primary), var(--gold-primary));
}
.step { text-align: center; position: relative; }
.step-num {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-medium));
  color: var(--white); font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 4px 15px rgba(27,94,32,0.3);
}
.step-icon { font-size: 2rem; margin-bottom: 10px; }
.step h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 6px; }
.step p { color: var(--text-medium); font-size: 0.9rem; }

/* ===== SERVICE AREAS ===== */
.areas { background: linear-gradient(135deg, var(--green-dark), var(--green-primary)); color: var(--white); }
.areas .section-badge { background: rgba(200,169,81,0.2); color: var(--gold-light); }
.areas .section-title { color: var(--white); }
.areas .section-desc { color: rgba(255,255,255,0.7); }
.areas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.area-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md); padding: 30px 20px; text-align: center;
  transition: var(--transition); backdrop-filter: blur(5px);
}
.area-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.area-card .area-icon { font-size: 2rem; margin-bottom: 10px; }
.area-card h3 { font-size: 1rem; margin-bottom: 4px; }
.area-card p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ===== PREMIUM CAROUSEL WITH ARROW NAVIGATION ===== */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1.5rem;
}

.carousel-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 280px;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 -20px;
  z-index: 10;
}

.carousel-btn {
  pointer-events: all;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold-primary);
  color: var(--green-dark);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 20;
}

.carousel-btn:hover {
  background: var(--gold-primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(200, 169, 81, 0.4);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-btn.disabled:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: scale(1);
  box-shadow: var(--shadow-md);
}

.carousel-btn-prev {
  margin-left: 20px;
}

.carousel-btn-next {
  margin-right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-dot.active {
  background: var(--gold-primary);
  width: 28px;
  border-radius: 5px;
}

.carousel-dot:hover {
  background: rgba(200, 169, 81, 0.6);
}

/* ===== GALLERY ===== */
.gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; margin-top: 30px; }
.gallery-img { width: 100%; height: 250px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; }
.gallery-img:hover { transform: scale(1.05); box-shadow: var(--shadow-md); z-index: 2; position: relative; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--cream-dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-md); padding: 30px;
  box-shadow: var(--shadow-sm); transition: var(--transition); position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card::before { content: '"'; font-family: 'Playfair Display', serif; font-size: 4rem; color: rgba(27,94,32,0.1); position: absolute; top: 10px; left: 20px; }
.stars { color: var(--gold-primary); margin-bottom: 12px; font-size: 1rem; }
.testimonial-card p { color: var(--text-medium); font-size: 0.95rem; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-medium));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.author-info strong { font-size: 0.9rem; color: var(--green-dark); display: block; }
.author-info span { font-size: 0.75rem; color: var(--text-light); }

/* ===== QUOTE FORM ===== */
.quote-section { background: var(--white); }
.quote-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  background: var(--cream); border-radius: var(--radius-lg); padding: 50px;
  box-shadow: var(--shadow-sm);
}
.quote-info h2 { font-size: 2rem; color: var(--green-dark); margin-bottom: 16px; }
.quote-info p { color: var(--text-medium); margin-bottom: 24px; }
.quote-benefits { list-style: none; }
.quote-benefits li { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--text-medium); font-size: 0.95rem; }
.quote-benefits .check { color: var(--green-primary); font-weight: 700; }

.quote-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1px solid rgba(0,0,0,0.12); border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(27,94,32,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit { align-self: flex-start; }
.form-status {
  display: none; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(27,94,32,0.08); color: var(--green-dark); border: 1px solid rgba(27,94,32,0.14);
  font-size: 0.92rem; line-height: 1.5;
}
.form-status.is-loading { display: block; background: rgba(200,169,81,0.14); border-color: rgba(200,169,81,0.25); color: var(--gold-dark); }
.form-status.is-success { display: block; background: rgba(27,94,32,0.12); border-color: rgba(27,94,32,0.22); color: var(--green-dark); }
.form-status.is-error { display: block; background: rgba(183,28,28,0.1); border-color: rgba(183,28,28,0.2); color: #8e1c1c; }
.form-fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-fallback-actions .btn-secondary.small { padding: 10px 16px; font-size: 0.9rem; }
.hp-field { display: none !important; }

/* ===== BLOG SECTION ===== */
.blog { background: var(--cream); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-meta { display: flex; gap: 12px; margin-bottom: 10px; font-size: 0.75rem; color: var(--text-light); }
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 8px; line-height: 1.4; }
.blog-card h3 a { color: inherit; text-decoration: none; transition: var(--transition); }
.blog-card h3 a:hover { color: var(--green-primary); }
.blog-card p { color: var(--text-medium); font-size: 0.88rem; margin-bottom: 14px; line-height: 1.5; }
.blog-card .read-more {
  color: var(--green-primary); font-weight: 600; font-size: 0.85rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  transition: var(--transition);
}
.blog-card .read-more:hover { gap: 8px; color: var(--gold-dark); }
.blog-view-all { text-align: center; margin-top: 40px; }

/* Blog Post Page */
.blog-post-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  padding: 120px 0 60px; color: var(--white); text-align: center;
}
.blog-post-hero h1 { color: var(--white); font-size: 2.4rem; max-width: 800px; margin: 0 auto 16px; }
.blog-post-hero .post-meta { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.blog-post-content {
  max-width: 800px; margin: -30px auto 60px; padding: 50px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}
.blog-post-content h2 { color: var(--green-dark); font-size: 1.6rem; margin: 30px 0 14px; }
.blog-post-content h3 { color: var(--green-primary); font-size: 1.2rem; margin: 24px 0 10px; }
.blog-post-content p { color: var(--text-medium); font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.blog-post-content ul, .blog-post-content ol { margin: 12px 0 20px 24px; color: var(--text-medium); line-height: 1.8; }
.blog-post-content li { margin-bottom: 6px; }
.blog-post-content img { width: 100%; border-radius: var(--radius-md); margin: 20px 0; }
.blog-cta-box {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  color: var(--white); padding: 30px; border-radius: var(--radius-md);
  text-align: center; margin: 30px 0;
}
.blog-cta-box h3 { color: var(--gold-primary); margin-bottom: 10px; }
.blog-cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 16px; }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-content { padding: 24px; margin: -20px 16px 40px; }
  .blog-post-hero h1 { font-size: 1.6rem; }
}

/* --- Responsive grid defaults (keeps desktop/tablet layout) --- */
.services-grid,
.blog-grid,
.gallery-grid,
.areas-grid,
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
}

/* Services: 3 columns on wide, 2 on medium, 1 on small */
.services-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Blog: 3 columns on wide, 2 on medium, 1 on small */
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Gallery: use grid by default, images fill cards */
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.gallery-grid .gallery-img { width: 100%; height: auto; display: block; object-fit: cover; border-radius: 8px; }

/* --- Horizontal-scroll grid helper (always applied via HTML class) --- */
.scrollable-grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
}

.scrollable-grid > * {
  flex: 0 0 calc(100% / 3 - (1.25rem * 2 / 3)); /* 3 cards visible */
  scroll-snap-align: start;
  min-width: 280px;
  max-width: 380px;
}

/* Service cards in scrollable grid */
.services .scrollable-grid > .service-card {
  flex: 0 0 calc(100% / 3 - (1.25rem * 2 / 3));
  min-width: 280px;
}

/* Blog cards in scrollable grid */
.blog .scrollable-grid > .blog-card {
  flex: 0 0 calc(100% / 3 - (1.25rem * 2 / 3));
  min-width: 280px;
}

/* Gallery images in scrollable grid */
.gallery .scrollable-grid > .gallery-img {
  flex: 0 0 calc(100% / 3 - (1.25rem * 2 / 3));
  min-width: 280px;
  height: 200px;
  object-fit: cover;
}

/* Custom scrollbar styling */
.scrollable-grid::-webkit-scrollbar {
  height: 8px;
}
.scrollable-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}
.scrollable-grid::-webkit-scrollbar-thumb {
  background: rgba(200, 169, 81, 0.5);
  border-radius: 10px;
}
.scrollable-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 169, 81, 0.8);
}

/* Mobile responsive adjustments */
@media (max-width: 1200px) {
  .scrollable-grid > * {
    flex: 0 0 calc(100% / 2.5 - (1.25rem * 1.5 / 2.5)); /* slightly larger cards on tablets */
    min-width: 300px;
  }
  .services .scrollable-grid > .service-card,
  .blog .scrollable-grid > .blog-card,
  .gallery .scrollable-grid > .gallery-img {
    flex: 0 0 calc(100% / 2.5 - (1.25rem * 1.5 / 2.5));
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .scrollable-grid {
    gap: 1rem;
    padding-bottom: 0.5rem;
  }
  .scrollable-grid > * {
    flex: 0 0 calc(100% / 2 - (1rem / 2)); /* 2 cards visible on mobile */
    min-width: 160px;
  }
  .services .scrollable-grid > .service-card,
  .blog .scrollable-grid > .blog-card,
  .gallery .scrollable-grid > .gallery-img {
    flex: 0 0 calc(100% / 2 - (1rem / 2));
    min-width: 160px;
  }
  .gallery .scrollable-grid > .gallery-img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .scrollable-grid {
    gap: 0.75rem;
  }
  .scrollable-grid > * {
    flex: 0 0 calc(100% / 1.5 - (0.75rem / 1.5)); /* 1.5 cards visible, encourage scrolling */
    min-width: 140px;
  }
  .services .scrollable-grid > .service-card,
  .blog .scrollable-grid > .blog-card,
  .gallery .scrollable-grid > .gallery-img {
    flex: 0 0 calc(100% / 1.5 - (0.75rem / 1.5));
    min-width: 140px;
  }
  .gallery .scrollable-grid > .gallery-img {
    height: 120px;
  }
}

/* ===== CAROUSEL RESPONSIVE ===== */
@media (max-width: 1200px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 2rem) / 2.5);
    min-width: 300px;
  }
  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .carousel-btn-prev { margin-left: 10px; }
  .carousel-btn-next { margin-right: 10px; }
}

@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 1rem) / 2);
    min-width: 240px;
  }
  .carousel-controls {
    padding: 0 -10px;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  .carousel-btn-prev { margin-left: 5px; }
  .carousel-btn-next { margin-right: 5px; }
  .carousel-container {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 0.75rem) / 1.8);
    min-width: 200px;
  }
  .carousel-controls {
    padding: 0;
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .carousel-btn-prev { margin-left: 0; }
  .carousel-btn-next { margin-right: 0; }
  .carousel-container {
    gap: 0.75rem;
  }
  .carousel-indicators {
    gap: 6px;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
  .carousel-dot.active {
    width: 24px;
  }
}

/* ===== FOOTER ===== */
.footer { background: var(--green-dark); color: var(--cream); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 12px; }
.footer h4 { color: var(--gold-primary); font-size: 1rem; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition);
  text-decoration: none; color: white; font-size: 1.8rem;
  animation: fabBounce 3s ease-in-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
@keyframes fabBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; top: 69px; left: 0; right: 0;
  background: var(--green-dark); padding: 20px; z-index: 999;
  flex-direction: column; gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--cream); text-decoration: none; font-size: 1rem; padding: 8px 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 30px; }
  .hero-buttons { justify-content: center; }
  .hero-image { max-width: 500px; margin: 0 auto; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .founder-content { grid-template-columns: 1fr; text-align: center; }
  .founder-img { max-width: 250px; margin: 0 auto; }
  .quote-wrapper { grid-template-columns: 1fr; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-tagline { font-size: 0.9rem; letter-spacing: 1px; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.8rem; }
  .section-header { margin-bottom: 30px; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .usp-item { flex-direction: column; text-align: center; gap: 6px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; gap: 16px; padding: 12px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .founder-highlights { justify-content: center; }
  .quote-wrapper { padding: 24px; }
  .quote-info h2 { font-size: 1.5rem; }
  .nav-logo span { font-size: 1rem; }
  .whatsapp-fab { width: 54px; height: 54px; font-size: 1.5rem; bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-tagline { font-size: 0.75rem; }
  .hero-desc { font-size: 0.9rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 14px 24px; }
  .areas-grid { grid-template-columns: 1fr; }
  .hero-stats { bottom: -15px; }
  .stat-num { font-size: 1.2rem; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: 0.9rem; }
  .founder-name { font-size: 1.4rem; }
  .founder-tag { font-size: 0.75rem; padding: 6px 12px; }
  .service-card-img { height: 150px; }
  .service-card-body { padding: 20px 16px 16px; }
  .area-card { padding: 20px 14px; }
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .usp-icon { font-size: 1.4rem; }
  .usp-text { font-size: 0.75rem; }
  .container { padding: 0 16px; }
}

