/* Color palette */
:root {
  --purple-smoky: #6d5bba;
  --mint-lime: #c1ff72;
  --indigo-coal: #2e2e3a;
  --coral-sand: #ff8e7f;
  --white-cotton: #fafafa;
}

/* 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: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--indigo-coal);
  background-color: var(--white-cotton);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Header styles */
header {
  background-color: var(--white-cotton);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple-smoky);
}

/* Navigation */
.hamburger-menu {
  display: none;
}

.hamburger-label {
  display: none;
  cursor: pointer;
}

.hamburger-icon {
  display: block;
  position: relative;
  width: 30px;
  height: 3px;
  background-color: var(--purple-smoky);
}

.hamburger-icon:before,
.hamburger-icon:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--purple-smoky);
  transition: all 0.3s ease;
}

.hamburger-icon:before {
  top: -8px;
}

.hamburger-icon:after {
  top: 8px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: var(--indigo-coal);
  font-weight: 500;
  padding: 5px 10px;
}

nav ul li a:hover {
  color: var(--purple-smoky);
}

/* Hero section */
.hero {
  min-height: 85vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/YS5Up.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
  color: var(--white-cotton);
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--mint-lime);
  color: var(--indigo-coal);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--purple-smoky);
  color: var(--white-cotton);
}

/* About section */
.about {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--purple-smoky);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services section */
.services {
  padding: 80px 0;
  background-color: #f0f0f5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--white-cotton);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  color: var(--purple-smoky);
  margin-bottom: 10px;
}

/* Benefits section */
.benefits {
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
  gap: 20px;
}

.benefit-card {
  background-color: var(--white-cotton);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  text-align: center;
}

.benefit-img {
  height: 150px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-img img {
  max-height: 100%;
  max-width: 100%;
}

/* Testimonials section */
.testimonials {
  padding: 80px 0;
  background-color: #f0f0f5;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: var(--white-cotton);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  position: relative;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--purple-smoky);
}

/* FAQ section */
.faq {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: var(--purple-smoky);
  color: var(--white-cotton);
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-checkbox {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: var(--white-cotton);
  padding: 0 20px;
}

.faq-checkbox:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 15px 20px;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-checkbox:checked + .faq-question:after {
  content: "-";
}

/* Contact section */
.contact {
  padding: 80px 0;
  background-color: #f0f0f5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.contact-info {
  background-color: var(--white-cotton);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  color: var(--purple-smoky);
  margin-bottom: 20px;
}

.contact-detail {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form section */
.form-section {
  padding: 80px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white-cotton);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--purple-smoky);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

select option {
  background-color: var(--white-cotton);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-top: 5px;
}

.form-btn {
  background-color: var(--purple-smoky);
  color: var(--white-cotton);
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-btn:hover {
  background-color: var(--mint-lime);
  color: var(--indigo-coal);
}

/* Footer */
footer {
  background-color: var(--indigo-coal);
  color: var(--white-cotton);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  color: var(--mint-lime);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--mint-lime);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--indigo-coal);
  color: var(--white-cotton);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.cookie-accept {
  background-color: var(--mint-lime);
  color: var(--indigo-coal);
}

.cookie-accept:hover {
  background-color: #a8e05a;
}

/* Thank you page */
.thank-you {
  margin: 5rem auto;
  max-width: 600px;
  padding: 30px;
  border: 2px solid var(--purple-smoky);
  border-radius: 10px;
  background-color: var(--white-cotton);
  text-align: center;
}

.thank-you h1 {
  color: var(--purple-smoky);
  margin-bottom: 20px;
}

/* Policy pages */
.policy-container {
  max-width: 800px;
  margin: 5rem auto;
  padding: 30px;
  border: 2px solid var(--purple-smoky);
  border-radius: 10px;
  background-color: var(--white-cotton);
}

.policy-container h1 {
  color: var(--purple-smoky);
  margin-bottom: 30px;
  text-align: center;
}

.policy-container h2 {
  color: var(--indigo-coal);
  margin: 25px 0 15px;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 15px;
}

.policy-container ul {
  padding-left: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hamburger-label {
    display: block;
  }

  .hamburger-menu {
    position: absolute;
    left: -9999px;
  }

  nav ul {
    position: fixed;
    flex-direction: column;
    background-color: var(--white-cotton);
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .hamburger-menu:checked ~ ul {
    right: 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .about-content {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    flex-direction: column;
    gap: 15px;
  }
}
