@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #27AE60;
  --secondary-color: #1E8449;
  --accent-color: #5CB338;
  --light-color: #FEFAE0;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #27AE60 100%);
  --hover-color: #229954;
  --background-color: #FEFAE0;
  --text-color: #2C3D4F;
  --border-color: rgba(92, 179, 56, 0.2);
  --divider-color: rgba(30, 132, 73, 0.1);
  --shadow-color: rgba(39, 174, 96, 0.15);
  --highlight-color: #F59D2A;
  --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;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--dark-color);
  padding: 1rem 0;
  box-shadow: 0 4px 15px var(--shadow-color);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 45px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
}

#menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-toggle {
    display: block;
    order: 1;
    color: var(--light-color);
    font-size: 1.5rem;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0.5rem;
  }

  header nav ul li {
    text-align: center;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-color);
}

.hero-content {
  z-index: 10;
  max-width: 800px;
  padding: 2rem;
}

/* Section Styles */
section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Content Section */
.content-section {
  background-color: var(--background-color);
}

.content-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.content-image {
  border-radius: 20px;
  box-shadow: 10px 10px 30px var(--shadow-color), -10px -10px 30px rgba(255, 255, 255, 0.5);
  width: 100%;
  height: auto;
}

/* Section Divider */
.section-divider {
  position: relative;
  text-align: center;
  padding: 3rem 0;
}

.divider-line {
  height: 2px;
  background: var(--divider-color);
  margin: 0 auto;
  width: 100%;
}

.divider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--background-color);
  padding: 0 2rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  color: var(--light-color);
  text-align: center;
  padding: 8rem 1rem;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, var(--light-color) 0%, rgba(254, 250, 224, 0.5) 100%);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  padding-right: 50%;
  padding-left: 0;
}

.timeline-item:nth-child(even) {
  padding-left: 50%;
  padding-right: 0;
}

.feature-card {
  background-color: 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;
}

.feature-card::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 3px solid var(--background-color);
}

.timeline-item:nth-child(odd) .feature-card::before {
  right: -60px;
}

.timeline-item:nth-child(even) .feature-card::before {
  left: -60px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 25px var(--shadow-color), -12px -12px 25px rgba(255, 255, 255, 0.8);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 0;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 3rem;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) .feature-card::before,
  .timeline-item:nth-child(even) .feature-card::before {
    left: -40px;
    right: auto;
  }
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--background-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;
  border: 1px solid var(--border-color);
  box-shadow: 6px 6px 20px var(--shadow-color), -6px -6px 20px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 25px var(--shadow-color), -10px -10px 25px rgba(255, 255, 255, 0.7);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, rgba(92, 179, 56, 0.1) 0%, rgba(254, 250, 224, 0.3) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 8px 8px 20px var(--shadow-color), -8px -8px 20px rgba(255, 255, 255, 0.5);
}

.contact-item {
  display: flex;
  align-items: start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  min-width: 30px;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 8px 8px 20px var(--shadow-color), -8px -8px 20px rgba(255, 255, 255, 0.5);
}

.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: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
  background-color: var(--background-color);
}

.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.1);
}

.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-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 15px var(--shadow-color);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #27AE60 0%, #5CB338 100%);
  transform: translateY(-2px);
  box-shadow: 6px 6px 20px var(--shadow-color);
}

/* FAQ Section */
.faq-section {
  background-color: white;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--background-color);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  box-shadow: 5px 5px 15px var(--shadow-color), -5px -5px 15px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.faq-question {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-question i {
  font-size: 1.2rem;
}

.faq-answer {
  color: var(--text-color);
  line-height: 1.7;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

.footer-content {
  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 ul li a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer nav ul li 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);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
    gap: 1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}