@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #27AE60;
  --secondary-color: #239B56;
  --accent-color: #2ECC71;
  --light-color: #E8F8F5;
  --dark-color: #1E8449;
  --gradient-primary: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  --hover-color: #1F7A3F;
  --background-color: #F7FBF9;
  --text-color: #2C3E50;
  --border-color: rgba(46, 204, 113, 0.25);
  --divider-color: rgba(39, 174, 96, 0.12);
  --shadow-color: rgba(30, 132, 73, 0.18);
  --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);
  background-color: var(--background-color);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 20px var(--shadow-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 55px;
  width: auto;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
}

header nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--highlight-color);
  transform: translateY(-2px);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-toggle {
    display: block;
    order: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  header nav.active {
    max-height: 600px;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    padding-top: 20px;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  header nav ul li a {
    display: block;
    padding: 18px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.88;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 25px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.3;
}

.hero p {
  font-size: 1.35rem;
  max-width: 750px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px var(--shadow-color);
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

/* Content Sections */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-grid {
  display: flex;
  gap: 50px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px var(--shadow-color);
  transform: perspective(1000px) rotateY(-3deg);
  transition: all 0.3s ease;
}

.content-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-text {
  flex: 1;
}

.content-text h2 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  line-height: 1.3;
}

.content-text p {
  font-size: 1.12rem;
  margin-bottom: 18px;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
  }

  .content-image {
    flex: 0 0 100%;
    transform: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.15rem;
  }
}

/* Section Divider */
.section-divider {
  position: relative;
  text-align: center;
  margin: 70px 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-color);
  z-index: 1;
}

.section-divider span {
  position: relative;
  z-index: 2;
  background-color: var(--background-color);
  padding: 0 35px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
}

/* CTA Section */
.cta-section {
  position: relative;
  padding-top: 10vh;
  padding-bottom: 10vh;
  text-align: center;
  color: #fff;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.7rem;
  margin-bottom: 25px;
  line-height: 1.3;
}

.cta-section p {
  font-size: 1.35rem;
  max-width: 850px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

/* Features Section */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: var(--light-color);
}

.features-timeline {
  max-width: 950px;
  margin: 0 auto;
  position: relative;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.feature-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

.feature-item:nth-child(odd) {
  justify-content: flex-start;
}

.feature-item:nth-child(even) {
  justify-content: flex-end;
}

.feature-content {
  width: 45%;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--shadow-color);
  border: 3px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.feature-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px var(--light-color);
}

.feature-item:nth-child(odd) .feature-content::before {
  right: -62px;
}

.feature-item:nth-child(even) .feature-content::before {
  left: -62px;
}

.feature-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px var(--shadow-color);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.feature-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--secondary-color);
}

.feature-content p {
  line-height: 1.8;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .features-timeline::before {
    left: 0;
  }

  .feature-item {
    justify-content: flex-start !important;
  }

  .feature-content {
    width: calc(100% - 50px);
    margin-left: 50px;
  }

  .feature-content::before {
    left: -45px !important;
    right: auto !important;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.testimonial-card {
  background: #fff;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--shadow-color);
  border-left: 5px solid var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 4rem;
  color: var(--light-color);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px var(--shadow-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 25px;
  color: var(--text-color);
  line-height: 1.9;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.15rem;
}

/* Form Section */
.form-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: var(--light-color);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.contact-item {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-item i {
  font-size: 1.7rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.contact-form {
  background: #fff;
  padding: 45px;
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--shadow-color);
  border-top: 5px solid var(--primary-color);
}

.contact-form h3 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text-color);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 3px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--shadow-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-form {
    padding: 30px;
  }
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: #fff;
}

.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  background: var(--light-color);
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--border-color);
  box-shadow: 0 5px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.faq-question {
  padding: 28px;
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--main-font);
}

.faq-question i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.faq-answer {
  padding: 0 28px 28px 28px;
  color: var(--text-color);
  line-height: 1.9;
  background: #fff;
  font-size: 1.05rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 45px 0 25px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 35px;
}

footer .logo img {
  height: 55px;
  width: auto;
}

footer nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

footer .footer-bottom {
  text-align: center;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
}

footer .footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 12px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.7rem;
  margin-bottom: 50px;
  color: var(--primary-color);
  line-height: 1.3;
}