@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #5E1675;
  --secondary-color: #AB0E86;
  --accent-color: #D01257;
  --light-color: #FFCEE4;
  --dark-color: #0F0766;
  --gradient-primary: linear-gradient(135deg, #AB0E86 0%, #5E1675 100%);
  --hover-color: #7D1B8C;
  --background-color: #FFF8FC;
  --text-color: #2C3E50;
  --border-color: rgba(94, 22, 117, 0.25);
  --divider-color: rgba(171, 14, 134, 0.15);
  --shadow-color: rgba(15, 7, 102, 0.1);
  --highlight-color: #5CB338;
  --main-font: 'Merriweather', 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.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: var(--dark-color);
  padding: 18px 0;
  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;
}

header .logo img:hover {
  transform: scale(1.08);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

header nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

header nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

header nav a:hover::before {
  width: 100%;
}

header nav a:hover {
  color: var(--accent-color);
}

/* Mobile Menu Toggle */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-icon span {
  width: 32px;
  height: 3px;
  background: var(--light-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-icon {
    display: flex;
    order: 1;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 550px;
    margin-top: 25px;
  }

  header nav ul {
    flex-direction: column;
    width: 100%;
    gap: 18px;
    padding: 25px 0;
  }

  header nav a {
    display: block;
    padding: 12px 0;
    text-align: center;
  }
}

/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(15, 7, 102, 0.75), rgba(94, 22, 117, 0.75)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
}

.hero-content {
  color: white;
  max-width: 950px;
  padding: 50px 20px;
  animation: slideIn 1.2s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Content Section */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 50px;
  align-items: center;
}

.content-image {
  width: 40%;
  border-radius: 25px;
  box-shadow: 15px 15px 30px var(--shadow-color), -15px -15px 30px rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease;
  border: 3px solid var(--border-color);
}

.content-image:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 20px 20px 40px var(--shadow-color), -20px -20px 40px rgba(255, 255, 255, 0.8);
}

.content-text {
  width: 60%;
}

@media (max-width: 968px) {
  .content-flex {
    flex-direction: column;
  }

  .content-image,
  .content-text {
    width: 100%;
  }
}

/* Section Divider */
.section-divider {
  padding: 50px 0;
  text-align: center;
  position: relative;
}

.divider-line {
  height: 2px;
  background: var(--gradient-primary);
  max-width: 300px;
  margin: 20px auto;
  border-radius: 2px;
}

/* CTA Section */
.cta-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(rgba(15, 7, 102, 0.88), rgba(94, 22, 117, 0.88)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  padding: 20px 50px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 60px;
  font-weight: 700;
  font-size: 19px;
  margin-top: 30px;
  box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.cta-btn:hover {
  background: var(--hover-color);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 15px 15px 30px var(--shadow-color), -15px -15px 30px rgba(255, 255, 255, 0.08);
  border-color: var(--accent-color);
}

/* Features Section - Timeline */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--background-color) 100%);
}

.timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  padding: 50px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.timeline-item {
  margin-bottom: 60px;
  position: relative;
  width: 45%;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
}

.timeline-item:nth-child(even) {
  margin-left: 55%;
}

.timeline-content {
  background: white;
  padding: 35px;
  border-radius: 20px;
  border: 3px solid var(--border-color);
  box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 35px;
  width: 25px;
  height: 25px;
  background: var(--accent-color);
  border: 5px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--border-color);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -65px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -65px;
}

.timeline-content:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 15px 15px 30px var(--shadow-color), -15px -15px 30px rgba(255, 255, 255, 0.8);
}

.timeline-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 25px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 50px;
  }

  .timeline-content::before {
    left: -50px !important;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--background-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 25px;
  border: 3px solid var(--border-color);
  box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--gradient-primary);
  opacity: 0.05;
  border-radius: 50%;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 70px;
  color: var(--primary-color);
  font-family: Georgia, serif;
  opacity: 0.2;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 15px 15px 30px var(--shadow-color), -15px -15px 30px rgba(255, 255, 255, 0.8);
}

.testimonial-name {
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 25px;
  font-size: 18px;
}

/* Contact Section */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--background-color) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 20px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 6px 6px 12px var(--shadow-color), -6px -6px 12px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  font-size: 28px;
  color: var(--primary-color);
  min-width: 35px;
}

.contact-form {
  background: white;
  padding: 45px;
  border-radius: 25px;
  box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px rgba(255, 255, 255, 0.8);
  border: 3px solid var(--border-color);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--dark-color);
  font-size: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--alt-font);
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--background-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 5px rgba(94, 22, 117, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.submit-btn {
  width: 100%;
  padding: 20px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 60px;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 10px 10px 20px var(--shadow-color), -10px -10px 20px rgba(255, 255, 255, 0.08);
}

.submit-btn:hover {
  background: var(--hover-color);
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px var(--shadow-color), -15px -15px 30px rgba(255, 255, 255, 0.08);
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: white;
}

.faq-container {
  max-width: 950px;
  margin: 60px auto 0;
}

.faq-item {
  margin-bottom: 30px;
  border: 3px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-color);
  transform: translateX(5px);
}

.faq-question {
  background: linear-gradient(135deg, var(--light-color) 0%, #FFF8FC 100%);
  padding: 28px 35px;
  font-weight: 700;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 18px;
}

.faq-icon {
  color: var(--accent-color);
  font-size: 26px;
}

.faq-answer {
  padding: 28px 35px;
  background: white;
  line-height: 1.9;
  font-size: 16px;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 60px 0 35px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 35px;
}

footer .logo img {
  height: 55px;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

footer nav a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-credit {
  width: 100%;
  text-align: center;
  margin-top: 45px;
  padding-top: 35px;
  border-top: 2px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
}

.footer-credit a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 700;
}

.footer-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer .logo {
    order: 1;
  }

  footer nav {
    order: 2;
  }

  footer nav ul {
    flex-direction: column;
    gap: 18px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}