@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #337357;
  --secondary-color: #2C5F4A;
  --accent-color: #5CB338;
  --light-color: #FEFAE0;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #337357 100%);
  --hover-color: #2A5D47;
  --background-color: #FFFEF9;
  --text-color: #4B5563;
  --border-color: rgba(92, 179, 56, 0.2);
  --divider-color: rgba(51, 115, 87, 0.1);
  --shadow-color: rgba(51, 115, 87, 0.15);
  --highlight-color: #F39C12;
  --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);
  line-height: 1.7;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  padding: 1.2rem 0;
  box-shadow: 0 6px 12px var(--shadow-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--accent-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 55px;
  width: auto;
  transition: transform 0.4s ease;
}

header .logo img:hover {
  transform: scale(1.08) rotate(-2deg);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

header nav a {
  color: var(--light-color);
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

header nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  transition: left 0.4s ease;
  z-index: -1;
}

header nav a:hover::before {
  left: 0;
}

header nav a:hover {
  color: white;
}

/* Mobile Menu */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-icon span {
  width: 28px;
  height: 3px;
  background-color: var(--light-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--background-color), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 3rem 2rem;
}

.hero-section h1 {
  color: white;
  margin-bottom: 1.8rem;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.5px;
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.1rem 3rem;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

/* Content Sections */
.content-section {
  padding: 10vh 0;
}

.content-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow-color);
  position: relative;
}

.content-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(51, 115, 87, 0.1) 100%);
  pointer-events: none;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-image:hover img {
  transform: scale(1.08);
}

.content-text {
  flex: 1;
}

.content-text h2 {
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.content-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.content-text p {
  margin-bottom: 1.3rem;
  line-height: 1.9;
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 6vh 0;
  padding: 0 20px;
}

.divider-line {
  flex: 1;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 2px 4px var(--shadow-color);
}

.divider-text {
  font-family: var(--main-font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  padding: 0.8rem 1.5rem;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 8px var(--shadow-color);
}

/* CTA Sections */
.cta-section {
  position: relative;
  padding: 12vh 0;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  text-align: center;
  color: white;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 16, 33, 0.7) 0%, rgba(51, 115, 87, 0.6) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  color: white;
  margin-bottom: 2rem;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.7;
}

/* Features Section */
.features-section {
  padding: 10vh 0;
  background: linear-gradient(180deg, var(--light-color) 0%, white 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 50%, rgba(92, 179, 56, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(51, 115, 87, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.features-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(92, 179, 56, 0.3);
}

.feature-item {
  position: relative;
  margin-bottom: 5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-icon {
  flex: 0 0 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, white 0%, var(--light-color) 100%);
  border-radius: 50%;
  box-shadow: 0 12px 30px var(--shadow-color),
              inset 0 -4px 8px rgba(0, 0, 0, 0.08);
  font-size: 3rem;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
  border: 4px solid var(--accent-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 18px 40px var(--shadow-color),
              inset 0 -4px 8px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.feature-content {
  flex: 1;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 -3px 6px rgba(0, 0, 0, 0.04);
  border-left: 5px solid var(--accent-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-content {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-color),
              inset 0 -3px 6px rgba(0, 0, 0, 0.06);
  border-left-width: 8px;
}

.feature-content h3 {
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.feature-content p {
  line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
  padding: 10vh 0;
  background: var(--background-color);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(92, 179, 56, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: linear-gradient(135deg, white 0%, var(--light-color) 100%);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 -3px 6px rgba(0, 0, 0, 0.04);
  border-top: 4px solid var(--accent-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.15;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px var(--shadow-color),
              inset 0 -3px 6px rgba(0, 0, 0, 0.06);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.9;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding: 10vh 0;
  background: linear-gradient(135deg, var(--light-color) 0%, white 50%, var(--light-color) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 2.5rem;
  color: var(--primary-color);
  font-size: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-top: 0.3rem;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px var(--shadow-color),
              inset 0 -3px 6px rgba(0, 0, 0, 0.04);
  border-top: 5px solid var(--accent-color);
}

.contact-form h3 {
  margin-bottom: 2.5rem;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.05rem;
}

.form-control {
  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-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(92, 179, 56, 0.15);
  background: white;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* FAQ Section */
.faq-section {
  padding: 10vh 0;
  background: white;
}

.faq-container {
  max-width: 1000px;
  margin: 4rem auto 0;
}

.faq-item {
  background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
  margin-bottom: 2rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px var(--shadow-color),
              inset 0 -3px 6px rgba(0, 0, 0, 0.03);
  border-left: 5px solid var(--accent-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  box-shadow: 0 12px 30px var(--shadow-color),
              inset 0 -3px 6px rgba(0, 0, 0, 0.05);
  transform: translateX(8px);
  border-left-width: 8px;
}

.faq-question {
  padding: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.15rem;
}

.faq-question i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.faq-answer {
  padding: 0 2rem 2rem 5.5rem;
  line-height: 1.9;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: var(--light-color);
  padding: 4rem 0 1.5rem;
  border-top: 4px solid var(--accent-color);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

footer .logo img {
  height: 55px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

footer nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

footer nav a:hover::after {
  width: 100%;
}

footer nav a:hover {
  color: var(--accent-color);
}

footer p {
  width: 100%;
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

footer p a {
  color: var(--accent-color);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 600px;
  }

  header nav ul {
    flex-direction: column;
    padding: 2rem 0;
    gap: 0;
  }

  header nav li {
    width: 100%;
  }

  header nav a {
    display: block;
    padding: 1rem 2rem;
  }

  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    flex: 1;
    text-align: center;
  }

  .menu-icon {
    order: 1;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .content-image {
    flex: 0 0 100%;
  }

  .features-timeline::before {
    left: 35px;
  }

  .feature-item {
    flex-direction: column !important;
    padding-left: 90px;
  }

  .feature-icon {
    position: absolute;
    left: 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .divider-text {
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
  }
}