@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=Oswald:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

:root {
  --primary-color: #27AE60;
  --secondary-color: #1E8449;
  --accent-color: #2ECC71;
  --light-color: #E8F8F5;
  --dark-color: #145A32;
  --gradient-primary: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
  --hover-color: #229954;
  --background-color: #F7FCFA;
  --text-color: #2C3E50;
  --border-color: rgba(39, 174, 96, 0.27);
  --divider-color: rgba(39, 174, 96, 0.16);
  --shadow-color: rgba(30, 132, 73, 0.13);
  --highlight-color: #F39C12;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Poppins', 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.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  letter-spacing: 0.5px;
}

header {
  background: var(--dark-color);
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 14px 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: 52px;
  transition: transform 0.35s ease;
}

header .logo img:hover {
  transform: scale(1.06) rotate(2deg);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.3rem;
}

header nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 1.02rem;
  display: inline-block;
}

header nav ul li a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  color: var(--light-color);
  font-size: 1.55rem;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
  }

  header .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-icon {
    display: block;
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 520px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1.1rem 0;
    gap: 0;
  }

  header nav ul li {
    text-align: center;
    padding: 0.77rem 0;
  }
}

.hero {
  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;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.1rem;
  margin-bottom: 1.25rem;
  text-shadow: 2px 2px 9px rgba(0, 0, 0, 0.72);
  letter-spacing: 1.2px;
}

.hero p {
  font-size: 1.32rem;
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 1px 1px 7px rgba(0, 0, 0, 0.63);
  line-height: 1.85;
}

section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-section {
  background-color: var(--background-color);
}

.content-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-section img {
  border-radius: 18px;
  box-shadow: 9px 9px 26px var(--shadow-color), -4px -4px 13px rgba(255, 255, 255, 0.55);
  width: 100%;
  object-fit: cover;
  transition: transform 0.38s ease, box-shadow 0.38s ease;
}

.content-section img:hover {
  transform: scale(1.04) translateY(-3px);
  box-shadow: 12px 12px 32px var(--shadow-color), -6px -6px 18px rgba(255, 255, 255, 0.65);
}

.content-section .text-content {
  line-height: 1.85;
}

.content-section h2 {
  margin-bottom: 1.65rem;
  font-size: 2.55rem;
  letter-spacing: 0.6px;
}

.content-section p {
  margin-bottom: 1.15rem;
  font-size: 1.11rem;
}

@media (max-width: 768px) {
  .content-section .container {
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 2.1rem;
  }
  
  .hero p {
    font-size: 1.03rem;
  }
}

.cta-section {
  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;
  padding: 6.3rem 2rem;
}

.cta-section h2 {
  font-size: 2.85rem;
  margin-bottom: 1.55rem;
  text-shadow: 2px 2px 9px rgba(0, 0, 0, 0.82);
  letter-spacing: 1px;
}

.cta-section p {
  font-size: 1.42rem;
  max-width: 820px;
  margin: 0 auto;
  text-shadow: 1px 1px 7px rgba(0, 0, 0, 0.73);
  line-height: 1.82;
}

.features {
  background: linear-gradient(140deg, var(--light-color) 0%, #F0FAF5 100%);
}

.features .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features h2 {
  text-align: center;
  font-size: 2.55rem;
  margin-bottom: 3.3rem;
  letter-spacing: 0.7px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 2.2rem;
}

.feature-item {
  background: var(--background-color);
  padding: 2.2rem;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  box-shadow: 7px 7px 19px var(--shadow-color), -3px -3px 11px rgba(255, 255, 255, 0.65);
  transition: all 0.33s ease;
  position: relative;
}

.feature-item:hover {
  transform: translateY(-9px) scale(1.01);
  box-shadow: 11px 11px 27px var(--shadow-color), -5px -5px 16px rgba(255, 255, 255, 0.75);
  border-color: var(--primary-color);
}

.feature-item i {
  font-size: 2.7rem;
  margin-bottom: 1.15rem;
  display: block;
}

.feature-item h3 {
  font-size: 1.55rem;
  margin-bottom: 1.15rem;
}

.feature-item p {
  font-size: 1.03rem;
  line-height: 1.68;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 0 9px var(--light-color);
}

.testimonials {
  background: linear-gradient(to bottom, #F8FCF9 0%, var(--background-color) 100%);
}

.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.55rem;
  margin-bottom: 3.3rem;
  letter-spacing: 0.7px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(305px, 1fr));
  gap: 2.2rem;
}

