@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #337357;
  --secondary-color: #27543E;
  --accent-color: #5CB338;
  --light-color: #FEFAE0;
  --dark-color: #2C3D4F;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #337357 100%);
  --hover-color: #2A6049;
  --background-color: #FCFBF8;
  --text-color: #4B5563;
  --border-color: rgba(92, 179, 56, 0.25);
  --divider-color: rgba(51, 115, 87, 0.15);
  --shadow-color: rgba(39, 84, 62, 0.12);
  --highlight-color: #F1C40F;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  padding: 18px 0;
  box-shadow: 0 3px 15px var(--shadow-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.08);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

header nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

header nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--highlight-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

header nav a:hover::before {
  width: 100%;
}

header nav a:hover {
  color: var(--highlight-color);
}

/* Mobile Menu */
#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: 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: #FFFFFF;
  padding: 0 20px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 61, 79, 0.8), rgba(51, 115, 87, 0.65));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3.2rem;
  text-shadow: 3px 5px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.hero-section p {
  font-size: 1.25rem;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.6);
  max-width: 800px;
  margin: 0 auto;
}

/* Content Section */
.content-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

.content-flex {
  display: flex;
  align-items: center;
  gap: 45px;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 20px;
  box-shadow: 0 12px 35px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.4);
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.content-image:hover img {
  transform: scale(1.05);
}

.content-text {
  flex: 1;
}

.content-text h2 {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.content-text p {
  font-size: 1.05rem;
  margin-bottom: 18px;
  line-height: 1.85;
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 9dvh 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-divider span {
  font-family: var(--main-font);
  font-size: 1.6rem;
  color: var(--primary-color);
  font-weight: 700;
  white-space: nowrap;
  padding: 0 10px;
}

/* CTA Section */
.cta-section {
  padding: 16dvh 20px;
  position: relative;
  text-align: center;
  color: #FFFFFF;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  text-shadow: 3px 5px 10px rgba(0, 0, 0, 0.8);
}

.cta-section p {
  font-size: 1.35rem;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--background-color) 100%);
}

.features-timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 3px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.feature-item:nth-child(odd) {
  flex-direction: row;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  padding: 35px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-content:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.8);
  border-color: var(--accent-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 15px var(--shadow-color);
  z-index: 10;
  border: 4px solid var(--background-color);
}

.feature-icon i {
  color: #FFFFFF;
  font-size: 28px;
}

.feature-content h3 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.feature-content p {
  font-size: 1.02rem;
  line-height: 1.75;
}

/* Testimonials Section */
.testimonials-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: var(--background-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-top: 45px;
}

.testimonial-card {
  padding: 35px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--light-color) 100%);
  border-radius: 16px;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 22px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.7);
  border-color: var(--accent-color);
}

.testimonial-card p {
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 22px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.08rem;
  position: relative;
  z-index: 1;
}

/* Contact Section */
.contact-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-color) 100%);
}

.contact-wrapper {
  display: flex;
  gap: 55px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2.6rem;
  color: var(--primary-color);
  margin-bottom: 35px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 18px var(--shadow-color);
}

.contact-item i {
  color: var(--primary-color);
  font-size: 26px;
  margin-top: 3px;
}

.contact-item div h3 {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.contact-item div p {
  font-size: 1.02rem;
  color: var(--text-color);
}

.contact-form {
  flex: 1;
  background: #FFFFFF;
  padding: 45px;
  border-radius: 16px;
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 2px solid var(--border-color);
}

.contact-form h3 {
  font-size: 2.1rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.02rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  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(--primary-color);
  box-shadow: 0 0 0 4px rgba(51, 115, 87, 0.15);
  background: #FFFFFF;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px var(--shadow-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--hover-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* FAQ Section */
.faq-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: var(--background-color);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.6rem;
  color: var(--primary-color);
  margin-bottom: 55px;
}

.faq-list {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.faq-item {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--light-color) 100%);
  border-radius: 16px;
  border: 2px solid var(--border-color);
  padding: 30px;
  box-shadow: 0 6px 18px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.7);
  transform: translateX(5px);
  border-color: var(--accent-color);
}

.faq-item h3 {
  font-size: 1.45rem;
  color: var(--primary-color);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item h3 i {
  color: var(--highlight-color);
  font-size: 1.3rem;
}

.faq-item p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-color);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  color: var(--light-color);
  padding: 45px 0 25px;
  box-shadow: 0 -4px 15px var(--shadow-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

footer .logo img {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease;
}

footer .logo img:hover {
  transform: scale(1.05);
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
  font-weight: 500;
}

footer nav a:hover {
  color: var(--highlight-color);
  text-decoration: underline;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    padding: 25px;
    box-shadow: 0 8px 20px var(--shadow-color);
  }

  header nav ul {
    flex-direction: column;
    gap: 18px;
  }

  #menu-toggle:checked ~ nav {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  header .logo {
    margin: 0 auto;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section p {
    font-size: 1.05rem;
  }

  .content-flex {
    flex-direction: column;
    gap: 35px;
  }

  .content-image {
    flex: 1;
    width: 100%;
  }

  .content-text h2 {
    font-size: 2rem;
  }

  .features-timeline::before {
    left: 25px;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    flex-direction: row;
    padding-left: 70px;
  }

  .feature-icon {
    left: 25px;
    transform: translateX(0);
    width: 60px;
    height: 60px;
  }

  .feature-icon i {
    font-size: 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  .cta-section p {
    font-size: 1.15rem;
  }

  footer .footer-content {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 12px;
  }
}