:root {
  --color-bg: #FDFAFA;
  /* Very light, basically white but warm */
  --color-accent: #C1D5C0;
  /* Soft mountain green */
  --color-cta: #EBAE3B;
  /* Golden yellow */
  --color-cta-hover: #D89828;
  --color-primary: #39789E;
  /* Family center blue */
  --color-title: #506642;
  /* Dark leaf green */
  --color-text: #4A4D4C;
  /* Dark charcoal */
  --color-text-light: #7A807E;
  --font-main: 'Montserrat', sans-serif;
  --font-logo: 'Caveat', cursive;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-title);
}

h1,
h2 {
  font-family: var(--font-logo);
}

h3,
h4 {
  font-family: var(--font-main);
  font-weight: 800;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 40px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 48px;
  }

  body {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 56px;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
    padding: 0;
  }
}

.btn,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-main);
  font-size: 16px;
  text-align: center;
}

.btn-cta {
  background-color: var(--color-cta);
  color: #fff;
  width: 100%;
}

.btn-cta:hover {
  background-color: var(--color-cta-hover);
}

@media (min-width: 768px) {
  .btn-cta {
    width: 240px;
  }
}

/* Header */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 36px;
  font-family: var(--font-logo);
  font-weight: 700;
  color: var(--color-title);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  height: 85px;
  width: auto;
  mix-blend-mode: multiply;
  /* Helps hide white background if any */
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    gap: 30px;
  }

  .nav a {
    font-weight: 400;
    transition: var(--transition);
  }

  .nav a:hover {
    color: var(--color-cta);
  }
}

.header-btn {
  display: none;
}

@media (min-width: 768px) {
  .header-btn {
    display: flex;
    height: 44px;
    width: auto;
    padding: 0 24px;
  }
}

.menu-toggle {
  display: block;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 1024px) {
  .hero {
    text-align: left;
    padding: 80px 0;
  }

  .hero .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-content {
    flex: 1;
    max-width: 500px;
  }

  .hero-image {
    flex: 1;
  }
}

.hero p {
  color: var(--color-text-light);
  margin-bottom: 30px;
  font-size: 18px;
}

.hero-image img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Common */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* About / Info */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-card-box {
  background: #fff;
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.about-card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(168, 213, 186, 0.4);
}

.about-card-box.highlight {
  grid-column: 1 / -1;
  border-color: var(--color-cta);
  text-align: center;
  font-size: 20px;
  padding: 32px;
}

.about-card-box.highlight:hover {
  box-shadow: 0 10px 25px rgba(255, 140, 66, 0.2);
}

.about-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--color-title);
  font-weight: 800;
}

.about-card-title i {
  color: var(--color-cta);
  font-size: 24px;
}

.about-card-text {
  color: var(--color-text-light);
  line-height: 1.6;
}

.about-card-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.advantage-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.advantage-title {
  font-weight: 700;
  margin-bottom: 10px;
}

/* Services section */
.services-section {
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  background: var(--color-bg);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.service-desc {
  color: var(--color-text-light);
  margin-bottom: 24px;
  flex: 1;
}

.service-btn {
  background: transparent;
  color: var(--color-cta);
  border: 2px solid var(--color-cta);
  width: 100%;
}

.service-btn:hover {
  background: var(--color-cta);
  color: #fff;
}

/* Why us */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
}

.why-icon {
  font-size: 32px;
  color: var(--color-accent);
}

.why-text {
  font-weight: 700;
}

/* Testimonials */
.testimonials-section {
  background-color: #fff;
  overflow: hidden;
}

.testimonial-card {
  background: var(--color-bg);
  padding: 30px;
  border-radius: 16px;
  height: auto;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  display: block;
}

.testimonial-service {
  font-size: 14px;
  color: var(--color-text-light);
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text-light);
}

/* Swiper overrides */
.swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
}

/* Final CTA */
.final-cta {
  background-color: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.final-cta h2 {
  color: #fff;
  margin-bottom: 20px;
}

.final-cta p {
  margin-bottom: 40px;
  font-size: 18px;
}

.final-cta .btn-cta {
  background-color: var(--color-text);
  color: #fff;
}

.final-cta .btn-cta:hover {
  background-color: #1a1a1a;
}

.footer {
  background-color: var(--color-accent);
  color: var(--color-title);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h3 {
  font-size: 28px;
  font-family: var(--font-logo);
  margin-bottom: 20px;
  color: var(--color-title);
}

.footer-links li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-links li i {
  margin-top: 4px;
  /* to align with the first line of text */
  flex-shrink: 0;
}

.footer-links a {
  color: var(--color-title);
  opacity: 0.8;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-links a i {
  margin-top: 0;
}

.footer-links a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(80, 102, 66, 0.2);
  color: var(--color-title);
  font-size: 14px;
  opacity: 0.7;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 700;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* Review Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(-20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-light);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--color-cta);
}

.modal-title {
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(193, 213, 192, 0.3);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.rating-input {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 24px;
  color: #ddd;
  cursor: pointer;
}

.rating-input i.active {
  color: var(--color-cta);
}

.rating-input i:hover~i {
  color: #ddd;
  /* simple hover logic could be done via JS instead for more control */
}

.modal-submit {
  width: 100%;
  margin-top: 16px;
}