@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #0F0766;
  --secondary-color: #59057B;
  --accent-color: #AB0E86;
  --light-color: #FFCEE4;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #59057B 0%, #0F0766 100%);
  --hover-color: #7A0999;
  --background-color: #FEFAE0;
  --text-color: #2C3D4F;
  --border-color: rgba(171, 14, 134, 0.25);
  --divider-color: rgba(15, 7, 102, 0.15);
  --shadow-color: rgba(89, 5, 123, 0.2);
  --highlight-color: #FB90B7;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Inter', 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;
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px var(--shadow-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

header nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

header nav a:hover {
  color: var(--highlight-color);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--light-color);
  transition: all 0.3s ease;
  border-radius: 3px;
}

#menu-checkbox {
  display: none;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(15, 16, 33, 0.65), rgba(15, 7, 102, 0.65)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(171, 14, 134, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(89, 5, 123, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-content h1 {
  color: #ffffff;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 25px;
}

.hero-content p {
  color: var(--light-color);
  font-size: 20px;
  line-height: 1.8;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.content-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

.content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 15px;
  box-shadow: 8px 8px 25px var(--shadow-color),
              -4px -4px 15px rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.content-image:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 35px var(--shadow-color),
              -6px -6px 20px rgba(255, 255, 255, 0.9);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-text {
  flex: 1;
}

.content-text h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.content-text p {
  margin-bottom: 18px;
  line-height: 1.8;
}

/* Section Divider */
.section-divider {
  margin: 80px 0;
  position: relative;
  text-align: center;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--divider-color);
  z-index: 0;
}

.section-divider span {
  position: relative;
  z-index: 1;
  background: var(--background-color);
  padding: 0 30px;
  color: var(--secondary-color);
  font-family: var(--main-font);
  font-size: 22px;
  font-weight: 600;
}

/* CTA Sections */
.cta-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(rgba(15, 16, 33, 0.7), rgba(89, 5, 123, 0.7)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(251, 144, 183, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4);
}

.cta-content p {
  color: var(--light-color);
  font-size: 19px;
  line-height: 1.8;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Features Section - Timeline */
.features-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(to bottom, var(--background-color) 0%, rgba(255, 206, 228, 0.15) 100%);
}

.features-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 60px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
  text-align: right;
}

.timeline-content {
  width: 45%;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 6px 6px 20px var(--shadow-color),
              -3px -3px 12px rgba(255, 255, 255, 0.9);
  transition: all 0.4s ease;
  position: relative;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 30px var(--shadow-color),
              -5px -5px 18px rgba(255, 255, 255, 0.95);
  border-color: var(--accent-color);
}

.timeline-icon {
  position: absolute;
  top: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -75px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -75px;
}

.timeline-content h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 24px;
}

.timeline-content p {
  line-height: 1.7;
  color: var(--text-color);
}

/* Testimonials Section */
.testimonials-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: var(--background-color);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(89, 5, 123, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(171, 14, 134, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.testimonials-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  position: relative;
}

.testimonial-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 5px 5px 18px var(--shadow-color),
              -3px -3px 10px rgba(255, 255, 255, 0.85);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 35px;
  color: var(--accent-color);
  opacity: 0.15;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 8px 8px 28px var(--shadow-color),
              -4px -4px 15px rgba(255, 255, 255, 0.9);
  border-color: var(--accent-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 18px;
}

/* Form Section */
.form-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(135deg, rgba(89, 5, 123, 0.08) 0%, rgba(171, 14, 134, 0.08) 100%);
}

.form-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.form-section > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.7;
}

/* Contact Section */
.contact-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

.contact-flex {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 35%;
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

.contact-item {
  margin-bottom: 25px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 4px 4px 15px var(--shadow-color),
              -2px -2px 8px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: 6px 6px 20px var(--shadow-color),
              -3px -3px 12px rgba(255, 255, 255, 0.85);
}

.contact-item i {
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 20px;
}

.contact-item p {
  display: inline;
  line-height: 1.6;
}

.contact-form-wrapper {
  flex: 1;
}

.contact-form-wrapper h3 {
  color: var(--secondary-color);
  margin-bottom: 30px;
  font-size: 28px;
}

form {
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 6px 6px 20px var(--shadow-color),
              -3px -3px 12px rgba(255, 255, 255, 0.9);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--alt-font);
  font-size: 15px;
  transition: all 0.3s ease;
  background: var(--background-color);
  box-shadow: inset 2px 2px 5px rgba(89, 5, 123, 0.08),
              inset -2px -2px 5px rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: inset 2px 2px 8px rgba(89, 5, 123, 0.12),
              inset -2px -2px 8px rgba(255, 255, 255, 0.9),
              0 0 0 3px rgba(171, 14, 134, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 16px 45px;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 15px var(--shadow-color),
              -2px -2px 8px rgba(255, 255, 255, 0.3);
  font-family: var(--alt-font);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #7A0999 0%, #1A0D8F 100%);
  transform: translateY(-3px);
  box-shadow: 6px 6px 20px var(--shadow-color),
              -3px -3px 12px rgba(255, 255, 255, 0.4);
}

/* FAQ Section */
.faq-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(to bottom, rgba(255, 206, 228, 0.1) 0%, var(--background-color) 100%);
}

.faq-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 25px;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 4px 4px 15px var(--shadow-color),
              -2px -2px 10px rgba(255, 255, 255, 0.85);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 6px 6px 22px var(--shadow-color),
              -3px -3px 14px rgba(255, 255, 255, 0.9);
  border-color: var(--accent-color);
}

.faq-question {
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(89, 5, 123, 0.05) 0%, rgba(171, 14, 134, 0.05) 100%);
  cursor: pointer;
}

.faq-question h3 {
  color: var(--secondary-color);
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-question h3 i {
  color: var(--accent-color);
  font-size: 18px;
}

.faq-answer {
  padding: 25px 30px;
  line-height: 1.8;
  color: var(--text-color);
  border-top: 1px solid var(--divider-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  padding: 50px 0 25px;
  color: var(--light-color);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

footer .logo img {
  height: 55px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

footer nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

footer nav a:hover::after {
  width: 100%;
}

footer nav a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 206, 228, 0.2);
  font-size: 14px;
  color: rgba(255, 206, 228, 0.7);
}

.footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header .navigation {
    position: fixed;
    top: 86px;
    left: -100%;
    width: 100%;
    background-color: var(--dark-color);
    transition: left 0.3s ease;
    box-shadow: 0 8px 20px var(--shadow-color);
  }

  header nav ul {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    align-items: flex-start;
  }

  .menu-toggle {
    display: flex;
  }

  #menu-checkbox:checked ~ .navigation {
    left: 0;
  }

  #menu-checkbox:checked ~ .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  #menu-checkbox:checked ~ .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  #menu-checkbox:checked ~ .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  header .logo {
    margin: 0 auto;
  }

  .content-flex {
    flex-direction: column;
  }

  .content-image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .timeline-icon {
    left: 5px !important;
    right: auto !important;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-flex {
    flex-direction: column;
  }

  .contact-info {
    flex: 0 0 100%;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 17px;
  }

  form {
    padding: 25px;
  }
}