@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #27AE60;
  --secondary-color: #1E8449;
  --accent-color: #58D68D;
  --light-color: #E8F8F5;
  --dark-color: #145A32;
  --gradient-primary: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
  --hover-color: #1F7A48;
  --background-color: #F9FDF9;
  --text-color: #2C3E50;
  --border-color: rgba(39, 174, 96, 0.3);
  --divider-color: rgba(39, 174, 96, 0.2);
  --shadow-color: rgba(39, 174, 96, 0.15);
  --highlight-color: #E67E22;
  --main-font: 'Playfair Display', 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);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
}

/* Header Styles */
header {
  background: var(--dark-color);
  padding: 1.2rem 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;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header .logo img {
  height: 55px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

header nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  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 Toggle */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-icon span {
  width: 28px;
  height: 3px;
  background: var(--light-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
  }

  .menu-icon {
    display: flex;
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }

  header .logo {
    order: 0;
  }

  header nav {
    order: 1;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 0 0;
  }

  header nav ul li {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  header nav ul li a::after {
    display: none;
  }

  #menu-toggle:checked ~ nav {
    max-height: 600px;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Content Sections */
.content-section {
  padding: 10dvh 0;
}

.content-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 30px;
  align-items: center;
}

.content-section img {
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.content-section img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .content-section .container {
    flex-direction: column;
  }
}

/* CTA Section */
.cta-section {
  padding: 10dvh 0;
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  color: white;
}

/* Features Section */
.features-section {
  padding: 10dvh 0;
  background: linear-gradient(to bottom, var(--light-color), #ffffff);
}

.features-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
}

.feature-item {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px rgba(255, 255, 255, 0.9);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 15px 15px 30px var(--shadow-color), -15px -15px 30px rgba(255, 255, 255, 1);
  border-color: var(--primary-color);
}

.feature-item i {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* Timeline Effect */
.features-grid::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
}

.feature-item::after {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 50%;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--primary-color);
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px var(--light-color), 0 0 0 8px var(--accent-color);
}

@media (max-width: 768px) {
  .features-grid::before {
    display: none;
  }
  
  .feature-item::after {
    display: none;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 10dvh 0;
  background: var(--light-color);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(30deg, transparent 48%, var(--border-color) 48%, var(--border-color) 52%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, var(--border-color) 48%, var(--border-color) 52%, transparent 52%);
  background-size: 50px 50px;
  opacity: 0.15;
  pointer-events: none;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-item {
  background: white;
  padding: 2.5rem;
  border-radius: 18px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 8px 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-item::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-item:hover {
  box-shadow: 12px 12px 25px var(--shadow-color);
  transform: translateY(-5px);
  border-left-width: 8px;
}

/* Last Features Section */
.last-features-section {
  padding: 10dvh 0;
  background: var(--dark-color);
  color: var(--light-color);
  position: relative;
}

.last-features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.last-features-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.last-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.last-feature-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.last-feature-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  border-color: var(--accent-color);
}

.last-feature-item i {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  color: var(--accent-color);
}

/* Contact Section */
.contact-section {
  padding: 10dvh 0;
  background: white;
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-section .container {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  padding: 2rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: start;
  gap: 15px;
  padding: 1rem;
  background: var(--light-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-info p:hover {
  background: var(--accent-color);
  color: white;
  transform: translateX(5px);
}

.contact-info i {
  margin-top: 5px;
  font-size: 1.2rem;
}

.contact-form {
  background: var(--light-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 10px 10px 25px var(--shadow-color), -10px -10px 25px rgba(255, 255, 255, 0.9);
}

.contact-form h3 {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.15);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  background: var(--gradient-primary);
  color: white;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

/* FAQ Section */
.faq-section {
  padding: 10dvh 0;
  background: var(--background-color);
}

.faq-section .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-item {
  background: white;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 8px 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 12px 12px 25px var(--shadow-color);
  transform: translateX(5px);
  border-left-width: 8px;
}

.faq-item h3 {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item i {
  font-size: 1.3rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem 0;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 2.5rem;
}

footer .logo img {
  height: 55px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

footer nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

footer nav ul li a:hover::after {
  width: 100%;
}

footer nav ul li a:hover {
  color: var(--accent-color);
}

footer .footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

footer .footer-bottom a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .footer-bottom a:hover {
  color: var(--highlight-color);
}

@media (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1.2rem;
  }
}