@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #239B56;
  --secondary-color: #186A3B;
  --accent-color: #27AE60;
  --light-color: #E8F8F5;
  --dark-color: #0E4D2F;
  --gradient-primary: linear-gradient(135deg, #27AE60 0%, #239B56 100%);
  --hover-color: #1D7A45;
  --background-color: #F9FDFB;
  --text-color: #374151;
  --border-color: rgba(39, 174, 96, 0.2);
  --divider-color: rgba(24, 106, 59, 0.1);
  --shadow-color: rgba(24, 106, 59, 0.1);
  --highlight-color: #F39C12;
  --main-font: 'Raleway', sans-serif;
  --alt-font: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
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 5px 15px var(--shadow-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
  transform: scale(1.15) rotate(5deg);
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-family: var(--main-font);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--highlight-color);
}

.nav-link:hover::before {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-icon span {
  width: 28px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
  }

  .navigation ul {
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0;
  }

  .navigation ul li {
    padding: 1.2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu-toggle:checked ~ .navigation {
    max-height: 500px;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .logo {
    flex: 1;
    text-align: center;
  }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(35, 155, 86, 0.35) 0%, rgba(14, 77, 47, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 950px;
}

.hero-title {
  font-family: var(--main-font);
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
}

.hero-subtitle {
  font-weight: 400;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

/* CONTENT SECTION */
.content-section {
  background: var(--background-color);
  position: relative;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(39, 174, 96, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(35, 155, 86, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.content-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.content-reverse .content-grid {
  grid-template-columns: 60% 40%;
}

.content-reverse .content-text {
  order: 1;
}

.content-reverse .content-image {
  order: 2;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 20px 50px var(--shadow-color),
              inset 0 -8px 25px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 25px 60px var(--shadow-color);
}

.section-title {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.content-paragraph {
  margin-bottom: 1.8rem;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .content-reverse .content-grid {
    grid-template-columns: 1fr;
  }

  .content-reverse .content-text {
    order: 2;
  }

  .content-reverse .content-image {
    order: 1;
  }
}

/* SECTION DIVIDER */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 0;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.divider-line {
  flex: 1;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--divider-color), transparent);
  position: relative;
}

.divider-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary-color);
}

.divider-text {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 768px) {
  .section-divider {
    flex-direction: column;
    padding: 2.5rem 20px;
  }

  .divider-line {
    width: 100%;
  }

  .divider-text {
    white-space: normal;
  }
}

/* CTA SECTION */
.cta-section {
  position: relative;
  padding: 9rem 0;
  color: #fff;
  text-align: center;
}

.cta-parallax {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(24, 106, 59, 0.45) 0%, rgba(14, 77, 47, 0.65) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--main-font);
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
  line-height: 1.4;
}

.cta-subtitle {
  font-weight: 400;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

/* FEATURES SECTION */
.features-section {
  background: linear-gradient(to bottom, var(--background-color) 0%, var(--light-color) 100%);
  position: relative;
}

.section-heading {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4.5rem;
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.features-timeline {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 1050px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem;
  background: #fff;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  box-shadow: 0 12px 35px var(--shadow-color),
              inset 0 -5px 20px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 20px 0 0 20px;
}

.feature-item::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: linear-gradient(135deg, transparent 0%, rgba(39, 174, 96, 0.05) 50%, transparent 100%);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.feature-item:hover {
  transform: translateX(15px);
  box-shadow: 0 18px 45px var(--shadow-color);
  border-color: var(--primary-color);
}

.feature-item:hover::after {
  right: 100%;
}

.feature-icon {
  min-width: 75px;
  height: 75px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: 0 10px 25px rgba(35, 155, 86, 0.35),
              inset 0 -4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(35, 155, 86, 0.5);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.feature-description {
  line-height: 1.9;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-item:hover {
    transform: translateY(-8px);
  }
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background: #fff;
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(39, 174, 96, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 88% 82%, rgba(35, 155, 86, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: linear-gradient(135deg, #fff 0%, var(--light-color) 100%);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  box-shadow: 0 12px 35px var(--shadow-color),
              inset 0 -5px 20px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -25px;
  left: 25px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--primary-color);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 18px 45px var(--shadow-color);
  border-color: var(--primary-color);
}

.testimonial-text {
  line-height: 1.9;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
  font-size: 1.05rem;
}

/* CONTACT SECTION */
.contact-section {
  background: linear-gradient(to bottom, var(--light-color) 0%, #fff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-title {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-color),
              inset 0 -3px 15px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-item:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.contact-item i {
  font-size: 1.7rem;
  color: var(--primary-color);
  min-width: 35px;
}

.contact-form-wrapper {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 12px 35px var(--shadow-color),
              inset 0 -5px 20px rgba(255, 255, 255, 0.6);
  border: 2px solid var(--border-color);
}

.form-title {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--secondary-color);
  font-family: var(--main-font);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--light-color);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(35, 155, 86, 0.1);
  background: #fff;
}

.form-button {
  width: 100%;
  padding: 1.2rem 2.5rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--main-font);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(35, 155, 86, 0.35);
}

.form-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(35, 155, 86, 0.45);
}

.form-button:active {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* FAQ SECTION */
.faq-section {
  background: var(--background-color);
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 18% 22%, rgba(39, 174, 96, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 82% 78%, rgba(35, 155, 86, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 -4px 20px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px var(--shadow-color);
  transform: translateY(-5px);
}

.faq-question {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.faq-question i {
  color: var(--accent-color);
  font-size: 1.7rem;
}

.faq-answer {
  padding-left: 3rem;
}

.faq-answer p {
  line-height: 1.9;
  color: var(--text-color);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 3.5rem 0 1.5rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.15) rotate(-5deg);
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-family: var(--main-font);
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: var(--highlight-color);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  font-size: 0.95rem;
}

.footer-credit {
  color: var(--highlight-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.footer-credit:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* UTILITY CLASSES */
.rounded-image {
  border-radius: 25px;
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section-heading {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-subtitle {
    font-size: 1.3rem;
  }
}