/* Global styles */
:root {
  --primary: #0b0f2b;
  --accent1: #ff007f;
  --accent2: #00ffd1;
  --text: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--primary);
  color: var(--text);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(45deg, var(--accent1), var(--accent2));
  color: var(--text);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.btn:hover {
  box-shadow: 0 0 20px rgba(0, 255, 209, 0.7);
  transform: translateY(-3px);
  color: var(--text);
}

/* Header and Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  background-color: rgba(11, 15, 43, 0.9);
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text);
  text-shadow: 0 0 10px var(--accent1), 0 0 20px var(--accent2);
  letter-spacing: 1px;
}

/* Hamburger menu with CSS only */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li a {
  padding: 5px 10px;
  position: relative;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(45deg, var(--accent1), var(--accent2));
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(11, 15, 43, 0.7), rgba(11, 15, 43, 0.9)),
    url("./img/f5r4B.jpg");
  background-size: cover;
  background-position: center;
  margin-top: 60px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px var(--accent1);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* About Section */
.about {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, var(--accent1), var(--accent2));
  margin: 10px auto;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(11, 15, 43, 0.8);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 0, 127, 0.2);
}

.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 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent2);
}

/* Why Us Section */
.why-us {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--accent1);
}

/* Audit Stages */
.stages {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.stage-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.stage {
  position: relative;
  margin-bottom: 30px;
}

.stage-content {
  background-color: rgba(11, 15, 43, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 209, 0.2);
}

.stage-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--accent2);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: rgba(11, 15, 43, 0.8);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: 10px;
  left: 20px;
  color: rgba(255, 0, 127, 0.2);
  font-family: serif;
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  text-align: right;
  font-weight: bold;
  color: var(--accent2);
}

/* Form Section */
.contact {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 127, 0.1),
    rgba(0, 255, 209, 0.1)
  );
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid transparent;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent2);
  box-shadow: 0 0 10px rgba(0, 255, 209, 0.5);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.service-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-options label {
  display: flex;
  align-items: center;
}

.service-options input[type="checkbox"] {
  margin-right: 8px;
}

select.form-control {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent1) 50%),
    linear-gradient(135deg, var(--accent1) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select.form-control option {
  background-color: var(--primary);
  color: var(--text);
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question:checked + .faq-label {
  background-color: rgba(255, 0, 127, 0.1);
}

.faq-question:checked + .faq-label::after {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 5px 5px;
}

.faq-question:checked ~ .faq-content {
  max-height: 500px;
  padding: 15px 20px;
}

/* Footer */
footer {
  background-color: rgba(11, 15, 43, 0.9);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: linear-gradient(45deg, var(--accent1), var(--accent2));
  bottom: -8px;
  left: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  position: relative;
  padding-left: 15px;
}

.footer-links li a::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent1);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.contact-info span {
  margin-right: 10px;
  color: var(--accent2);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: rgba(11, 15, 43, 0.95);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  max-width: 300px;
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Thank You Page */
.thank-you {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 10rem auto;
}

.thank-you-container {
  max-width: 600px;
  padding: 40px;
  border: 2px solid var(--accent1);
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.3);
  background: linear-gradient(
    135deg,
    rgba(255, 0, 127, 0.05),
    rgba(0, 255, 209, 0.05)
  );
}

.thank-you h1 {
  margin-bottom: 20px;
  color: var(--accent2);
}

.thank-you p {
  margin-bottom: 30px;
}

/* Policy Pages */
.policy-page {
  padding: 120px 0 60px;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.policy-container h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  color: var(--accent2);
}

.policy-container p,
.policy-container ul {
  margin-bottom: 15px;
}

.policy-container ul {
  padding-left: 20px;
}

.policy-container ul li {
  margin-bottom: 8px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: rgba(11, 15, 43, 0.95);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .menu-toggle:checked ~ .nav-links {
    max-height: 428px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  .menu-toggle:checked ~ .menu-btn span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked ~ .menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-btn span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 12px;
  }
}
