/* ============================================================
   SERVICE INDEX PAGE — service.css (cleaned)
   Only rules for classes actually referenced in service.blade.php
   remain.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&family=Open+Sans:wght@400;500;700&display=swap");

/* ── Tokens ── */
:root {
  --yellow: #f8cc00;
  --gray: #555555;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("/assets/img/services-img/main-service-hero.webp") center/cover
    no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}

.hero-text {
  color: #fff;
}

.hero-heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: "Open Sans Condensed", sans-serif;
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 30px;
  text-shadow:
    2px 15px 15px rgba(0, 0, 0, 0.95),
    0 0 20px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.6),
    2px 2px 3px rgba(0, 0, 0, 1);
}

.hero-button {
  display: inline-block;
  background: #89b74c;
  border: none;
  border-radius: 8px;
  color: #fff;
  padding: 13px 36px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease;
}

/* ============================================================
   2. SERVICES CARDS SECTION
   ============================================================ */
.services-cards-section {
  background: #eef4e5;
  padding: 50px 0 50px;
}

.services-cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.services-cards-section .services-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto 40px !important;
  max-width: 700px;
}

.services-cards-section .services-eyebrow-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px;
  margin: 0 0 12px !important;
  width: auto;
}

.services-cards-section .services-eyebrow-line {
  width: 40px;
  height: 1px;
  background: #89b74c;
}

.services-cards-section .services-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #89b74c;
  text-transform: uppercase;
}

.services-cards-section .services-main-title {
  font-weight: 800 !important;
  margin: 0 0 10px !important;
  color: #1a1a1a !important;
  font-family: "Open Sans Condensed", sans-serif !important;
  font-size: 34px !important;
  text-align: center !important;
}

.services-cards-section .services-main-title .text-green {
  color: #6fae2e;
}

.services-cards-section .section-subtitle {
  font-size: 18px !important;
  color: #6b7280 !important;
  margin: 0 !important;
  font-style: italic;
  text-align: center !important;
  float: none !important;
  position: static !important;
}

/* Grid — 3 columns */
.services-cards-section .services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

/* Card */
.services-cards-section .service-list-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.services-cards-section .service-list-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #89b74c;
}

.services-cards-section .service-card-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.services-cards-section .service-list-card:hover .service-card-bg {
  transform: scale(1.05);
}

/* Darkened overlay tint that fades in behind the pill on hover */
.services-cards-section .service-list-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.services-cards-section .service-list-card:hover::after {
  opacity: 1;
}

/* Hidden by default — only the image shows */
.services-cards-section .service-card-pill {
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: calc(100% - 60px);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border-radius: 12px;
  padding: 0 10px 0 20px;
  text-decoration: none;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
  z-index: 2;
  transition: all 0.4s ease;
}

/* Reveal on hover */
.services-cards-section .service-list-card:hover .service-card-pill {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.services-cards-section .service-card-pill-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.services-cards-section .service-card-pill-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.services-cards-section .service-card-pill-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.services-cards-section .service-card-pill-arrow {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #6fae2e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.services-cards-section .service-card-pill-arrow svg {
  width: 13px;
  height: 13px;
}

/* .services-cards-section .service-list-card:hover .service-card-pill-arrow {
  background: #1a1a1a;
} */

/* View All Services button */
.services-cards-section .services-viewall-wrap {
  text-align: center;
  margin-top: 40px;
}

.services-cards-section .services-viewall-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid #6fae2e;
  color: #1a1a1a;
  border-radius: 30px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
}

.services-cards-section .services-viewall-btn:hover {
  background: #6fae2e;
  color: #ffffff;
  text-decoration: none;
}

.services-cards-section .services-viewall-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.services-cards-section .services-viewall-btn.is-open svg {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
  .services-cards-section .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .services-cards-section .services-grid {
    grid-template-columns: 1fr !important;
  }

  .services-cards-section .services-main-title {
    font-size: 28px !important;
  }
}

/* ============================================================
   3. CTA BANNER
   ============================================================ */

