@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #239B56;
  --secondary-color: #186A3B;
  --accent-color: #2ECC71;
  --light-color: #D5F4E6;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #2ECC71 0%, #239B56 100%);
  --hover-color: #1D8348;
  --background-color: #F0FFF4;
  --text-color: #2C3D4F;
  --border-color: rgba(46, 204, 113, 0.25);
  --divider-color: rgba(24, 106, 59, 0.15);
  --shadow-color: rgba(35, 155, 86, 0.12);
  --highlight-color: #F59D2A;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Lato', 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;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  transition: all 0.35s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  padding: 20px 0;
  box-shadow: 0 5px 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: 55px;
  width: auto;
  transition: transform 0.35s ease;
}

header .logo img:hover {
  transform: scale(1.08);
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

header nav ul li a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 0;
  position: relative;
  letter-spacing: 0.3px;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--highlight-color);
  transition: all 0.35s ease;
  transform: translateX(-50%);
}

header nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s ease;
}

@media (max-width: 768px) {
  header .logo {
    margin: 0 auto;
  }
  
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .menu-toggle {
    display: flex;
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  header nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  
  header nav.active {
    max-height: 600px;
  }
  
  header nav ul {
    flex-direction: column;
    padding: 24px 0;
    gap: 18px;
  }
}

/* Hero Section */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(24, 106, 59, 0.75), rgba(15, 16, 33, 0.65));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 28px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.35rem;
  max-width: 750px;
  margin: 0 auto 36px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.15rem;
  }
}

/* Content Section */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 45px;
  align-items: center;
}

.content-flex.reverse {
  flex-direction: row-reverse;
}

.content-image {
  flex: 0 0 40%;
}

.content-image img {
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.content-image img:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 20px 50px var(--shadow-color);
}

.content-text {
  flex: 1;
}

.content-text h2 {
  margin-bottom: 24px;
  font-size: 2.4rem;
  line-height: 1.3;
}

.content-text p {
  margin-bottom: 18px;
  font-size: 1.08rem;
  line-height: 1.85;
}

@media (max-width: 968px) {
  .content-flex,
  .content-flex.reverse {
    flex-direction: column;
  }
  
  .content-image {
    flex: 0 0 100%;
  }
}

/* Section Divider */
.section-divider {
  padding: 70px 0;
  text-align: center;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--divider-color);
  z-index: 0;
}

.section-divider h2 {
  display: inline-block;
  background: var(--background-color);
  padding: 0 40px;
  position: relative;
  z-index: 1;
  font-size: 2.1rem;
}

/* CTA Section */
.cta-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 106, 59, 0.8);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.cta-section p {
  font-size: 1.35rem;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2.2rem;
  }
  
  .cta-section p {
    font-size: 1.15rem;
  }
}

/* Features Timeline */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(180deg, var(--light-color) 0%, var(--background-color) 100%);
}

.features-section h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 70px;
}

.timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 0 0 45%;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 2px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.35s ease;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  transform: translateY(-50%) rotate(45deg);
  border: 2px solid var(--background-color);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-color),
              inset 0 2px 0 rgba(255, 255, 255, 0.6);
  border-color: var(--primary-color);
}

.timeline-marker {
  flex: 0 0 10%;
  display: flex;
  justify-content: center;
}

.timeline-marker i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 6px 16px var(--shadow-color);
  z-index: 10;
  border: 3px solid var(--background-color);
}

.timeline-content h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--secondary-color);
}

.timeline-content p {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 26px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline-content {
    flex: 1;
    margin-left: 70px;
  }
  
  .timeline-content::before {
    display: none;
  }
  
  .timeline-marker {
    position: absolute;
    left: 0;
  }
}

/* Testimonials */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--background-color);
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
}

.testimonial-card {
  background: #fff;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 25px var(--shadow-color),
              inset 0 2px 0 rgba(255, 255, 255, 0.7);
  transition: all 0.35s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 40px;
  color: var(--primary-color);
  opacity: 0.15;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px var(--shadow-color),
              inset 0 2px 0 rgba(255, 255, 255, 0.7);
  border-color: var(--primary-color);
}

.testimonial-text {
  font-size: 1.06rem;
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(180deg, var(--background-color) 0%, var(--light-color) 100%);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 60px;
}

.contact-wrapper {
  display: flex;
  gap: 55px;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 38%;
}

.contact-item {
  margin-bottom: 32px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 6px 18px var(--shadow-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.contact-item i {
  font-size: 26px;
  margin-right: 14px;
  color: var(--primary-color);
}

.contact-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.contact-form {
  flex: 1;
  background: #fff;
  padding: 45px;
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  font-size: 1.02rem;
  transition: all 0.35s 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 4px rgba(35, 155, 86, 0.12);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 6px 16px var(--shadow-color);
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #239B56 0%, #186A3B 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.submit-btn:active {
  transform: translateY(-1px);
}

@media (max-width: 968px) {
  .contact-wrapper {
    flex-direction: column;
  }
  
  .contact-info {
    flex: 1;
    width: 100%;
  }
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--light-color);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 60px;
}

.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  margin-bottom: 24px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 0 6px 18px var(--shadow-color);
  overflow: hidden;
  transition: all 0.35s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px var(--shadow-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.faq-question {
  padding: 28px 32px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.22rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--light-color) 0%, #fff 100%);
  color: var(--secondary-color);
}

.faq-question i {
  color: var(--primary-color);
  font-size: 22px;
  transition: transform 0.35s ease;
}

.faq-item:hover .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 32px 28px 32px;
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--text-color);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  padding: 55px 0 24px;
  color: #fff;
}

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: 32px;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: #fff;
  opacity: 0.92;
  transition: all 0.3s ease;
  font-weight: 500;
}

footer nav ul li a:hover {
  opacity: 1;
  color: var(--highlight-color);
  transform: translateY(-2px);
}

.footer-credit {
  width: 100%;
  text-align: center;
  padding-top: 35px;
  margin-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0.85;
}

.footer-credit a {
  color: var(--highlight-color);
  font-weight: 700;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  footer nav ul {
    flex-direction: column;
    gap: 14px;
  }
}