@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #577BC1;
  --secondary-color: #344CB7;
  --accent-color: #337357;
  --light-color: #F2F2F2;
  --dark-color: #0F0766;
  --gradient-primary: linear-gradient(135deg, #577BC1 0%, #344CB7 100%);
  --hover-color: #4A6AA8;
  --background-color: #FDFCFF;
  --text-color: #34495D;
  --border-color: rgba(87, 123, 193, 0.25);
  --divider-color: rgba(52, 76, 183, 0.15);
  --shadow-color: rgba(15, 7, 102, 0.12);
  --highlight-color: #ECE852;
  --main-font: 'Playfair Display', 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;
  letter-spacing: 0.5px;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--dark-color);
  padding: 1.25rem 0;
  box-shadow: 0 5px 20px var(--shadow-color);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

header nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

header nav ul li a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::before {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
}

#menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-toggle {
    display: block;
    order: 1;
    color: var(--light-color);
    font-size: 1.75rem;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #menu-checkbox:checked ~ nav {
    max-height: 600px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 1rem;
  }

  header nav ul li {
    text-align: center;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-color);
}

.hero-content {
  z-index: 10;
  max-width: 850px;
  padding: 2.5rem;
}

/* Section Styles */
section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Content Section */
.content-section {
  background-color: var(--background-color);
}

.content-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.content-image {
  border-radius: 25px;
  box-shadow: 12px 12px 35px var(--shadow-color), -8px -8px 20px rgba(255, 255, 255, 0.6);
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.content-image:hover {
  transform: scale(1.02);
}

/* Section Divider */
.section-divider {
  position: relative;
  text-align: center;
  padding: 3.5rem 0;
  background: linear-gradient(90deg, transparent 0%, var(--divider-color) 50%, transparent 100%);
}

.divider-line {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
  margin: 0 auto;
  width: 100%;
}

.divider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--background-color);
  padding: 0 2.5rem;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.3rem;
  font-family: var(--main-font);
}

/* CTA Section */
.cta-section {
  position: relative;
  color: var(--light-color);
  text-align: center;
  padding: 9rem 1.5rem;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, rgba(87, 123, 193, 0.08) 0%, rgba(253, 252, 255, 0.95) 100%);
}

.timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.timeline-item {
  margin-bottom: 3.5rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  padding-right: 52%;
  padding-left: 0;
}

.timeline-item:nth-child(even) {
  padding-left: 52%;
  padding-right: 0;
}

.feature-card {
  background-color: white;
  padding: 2.25rem;
  border-radius: 18px;
  border: 2px solid var(--border-color);
  box-shadow: 10px 10px 25px var(--shadow-color), -10px -10px 25px rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid var(--background-color);
  box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-item:nth-child(odd) .feature-card::before {
  right: -65px;
}

.timeline-item:nth-child(even) .feature-card::before {
  left: -65px;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 15px 15px 30px var(--shadow-color), -15px -15px 30px rgba(255, 255, 255, 0.9);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.75rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 0;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 3.5rem;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) .feature-card::before,
  .timeline-item:nth-child(even) .feature-card::before {
    left: -45px;
    right: auto;
  }
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, var(--background-color) 0%, rgba(236, 232, 82, 0.05) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: white;
  padding: 2.25rem;
  border-radius: 18px;
  border: 2px solid var(--border-color);
  box-shadow: 8px 8px 22px var(--shadow-color), -8px -8px 22px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.15;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 12px 12px 28px var(--shadow-color), -12px -12px 28px rgba(255, 255, 255, 0.8);
  border-color: var(--secondary-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.05rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, rgba(51, 115, 87, 0.08) 0%, rgba(253, 252, 255, 0.5) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: white;
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 10px 10px 25px var(--shadow-color), -10px -10px 25px rgba(255, 255, 255, 0.6);
  border: 2px solid var(--border-color);
}

.contact-item {
  display: flex;
  align-items: start;
  margin-bottom: 2rem;
  gap: 1.25rem;
  padding: 1rem;
  background: rgba(87, 123, 193, 0.03);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(87, 123, 193, 0.08);
  transform: translateX(5px);
}

.contact-icon {
  font-size: 1.75rem;
  color: var(--primary-color);
  min-width: 35px;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 18px;
  box-shadow: 10px 10px 25px var(--shadow-color), -10px -10px 25px rgba(255, 255, 255, 0.6);
  border: 2px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.625rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
  background-color: rgba(87, 123, 193, 0.02);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(87, 123, 193, 0.12);
  background-color: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  background: var(--gradient-primary);
  color: white;
  padding: 1.15rem 3rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 6px 6px 18px var(--shadow-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #344CB7 0%, #577BC1 100%);
  transform: translateY(-3px);
  box-shadow: 8px 8px 22px var(--shadow-color);
}

.btn-submit:active {
  transform: translateY(-1px);
}

/* FAQ Section */
.faq-section {
  background-color: white;
}

.faq-list {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, rgba(87, 123, 193, 0.04) 0%, white 100%);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  margin-bottom: 1.75rem;
  padding: 2rem;
  box-shadow: 7px 7px 18px var(--shadow-color), -7px -7px 18px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  transform: translateX(8px);
  box-shadow: 10px 10px 22px var(--shadow-color), -10px -10px 22px rgba(255, 255, 255, 0.7);
}

.faq-question {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.faq-question i {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.faq-answer {
  color: var(--text-color);
  line-height: 1.8;
  padding-left: 2.4rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.25rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

footer .logo img {
  height: 45px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  position: relative;
}

footer nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

footer nav ul li a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
    gap: 1.25rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}