@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #337357;
  --secondary-color: #1F4D3A;
  --accent-color: #5CB338;
  --light-color: #E8F5E9;
  --dark-color: #0F2419;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #337357 100%);
  --hover-color: #295E44;
  --background-color: #FAFDF9;
  --text-color: #1C3A2E;
  --border-color: rgba(92, 179, 56, 0.3);
  --divider-color: rgba(51, 115, 87, 0.2);
  --shadow-color: rgba(31, 77, 58, 0.2);
  --highlight-color: #ECE852;
  --main-font: 'Merriweather', 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;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark-color);
  box-shadow: 0 5px 20px var(--shadow-color);
  padding: 1.2rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 48px;
  width: auto;
  transition: opacity 0.3s ease;
}

header .logo img:hover {
  opacity: 0.85;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.8rem;
  margin: 0;
}

header nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--light-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

#menu-checkbox {
  display: none;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(15, 36, 25, 0.65), rgba(31, 77, 58, 0.75)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1.8rem;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

/* Sections */
section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3.5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Content Section */
.content-flex {
  display: flex;
  gap: 45px;
  align-items: center;
}

.content-flex img {
  border-radius: 20px;
  box-shadow: 0 12px 35px var(--shadow-color);
  transition: all 0.4s ease;
}

.content-flex img:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 45px var(--shadow-color);
}

.content-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.8rem;
  color: var(--secondary-color);
}

.content-text p {
  margin-bottom: 1.5rem;
  font-size: 1.12rem;
  line-height: 1.9;
}

/* Divider */
.section-divider {
  position: relative;
  text-align: center;
  margin: 6vh 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--divider-color);
}

.divider-text {
  position: relative;
  display: inline-block;
  background: var(--background-color);
  padding: 0 2.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(15, 36, 25, 0.75), rgba(31, 77, 58, 0.85)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 9vh 2rem;
}

.cta-section h2 {
  font-size: 3.2rem;
  margin-bottom: 1.8rem;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

.cta-section p {
  font-size: 1.4rem;
  max-width: 850px;
  margin: 0 auto 2.5rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.features-timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  padding: 2.5rem;
  background: linear-gradient(145deg, #ffffff, #f5fef8);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  box-shadow: 8px 8px 20px rgba(31, 77, 58, 0.15),
              -4px -4px 15px rgba(255, 255, 255, 0.9);
  transition: all 0.4s ease;
  position: relative;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: 12px 12px 30px rgba(31, 77, 58, 0.2),
              -4px -4px 15px rgba(255, 255, 255, 0.9);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--accent-color);
  min-width: 80px;
  text-align: center;
}

.feature-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.feature-content p {
  font-size: 1.08rem;
  line-height: 1.8;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff, #f8fdf9);
  padding: 3rem;
  border-radius: 18px;
  border: 2px solid var(--border-color);
  box-shadow: 6px 6px 25px rgba(31, 77, 58, 0.15),
              -3px -3px 12px rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 8px 8px 35px rgba(31, 77, 58, 0.2),
              -3px -3px 12px rgba(255, 255, 255, 0.8);
}

.testimonial-text {
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 1.8rem;
  line-height: 1.8;
  color: var(--text-color);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.15rem;
  font-family: var(--main-font);
}

/* Form Section */
.form-section {
  background: var(--light-color);
}

.contact-wrapper {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info h2 {
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  color: var(--secondary-color);
}

.contact-item {
  display: flex;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.contact-item i {
  font-size: 2rem;
  color: var(--accent-color);
  min-width: 40px;
}

.contact-item p {
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-form {
  flex: 1;
  background: white;
  padding: 3.5rem;
  border-radius: 18px;
  box-shadow: 8px 8px 30px rgba(31, 77, 58, 0.15),
              -4px -4px 20px rgba(255, 255, 255, 0.9);
  border: 2px solid var(--border-color);
}

.contact-form h3 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: var(--secondary-color);
  text-align: center;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  font-size: 1.05rem;
  transition: all 0.3s ease;
  background: var(--background-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(92, 179, 56, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  width: 100%;
  padding: 1.3rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px var(--shadow-color);
}

.submit-btn:hover {
  background: var(--hover-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2.5rem;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2.5rem;
  background: linear-gradient(135deg, #fafdf9, #ffffff);
  box-shadow: 6px 6px 25px rgba(31, 77, 58, 0.12),
              -3px -3px 15px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 8px 8px 30px rgba(31, 77, 58, 0.18),
              -3px -3px 15px rgba(255, 255, 255, 0.9);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.faq-question {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.faq-question i {
  color: var(--accent-color);
  font-size: 1.4rem;
}

.faq-answer {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-color);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

footer .logo img {
  height: 48px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

footer nav a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(232, 245, 233, 0.2);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-color);
    padding: 2.5rem 0;
  }

  #menu-checkbox:checked ~ nav {
    display: block;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .menu-toggle {
    display: flex;
  }

  header .logo {
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .content-flex {
    flex-direction: column;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 2.5rem;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  .cta-section p {
    font-size: 1.15rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto;
  }

  footer .container {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 2.5rem;
  }
}