@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=Oswald:wght@400;500;700&family=Lato:wght@400;700&display=swap');

:root {
  --primary-color: #27AE60;
  --secondary-color: #16A085;
  --accent-color: #F1C40F;
  --light-color: #E8F8F5;
  --dark-color: #0E6B3F;
  --gradient-primary: linear-gradient(135deg, #27AE60 0%, #16A085 100%);
  --hover-color: #1E8449;
  --background-color: #F7FCF9;
  --text-color: #2C3E50;
  --border-color: rgba(39, 174, 96, 0.2);
  --divider-color: rgba(22, 160, 133, 0.1);
  --shadow-color: rgba(22, 160, 133, 0.15);
  --highlight-color: #E67E22;
  --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);
  background-color: var(--background-color);
  line-height: 1.7;
  overflow-x: hidden;
}

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;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px var(--shadow-color);
}

header .logo img {
  height: 50px;
  width: auto;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: var(--light-color);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

header nav ul li a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Mobile Menu */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  width: 30px;
  height: 3px;
  background-color: var(--light-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
  }

  header .logo {
    order: 1;
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .menu-icon {
    display: flex;
    order: 2;
    position: absolute;
    right: 1rem;
    top: 1.5rem;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 500px;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    background-color: rgba(14, 107, 63, 0.95);
    padding: 1rem;
    border-radius: 8px;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  header nav ul li:last-child {
    border-bottom: none;
  }
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
  padding: 2rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.8), rgba(22, 160, 133, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styles */
section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Content Section Styles */
.content-flex {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.content-flex img {
  border-radius: 15px;
  box-shadow: 8px 8px 20px var(--shadow-color),
              -8px -8px 20px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.content-flex img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .content-flex {
    flex-direction: column;
  }
}

/* Section Divider */
.section-divider {
  position: relative;
  text-align: center;
  margin: 4rem 0;
  padding: 2rem 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--divider-color), transparent);
}

.section-divider h3 {
  position: relative;
  display: inline-block;
  background-color: var(--background-color);
  padding: 0 2rem;
  color: var(--secondary-color);
  font-size: 1.8rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 8vh 2rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Features Timeline */
.features-timeline {
  position: relative;
  padding: 2rem 0;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 6px 6px 15px var(--shadow-color),
              -4px -4px 10px rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.feature-content:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 25px var(--shadow-color),
              -6px -6px 15px rgba(255, 255, 255, 0.9);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 4px 4px 12px var(--shadow-color);
  position: relative;
  z-index: 2;
}

.feature-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .features-timeline::before {
    left: 40px;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    flex-direction: row;
    padding-left: 0;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    flex-shrink: 0;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: linear-gradient(145deg, #ffffff, #f0f9f4);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 8px 8px 20px var(--shadow-color),
              -6px -6px 15px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 30px var(--shadow-color),
              -8px -8px 20px rgba(255, 255, 255, 1);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 6px 6px 15px var(--shadow-color),
              -4px -4px 10px rgba(255, 255, 255, 0.7);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 6px 6px 15px var(--shadow-color),
              -4px -4px 10px rgba(255, 255, 255, 0.7);
}

.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.875rem 1rem;
  border: 2px 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: white;
  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: 4px 4px 12px var(--shadow-color);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 18px var(--shadow-color);
  background: linear-gradient(135deg, #1E8449 0%, #138D75 100%);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  box-shadow: 5px 5px 15px var(--shadow-color),
              -3px -3px 8px rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 7px 7px 20px var(--shadow-color),
              -5px -5px 12px rgba(255, 255, 255, 0.9);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(145deg, #f8fdfb, #e8f8f5);
}

.faq-question i {
  color: var(--accent-color);
}

.faq-answer {
  padding: 1.5rem;
  line-height: 1.8;
  border-top: 1px solid var(--divider-color);
  background: white;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

footer .logo img {
  height: 50px;
  width: auto;
}

footer nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: var(--light-color);
  transition: all 0.3s ease;
}

footer nav ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 4px 4px 12px var(--shadow-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 18px var(--shadow-color);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mt-3 {
  margin-top: 1.5rem;
}