/* General 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: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #2e003e;
  color: #ffffff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #ffd447;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.2rem;
}

a {
  color: #00c9a7;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #00a6fb;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(to right, #00c9a7, #00a6fb);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Header styles */
.header {
  background-color: #2e003e;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(to right, #ffd447, #ff2e63);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-link {
  margin-left: 1.5rem;
  color: #ffffff;
}

.nav-link:hover {
  color: #ffd447;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

#menu-toggle {
  display: none;
}

/* Hero section */
.hero {
  background-image: url("./img/xwsLB.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(46, 0, 62, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About section */
.about {
  padding: 4rem 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Benefits section */
.benefits {
  padding: 4rem 0;
  background-color: #3a0850;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  color: #2e003e;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card h3 {
  color: #ff2e63;
}

/* Services section */
.services {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  color: #2e003e;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #ff2e63;
}

.service-card p {
  margin-bottom: 1.5rem;
}

/* Portfolio section */
.portfolio {
  padding: 4rem 0;
  background-color: #3a0850;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(46, 0, 62, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.portfolio-overlay h4 {
  color: #ffd447;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  color: white;
  text-align: center;
  padding: 0 1rem;
}

/* Testimonials section */
.testimonials {
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  color: #2e003e;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  color: rgba(255, 46, 99, 0.2);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: bold;
  color: #ff2e63;
}

/* FAQ section */
.faq {
  padding: 4rem 0;
  background-color: #3a0850;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  position: relative;
  background-color: #ffffff;
  color: #2e003e;
  padding: 1rem;
  cursor: pointer;
  font-weight: bold;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-label {
  display: block;
  position: relative;
  cursor: pointer;
  padding-right: 30px;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-checkbox:checked ~ .faq-label::after {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  background-color: #ffffff;
  color: #2e003e;
  transition: max-height 0.3s ease;
}

.faq-checkbox:checked ~ .faq-content {
  max-height: 500px;
}

.faq-answer {
  padding: 1rem;
  border-top: 1px solid rgba(46, 0, 62, 0.1);
}

/* Contact Form */
.contact {
  padding: 4rem 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #2e003e;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}

.form-checkbox input {
  margin-top: 5px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to right, #00c9a7, #00a6fb);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  opacity: 0.9;
}

/* Thank you page */
.thank-you-content {
  margin: 3rem auto;
  text-align: center;
  max-width: 600px;
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #2e003e;
}

/* Policy pages */
.policy-container {
  max-width: 800px;
  margin: 4rem auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #2e003e;
}

.policy-container h1 {
  color: #ff2e63;
  text-align: center;
}

/* Footer */
.footer {
  padding: 3rem 0 1rem;
  background-color: #1a0023;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: #ffd447;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-contact-item {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  color: #2e003e;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-popup p {
  margin: 0;
  padding-right: 1rem;
}

.cookie-popup button {
  background: linear-gradient(to right, #00c9a7, #00a6fb);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
}

/* Responsive styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 101;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    background: #2e003e;
    width: 250px;
    height: 100vh;
    flex-direction: column;
    padding-top: 80px;
    transition: all 0.3s ease;
    z-index: 100;
  }

  .nav-menu li {
    margin: 1.5rem 0;
    text-align: center;
  }

  #menu-toggle:checked ~ .nav-menu {
    right: 0;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .portfolio-grid,
  .services-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
