@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #27AE60;
  --secondary-color: #239B56;
  --accent-color: #5CB338;
  --light-color: #FEFAE0;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #27AE60 100%);
  --hover-color: #1E8449;
  --background-color: #FEFAE0;
  --text-color: #2C3D4F;
  --border-color: rgba(92, 179, 56, 0.2);
  --divider-color: rgba(35, 155, 86, 0.1);
  --shadow-color: rgba(15, 16, 33, 0.1);
  --highlight-color: #F39C12;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Work 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;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
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 {
  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 {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

header nav ul li a:hover {
  color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--light-color);
  transition: all 0.3s ease;
}

#mobile-menu-checkbox {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(15, 16, 33, 0.6), rgba(15, 16, 33, 0.6)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: var(--light-color);
  padding: 4rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(39, 174, 96, 0.2) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Sections */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3rem;
  align-items: center;
}

.content-grid.reverse {
  grid-template-columns: 60% 40%;
}

.content-grid.equal {
  grid-template-columns: 1fr 1fr;
}

.content-image {
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color),
              0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.content-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(15, 16, 33, 0.15),
              0 10px 20px rgba(0, 0, 0, 0.08);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.content-image:hover img {
  transform: scale(1.05);
}

.content-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.content-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* 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);
  transform: translateY(-50%);
}

.section-divider h3 {
  display: inline-block;
  background: var(--background-color);
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
}

/* CTA Sections */
.cta-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  position: relative;
  background: linear-gradient(rgba(15, 16, 33, 0.7), rgba(15, 16, 33, 0.7)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: var(--light-color);
  text-align: center;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Features Timeline */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
}

.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(--gradient-primary);
  transform: translateX(-50%);
}

.feature-item {
  margin-bottom: 3rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-item:nth-child(even) .feature-content {
  grid-column: 2;
  grid-row: 1;
}

.feature-item:nth-child(even) .feature-icon-wrapper {
  grid-column: 1;
  grid-row: 1;
}

.feature-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--shadow-color),
              inset 0 -2px 5px rgba(255, 255, 255, 0.5),
              inset 0 2px 5px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(15, 16, 33, 0.12),
              inset 0 -2px 5px rgba(255, 255, 255, 0.5),
              inset 0 2px 5px rgba(0, 0, 0, 0.03);
}

.feature-icon-wrapper {
  text-align: center;
  position: relative;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px var(--shadow-color),
              inset 0 -2px 5px rgba(0, 0, 0, 0.2),
              inset 0 2px 5px rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-item p {
  font-size: 1rem;
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--light-color) 100%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--shadow-color),
              inset 0 -2px 5px rgba(255, 255, 255, 0.8),
              inset 0 2px 5px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 2.5rem;
  color: var(--accent-color);
  opacity: 0.2;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(15, 16, 33, 0.12),
              inset 0 -2px 5px rgba(255, 255, 255, 0.8),
              inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* Contact Section */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.2rem;
}

.contact-item p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Form Styles */
.contact-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 -2px 5px rgba(255, 255, 255, 0.5),
              inset 0 2px 5px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
  background: var(--light-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);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3),
              inset 0 -2px 5px rgba(0, 0, 0, 0.2),
              inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--hover-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4),
              inset 0 -2px 5px rgba(0, 0, 0, 0.2),
              inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: #ffffff;
}

.faq-container {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow-color),
              inset 0 -1px 3px rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 16, 33, 0.12),
              inset 0 -1px 3px rgba(255, 255, 255, 0.5);
}

.faq-question {
  padding: 1.5rem 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  font-size: 1.3rem;
  color: var(--accent-color);
}

.faq-answer {
  padding: 0 2rem 1.5rem 4.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* Footer Styles */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1.5rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

footer .logo img {
  height: 50px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

footer nav ul li a:hover {
  color: var(--accent-color);
}

.footer-credit {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(254, 250, 224, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-credit a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: var(--highlight-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  header nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--dark-color);
    padding: 2rem 0;
    transition: left 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  header nav ul li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(254, 250, 224, 0.1);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  #mobile-menu-checkbox:checked ~ nav {
    left: 0;
  }

  #mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  #mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .content-grid,
  .content-grid.reverse,
  .content-grid.equal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-grid.reverse .content-image {
    order: 1;
  }

  .content-grid.reverse .content-text {
    order: 2;
  }

  .features-timeline::before {
    left: 20px;
  }

  .feature-item {
    grid-template-columns: 1fr;
    padding-left: 60px;
  }

  .feature-item:nth-child(even) .feature-content {
    grid-column: 1;
  }

  .feature-item:nth-child(even) .feature-icon-wrapper {
    grid-column: 1;
    position: absolute;
    left: 0;
  }

  .feature-icon-wrapper {
    position: absolute;
    left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .content-text h2 {
    font-size: 1.8rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}