@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --primary-color: #27AE60;
  --secondary-color: #1e8449;
  --accent-color: #58D68D;
  --light-color: #E8F8F5;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #58D68D 0%, #27AE60 100%);
  --hover-color: #229954;
  --background-color: #F9FBF9;
  --text-color: #2C3D4F;
  --border-color: rgba(39, 174, 96, 0.2);
  --divider-color: rgba(30, 132, 73, 0.1);
  --shadow-color: rgba(30, 132, 73, 0.15);
  --highlight-color: #F59D2A;
  --main-font: 'Montserrat', sans-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);
  line-height: 1.6;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow-color);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navigation a {
  color: #ffffff;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.navigation a:hover {
  color: var(--accent-color);
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.navigation a:hover::after {
  width: 100%;
}

/* Mobile Menu */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 16, 33, 0.6);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Content Sections */
.content-section {
  padding: 10vh 0;
}

.content-flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.content-image:hover {
  transform: scale(1.02);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-text {
  flex: 0 0 calc(60% - 20px);
}

/* Section Divider */
.section-divider {
  padding: 5vh 0;
  text-align: center;
}

.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  max-width: 800px;
}

.divider-line::before,
.divider-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.divider-text {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary-color);
  white-space: nowrap;
}

/* CTA Sections */
.cta-section {
  position: relative;
  padding: 10vh 0;
  text-align: center;
  color: #ffffff;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

/* Features Section */
.features-section {
  padding: 10vh 0;
  background: var(--light-color);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(39, 174, 96, 0.03) 10px, rgba(39, 174, 96, 0.03) 20px);
  pointer-events: none;
}

.features-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 40px;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
}

.feature-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.feature-item::before {
  content: '';
  position: absolute;
  left: -52px;
  top: 2rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 3px var(--primary-color);
}

.feature-item:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 30px var(--shadow-color);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 10vh 0;
  background: linear-gradient(135deg, #F9FBF9 0%, #E8F8F5 100%);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(39, 174, 96, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(88, 214, 141, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-item {
  padding: 2rem;
  background: #ffffff;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.testimonial-item::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: var(--accent-color);
  opacity: 0.2;
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 10vh 0;
  background: var(--background-color);
}

.contact-flex {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 40%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  box-shadow: 0 5px 15px var(--shadow-color);
  transform: translateX(5px);
}

.contact-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  min-width: 40px;
}

.contact-form {
  flex: 0 0 calc(60% - 3rem);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #ffffff;
}

.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: 150px;
}

.btn-submit {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-family: var(--main-font);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-submit:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-color);
}

/* FAQ Section */
.faq-section {
  padding: 10vh 0;
  background: var(--light-color);
}

.faq-item {
  margin-bottom: 2rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 20px var(--shadow-color);
  transform: translateX(5px);
}

.faq-question {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-question::before {
  content: '\f059';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #ffffff;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a {
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom a {
  color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  header .container {
    flex-wrap: wrap;
  }

  .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-icon {
    order: 1;
  }

  .navigation {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-toggle:checked ~ .navigation {
    max-height: 500px;
  }

  .navigation ul {
    flex-direction: column;
    gap: 0;
    padding-top: 1rem;
  }

  .navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navigation a {
    display: block;
    padding: 1rem 0;
  }

  .content-flex {
    flex-direction: column;
  }

  .content-image,
  .content-text {
    flex: 0 0 100%;
  }

  .features-timeline {
    padding-left: 30px;
  }

  .feature-item::before {
    left: -42px;
  }

  .contact-flex {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 0 0 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
  }
}