@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #337357;
  --secondary-color: #2A5C47;
  --accent-color: #5CB338;
  --light-color: #E8F5E9;
  --dark-color: #1B3C2E;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #337357 100%);
  --hover-color: #2D6249;
  --background-color: #F9FDF9;
  --text-color: #2C3E50;
  --border-color: rgba(92, 179, 56, 0.25);
  --divider-color: rgba(42, 92, 71, 0.12);
  --shadow-color: rgba(42, 92, 71, 0.18);
  --highlight-color: #FFEB00;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Inter', 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.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Header styles */
header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px 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: 55px;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.08);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

header nav ul li a {
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 80%;
}

header nav ul li a:hover {
  background-color: var(--hover-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 32px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

#menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-toggle {
    display: flex;
    order: 1;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-checkbox:checked ~ nav {
    max-height: 600px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0;
  }

  header nav ul li a {
    display: block;
    padding: 1.2rem;
  }

  header nav ul li a::after {
    display: none;
  }
}

/* Hero section */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(51, 115, 87, 0.88) 0%, rgba(27, 60, 46, 0.88) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 950px;
  padding: 2.5rem;
}

.hero h1 {
  text-shadow: 3px 5px 10px rgba(0,0,0,0.35);
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.hero p {
  text-shadow: 2px 3px 6px rgba(0,0,0,0.3);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
section {
  padding: 10vh 0;
}

.content-section {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.content-section img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 35px var(--shadow-color),
              inset 0 2px 0 rgba(255,255,255,0.4);
  transition: transform 0.3s ease;
}

.content-section img:hover {
  transform: scale(1.02);
}

.content-section .text-content {
  flex: 1;
  min-width: 300px;
}

.content-section .image-content {
  flex: 0 0 40%;
  min-width: 300px;
}

/* Section divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 6vh 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  border-radius: 2px;
}

.section-divider h3 {
  white-space: nowrap;
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
}

/* CTA sections */
.cta-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  text-shadow: 3px 5px 10px rgba(0,0,0,0.45);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.cta-section p {
  text-shadow: 2px 3px 6px rgba(0,0,0,0.35);
}

/* Features section */
.features-section {
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, var(--border-color) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
}

.features-timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.feature-item {
  margin-bottom: 4rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.feature-item:nth-child(odd) {
  flex-direction: row;
  text-align: right;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.feature-content {
  flex: 1;
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 2px 0 rgba(255,255,255,0.6);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-color),
              inset 0 2px 0 rgba(255,255,255,0.6);
  border-color: var(--accent-color);
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  box-shadow: 0 8px 20px var(--shadow-color);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  border: 4px solid #fff;
}

@media (max-width: 768px) {
  .features-timeline::before {
    left: 25px;
  }

  .feature-item,
  .feature-item:nth-child(odd),
  .feature-item:nth-child(even) {
    flex-direction: row;
    text-align: left;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    border-width: 3px;
  }
}

/* Testimonials */
.testimonials-section {
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 2px 0 rgba(255,255,255,0.6);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.2;
  font-family: var(--main-font);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-color);
  border-color: var(--accent-color);
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Contact section */
.contact-section {
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, var(--border-color) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  pointer-events: none;
}

.contact-wrapper {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info-item {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--shadow-color),
              inset 0 2px 0 rgba(255,255,255,0.6);
  border-left: 5px solid var(--accent-color);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.contact-info-item i {
  color: var(--primary-color);
  margin-right: 1.2rem;
  font-size: 1.6rem;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 2px 0 rgba(255,255,255,0.6);
  border: 2px solid var(--border-color);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: var(--dark-color);
  font-size: 0.95rem;
}

.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: 1rem;
  transition: all 0.3s ease;
  background: var(--light-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);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  background: var(--gradient-primary);
  color: #fff;
  padding: 1.2rem 3rem;
  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);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-color);
  background: linear-gradient(135deg, #337357 0%, #2D6249 100%);
}

/* FAQ section */
.faq-section {
  background: #fff;
}

.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px var(--shadow-color),
              inset 0 2px 0 rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px var(--shadow-color);
  transform: translateY(-3px);
  border-color: var(--accent-color);
}

.faq-question {
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
  padding: 2rem;
  font-weight: 700;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.05rem;
}

.faq-question i {
  color: var(--accent-color);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.faq-answer {
  padding: 2rem;
  background: #fff;
  color: var(--text-color);
  border-top: 2px solid var(--border-color);
  line-height: 1.9;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 3.5rem 0 1.5rem;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

footer .logo img {
  height: 55px;
  transition: transform 0.3s ease;
}

footer .logo img:hover {
  transform: scale(1.05);
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 3px;
}

footer nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

footer nav ul li a:hover::after {
  width: 100%;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

footer .footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.95rem;
}

footer .footer-bottom a {
  color: var(--highlight-color);
  font-weight: 700;
  transition: opacity 0.3s ease;
}

footer .footer-bottom a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }

  .content-section {
    flex-direction: column;
  }

  .content-section .image-content {
    flex: 0 0 100%;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}