@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: #58D68D;
  --light-color: #E8F8F5;
  --dark-color: #145A32;
  --gradient-primary: linear-gradient(135deg, #58D68D 0%, #27AE60 100%);
  --hover-color: #229954;
  --background-color: #F9FDF9;
  --text-color: #2C3E50;
  --border-color: rgba(39, 174, 96, 0.25);
  --divider-color: rgba(30, 132, 73, 0.15);
  --shadow-color: rgba(30, 132, 73, 0.12);
  --highlight-color: #F39C12;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.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: 20px 0;
  box-shadow: 0 4px 12px 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: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(20, 90, 50, 0.7), rgba(30, 132, 73, 0.7)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: #ffffff;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(88, 214, 141, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

/* BUTTON STYLES */
.btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(39, 174, 96, 0.4);
  background: linear-gradient(135deg, #27AE60 0%, #1E8449 100%);
}

/* CONTENT SECTIONS */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.content-flex img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s ease;
}

.content-flex img:hover {
  transform: scale(1.03);
}

.content-text h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.content-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* DIVIDER */
.section-divider {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--divider-color), transparent);
}

.section-divider h3 {
  display: inline-block;
  background-color: var(--background-color);
  padding: 0 30px;
  position: relative;
  z-index: 1;
  font-size: 2rem;
  color: var(--secondary-color);
}

/* CTA SECTIONS */
.cta-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(rgba(20, 90, 50, 0.8), rgba(30, 132, 73, 0.8)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: #ffffff;
  text-align: center;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.cta-section p {
  font-size: 1.4rem;
  margin-bottom: 35px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* FEATURES */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(180deg, var(--background-color) 0%, var(--light-color) 100%);
}

.features-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  width: 48%;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(39, 174, 96, 0.2);
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
}

.timeline-item:nth-child(even) {
  margin-left: 52%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px var(--light-color);
}

.timeline-item:nth-child(odd)::before {
  right: -62px;
}

.timeline-item:nth-child(even)::before {
  left: -62px;
}

.timeline-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.timeline-item h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.timeline-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* TESTIMONIALS */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: var(--light-color);
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.testimonial-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 6px 20px 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: 5rem;
  color: var(--accent-color);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(39, 174, 96, 0.2);
}

.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-card h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* CONTACT SECTION */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-color) 100%);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.contact-flex {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.contact-item {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.contact-item p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-form {
  flex: 1;
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 24px var(--shadow-color);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
  background-color: 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(39, 174, 96, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* FAQ */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: #ffffff;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.faq-item {
  background: var(--light-color);
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-color);
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.2);
  transform: translateX(5px);
}

.faq-question {
  padding: 25px 30px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.faq-answer {
  padding: 0 30px 25px 30px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  padding: 50px 0 30px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

footer .logo img {
  height: 50px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

footer nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  opacity: 0.8;
}

.footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  header nav {
    width: 100%;
    margin-top: 20px;
  }

  header nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .content-flex {
    flex-direction: column;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    margin-left: 60px !important;
  }

  .timeline-item::before {
    left: -50px !important;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-flex {
    flex-direction: column;
  }

  footer .container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }
}