@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #27AE60;
  --secondary-color: #1F8B4C;
  --accent-color: #5CB338;
  --light-color: #F0F8F3;
  --dark-color: #0F3820;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #27AE60 100%);
  --hover-color: #229954;
  --background-color: #FDFFFE;
  --text-color: #4B5563;
  --border-color: rgba(92, 179, 56, 0.2);
  --divider-color: rgba(31, 139, 76, 0.1);
  --shadow-color: rgba(31, 139, 76, 0.15);
  --highlight-color: #F59D2A;
  --main-font: 'Roboto Condensed', sans-serif;
  --alt-font: 'Open 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.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Header */
header {
  background: var(--dark-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px var(--shadow-color);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav a {
  color: #fff;
  font-weight: 500;
  position: relative;
}

header nav a:hover {
  color: var(--highlight-color);
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  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-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  header .logo {
    order: 1;
  }

  .menu-icon {
    display: flex;
    position: absolute;
    right: 20px;
  }

  header nav {
    order: 2;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 500px;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  header nav li {
    text-align: center;
    padding: 0.5rem 0;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  padding: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./img/bg.jpg') no-repeat center center/cover;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

/* Content sections */
.content-section {
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-section img {
  width: 40%;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.content-text {
  width: 60%;
}

@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
  }

  .content-section img,
  .content-text {
    width: 100%;
  }
}

/* Section divider */
.section-divider {
  text-align: center;
  position: relative;
  padding: 3rem 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--divider-color);
  z-index: 0;
}

.section-divider h2 {
  position: relative;
  z-index: 1;
  background: var(--background-color);
  display: inline-block;
  padding: 0 2rem;
}

/* CTA sections */
.cta-section {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 10dvh 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  z-index: -2;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* Features timeline */
.features-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  position: relative;
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--light-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* Contact section */
.contact-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info {
  width: 40%;
}

.contact-form-wrapper {
  width: 60%;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info,
  .contact-form-wrapper {
    width: 100%;
  }
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: start;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.2rem;
}

/* Form */
form {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px var(--shadow-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(92, 179, 56, 0.1);
}

button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px var(--shadow-color);
}

.faq-question {
  padding: 1.5rem;
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 1.5rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: #fff;
  padding: 3rem 0 1rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

footer .logo img {
  height: 50px;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav a {
  color: #fff;
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: var(--highlight-color);
}

footer .footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

footer .footer-bottom a {
  color: var(--highlight-color);
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
  }
}
