@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Variant 2: Dark Theme
  Fonts: Playfair Display (Heading), Lato (Text)
  Colors: Purple, Teal, Light Grey, Yellow
*/
:root {
  --primary-color: #8E44AD; /* Purple */
  --secondary-color: #1A1A2E; /* Very Dark Blue */
  --accent-color: #1ABC9C; /* Teal */
  --light-color: #ECF0F1; /* Light Grey */
  --dark-color: #162447; /* Dark Blue */
  --gradient-primary: linear-gradient(135deg, #8E44AD 0%, #1ABC9C 100%);
  --hover-color: #9B59B6; /* Lighter Purple */
  --background-color: #1F2937; /* Dark Grey/Blue */
  --text-color: #E5E7EB; /* Light Grey Text */
  --border-color: rgba(236, 240, 241, 0.2);
  --divider-color: rgba(236, 240, 241, 0.1);
  --shadow-light: rgba(255, 255, 255, 0.05);
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --highlight-color: #F1C40F; /* Yellow */
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Lato', sans-serif;
}

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;
  color: var(--light-color);
}

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Neuromorphism Styles (Dark Mode) */
.neu-card {
  background-color: var(--background-color);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 
    5px 5px 10px var(--shadow-dark),
    -5px -5px 10px var(--shadow-light);
  transition: all 0.3s ease-in-out;
  padding: 1.5rem;
}

.neu-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    8px 8px 15px var(--shadow-dark),
    -8px -8px 15px var(--shadow-light);
}

.neu-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--main-font);
  font-weight: 600;
  border-radius: 12px;
  background: var(--primary-color);
  color: #FFFFFF;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 
    3px 3px 6px var(--shadow-dark),
    -3px -3px 6px var(--shadow-light);
  transition: all 0.3s ease;
}

.neu-button:hover {
  background: var(--hover-color);
  color: #ffffff;
  box-shadow: 
    inset 2px 2px 5px var(--shadow-dark),
    inset -2px -2px 5px var(--shadow-light);
}

/* Header */
header {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
  filter: brightness(0) invert(1);
}

header .navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

header .navigation li {
  margin-left: 1.5rem;
}

header .navigation a {
  color: var(--light-color);
  text-decoration: none;
  font-family: var(--main-font);
  font-size: 1.1rem;
  padding-bottom: 5px;
  transition: all 0.3s;
}

header .navigation a:hover {
  color: var(--highlight-color);
  border-bottom: 2px solid var(--highlight-color);
}

/* Hamburger Menu (CSS Only) */
#menu-toggle {
  display: none;
}

.menu-button-container {
  display: none;
  height: 27px;
  width: 35px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: var(--light-color);
  position: absolute;
  height: 4px;
  width: 35px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -10px;
}

.menu-button::after {
  content: '';
  margin-top: 10px;
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 2rem 0;
  margin-top: 5dvh;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer .logo img {
  height: 50px;
  filter: brightness(0) invert(1);
}

footer nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

footer nav li {
  margin-left: 1.5rem;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
}
footer nav a:hover {
  color: var(--highlight-color);
  text-decoration: underline;
}

footer .footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--divider-color);
  font-size: 0.9rem;
}
footer .footer-bottom a {
  color: var(--highlight-color);
}

/* Section Padding */
section:not(.hero) {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 15px;
  max-width: 800px;
}
.hero h1 {
  color: white;
  font-weight: 700;
}

/* Content Sections */
.content-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.content-section img {
  border-radius: 15px;
  box-shadow: 8px 8px 15px var(--shadow-dark);
}

/* Divider */
.section-divider {
  text-align: center;
  padding-top: 4dvh;
  padding-bottom: 4dvh;
}
.section-divider h2 {
  font-size: 1.5rem;
  color: var(--light-color);
  position: relative;
  display: inline-block;
  padding: 0 1rem;
}
.section-divider h2::before,
.section-divider h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100px;
  height: 2px;
  background-color: var(--border-color);
}
.section-divider h2::before {
  right: 100%;
}
.section-divider h2::after {
  left: 100%;
}

/* CTA */
.cta-section {
  color: white;
  text-align: center;
  padding-top: 15dvh;
  padding-bottom: 15dvh;
  position: relative;
}
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  color: white;
  font-size: 2.5rem;
}
.cta-content p {
  font-size: 1.25rem;
}

/* Features (Timeline) */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--accent-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2);
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item.left {
  left: 0;
}
.timeline-item.right {
  left: 50%;
}
.timeline-item.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid var(--accent-color);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--accent-color);
}
.timeline-item.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--accent-color);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--accent-color) transparent transparent;
}
.timeline-item.right::after {
  left: -16px;
}
.timeline-item.left::after {
  right: -17px;
}
.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: var(--light-color);
  border: 4px solid var(--accent-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 10px var(--shadow-dark);
}
.timeline-content {
  position: relative;
}
.timeline-content i {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  border-left: 5px solid var(--primary-color);
  background-color: var(--dark-color); /* Slightly lighter than main bg */
}
.testimonial-card p:first-child {
  font-style: italic;
  font-size: 1.1rem;
}
.testimonial-card p:last-child {
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--primary-color);
  text-align: right;
  margin-top: 1rem;
}

/* Form & Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: flex-start;
}
.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.contact-info i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--main-font);
  color: var(--light-color);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--dark-color);
  color: var(--light-color);
  box-shadow: inset 3px 3px 6px var(--shadow-dark);
  font-family: var(--alt-font);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: inset 3px 3px 6px var(--shadow-dark), 0 0 5px var(--accent-color);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9CA3AF;
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
  background-color: var(--secondary-color);
}
.faq-item h4 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.faq-item p {
  border-left: 3px solid var(--border-color);
  padding-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  /* Mobile Header */
  header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .menu-button-container {
    display: flex;
    position: relative;
    z-index: 100;
  }
  header .navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 74px; /* Height of header */
    background-color: var(--secondary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }
  header .navigation ul {
    flex-direction: column;
    padding: 1rem;
  }
  header .navigation li {
    margin: 0.5rem 0;
    text-align: center;
  }
  #menu-toggle:checked ~ .navigation {
    max-height: 500px; /* Or large enough value */
  }

  /* Mobile Footer */
  footer .container {
    flex-direction: column;
    text-align: center;
  }
  footer .logo {
    margin-bottom: 1rem;
  }
  footer nav ul {
    flex-direction: column;
  }
  footer nav li {
    margin: 0.5rem 0;
  }

  /* Content Sections */
  .content-section {
    flex-direction: column;
  }
  .content-section div {
    width: 100% !important;
  }
  /* Ensure correct order on mobile */
  .content-section.reverse-mobile {
    flex-direction: column-reverse;
  }

  /* Timeline */
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item.left::before,
  .timeline-item.right::before {
    left: 60px;
    border: medium solid var(--accent-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--accent-color) transparent transparent;
  }
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 15px;
  }
  .timeline-item.right {
    left: 0%;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
}