@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=Roboto+Condensed:wght@400;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #27AE60;
  --secondary-color: #1E874A;
  --accent-color: #2ECC71;
  --light-color: #E8F8F1;
  --dark-color: #145A32;
  --gradient-primary: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  --hover-color: #229954;
  --background-color: #F9FBF9;
  --text-color: #34495E;
  --border-color: rgba(46, 204, 113, 0.2);
  --divider-color: rgba(30, 135, 74, 0.1);
  --shadow-color: rgba(30, 135, 74, 0.15);
  --highlight-color: #F39C12;
  --main-font: 'Roboto Condensed', 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);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
}

/* Header Styles */
header {
  background: var(--dark-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px 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: 50px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: var(--highlight-color);
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  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;
}

.hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 2rem;
}

/* Sections */
section {
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(46, 204, 113, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

section > * {
  position: relative;
  z-index: 1;
}

.content-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.content-section img {
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
  object-fit: cover;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-item {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity 0.3s ease;
}

.feature-item:hover::after {
  opacity: 0.05;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  position: relative;
  z-index: 1;
}

/* CTA Sections */
.cta-section {
  position: relative;
  color: #ffffff;
  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;
  text-align: center;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-item {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-item::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2rem;
  color: var(--accent-color);
  opacity: 0.2;
}

.testimonial-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px var(--shadow-color);
}

/* Last Features Section */
.last-features {
  background: var(--dark-color);
  color: #ffffff;
}

.last-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.last-feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.last-feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.last-feature-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Contact Section */
.contact-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info > div {
  background: #ffffff;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.contact-info > div:hover {
  transform: translateX(5px);
  border-left-color: var(--accent-color);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
  border: 2px solid var(--border-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--alt-font);
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-color);
}

/* FAQ Section */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-color);
}

.faq-item:hover {
  border-left-color: var(--accent-color);
  transform: translateX(5px);
}

.faq-item h3 {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: #ffffff;
  padding: 3rem 0 1rem;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  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 a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: var(--highlight-color);
}

footer .footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    position: relative;
  }

  header .logo {
    order: 1;
    margin-bottom: 1rem;
  }

  .menu-icon {
    display: block;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }

  header nav {
    order: 2;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 500px;
  }

  header nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .content-section {
    flex-direction: column;
  }

  .content-section img {
    width: 100%;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  footer .footer-content {
    flex-direction: column;
    text-align: center;
  }

  footer .logo {
    order: 1;
    margin-bottom: 1rem;
  }

  footer nav {
    order: 2;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}