@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;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary-color: #2980B9;
  --secondary-color: #1F5F8B;
  --accent-color: #3498DB;
  --light-color: #EBF5FB;
  --dark-color: #154360;
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  --hover-color: #21618C;
  --background-color: #F8FBFD;
  --text-color: #2C3E50;
  --border-color: rgba(41, 128, 185, 0.25);
  --divider-color: rgba(41, 128, 185, 0.15);
  --shadow-color: rgba(31, 95, 139, 0.12);
  --highlight-color: #F39C12;
  --main-font: 'Roboto Condensed', sans-serif;
  --alt-font: 'Lato', 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.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
}

header {
  background: var(--dark-color);
  padding: 1rem 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: 50px;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

header nav ul li a:hover {
  color: var(--accent-color);
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  color: var(--light-color);
  font-size: 1.5rem;
}

@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.3s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 500px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  header nav ul li {
    text-align: center;
    padding: 0.75rem 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: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

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: 16px;
  box-shadow: 8px 8px 24px var(--shadow-color), -4px -4px 12px rgba(255, 255, 255, 0.5);
  width: 100%;
  object-fit: cover;
}

.content-section .text-content {
  line-height: 1.8;
}

.content-section h2 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.content-section p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .content-section .container {
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

.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: 6rem 2rem;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.cta-section p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.features {
  background: linear-gradient(135deg, var(--light-color) 0%, #F0F8FF 100%);
}

.features .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}

.feature-item {
  background: var(--background-color);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 6px 6px 16px var(--shadow-color), -3px -3px 10px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  position: relative;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 10px 10px 24px var(--shadow-color), -5px -5px 16px rgba(255, 255, 255, 0.7);
}

.feature-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-item p {
  font-size: 1rem;
  line-height: 1.6;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--light-color);
}

.testimonials {
  background: linear-gradient(to bottom, #F5F9FC 0%, var(--background-color) 100%);
}

.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-item {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 5px 5px 20px var(--shadow-color), -3px -3px 12px rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-item .name {
  font-weight: 700;
  font-style: normal;
}

.last-features {
  background: var(--dark-color);
  padding: 6rem 2rem;
}

.last-features .container {
  max-width: 1200px;
  margin: 0 auto;
}

.last-features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.last-features .subtitle {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 3rem;
}

.last-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.last-feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.last-feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.last-feature-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.last-feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.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: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-section .container {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-info i {
  margin-right: 0.5rem;
}

.contact-form {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 6px 6px 20px var(--shadow-color), -3px -3px 12px rgba(255, 255, 255, 0.7);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--background-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 12px var(--shadow-color);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 16px var(--shadow-color);
}

.faq {
  background: linear-gradient(135deg, #F8FBFD 0%, var(--light-color) 100%);
}

.faq .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.faq-item {
  background: #FFFFFF;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 4px 4px 16px var(--shadow-color), -2px -2px 10px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.faq-item p {
  line-height: 1.7;
}

footer {
  background: var(--dark-color);
  padding: 3rem 2rem 1rem;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

footer .logo img {
  height: 50px;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  text-decoration: none;
  transition: color 0.3s ease;
}

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.1);
}

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: 2rem;
  }

  footer nav ul {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}