.testimonial-item {
  background: #FFFFFF;
  padding: 2.2rem;
  border-radius: 17px;
  border: 1px solid var(--border-color);
  box-shadow: 5px 5px 21px var(--shadow-color), -3px -3px 13px rgba(255, 255, 255, 0.82);
  transition: transform 0.33s ease, box-shadow 0.33s ease;
}

.testimonial-item:hover {
  transform: translateY(-6px);
  box-shadow: 7px 7px 27px var(--shadow-color), -4px -4px 17px rgba(255, 255, 255, 0.88);
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 1.15rem;
  line-height: 1.78;
}

.testimonial-item .name {
  font-weight: 700;
  font-style: normal;
  font-size: 1.04rem;
}

.last-features {
  background: var(--dark-color);
  padding: 6.3rem 2rem;
}

.last-features .container {
  max-width: 1200px;
  margin: 0 auto;
}

.last-features h2 {
  text-align: center;
  font-size: 2.55rem;
  margin-bottom: 1.15rem;
  letter-spacing: 0.9px;
}

.last-features .subtitle {
  text-align: center;
  font-size: 1.33rem;
  margin-bottom: 3.3rem;
}

.last-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 2.2rem;
}

.last-feature-item {
  background: rgba(255, 255, 255, 0.055);
  padding: 2.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 4px 4px 17px rgba(0, 0, 0, 0.32);
  transition: all 0.33s ease;
}

.last-feature-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-6px);
  box-shadow: 6px 6px 23px rgba(0, 0, 0, 0.38);
}

.last-feature-item i {
  font-size: 2.7rem;
  margin-bottom: 1.15rem;
  display: block;
}

.last-feature-item h3 {
  font-size: 1.55rem;
  margin-bottom: 1.15rem;
}

.contact-section {
  background-color: var(--background-color);
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-section .container {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  font-size: 2.05rem;
  margin-bottom: 2.1rem;
}

.contact-info p {
  margin-bottom: 1.15rem;
  font-size: 1.11rem;
}

.contact-info i {
  margin-right: 0.65rem;
}

.contact-form {
  background: #FFFFFF;
  padding: 2.2rem;
  border-radius: 17px;
  box-shadow: 7px 7px 23px var(--shadow-color), -3px -3px 13px rgba(255, 255, 255, 0.72);
}

.contact-form h3 {
  font-size: 1.85rem;
  margin-bottom: 1.65rem;
}

.form-group {
  margin-bottom: 1.65rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.08rem;
  border: 2px solid var(--border-color);
  border-radius: 9px;
  font-family: var(--alt-font);
  font-size: 1.01rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--background-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.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 125px;
}

.submit-btn {
  background: var(--gradient-primary);
  border: none;
  padding: 1.08rem 2.7rem;
  border-radius: 9px;
  font-size: 1.11rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 14px var(--shadow-color);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 19px var(--shadow-color);
}

.faq {
  background: linear-gradient(140deg, #FAFCFB 0%, var(--light-color) 100%);
}

.faq .container {
  max-width: 930px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq h2 {
  text-align: center;
  font-size: 2.55rem;
  margin-bottom: 3.3rem;
  letter-spacing: 0.7px;
}

.faq-item {
  background: #FFFFFF;
  padding: 2.2rem;
  margin-bottom: 1.7rem;
  border-radius: 13px;
  border: 1px solid var(--border-color);
  box-shadow: 4px 4px 17px var(--shadow-color), -2px -2px 11px rgba(255, 255, 255, 0.68);
  transition: transform 0.33s ease, box-shadow 0.33s ease;
}

.faq-item:hover {
  transform: translateX(7px);
  box-shadow: 6px 6px 23px var(--shadow-color), -3px -3px 15px rgba(255, 255, 255, 0.75);
}

.faq-item h3 {
  font-size: 1.32rem;
  margin-bottom: 1.08rem;
}

.faq-item p {
  line-height: 1.76;
}

footer {
  background: var(--dark-color);
  padding: 3.3rem 2rem 1.1rem;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.3rem;
}

footer .logo img {
  height: 52px;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2.3rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

footer nav ul li a:hover {
  color: var(--accent-color);
}

footer .footer-bottom {
  text-align: center;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

footer .footer-bottom a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .footer-bottom a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    gap: 2.2rem;
  }

  footer nav ul {
    flex-direction: column;
    text-align: center;
    gap: 1.15rem;
  }
}