@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #2980B9;
  --secondary-color: #2874A6;
  --accent-color: #3498DB;
  --light-color: #EBF5FB;
  --dark-color: #1B4F72;
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  --hover-color: #21618C;
  --background-color: #F8FBFD;
  --text-color: #34495E;
  --border-color: rgba(52, 152, 219, 0.2);
  --divider-color: rgba(40, 128, 185, 0.1);
  --shadow-color: rgba(27, 79, 114, 0.15);
  --highlight-color: #F39C12;
  --main-font: 'Montserrat', 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);
  line-height: 1.6;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.2;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark-color);
  padding: 1rem 0;
  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;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

header nav a:hover {
  color: var(--highlight-color);
}

/* Mobile menu checkbox */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

/* Content Sections */
.content-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px var(--shadow-color);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-text {
  flex: 1;
}

/* Divider */
.section-divider {
  position: relative;
  text-align: center;
  margin: 4rem auto;
  max-width: 1200px;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--divider-color);
}

.divider-text {
  position: relative;
  display: inline-block;
  padding: 0 2rem;
  background: var(--background-color);
  font-weight: 600;
  color: var(--primary-color);
}

/* CTA Sections */
.cta-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 6rem 2rem;
  text-align: center;
  color: #fff;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

/* Features Timeline */
.features-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.feature-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
  gap: 2rem;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px var(--shadow-color);
}

.feature-icon {
  flex: 0 0 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  z-index: 10;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px var(--shadow-color);
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px var(--shadow-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Contact Section */
.contact-wrapper {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 35%;
}

.contact-form-wrapper {
  flex: 1;
}

.info-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* Forms */
.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px var(--shadow-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: var(--gradient-primary);
  color: #fff;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-color);
}

/* FAQ */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--shadow-color);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  background: var(--light-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.25rem;
}

.faq-answer {
  padding: 1.5rem;
  line-height: 1.8;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: #fff;
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

footer .logo img {
  height: 45px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

footer nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  header nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--dark-color);
    padding: 2rem;
    transition: left 0.3s ease;
  }

  header nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  #menu-toggle:checked ~ nav {
    left: 0;
  }

  .menu-icon {
    display: block;
  }

  header .logo {
    margin: 0 auto;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .content-image {
    flex: 1;
    width: 100%;
  }

  .timeline-line {
    left: 30px;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    flex-direction: row;
    padding-left: 80px;
  }

  .feature-icon {
    position: absolute;
    left: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info {
    flex: 1;
    width: 100%;
  }

  footer .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-8 {
  margin-bottom: 4rem;
}