@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #2980B9;
  --secondary-color: #16A085;
  --accent-color: #3498DB;
  --light-color: #ECF0F1;
  --dark-color: #0D3B5C;
  --gradient-primary: linear-gradient(135deg, #2980B9 0%, #16A085 100%);
  --hover-color: #1F618D;
  --background-color: #FAFCFD;
  --text-color: #34495E;
  --border-color: rgba(41, 128, 185, 0.25);
  --divider-color: rgba(22, 160, 133, 0.15);
  --shadow-color: rgba(41, 128, 185, 0.15);
  --highlight-color: #F39C12;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Roboto', 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;
}

a {
  text-decoration: none;
  transition: all 0.35s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: var(--gradient-primary);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px var(--shadow-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 55px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

header nav ul li a {
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding: 0.6rem 0;
}

header nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--highlight-color);
  transition: all 0.35s ease;
  transform: translateX(-50%);
}

header nav ul li a:hover::before {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

#menu-checkbox {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.8rem;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.4rem;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.8;
}

/* Content Sections */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 50px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 25px;
  box-shadow: 10px 10px 30px var(--shadow-color), -5px -5px 15px rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.content-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.content-text {
  flex: 1;
}

.content-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1.8rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.content-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--highlight-color);
  border-radius: 2px;
}

.content-text p {
  font-size: 1.15rem;
  margin-bottom: 1.3rem;
  line-height: 1.9;
}

/* Divider */
.divider {
  margin: 8vh auto;
  text-align: center;
  position: relative;
  padding: 2rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
  z-index: 0;
}

.divider span {
  background: var(--background-color);
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--main-font);
}

/* CTA Sections */
.cta-section {
  position: relative;
  padding: 12vh 0;
  text-align: center;
  color: white;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(41, 128, 185, 0.4), transparent);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 3.2rem;
  margin-bottom: 2rem;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
}

.cta-section p {
  font-size: 1.5rem;
  max-width: 850px;
  margin: 0 auto;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  line-height: 1.8;
}

/* Features Timeline */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(180deg, var(--light-color) 0%, var(--background-color) 50%, var(--light-color) 100%);
}

.features-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1.5rem;
}

.features-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--highlight-color);
  border-radius: 2px;
}

.timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  margin-bottom: 5rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 70px;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 70px;
  margin-right: auto;
  text-align: left;
}

.timeline-content {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 8px 8px 25px var(--shadow-color), -4px -4px 12px rgba(255, 255, 255, 0.9);
  border: 3px solid var(--border-color);
  width: calc(50% - 35px);
  transition: all 0.4s ease;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 25px;
  width: 20px;
  height: 20px;
  background: var(--highlight-color);
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
}

.timeline-content:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 12px 12px 35px var(--shadow-color), -6px -6px 18px rgba(255, 255, 255, 0.95);
}

.timeline-icon {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 6px 15px var(--shadow-color);
  z-index: 10;
  border: 4px solid white;
}

.timeline-content h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--secondary-color);
}

.timeline-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Testimonials */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--light-color);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(41, 128, 185, 0.03) 35px,
    rgba(41, 128, 185, 0.03) 70px
  );
  pointer-events: none;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 5rem;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 6px 6px 20px var(--shadow-color), -3px -3px 12px rgba(255, 255, 255, 0.8);
  border-top: 5px solid var(--secondary-color);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: var(--border-color);
  opacity: 0.3;
}

.testimonial-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 10px 10px 30px var(--shadow-color), -5px -5px 18px rgba(255, 255, 255, 0.9);
}

.testimonial-card p {
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.15rem;
  font-family: var(--main-font);
}

/* Form Section */
.form-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-color) 100%);
}

.form-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3.5rem;
  color: var(--primary-color);
}

/* Contact Section */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.contact-flex {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2.8rem;
  margin-bottom: 2.5rem;
  color: var(--primary-color);
}

.contact-item {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem;
  background: var(--light-color);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-item i {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-top: 5px;
}

.contact-form {
  flex: 1;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 8px 8px 25px var(--shadow-color), -4px -4px 12px rgba(255, 255, 255, 0.8);
  border: 2px solid var(--border-color);
}

.contact-form h3 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--secondary-color);
  text-align: center;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  font-size: 1.05rem;
  transition: all 0.3s ease;
  background: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 5px 5px 15px var(--shadow-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 20px var(--shadow-color);
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(to bottom, var(--light-color), var(--background-color));
}

.faq-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 5rem;
  color: var(--primary-color);
}

.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 2rem;
  border-radius: 15px;
  box-shadow: 5px 5px 18px var(--shadow-color), -3px -3px 10px rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 0.4s ease;
  border-left: 5px solid var(--secondary-color);
}

.faq-item:hover {
  transform: translateX(8px);
  box-shadow: 8px 8px 25px var(--shadow-color), -4px -4px 15px rgba(255, 255, 255, 0.9);
}

.faq-question {
  padding: 2rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question::before {
  content: '\f059';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--highlight-color);
}

.faq-answer {
  padding: 2rem;
  font-size: 1.1rem;
  line-height: 1.9;
  background: var(--light-color);
}

/* Footer */
footer {
  background: var(--gradient-primary);
  color: white;
  padding: 3.5rem 0 2rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

footer .logo img {
  height: 55px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: white;
  transition: all 0.3s ease;
  font-weight: 500;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
  font-size: 1rem;
  opacity: 0.9;
}

.footer-bottom a {
  color: var(--highlight-color);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
  }

  header nav ul li a {
    display: block;
    padding: 1.2rem;
  }

  header .logo {
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.15rem;
  }

  .content-flex {
    flex-direction: column;
  }

  .content-image {
    flex: 1;
    width: 100%;
    transform: rotate(0deg);
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-icon {
    left: 30px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 90px;
    margin-right: 0;
    text-align: left;
    width: calc(100% - 90px);
  }

  .timeline-content::before {
    display: none;
  }

  .contact-flex {
    flex-direction: column;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  .cta-section p {
    font-size: 1.2rem;
  }

  footer .container {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1.2rem;
  }
}