/* ============================================================
   GARDEN SANSAR - HOMEPAGE STYLES
   Matches gardensewa.com layout with ultra-responsive modern UI
   ============================================================ */

/* ── Base Section Layout ──────────────────────────────────── */
.gs-home-section {
  padding: 60px 0;
  width: 100%;
}
.gs-home-section--soft {
  background-color: #f8faf8;
}
.gs-home-section--white {
  background-color: #ffffff;
}
.gs-home-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Headings */
.gs-section-title-center {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #0b2d20;
  text-align: center;
  margin: 0 0 36px;
  letter-spacing: -0.02em;
}
.gs-section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 16px;
}
.gs-section-header-row h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #0b2d20;
  margin: 0;
  letter-spacing: -0.02em;
}
.gs-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  background: #fff;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.gs-view-all-link:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  transform: translateX(2px);
}
.gs-view-all-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* ============================================================
   1. WHY CHOOSE US SECTION
   Exact gardensewa.com layout: 4 cards with pastel mint bg
   ============================================================ */
.gs-wcu-section {
  padding: 60px 0 50px;
  background-color: #ffffff;
}
.gs-wcu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gs-wcu-item {
  background-color: #c7f0e0;
  border-radius: 16px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border: 1px solid rgba(11, 45, 32, 0.04);
}
.gs-wcu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(11, 45, 32, 0.08);
}
.gs-wcu-icon-wrapper {
  width: 62px;
  height: 62px;
  background: #ffffff;
  border-radius: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.gs-wcu-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.gs-wcu-card-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b2d20;
  margin: 0 0 8px;
  line-height: 1.3;
}
.gs-wcu-card-desc {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   2. OUR PROJECTS SECTION
   4 cards with client logos & hover quotation reveal
   ============================================================ */
.gs-home-projects-section {
  padding: 50px 0;
  background-color: #ffffff;
}
.gs-projects-carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gs-client-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  height: 290px;
  padding: 22px 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.gs-client-card:hover {
  border-color: #00d17d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.gs-client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gs-client-logo-wrap img {
  max-height: 100px;
  max-width: 82%;
  object-fit: contain;
}
.gs-client-overlay {
  position: absolute;
  inset: 0;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}
.gs-client-card:hover .gs-client-logo-wrap {
  opacity: 0;
  transform: scale(0.92);
}
.gs-client-card:hover .gs-client-overlay {
  opacity: 1;
  transform: translateY(0);
}
.gs-client-quote-mark {
  color: #00d17d;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.gs-client-overlay-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b2d20;
  margin: 0 0 6px;
}
.gs-client-overlay-text {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 10px;
}
.gs-client-overlay-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #00d17d;
}

/* ============================================================
   3. OUR SERVICES SECTION
   6 cards with service cover images and top pill badges
   ============================================================ */
.gs-home-services-section {
  padding: 50px 0;
  background-color: #ffffff;
}
.gs-services-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gs-service-photo-card {
  position: relative;
  height: 270px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
  background: #0a1a0e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.gs-service-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}
.gs-service-photo-card:hover .gs-service-photo-img {
  transform: scale(1.08);
}
.gs-service-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 26, 14, 0.75) 0%, rgba(10, 26, 14, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 2;
}
.gs-service-photo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: #0b2d20;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.01em;
  z-index: 3;
}
.gs-service-photo-bottom {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}
.gs-service-photo-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #45e39b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.95;
  transition: transform 0.2s;
}
.gs-service-photo-card:hover .gs-service-photo-cta {
  transform: translateX(4px);
  color: #00d17d;
}

/* ============================================================
   4. OUR PARTNERS SECTION
   3 cards in white borders with logos and Visit Site buttons
   ============================================================ */
.gs-home-partners-section {
  padding: 60px 0;
  background-color: #ffffff;
}
.gs-partners-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gs-partner-brand-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.gs-partner-brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}
.gs-partner-logo-holder {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.gs-partner-logo-holder img {
  max-height: 105px;
  max-width: 82%;
  object-fit: contain;
}
.gs-partner-card-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}
.gs-partner-card-tagline {
  font-size: 0.84rem;
  color: #6b7280;
  margin: 0 0 20px;
  line-height: 1.45;
  min-height: 38px;
}
.gs-partner-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  background: #ffffff;
  transition: all 0.25s ease;
}
.gs-partner-btn:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* ============================================================
   5. LATEST UPDATES (BLOG) SECTION
   2-column layout: 1 big card left, 2 stacked cards right
   ============================================================ */
