@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #27AE60;
  --secondary-color: #1E8449;
  --accent-color: #52BE80;
  --light-color: #EAFAF1;
  --dark-color: #145A32;
  --gradient-primary: linear-gradient(135deg, #52BE80 0%, #27AE60 100%);
  --hover-color: #229954;
  --background-color: #F8F9F9;
  --text-color: #2C3E50;
  --border-color: rgba(39, 174, 96, 0.25);
  --divider-color: rgba(30, 132, 73, 0.15);
  --shadow-color: rgba(20, 90, 50, 0.12);
  --highlight-color: #F1C40F;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #145A32 0%, #0E3A1F 100%);
  box-shadow: 0 3px 12px var(--shadow-color);
  padding: 1.2rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 55px;
  width: auto;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.08);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

header nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

header nav ul li a:hover {
  color: var(--highlight-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.mobile-menu-toggle span {
  width: 32px;
  height: 3px;
  background-color: var(--light-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  header .logo {
    margin: 0 auto;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    left: 20px;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #145A32 0%, #0E3A1F 100%);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  header nav ul li {
    border-bottom: 1px solid var(--border-color);
  }

  header nav ul li a {
    display: block;
    padding: 1.2rem 2rem;
  }

  #menu-toggle:checked ~ nav {
    max-height: 500px;
  }

  #menu-toggle:checked ~ .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  #menu-toggle:checked ~ .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Hero Section */
#hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(20, 90, 50, 0.6), rgba(14, 58, 31, 0.75));
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  margin-bottom: 1.8rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  font-weight: 800;
}

#hero p {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  max-width: 750px;
  margin: 0 auto 2.5rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px var(--shadow-color);
  border: 3px solid transparent;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px var(--shadow-color);
  background: linear-gradient(135deg, #27AE60 0%, #1E8449 100%);
  border-color: var(--highlight-color);
}

/* Section Styles */
section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  position: relative;
}

section:nth-child(even) {
  background-color: #FFFFFF;
}

section:nth-child(odd) {
  background-color: var(--background-color);
}

section h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 3.5rem;
  text-align: center;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1.2rem;
  font-weight: 800;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

/* Content Sections */
.content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.content-wrapper img {
  border-radius: 25px;
  box-shadow: 0 12px 35px var(--shadow-color);
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.content-wrapper img:hover {
  transform: scale(1.05);
}

.content-text {
  flex: 1;
}

.content-text p {
  margin-bottom: 1.5rem;
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--text-color);
}

.content-text h3 {
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  font-size: 1.9rem;
  font-weight: 700;
}

@media (max-width: 968px) {
  .content-wrapper {
    flex-direction: column;
  }
}

/* Divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin: 5rem 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0.35;
  border-radius: 2px;
}

.section-divider p {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  font-family: var(--main-font);
}

/* CTA Sections */
.cta-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
  text-align: center;
  padding: 13dvh 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 90, 50, 0.72);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 2rem;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
}

.cta-section p {
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  margin-bottom: 3rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.8;
}

/* Features Section */
.timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 4.5rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: calc(50% - 45px);
  padding: 2.5rem;
  background: #FFFFFF;
  border-radius: 20px;
  border: 3px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 2px 0 rgba(39, 174, 96, 0.08);
  position: relative;
  transition: all 0.4s ease;
}

.timeline-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px var(--shadow-color),
              inset 0 2px 0 rgba(39, 174, 96, 0.12);
  border-color: var(--primary-color);
}

.timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffffff;
  box-shadow: 0 0 0 10px var(--background-color),
              0 10px 25px var(--shadow-color);
  z-index: 10;
}

.timeline-content h3 {
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
  color: var(--accent-color);
  font-weight: 700;
}

.timeline-content p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 35px;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
  }

  .timeline-content {
    width: calc(100% - 90px);
    margin-left: 90px;
  }

  .timeline-icon {
    left: 35px;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.testimonial-card {
  padding: 3rem;
  background: #FFFFFF;
  border-radius: 25px;
  border: 3px solid var(--border-color);
  box-shadow: 0 12px 35px var(--shadow-color),
              inset 0 3px 0 rgba(39, 174, 96, 0.06);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 3.5rem;
  color: var(--primary-color);
  opacity: 0.12;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px var(--shadow-color),
              inset 0 3px 0 rgba(39, 174, 96, 0.1);
  border-color: var(--accent-color);
}

.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 1.8rem;
  font-style: italic;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 700;
  color: var(--highlight-color);
  font-size: 1.15rem;
  font-style: normal;
}

/* Form Section */
#contact .container {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info {
  padding: 2.5rem;
  background: #FFFFFF;
  border-radius: 20px;
  border: 3px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.contact-info h3 {
  color: var(--accent-color);
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.contact-item p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-color);
}

.contact-form {
  padding: 3.5rem;
  background: #FFFFFF;
  border-radius: 25px;
  border: 3px solid var(--border-color);
  box-shadow: 0 12px 35px var(--shadow-color),
              inset 0 3px 0 rgba(39, 174, 96, 0.04);
}

.contact-form h3 {
  color: var(--accent-color);
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
  text-align: center;
  font-weight: 700;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 700;
  color: var(--text-color);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 22px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1.05rem;
  font-family: var(--alt-font);
  background: #F8F9F9;
  color: var(--text-color);
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.15),
              inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.submit-button {
  width: 100%;
  padding: 20px;
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px var(--shadow-color);
  font-family: var(--main-font);
  letter-spacing: 0.8px;
}

.submit-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px var(--shadow-color);
  background: linear-gradient(135deg, #1E8449 0%, #145A32 100%);
}

@media (max-width: 968px) {
  #contact .container {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: #FFFFFF;
  border-radius: 20px;
  border: 3px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 3px 0 rgba(39, 174, 96, 0.04);
  transition: all 0.4s ease;
}

.faq-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px var(--shadow-color),
              inset 0 3px 0 rgba(39, 174, 96, 0.08);
  border-color: var(--primary-color);
}

.faq-question {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.faq-question i {
  color: var(--highlight-color);
  font-size: 1.3rem;
}

.faq-answer {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-color);
  padding-left: 2.5rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #145A32 0%, #0E3A1F 100%);
  color: var(--light-color);
  padding: 4.5rem 0 2.5rem;
  box-shadow: 0 -3px 12px var(--shadow-color);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

footer .logo img {
  height: 65px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 600;
}

footer nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

footer nav ul li a:hover::after {
  width: 100%;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--border-color);
  font-size: 0.95rem;
  color: rgba(234, 250, 241, 0.75);
}

.footer-bottom a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--highlight-color);
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
  }
}

/* Decorative Background Patterns */
.pattern-bg {
  position: relative;
  overflow: hidden;
}

.pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 45%, rgba(39, 174, 96, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(241, 196, 15, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 45% 25%, rgba(82, 190, 128, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Utility Classes */
.text-highlight {
  color: var(--highlight-color);
  font-weight: 700;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}