/* GENERAL STYLES */
:root {
  --purple: #bf00ff;
  --aqua: #00ffe0;
  --orange: #ff5e3a;
  --deep-violet: #5d00a3;
  --background: #f5f5f5;
  --text: #1e1e1e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-family: "Arial", sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
  padding: 60px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--purple);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--deep-violet);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--purple);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}

.btn:hover {
  background-color: var(--deep-violet);
  color: white;
}

.btn-secondary {
  background-color: var(--aqua);
  color: var(--text);
}

.btn-secondary:hover {
  background-color: var(--orange);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--deep-violet);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--orange);
  margin: 15px auto 0;
}

/* 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: 28px;
  font-weight: bold;
  color: var(--purple);
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--aqua));
}

footer a {
  color: var(--aqua);
}

/* BURGER MENU (CSS ONLY) */
#burger-toggle {
  display: none;
}

.burger-menu {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--text);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--purple);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./img/gyvbj.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  text-align: center;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* BENEFITS SECTION */
.benefits {
  background-color: white;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.benefit-item {
  flex-basis: calc(33.33% - 30px);
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--purple);
}

/* SERVICES SECTION */
.services {
  background-color: var(--background);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: 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;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  color: var(--purple);
  margin-bottom: 10px;
}

/* WHY US SECTION */
.why-us {
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--deep-violet) 100%
  );
  color: white;
}

.why-us .section-title {
  color: white;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.why-us-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.why-us-item h3 {
  margin-bottom: 15px;
  font-size: 24px;
}

/* PRICING SECTION */
.pricing {
  background-color: white;
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.pricing-plan {
  flex-basis: calc(33.33% - 30px);
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.pricing-plan:hover {
  transform: translateY(-10px);
}

.pricing-plan.featured {
  border: 2px solid var(--orange);
}

.plan-name {
  color: var(--purple);
  font-size: 24px;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 36px;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
}

.plan-features li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* FORM SECTION */
.contact {
  background: linear-gradient(135deg, var(--aqua) 0%, var(--purple) 100%);
  color: white;
}

.contact .section-title {
  color: white;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 500;
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: var(--purple);
  outline: none;
}

/* Custom select styling */
select {
  appearance: none;
  background: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
    no-repeat;
  background-position: calc(100% - 15px) center;
  background-color: white;
  cursor: pointer;
}

/* Style for option background */
option {
  background-color: var(--background);
  color: var(--text);
  padding: 15px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 10px;
  min-width: 18px;
  height: 18px;
  accent-color: var(--purple);
}

.checkbox-group label {
  font-size: 14px;
  margin-bottom: 0;
}

.checkbox-group label a {
  text-decoration: underline;
}

.form-submit {
  background: linear-gradient(90deg, var(--purple) 0%, var(--deep-violet) 100%);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* TESTIMONIALS SECTION */
.testimonials {
  background-color: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 60px;
  color: var(--aqua);
  position: absolute;
  top: -20px;
  left: -15px;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 5px;
  color: var(--purple);
}

.author-info p {
  font-size: 14px;
  color: #777;
}

/* FAQ SECTION (CSS ONLY) */
.faq {
  background-color: white;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: #f0f0f0;
  padding: 20px;
  cursor: pointer;
  position: relative;
}

.faq-question label {
  display: block;
  font-weight: bold;
  cursor: pointer;
  padding-right: 40px;
}

.faq-question label::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--purple);
}

.faq-answer {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq input[type="checkbox"] {
  display: none;
}

.faq input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq input[type="checkbox"]:checked ~ .faq-question label::after {
  content: "-";
}

/* FOOTER */
footer {
  background-color: var(--deep-violet);
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: var(--aqua);
  position: relative;
}

.footer-column h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--orange);
  margin-top: 10px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white;
}

.footer-column ul li a:hover {
  color: var(--aqua);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact p svg {
  margin-right: 10px;
  fill: var(--aqua);
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* THANK YOU PAGE */
.gracias-container {
  max-width: 600px;
  margin: 100px auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.gracias-icon {
  font-size: 60px;
  color: var(--purple);
  margin-bottom: 20px;
}

/* POLICY PAGES */
.policy-container {
  max-width: 800px;
  margin: 40px auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  color: var(--purple);
  margin-bottom: 30px;
}

.policy-container h2 {
  color: var(--deep-violet);
  margin: 30px 0 15px;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 15px;
}

.policy-container ul {
  padding-left: 20px;
}

/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(200%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-text {
  margin-right: 20px;
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
  .benefit-item,
  .pricing-plan {
    flex-basis: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  /* Burger menu for mobile */
  nav ul {
    display: none;
  }

  .burger-menu {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
  }

  .burger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--purple);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .burger-menu span:nth-child(1) {
    top: 0;
  }

  .burger-menu span:nth-child(2) {
    top: 8px;
  }

  .burger-menu span:nth-child(3) {
    bottom: 0;
  }

  #burger-toggle:checked ~ nav ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  #burger-toggle:checked ~ nav ul li {
    margin: 10px 0;
  }

  #burger-toggle:checked ~ .burger-menu span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }

  #burger-toggle:checked ~ .burger-menu span:nth-child(2) {
    opacity: 0;
  }

  #burger-toggle:checked ~ .burger-menu span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .benefit-item,
  .pricing-plan {
    flex-basis: 100%;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .service-card {
    max-width: 100%;
  }

  .form-container {
    padding: 20px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .section-title {
    font-size: 24px;
  }
}
