/* GLOBAL STYLES */
:root {
  --color-primary: #6f00ff; /* Electric Indigo */
  --color-accent: #ff6f3c; /* Vibrant Tangerine */
  --color-background: #f9f9fb; /* Ghost White */
  --color-text: #2b2d42; /* Gunmetal */
  --color-mint: #c1ffd7; /* Mint Green */
  --color-dark: #121212; /* Midnight */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
  font-family: "Arial", sans-serif;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
  padding: 60px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

/* HEADER STYLES */
header {
  background-color: white;
  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 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-primary);
}

/* Burger menu with CSS */
.burger-menu {
  display: none;
}

.burger-btn {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

/* HERO SECTION */
.hero {
  background-image: url("./img/Sk0I6.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ABOUT SECTION */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* SERVICES SECTION */
.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.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

/* BENEFITS SECTION */
.benefits {
  background-color: var(--color-mint);
  padding: 60px 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-item {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h2 {
  text-align: center;
}

/* TESTIMONIALS SECTION */
.testimonials {
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: var(--color-background);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CERTIFICATES SECTION */
.certificates {
  background-color: var(--color-background);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.certificate-item {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ SECTION - CSS Checkbox Hack */
.faq {
  background-color: white;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item label {
  display: block;
  padding: 15px;
  background-color: var(--color-mint);
  cursor: pointer;
  position: relative;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.faq-item label::after {
  content: "+";
  position: absolute;
  right: 15px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item input[type="checkbox"]:checked ~ label::after {
  transform: rotate(45deg);
}

.faq-item .faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
  background-color: white;
}

.faq-item input[type="checkbox"]:checked ~ .faq-content {
  max-height: 500px;
  padding: 15px;
}

/* FORM SECTION */
.form-section {
  background-color: var(--color-mint);
  padding: 60px 20px;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: 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: bold;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
}

.form-group select option {
  background-color: var(--color-mint);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 6px;
}

.error-message {
  color: red;
  margin-bottom: 15px;
}

.success-message {
  color: green;
  margin-bottom: 15px;
}

/* FOOTER STYLES */
footer {
  background-color: var(--color-dark);
  color: white;
  padding: 40px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ccc;
}

.footer-column a:hover {
  color: white;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* POLICY PAGES */
.policy-page {
  padding: 60px 20px;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

/* THANK YOU PAGE */
.gracias-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.gracias-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  max-width: 400px;
  width: 90%;
  display: none;
}

.cookie-popup.active {
  display: block;
  animation: slideUp 0.5s forwards;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-popup button {
  padding: 8px 15px;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ANIMATIONS */
@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
  .burger-btn {
    display: block;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    position: relative;
    width: 30px;
    height: 20px;
  }

  .burger-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .burger-btn span:nth-child(1) {
    top: 0;
  }

  .burger-btn span:nth-child(2) {
    top: 8px;
  }

  .burger-btn span:nth-child(3) {
    top: 16px;
  }

  #burger-toggle {
    display: none;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
  }

  #burger-toggle:checked ~ nav {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
