@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #27AE60;
  --secondary-color: #16A085;
  --accent-color: #1ABC9C;
  --light-color: #E8F8F5;
  --dark-color: #145A3E;
  --gradient-primary: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  --hover-color: #229954;
  --background-color: #FFFFFF;
  --text-color: #2C3E50;
  --border-color: rgba(26, 188, 156, 0.3);
  --divider-color: rgba(22, 160, 133, 0.15);
  --shadow-color: rgba(39, 174, 96, 0.2);
  --highlight-color: #F39C12;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--dark-color);
  box-shadow: 0 4px 12px var(--shadow-color);
  padding: 1rem 2rem;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
}

header .logo img {
  height: 50px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav ul li a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

header nav ul li a:hover {
  color: var(--highlight-color);
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-icon {
    display: flex;
    order: 1;
  }

  header nav {
    order: 3;
    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;
    padding: 1rem 0;
  }
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  margin-top: 70px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/bg.jpg') no-repeat center center/cover;
  z-index: -1;
}

.hero-content {
  color: #FFFFFF;
  max-width: 800px;
}

/* Content Sections */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-flex img {
  border-radius: 15px;
  box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px rgba(255, 255, 255, 0.7);
  object-fit: cover;
}

@media (max-width: 768px) {
  .content-flex {
    flex-direction: column;
  }
}

/* Divider */
.section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 3rem 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  border-bottom: 2px solid var(--divider-color);
}

.section-divider::before {
  margin-right: 1rem;
}

.section-divider::after {
  margin-left: 1rem;
}

/* CTA Sections */
.cta-section {
  position: relative;
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
}

/* Features Section */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: var(--light-color);
}

.features-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  background-color: var(--background-color);
  box-shadow: 6px 6px 12px var(--shadow-color), -6px -6px 12px rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px rgba(255, 255, 255, 0.9);
}

.feature-item i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* Testimonials */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, rgba(232, 248, 245, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--background-color);
  box-shadow: 5px 5px 15px var(--shadow-color), -5px -5px 15px rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
}

/* Contact Section */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  padding: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info i {
  font-size: 1.5rem;
}

/* Form Styles */
form {
  padding: 2.5rem;
  border-radius: 15px;
  background-color: var(--light-color);
  box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px rgba(255, 255, 255, 0.7);
}

form input,
form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--alt-font);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--background-color);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--shadow-color);
}

form button {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 4px 4px 10px var(--shadow-color);
}

form button:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 15px var(--shadow-color);
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: var(--light-color);
}

.faq-container {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 2rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--background-color);
  box-shadow: 5px 5px 12px var(--shadow-color), -5px -5px 12px rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
}

.faq-question {
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  font-size: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #FFFFFF;
  padding: 3rem 2rem 1rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

footer .logo img {
  height: 60px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
  }
}