.cta-discount {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 18px;
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6) !important;
}
.cta-discount::before,
.cta-discount::after {
  content: "";
  display: block;
  height: 2px;
  width: 90px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

.cta-section {
  background: #fff;
  position: relative;
}

.cta-container {
  max-width: 100%;
  padding: 0;
}

.cta-content {
  max-width: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("/assets/img/services-img/cta-image.webp") center / cover
      no-repeat;
  padding: 40px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* .cta-content::before,
.cta-content::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 8px solid var(--yellow);
  z-index: 0;
}
.cta-content::before {
  top: -80px;
  left: -80px;
}
.cta-content::after {
  bottom: -80px;
  right: -80px;
} */

.cta-title {
  position: relative;
  z-index: 1;
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
  font-family: "Open Sans Condensed", sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.cta-text {
  position: relative;
  z-index: 1;
  font-size: 18px !important;
  color: #ffffff;
  line-height: 1.65;
  margin: 0 auto 28px !important;
  max-width: 580px;
  width: auto !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.cta-button {
  background: #89b74c;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: 18px;
}

.cta-button:hover {
  color: #f9c841;
  text-decoration: none;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: #ffffff;
  padding: 50px 0 50px;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.contact-heading {
  font-size: 28px;
  font-weight: 700;
  color: #89b74c;
  margin: 0 0 35px;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}

/* Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Left: Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 18px;
}

.info-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #89b74c;
  margin: 0 0 4px;
}

.info-card-text {
  font-size: 14px;
  color: #333333;
  margin: 0;
}

.info-card-link {
  font-size: 15px;
  font-weight: 700;
  color: #89b74c;
  text-decoration: none;
  display: block;
}

.info-card-link:hover {
  text-decoration: underline;
}

/* Right: Form */
.contact-form-wrap {
  padding-top: 0;
}

.contact-form {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #666666;
}

.form-group input,
.form-group textarea {
  border: 1.5px solid #89b74c;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #333333;
  background: #ffffff;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  transition: box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaaaaa;
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(137, 183, 76, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Buttons */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #89b74c;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  font-family: "Open Sans", sans-serif;
}

.btn-send:hover {
  background: #6fae2e;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #89b74c;
  border: 1.5px solid #89b74c;
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-family: "Open Sans", sans-serif;
}

.btn-call:hover {
  background: #89b74c;
  color: #ffffff;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success {
  background: #e8f5e0;
  color: #2d6a1f;
  border: 1px solid #b8d9a8;
}

.alert-danger {
  background: #fde8e8;
  color: #9b1c1c;
  border: 1px solid #f5b5b5;
}

.mb-0 {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1;
    min-width: 200px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hero */
  .hero-section {
    min-height: 380px;
    padding: 60px 20px;
  }
  .hero-heading {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 16px;
  }

  /* Services */
  .services-cards-section {
    padding: 36px 0 24px;
  }
  .services-main-title {
    font-size: 24px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* CTA */
  .cta-content {
    max-width: 100%;
    border-radius: 24px;
    padding: 50px 20px;
  }
  .cta-title {
    font-size: 28px;
  }
  .cta-text {
    font-size: 15px !important;
  }

  /* Contact */
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-heading {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cta-content::before,
  .cta-content::after {
    width: 120px;
    height: 120px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-heading {
    font-size: 24px;
  }
}

/* ============================================================
   STATS BAR SECTION
   ============================================================ */
.stats-bar-section {
  background: linear-gradient(180deg, #85ae4f 3.51%, #739a3e 100%);
  padding: 40px 0;
}

.stats-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  font-family: "Open Sans Condensed", sans-serif;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .stat-number {
    font-size: 32px;
  }
}

/* ============================================================
   ABOUT / TEXT SECTION
   ============================================================ */
.about-section {
  background: #f5f7ed;
  padding: 50px 0 50px;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}

.about-title {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 48px;
  color: #1f2937;
  line-height: 1.3;
  margin: 0 0 30px;
}

.about-title .text-green {
  color: #6fae2e;
}

.about-paragraph {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 0;
  text-align: center;
  margin: 16px auto 0;
  color: #1f2937;
}

.about-paragraph:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .about-section {
    padding: 50px 0 60px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-paragraph {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 24px;
  }
}
