@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;700&family=Roboto:wght@300;400;500&display=swap');

:root {
  --primary-color: #2C3D4F;
  --secondary-color: #1A2B38;
  --accent-color: #D01257;
  --light-color: #F8F9FA;
  --dark-color: #0F1B23;
  --gradient-primary: linear-gradient(135deg, #2C3D4F 0%, #1A2B38 100%);
  --hover-color: #577BC1;
  --background-color: #FFFFFF;
  --text-color: #2C3D4F;
  --border-color: rgba(208, 18, 87, 0.2);
  --divider-color: rgba(44, 61, 79, 0.1);
  --shadow-color: rgba(44, 61, 79, 0.15);
  --highlight-color: #ECE852;
  --success-color: #577BC1;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', 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 {
  background: var(--background-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 40px;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navigation a:hover {
  color: var(--accent-color);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
}

#menu-checkbox {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  background: linear-gradient(rgba(44, 61, 79, 0.7), rgba(44, 61, 79, 0.7)), url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin: 2rem auto;
  max-width: 600px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* CTA Sections */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-item {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-form {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-family: var(--alt-font);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* FAQ Section */
.faq-item {
  margin-bottom: 2rem;
  background: var(--light-color);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.faq-question {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.faq-answer {
  color: var(--text-color);
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  height: 40px;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--background-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
  }

  #menu-checkbox:checked~.navigation {
    max-height: 300px;
  }

  .navigation ul {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .logo {
    margin: 0 auto;
  }

  .header-container {
    flex-wrap: wrap;
    position: relative;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }
}