@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: #7CD958;
  --light-color: #FEFAE0;
  --dark-color: #1F4428;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #337357 100%);
  --hover-color: #4A9E2C;
  --background-color: #FFFEF8;
  --text-color: #2D3436;
  --border-color: rgba(92, 179, 56, 0.2);
  --divider-color: rgba(51, 115, 87, 0.15);
  --shadow-color: rgba(51, 115, 87, 0.12);
  --highlight-color: #ECE852;
  --main-font: 'Montserrat', sans-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.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px var(--shadow-color);
}

header .container {
  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;
  align-items: center;
}

header nav ul li a {
  color: var(--light-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 1.5rem;
  cursor: pointer;
}

#menu-checkbox {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Content Sections */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 20px;
  box-shadow: 8px 8px 24px var(--shadow-color), -4px -4px 12px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.content-text {
  flex: 1;
}

.content-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.content-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Divider */
.divider {
  margin: 8vh auto;
  text-align: center;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--divider-color);
  z-index: 0;
}

.divider span {
  background: var(--background-color);
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

/* CTA Sections */
.cta-section {
  position: relative;
  padding: 10vh 0;
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.cta-section p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Features Timeline */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(to bottom, var(--light-color), var(--background-color));
}

.features-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: var(--secondary-color);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 60px;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 60px;
  margin-right: auto;
  text-align: left;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 6px 6px 20px var(--shadow-color), -3px -3px 10px rgba(255, 255, 255, 0.8);
  border: 2px solid var(--border-color);
  width: calc(50% - 30px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 30px var(--shadow-color), -5px -5px 15px rgba(255, 255, 255, 0.9);
}

.timeline-icon {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  z-index: 10;
}

.timeline-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.timeline-content p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Testimonials */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--light-color);
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: var(--secondary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 5px 5px 18px var(--shadow-color), -3px -3px 10px rgba(255, 255, 255, 0.7);
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-card p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

/* Form Section */
.form-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--background-color) 100%);
}

.form-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.contact-flex {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 3px;
}

.contact-form {
  flex: 1;
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 6px 6px 20px var(--shadow-color), -3px -3px 10px rgba(255, 255, 255, 0.8);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 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);
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--light-color);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: var(--secondary-color);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 4px 4px 15px var(--shadow-color), -2px -2px 8px rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
}

.faq-question {
  padding: 1.5rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
}

.faq-answer {
  padding: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1.5rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  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 ul li a {
  color: var(--light-color);
  transition: color 0.3s ease;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-bottom a {
  color: var(--highlight-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-checkbox:checked ~ nav {
    max-height: 400px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
  }

  header nav ul li a {
    display: block;
    padding: 1rem;
  }

  header .logo {
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .content-flex {
    flex-direction: column;
  }

  .content-image {
    flex: 1;
    width: 100%;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-icon {
    left: 30px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
    margin-right: 0;
    text-align: left;
    width: calc(100% - 80px);
  }

  .contact-flex {
    flex-direction: column;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }

  footer .container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}