@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #27AE60;
  --secondary-color: #16A085;
  --accent-color: #52C97E;
  --light-color: #E8F8F0;
  --dark-color: #0E5D35;
  --gradient-primary: linear-gradient(135deg, #52C97E 0%, #27AE60 100%);
  --hover-color: #1E8B4F;
  --background-color: #F9FDFB;
  --text-color: #2C3E50;
  --border-color: rgba(39, 174, 96, 0.2);
  --divider-color: rgba(22, 160, 133, 0.15);
  --shadow-color: rgba(39, 174, 96, 0.12);
  --highlight-color: #F1C40F;
  --main-font: 'Playfair Display', 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;
  line-height: 1.3;
}

.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.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px var(--shadow-color);
}

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 {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}

header nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
}

#menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  header .logo {
    order: 1;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .menu-toggle {
    display: block;
    order: 2;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 1.8rem;
    padding: 0.5rem;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  header nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
  }
}

/* Hero Section */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  padding: 4rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(14, 93, 53, 0.65), rgba(22, 160, 133, 0.65)), url('./img/bg.jpg') no-repeat center center/cover;
  z-index: -1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.content-image:hover img {
  transform: scale(1.08);
}

.content-text {
  flex: 1;
}

.content-text h2 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.content-text p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* Section Divider */
.section-divider {
  padding: 3rem 0;
  text-align: center;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--divider-color);
  z-index: 0;
}

.section-divider h3 {
  position: relative;
  display: inline-block;
  background: var(--background-color);
  padding: 0 2rem;
  font-size: 1.8rem;
  color: var(--secondary-color);
  z-index: 1;
}

/* CTA Sections */
.cta-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 93, 53, 0.75);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
}

.cta-content p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(to bottom, var(--background-color) 0%, var(--light-color) 100%);
}

.features-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.features-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.feature-item {
  position: relative;
  margin-bottom: 3rem;
  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: #FFFFFF;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.feature-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.feature-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  z-index: 2;
}

.feature-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--background-color);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="%2327AE60" opacity="0.1"/></svg>');
  z-index: 0;
}

.testimonials-section .container {
  position: relative;
  z-index: 1;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Form Section */
.form-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--light-color) 0%, #FFFFFF 100%);
}

.form-section h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.form-section .intro-text {
  text-align: center;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-color);
}

/* Contact Section */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.contact-item p {
  margin: 0;
  font-size: 1.05rem;
}

.contact-form {
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  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.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: var(--gradient-primary);
  color: #FFFFFF;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-color);
  width: 100%;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--hover-color) 0%, var(--primary-color) 100%);
  box-shadow: 0 6px 18px var(--shadow-color);
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(to bottom, #FFFFFF 0%, var(--light-color) 100%);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 12px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 20px var(--shadow-color);
  transform: translateY(-3px);
}

.faq-question {
  padding: 1.5rem 2rem;
  background: var(--light-color);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--dark-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--primary-color);
}

.faq-answer {
  padding: 1.5rem 2rem;
  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: 3rem 0 1.5rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

footer .logo img {
  height: 45px;
  width: auto;
}

footer nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

footer nav a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

footer nav a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .content-flex {
    flex-direction: column;
  }

  .content-image {
    flex: 0 0 100%;
  }

  .features-timeline::before {
    left: 0;
  }

  .feature-item {
    justify-content: flex-start !important;
  }

  .feature-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }

  .feature-icon {
    left: 25px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  footer .container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .content-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-divider h3 {
    font-size: 1.4rem;
    padding: 0 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}