.gs-home-blog-section {
  padding: 60px 0;
  background-color: #ffffff;
}
.gs-blog-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.gs-blog-large-card {
  position: relative;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  background: #0a1a0e;
}
.gs-blog-large-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  z-index: 1;
}
.gs-blog-large-card:hover > img {
  transform: scale(1.05);
}
.gs-blog-large-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 14, 0) 35%, rgba(10, 20, 14, 0.65) 70%, rgba(10, 20, 14, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  box-sizing: border-box;
  z-index: 2;
}
.gs-blog-large-title {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.25;
}
.gs-blog-large-excerpt {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gs-blog-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}
.gs-blog-author-avatar {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  display: inline-block !important;
}

.gs-blog-stack-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gs-blog-small-card {
  position: relative;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  background: #0a1a0e;
}
.gs-blog-small-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  z-index: 1;
}
.gs-blog-small-card:hover > img {
  transform: scale(1.05);
}
.gs-blog-small-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 14, 0) 30%, rgba(10, 20, 14, 0.6) 65%, rgba(10, 20, 14, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2;
}
.gs-blog-small-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.3;
}

/* ============================================================
   6. TESTIMONIALS SECTION
   3 cards with green quote marks, quote, and client avatars
   ============================================================ */
.gs-home-testimonials-section {
  padding: 60px 0;
  background-color: #ffffff;
}
.gs-testi-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gs-testi-card-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.gs-testi-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}
.gs-testi-quote-mark {
  font-size: 2.8rem;
  font-weight: 800;
  color: #00d17d;
  line-height: 0.8;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.gs-testi-quote-text {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0 0 24px;
  flex-grow: 1;
}
.gs-testi-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.gs-testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}
.gs-testi-author-info {
  display: flex;
  flex-direction: column;
}
.gs-testi-author-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.gs-testi-author-role {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 2px 0 0;
}

/* ============================================================
   7. JOIN CTA BANNER
   Dark banner: "Join as a Gardener and start earning..."
   ============================================================ */
.gs-home-hire-section {
  background-color: #082418;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 48px 0;
}
.gs-home-hire-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-sizing: border-box;
}
.gs-home-hire-text h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.25;
}
.gs-home-hire-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 720px;
  line-height: 1.6;
}
.gs-home-hire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #00d17d;
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.gs-home-hire-btn:hover {
  background: #00d17d;
  color: #082418;
  box-shadow: 0 6px 20px rgba(0, 209, 125, 0.35);
}

/* ============================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   Device-friendly breakpoints: 1024px, 768px, 640px, 480px
   ============================================================ */

@media (max-width: 1024px) {
  .gs-wcu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gs-projects-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gs-services-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gs-partners-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gs-testi-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gs-blog-layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gs-blog-large-card {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .gs-home-section {
    padding: 40px 0;
  }
  .gs-home-hire-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .gs-home-hire-text p {
    margin: 0 auto;
  }
  .gs-section-header-row {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .gs-wcu-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gs-projects-carousel-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gs-client-card {
    height: 240px;
  }
  .gs-client-overlay {
    opacity: 1;
    transform: none;
    position: static;
    padding: 10px 0 0;
  }
  .gs-client-card {
    flex-direction: column;
    height: auto;
    padding: 24px 20px;
  }
  .gs-client-card:hover .gs-client-logo-wrap {
    opacity: 1;
    transform: none;
  }
  .gs-client-logo-wrap {
    height: 80px;
    margin-bottom: 12px;
  }
  .gs-services-photo-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gs-service-photo-card {
    height: 220px;
  }
  .gs-partners-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gs-testi-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gs-blog-large-card {
    height: 340px;
  }
  .gs-blog-small-card {
    height: 200px;
  }
}
