/* Base Styles */
:root {
  --background: #1c1c24;
  --text: #ffffff;
  --accent-yellow: #f0ff00;
  --accent-red: #ff595e;
  --gradient-start: #6a00f4;
  --gradient-end: #1de2c7;
  --button-color: #ff595e;
  --hover-color: #3f88c5;
  --dark-bg: #12121a;
  --medium-bg: #2a2a36;
  --light-bg: #3a3a48;
}

* {
  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(--background);
  color: var(--text);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-yellow);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  background-color: var(--button-color);
  color: var(--text);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--hover-color);
  color: white;
}

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}

.section-title h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  left: 50%;
  transform: translateX(-50%);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Header Styles */
.main-header {
  background-color: rgba(28, 28, 36, 0.95);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-yellow);
  letter-spacing: 1px;
}

.main-nav .menu {
  display: flex;
  list-style: none;
}

.main-nav .menu li {
  margin-left: 1.5rem;
}

.main-nav .menu a {
  font-weight: 500;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url("./img/dZk2K.jpg");
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 26, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-yellow);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* About Section */
.about {
  background-color: var(--dark-bg);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--medium-bg);
  border-radius: 8px;
  padding: 0;
  text-align: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

/* Benefits Section */
.benefits {
  background-color: var(--dark-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.benefit-icon {
  color: var(--accent-yellow);
  font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--medium-bg);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  overflow: hidden;
}

.author-name {
  font-weight: bold;
}

/* Contact Form */
.contact {
  background-color: var(--dark-bg);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  padding: 2rem;
  background-color: var(--medium-bg);
  border-radius: 8px;
}

.contact-form {
  background-color: var(--medium-bg);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-bg);
  border-radius: 4px;
  background-color: var(--background);
  color: var(--text);
}

.checkbox-group {
  margin-bottom: 1rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.error-message {
  color: var(--accent-red);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  background-color: var(--background);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
}

.accordion-title {
  display: block;
  position: relative;
  padding: 1rem;
  background-color: var(--medium-bg);
  border-radius: 4px;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--light-bg);
  border-radius: 0 0 4px 4px;
}

.accordion-content-inner {
  padding: 1rem;
}

.accordion-control {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.accordion-control:checked ~ .accordion-content {
  max-height: 1000px;
}

.accordion-title::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-control:checked ~ .accordion-title::after {
  content: "-";
}

/* Footer */
.main-footer {
  background-color: var(--dark-bg);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-info,
.footer-contact,
.footer-links {
  margin-bottom: 1.5rem;
}

.footer-contact ul,
.footer-links ul {
  list-style: none;
}

.footer-contact li,
.footer-links li {
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--light-bg);
}

/* Thank You Page */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  margin: 8rem auto 5rem;
}

.thank-you-content {
  background-color: var(--medium-bg);
  padding: 3rem;
  border-radius: 8px;
  max-width: 600px;
}

/* Policy Pages */
.policy-container {
  background-color: var(--medium-bg);
  padding: 3rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.policy-container h1 {
  margin-bottom: 2rem;
}

.policy-container h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--dark-bg);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-content h3 {
  margin-bottom: 0.5rem;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 2rem;
  flex: 1;
}

.cookie-content button {
  padding: 0.6rem 1.2rem;
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .menu-icon {
    display: block;
  }

  .main-nav .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background);
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav .menu li {
    margin: 0;
    text-align: center;
    padding: 0.75rem 0;
  }

  .menu-toggle:checked ~ .menu {
    max-height: 300px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content p {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .hero {
    min-height: 60vh;
  }

  .testimonials-grid,
  .services-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .policy-container,
  .thank-you-content {
    padding: 1.5rem;
  }
}
