@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #27AE60;
  --secondary-color: #196F3D;
  --accent-color: #52C78B;
  --light-color: #D5F4E6;
  --dark-color: #0E4B2A;
  --gradient-primary: linear-gradient(135deg, #52C78B 0%, #27AE60 100%);
  --hover-color: #1E8449;
  --background-color: #FAFFFE;
  --text-color: #2C3E50;
  --border-color: rgba(82, 199, 139, 0.25);
  --divider-color: rgba(39, 174, 96, 0.12);
  --shadow-color: rgba(39, 174, 96, 0.18);
  --highlight-color: #E67E22;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Poppins', 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.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.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.1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 18px var(--shadow-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.06) rotate(2deg);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

header nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

header nav a:hover::after {
  width: 100%;
}

header nav a:hover {
  color: var(--accent-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 1px;
  transition: 0.3s;
}

input#menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
    order: 3;
  }

  header .logo {
    order: 2;
    flex: 1;
    text-align: center;
  }

  header nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  input#menu-checkbox:checked ~ nav {
    max-height: 550px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1.3rem 0;
    gap: 0;
  }

  header nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  header nav a {
    display: block;
    padding: 1.1rem;
  }
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
  color: #ffffff;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(14, 75, 42, 0.72), rgba(25, 111, 61, 0.72)), url('./img/bg.jpg') no-repeat center center/cover;
  z-index: -1;
}

.hero-content {
  max-width: 820px;
  z-index: 1;
}

/* Content Section Styles */
.content-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

.content-flex {
  display: flex;
  gap: 45px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 18px;
  box-shadow: 0 11px 32px var(--shadow-color);
  overflow: hidden;
  position: relative;
}

.content-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(82, 199, 139, 0.08) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.content-image:hover img {
  transform: scale(1.06);
}

.content-text {
  flex: 0 0 60%;
}

@media (max-width: 768px) {
  .content-flex {
    flex-direction: column;
  }

  .content-image,
  .content-text {
    flex: 0 0 100%;
  }
}

/* Section Divider */
.section-divider {
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gradient-primary);
  z-index: 0;
  opacity: 0.4;
}

.divider-text {
  position: relative;
  display: inline-block;
  background-color: var(--background-color);
  padding: 0 2.3rem;
  z-index: 1;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  position: relative;
  color: #ffffff;
  text-align: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 75, 42, 0.78);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

/* Features Section - Timeline */
.features-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(to bottom, var(--background-color) 0%, var(--light-color) 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(90deg, rgba(82, 199, 139, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(82, 199, 139, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.features-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  z-index: 1;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(82, 199, 139, 0.3);
}

.feature-item {
  position: relative;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
}

.feature-item:nth-child(odd) {
  flex-direction: row;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  width: 45%;
  background: #ffffff;
  padding: 2.3rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 0 9px 25px var(--shadow-color),
              inset 0 1px 3px rgba(255, 255, 255, 0.5);
  transition: all 0.35s ease;
}

.feature-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 13px 35px var(--shadow-color),
              inset 0 1px 3px rgba(255, 255, 255, 0.5);
  border-color: var(--primary-color);
}

.feature-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  box-shadow: 0 5px 18px var(--shadow-color);
  z-index: 2;
  border: 3px solid var(--background-color);
}

@media (max-width: 768px) {
  .features-timeline::before {
    left: 32px;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    flex-direction: row;
    padding-left: 75px;
  }

  .feature-content {
    width: 100%;
  }

  .feature-icon {
    left: 32px;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: var(--light-color);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 40%, rgba(82, 199, 139, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(82, 199, 139, 0.06) 0%, transparent 50%);
  z-index: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2.3rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: #ffffff;
  padding: 2.3rem;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  box-shadow: 0 7px 22px var(--shadow-color),
              inset 0 1px 2px rgba(255, 255, 255, 0.4);
  transition: all 0.35s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.5rem;
  color: var(--accent-color);
  opacity: 0.12;
}

.testimonial-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 11px 32px var(--shadow-color),
              inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.3rem;
  line-height: 1.9;
  position: relative;
  z-index: 1;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.03rem;
}

/* Form Section */
.form-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: var(--background-color);
}

.form-container {
  max-width: 620px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3.2rem;
  border-radius: 18px;
  box-shadow: 0 11px 45px var(--shadow-color),
              inset 0 1px 3px rgba(255, 255, 255, 0.5);
  border: 2px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.02rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid var(--border-color);
  border-radius: 9px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: 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(39, 174, 96, 0.12);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 18px var(--shadow-color);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px var(--shadow-color);
}

/* Contact Section */
.contact-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(to bottom, var(--light-color) 0%, var(--background-color) 100%);
}

.contact-flex {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 40%;
}

.contact-form {
  flex: 0 0 60%;
}

.contact-item {
  margin-bottom: 2.3rem;
  padding: 1.8rem;
  background: #ffffff;
  border-radius: 11px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 5px 18px var(--shadow-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(4px);
  box-shadow: 0 7px 22px var(--shadow-color);
}

.contact-item i {
  color: var(--primary-color);
  margin-right: 0.7rem;
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  .contact-flex {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 0 0 100%;
  }
}

/* FAQ Section */
.faq-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: var(--background-color);
}

.faq-container {
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  margin-bottom: 1.8rem;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: 0 5px 18px var(--shadow-color),
              inset 0 1px 2px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 7px 22px var(--shadow-color),
              inset 0 1px 2px rgba(255, 255, 255, 0.4);
  border-color: var(--primary-color);
}

.faq-question {
  padding: 1.7rem;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(to right, var(--light-color) 0%, transparent 100%);
  cursor: pointer;
  font-size: 1.08rem;
}

.faq-question i {
  margin-right: 0.7rem;
  color: var(--accent-color);
}

.faq-answer {
  padding: 0 1.7rem 1.7rem 1.7rem;
  color: var(--text-color);
  line-height: 1.9;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  color: #ffffff;
  padding: 3.3rem 2rem 1.3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.3rem;
}

footer .logo img {
  height: 62px;
  width: auto;
}

footer nav ul {
  list-style: none;
  display: flex;
  gap: 2.3rem;
  flex-wrap: wrap;
}

footer nav a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

footer nav a:hover {
  color: var(--highlight-color);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.3rem;
  border-top: 1.5px solid rgba(255, 255, 255, 0.13);
  font-size: 0.93rem;
}

.footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2.3rem;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1.1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}