@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #5CB338;
  --secondary-color: #337357;
  --accent-color: #A9B388;
  --light-color: #FEFAE0;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #337357 100%);
  --hover-color: #4A9C2E;
  --background-color: #FEFAE0;
  --text-color: #2C3D4F;
  --border-color: rgba(169, 179, 136, 0.3);
  --divider-color: rgba(51, 115, 87, 0.15);
  --shadow-color: rgba(15, 16, 33, 0.12);
  --highlight-color: #ECE852;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', 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.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
}

header {
  background-color: var(--dark-color);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px var(--shadow-color);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

header nav a:hover {
  color: var(--primary-color);
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-icon span {
  width: 30px;
  height: 3px;
  background: var(--light-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  header .logo {
    order: 1;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .menu-icon {
    display: flex;
    order: 2;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  header nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  #menu-toggle:checked ~ nav {
    max-height: 500px;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

.hero {
  background: linear-gradient(rgba(15, 16, 33, 0.6), rgba(51, 115, 87, 0.5)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  padding: 0 20px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.03) 20px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gradient-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(92, 179, 56, 0.3);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(92, 179, 56, 0.4);
  background: linear-gradient(135deg, #4A9C2E 0%, #2A6040 100%);
}

.content-section {
  background-color: #fff;
  position: relative;
}

.content-flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 8px 8px 20px var(--shadow-color), -4px -4px 12px rgba(255, 255, 255, 0.5);
}

.content-text {
  flex: 0 0 60%;
}

.content-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.content-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .content-flex {
    flex-direction: column;
  }

  .content-image, .content-text {
    flex: 0 0 100%;
  }
}

.section-divider {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(90deg, transparent, var(--divider-color), transparent);
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border-color);
}

.section-divider::before {
  left: 0;
}

.section-divider::after {
  right: 0;
}

.section-divider h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
  padding: 0 2rem;
  background: var(--background-color);
}

.cta-section {
  background: linear-gradient(rgba(15, 16, 33, 0.7), rgba(51, 115, 87, 0.6)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  text-align: center;
  color: #fff;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(92, 179, 56, 0.1), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(169, 179, 136, 0.1), transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.cta-section p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }
}

.features-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(92, 179, 56, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.features-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  top: 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 6px 6px 16px var(--shadow-color), -4px -4px 10px rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 20px var(--shadow-color), -6px -6px 14px rgba(255, 255, 255, 0.9);
}

.timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(92, 179, 56, 0.4);
  z-index: 2;
}

.timeline-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px;
  }

  .timeline-icon {
    left: 30px;
  }
}

.content-section-2 {
  background-color: var(--light-color);
}

.content-flex-2 {
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-flex-2 .content-image {
  flex: 0 0 50%;
}

.content-flex-2 .content-text {
  flex: 0 0 50%;
}

@media (max-width: 768px) {
  .content-flex-2 {
    flex-direction: column;
  }

  .content-flex-2 .content-image,
  .content-flex-2 .content-text {
    flex: 0 0 100%;
  }
}

.testimonials-section {
  background: linear-gradient(135deg, #f8f9fa 0%, var(--light-color) 100%);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(169, 179, 136, 0.03) 35px, rgba(169, 179, 136, 0.03) 70px);
  pointer-events: none;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 6px 6px 16px var(--shadow-color), -4px -4px 10px rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.2;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 20px var(--shadow-color), -6px -6px 14px rgba(255, 255, 255, 0.9);
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.contact-section {
  background: #fff;
}

.contact-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 40%;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.contact-item p {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-form {
  flex: 0 0 60%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), 0 0 0 3px rgba(92, 179, 56, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 0 0 100%;
  }
}

.faq-section {
  background: linear-gradient(180deg, var(--light-color) 0%, #f8f9fa 100%);
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(51, 115, 87, 0.05) 2px, transparent 2px);
  background-size: 50px 50px;
  pointer-events: none;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 4px 4px 12px var(--shadow-color), -2px -2px 8px rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 6px 6px 16px var(--shadow-color), -4px -4px 10px rgba(255, 255, 255, 0.8);
}

.faq-question {
  padding: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
}

footer {
  background-color: var(--dark-color);
  padding: 3rem 0 1rem;
  color: var(--light-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer nav a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}
