/* Color Palette */
:root {
  --indigo: #4b0082;
  --neon-turquoise: #00ffff;
  --lavender: #e6e6fa;
  --charcoal: #2e2e2e;
  --white: #ffffff;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--indigo);
  margin-bottom: 1rem;
  line-height: 1.2;
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--neon-turquoise);
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--indigo);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
}

.btn:hover {
  background-color: var(--neon-turquoise);
  color: var(--charcoal);
}

/* Header */
header {
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--indigo);
}

/* Navigation */
.nav-checkbox {
  display: none;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--indigo);
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--neon-turquoise);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background-image: url("img/XW5rN.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--lavender);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

/* Services Section */
.services {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  margin-bottom: 10px;
}

/* Why Us Section */
.why-us {
  padding: 80px 0;
  background-color: var(--lavender);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.why-us-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-us-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background-image: url("img/kEXLu.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(75, 0, 130, 0.8);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 20px;
}

/* Form Section */
.contact {
  padding: 80px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--indigo);
  outline: none;
}

select.form-control option {
  background-color: var(--lavender);
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

.error-message {
  color: red;
  margin-top: 20px;
}

/* Footer */
footer {
  background-color: var(--indigo);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--neon-turquoise);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
}

.footer-links a:hover {
  color: var(--neon-turquoise);
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Thank You Page */
.thank-you-container {
  margin: 10rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 600px;
  padding: 30px;
  border: 2px solid var(--indigo);
  border-radius: 10px;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.policy-container h2 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 20px;
}

.policy-container ul {
  padding-left: 20px;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  padding: 15px;
  background-color: var(--lavender);
  color: var(--indigo);
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.faq-question:checked + .faq-label {
  background-color: var(--indigo);
  color: var(--white);
}

.faq-question:checked + .faq-label::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: var(--white);
  border-radius: 0 0 5px 5px;
  transition: max-height 0.3s ease;
}

.faq-question:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-consent p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.accept-cookies {
  background-color: var(--indigo);
}

.decline-cookies {
  background-color: var(--charcoal);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: stretch;
    position: relative;
  }

  .logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 10px;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-checkbox:checked ~ .nav-menu {
    max-height: 300px;
    padding: 10px 0;
  }

  .nav-menu li {
    margin: 10px 20px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    order: -1;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
