/* === GENERAL STYLES === */
:root {
  --color-primary: #3b0764;
  --color-accent: #2af598;
  --color-background: #f9f9f2;
  --color-gradient-start: #5eead4;
  --color-gradient-end: #0ea5e9;
  --color-text: #1e293b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-family: "Arial", sans-serif;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

button,
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

button:hover,
.btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

img {
  max-width: 100%;
  height: auto;
}

/* === HEADER === */
header {
  background-color: var(--color-background);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-primary);
}

/* Navigation and Burger Menu with CSS-only checkbox hack */
.navigation {
  position: relative;
}

.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 2;
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* === HERO SECTION === */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* === ABOUT SECTION === */
#about {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

/* === SERVICES SECTION === */
#services {
  padding: 5rem 0;
  background-color: rgba(59, 7, 100, 0.05);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

/* === BENEFITS SECTION === */
#benefits {
  padding: 5rem 0;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.benefit-item {
  flex-basis: calc(50% - 20px);
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
}

.benefit-icon {
  background: linear-gradient(
    135deg,
    var(--color-gradient-start),
    var(--color-gradient-end)
  );
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.benefit-icon img {
  width: 30px;
  height: 30px;
}

/* === TESTIMONIALS SECTION === */
#testimonials {
  padding: 5rem 0;
  background-color: rgba(59, 7, 100, 0.05);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: bold;
}

/* === FORM SECTION === */
#contact-form {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    rgba(94, 234, 212, 0.1),
    rgba(14, 165, 233, 0.1)
  );
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-accent);
  outline: none;
}

/* Custom select styling */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E293B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

select.form-control option {
  background-color: white;
  color: var(--color-text);
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 10px;
}

/* === FAQ SECTION === */
#faq {
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  display: block;
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: white;
  transition: all 0.3s ease;
  opacity: 0;
  margin-top: 2px;
  border-radius: 0 0 8px 8px;
}

.faq-content {
  padding: 1.5rem;
}

/* CSS-only FAQ with checkbox hack */
.faq-toggle {
  display: none;
}

.faq-toggle:checked ~ .faq-question {
  border-radius: 8px 8px 0 0;
  background-color: var(--color-primary);
  color: white;
}

.faq-toggle:checked ~ .faq-question::after {
  content: "−";
  color: white;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 1000px;
  opacity: 1;
}

/* === MAP & CONTACTS === */
#map-contact {
  padding: 5rem 0;
  background-color: rgba(59, 7, 100, 0.05);
}

.map-contact-container {
  display: flex;
  gap: 30px;
}

.map-container {
  flex: 1;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info {
  flex: 1;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.contact-item strong {
  min-width: 100px;
  display: inline-block;
}

/* === FOOTER === */
footer {
  background-color: var(--color-primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-info {
  grid-column: 1;
}

.footer-links {
  grid-column: 2;
}

.footer-legal {
  grid-column: 3;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--color-accent);
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === POLICY PAGES === */
.policy-container {
  max-width: 800px;
  margin: 8rem auto 3rem;
  padding: 3rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  margin-bottom: 2rem;
}

.policy-container h2 {
  margin-top: 2rem;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 1rem;
}

.policy-container ul {
  padding-left: 2rem;
}

/* === THANK YOU PAGE === */
.thank-you-container {
  max-width: 600px;
  margin: 8rem auto 3rem;
  padding: 3rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.thank-you-container h1 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.thank-you-container .icon {
  font-size: 5rem;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

/* === COOKIE CONSENT === */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-text {
  max-width: 800px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}
/* === RESPONSIVE === */
@media (max-width: 991px) {
  .about-content {
    flex-direction: column;
  }

  .map-contact-container {
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-info {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  /* Menu button should be visible on mobile */
  .menu-btn {
    display: flex;
  }

  /* Links in nav menu need proper spacing and display */
  .nav-links a {
    display: block;
    padding: 1rem 2rem;
  }

  .header-container {
    position: relative;
    padding: 0 20px;
  }

  .navigation {
    display: flex;
    justify-content: flex-end;
    width: auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 200px;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 100;
  }

  .menu-toggle:checked ~ .nav-links {
    max-height: 400px; /* Large enough to fit all menu items */
    padding: 1rem 0;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: 0s;
  }

  .menu-toggle:checked ~ .nav-links li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
  }

  .nav-links li:nth-child(2) {
    transition-delay: 0.1s;
  }
  .menu-toggle:checked ~ .nav-links li:nth-child(2) {
    transition-delay: 0.3s;
  }

  .nav-links li:nth-child(3) {
    transition-delay: 0.2s;
  }
  .menu-toggle:checked ~ .nav-links li:nth-child(3) {
    transition-delay: 0.4s;
  }

  .nav-links li:nth-child(4) {
    transition-delay: 0.3s;
  }
  .menu-toggle:checked ~ .nav-links li:nth-child(4) {
    transition-delay: 0.5s;
  }

  .nav-links li:nth-child(5) {
    transition-delay: 0.4s;
  }
  .menu-toggle:checked ~ .nav-links li:nth-child(5) {
    transition-delay: 0.6s;
  }

  .nav-links li:nth-child(6) {
    transition-delay: 0.5s;
  }
  .menu-toggle:checked ~ .nav-links li:nth-child(6) {
    transition-delay: 0.7s;
  }

  /* Animation for the hamburger icon */
  .menu-btn span {
    transition: all 0.3s ease-in-out;
  }

  .menu-toggle:checked ~ .menu-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle:checked ~ .menu-btn span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }

  .menu-toggle:checked ~ .menu-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .benefit-item {
    flex-basis: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-info,
  .footer-links,
  .footer-legal {
    grid-column: 1;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .form-container,
  .policy-container,
  .thank-you-container {
    padding: 1.5rem;
  }
}
