@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #5E1675;
  --secondary-color: #2C0A3E;
  --accent-color: #9B59B6;
  --light-color: #E8DAEF;
  --dark-color: #1A0527;
  --gradient-primary: linear-gradient(135deg, #9B59B6 0%, #5E1675 100%);
  --hover-color: #7D3C98;
  --background-color: #F4ECF7;
  --text-color: #2C3E50;
  --border-color: rgba(155, 89, 182, 0.3);
  --divider-color: rgba(94, 22, 117, 0.15);
  --shadow-color: rgba(94, 22, 117, 0.2);
  --highlight-color: #F39C12;
  --main-font: 'Playfair Display', 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);
  background-color: var(--background-color);
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 20px var(--shadow-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 55px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.08);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

header nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

header nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

header nav a:hover::before {
  width: 100%;
}

header nav a:hover {
  color: var(--accent-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}

input#menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
    order: 3;
  }

  header .logo {
    order: 2;
    flex: 1;
    text-align: center;
  }

  header nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  input#menu-checkbox:checked ~ nav {
    max-height: 600px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0;
  }

  header nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  header nav a {
    display: block;
    padding: 1.2rem;
  }
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  color: #ffffff;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(26, 5, 39, 0.75), rgba(44, 10, 62, 0.75)), url('./img/bg.jpg') no-repeat center center/cover;
  z-index: -1;
}

.hero-content {
  max-width: 850px;
  z-index: 1;
}

/* Content Section Styles */
.content-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

.content-flex {
  display: flex;
  gap: 50px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 20px;
  box-shadow: 0 12px 35px var(--shadow-color);
  overflow: hidden;
  position: relative;
}

.content-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.content-image:hover img {
  transform: scale(1.08);
}

.content-text {
  flex: 0 0 60%;
}

@media (max-width: 768px) {
  .content-flex {
    flex-direction: column;
  }

  .content-image,
  .content-text {
    flex: 0 0 100%;
  }
}

/* Section Divider */
.section-divider {
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  z-index: 0;
  opacity: 0.3;
}

.divider-text {
  position: relative;
  display: inline-block;
  background-color: var(--background-color);
  padding: 0 2.5rem;
  z-index: 1;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  position: relative;
  color: #ffffff;
  text-align: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 5, 39, 0.8);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: 0 auto;
}

/* Features Section - Timeline */
.features-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-color) 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(155, 89, 182, 0.03) 35px, rgba(155, 89, 182, 0.03) 70px);
  z-index: 0;
}

.features-timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  z-index: 1;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(155, 89, 182, 0.4);
}

.feature-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
}

.feature-item:nth-child(odd) {
  flex-direction: row;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  width: 45%;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.6);
  transition: all 0.4s ease;
}

.feature-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border-color: var(--accent-color);
}

.feature-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px var(--shadow-color);
  z-index: 2;
  border: 4px solid var(--background-color);
}

@media (max-width: 768px) {
  .features-timeline::before {
    left: 35px;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    flex-direction: row;
    padding-left: 80px;
  }

  .feature-content {
    width: 100%;
  }

  .feature-icon {
    left: 35px;
  }
}

/* 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% 50%, rgba(155, 89, 182, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 25px var(--shadow-color),
              inset 0 2px 3px rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.15;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px var(--shadow-color),
              inset 0 2px 3px rgba(255, 255, 255, 0.5);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 2;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.05rem;
}

/* Form Section */
.form-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(to bottom, var(--light-color) 0%, var(--background-color) 100%);
}

.form-container {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: 0 12px 50px var(--shadow-color),
              inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 2px solid var(--border-color);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 700;
  color: var(--secondary-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: 1rem;
  transition: all 0.3s ease;
  background: var(--background-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(94, 22, 117, 0.1);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px var(--shadow-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

/* Contact Section */
.contact-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: var(--background-color);
}

.contact-flex {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 40%;
}

.contact-form {
  flex: 0 0 60%;
}

.contact-item {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 6px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.contact-item i {
  color: var(--primary-color);
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .contact-flex {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 0 0 100%;
  }
}

/* FAQ Section */
.faq-section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--background-color) 100%);
}

.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: 0 6px 20px var(--shadow-color),
              inset 0 2px 3px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 30px var(--shadow-color),
              inset 0 2px 3px rgba(255, 255, 255, 0.5);
  border-color: var(--accent-color);
}

.faq-question {
  padding: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(to right, var(--light-color) 0%, transparent 100%);
  cursor: pointer;
  font-size: 1.1rem;
}

.faq-question i {
  margin-right: 0.8rem;
  color: var(--accent-color);
}

.faq-answer {
  padding: 0 2rem 2rem 2rem;
  color: var(--text-color);
  line-height: 2;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  color: #ffffff;
  padding: 3.5rem 2rem 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

footer .logo img {
  height: 65px;
  width: auto;
}

footer nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

footer nav a:hover {
  color: var(--highlight-color);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 2px 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 {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}