@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #337357;
  --secondary-color: #5CB338;
  --accent-color: #ECE852;
  --light-color: #FEFAE0;
  --dark-color: #5F6F52;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #337357 100%);
  --hover-color: #27AE60;
  --background-color: #FEFAE0;
  --text-color: #2C3D4F;
  --border-color: rgba(92, 179, 56, 0.3);
  --divider-color: rgba(51, 115, 87, 0.15);
  --shadow-color: rgba(51, 115, 87, 0.2);
  --highlight-color: #F59D2A;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Header Styles */
header {
  background: var(--dark-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px var(--shadow-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header .logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  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: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--light-color);
  transition: all 0.3s ease;
}

#menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .logo {
    margin: 0 auto;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 2rem;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  header nav ul {
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
  }

  #menu-checkbox:checked ~ nav {
    max-height: 500px;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(51, 115, 87, 0.8) 0%, rgba(92, 179, 56, 0.6) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: white;
  font-size: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.25rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styles */
section {
  padding: 10dvh 0;
}

.content-section {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.content-section img {
  width: 40%;
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--shadow-color);
  transition: transform 0.3s ease;
}

.content-section img:hover {
  transform: scale(1.02);
}

.content-text {
  width: 60%;
}

@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
  }
  
  .content-section img,
  .content-text {
    width: 100%;
  }
}

/* Section Divider */
.section-divider {
  position: relative;
  text-align: center;
  padding: 3rem 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.section-divider h2 {
  position: relative;
  display: inline-block;
  padding: 0 2rem;
  background: var(--background-color);
  z-index: 1;
}

/* CTA Section */
.cta-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: white;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(51, 115, 87, 0.75);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.cta-section p {
  font-size: 1.25rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 8px 8px 20px var(--shadow-color), -8px -8px 20px rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 30px var(--shadow-color), -8px -8px 20px rgba(255, 255, 255, 0.9);
}

.feature-item:hover::before {
  width: 100%;
  opacity: 0.1;
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.feature-item h3 {
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 6px 6px 15px var(--shadow-color), -6px -6px 15px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-3px);
  box-shadow: 10px 10px 25px var(--shadow-color), -6px -6px 15px rgba(255, 255, 255, 0.9);
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
}

/* Contact Section */
.contact-section {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info {
  width: 40%;
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.contact-form {
  width: 60%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.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;
  box-shadow: inset 4px 4px 8px var(--shadow-color), inset -4px -4px 8px rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(92, 179, 56, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 12px var(--shadow-color);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 18px var(--shadow-color);
  background: linear-gradient(135deg, #27AE60 0%, #337357 100%);
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form {
    width: 100%;
  }
}

/* FAQ Section */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 5px 5px 15px var(--shadow-color), -5px -5px 15px rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: 8px 8px 20px var(--shadow-color), -5px -5px 15px rgba(255, 255, 255, 0.8);
}

.faq-question {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-question i {
  color: var(--accent-color);
}

.faq-answer {
  color: var(--text-color);
  line-height: 1.8;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

footer .logo img {
  height: 40px;
  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: color 0.3s ease;
}

footer nav a:hover {
  color: var(--accent-color);
}

footer p {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

footer p a {
  color: var(--accent-color);
  text-decoration: none;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  footer nav ul {
    justify-content: center;
  }
}