/* Base styles and variables */
:root {
  --primary-bg: #1f1f1f;
  --secondary-bg: #e0e0e0;
  --accent-1: #c6ff00;
  --accent-2: #00e5ff;
  --text-white: #ffffff;
  --text-light-gray: #b0bec5;
  --gradient: linear-gradient(45deg, #c6ff00, #00e5ff);
  --container-width: 1200px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-1);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: var(--border-radius);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gradient);
  color: var(--primary-bg);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(31, 31, 31, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: lowercase;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 25px;
}

.nav-link {
  color: var(--text-white);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger Menu (CSS only) */
.hamburger {
  display: none;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(31, 31, 31, 0.8),
    rgba(31, 31, 31, 0.9)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light-gray);
}

/* About Section */
.about {
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text {
  color: var(--text-light-gray);
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--primary-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  height: 450px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-image {
  height: 50%;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
  height: 50%;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
}

.service-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
}

.service-text {
  color: var(--text-light-gray);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-item {
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border-left: 4px solid var(--accent-1);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-item:nth-child(even) {
  border-left: 4px solid var(--accent-2);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.benefit-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.benefit-text {
  color: var(--text-light-gray);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: var(--primary-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: var(--transition);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 6rem;
  opacity: 0.1;
  color: var(--accent-1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.testimonial-text {
  margin-bottom: 20px;
  color: var(--text-light-gray);
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  display: flex;
  align-items: center;
}

.testimonial-author::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gradient);
  margin-right: 10px;
}

/* Contact Form Section */
.contact {
  padding: 100px 0;
}

.form-container {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-control {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--text-white);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.3);
  border-color: var(--accent-1);
}

.form-control:hover {
  border-color: var(--accent-2);
}

.form-label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--text-light-gray);
  transition: var(--transition);
  pointer-events: none;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background-color: var(--primary-bg);
  padding: 0 5px;
  color: var(--accent-1);
}

select.form-control {
  appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23B0BEC5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

select.form-control option {
  background-color: var(--primary-bg);
  color: var(--text-white);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
}

.checkbox-label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  color: var(--text-light-gray);
}

.checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-2);
  border-radius: 4px;
  background-color: transparent;
  transition: var(--transition);
}

.checkbox-label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 8px;
  height: 12px;
  border: solid var(--accent-1);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: var(--transition);
}

.checkbox-input:checked ~ .checkbox-label::before {
  background-color: var(--primary-bg);
}

.checkbox-input:checked ~ .checkbox-label::after {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

.checkbox-label a {
  color: var(--accent-1);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--accent-2);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  border: none;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  display: block;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--text-white);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.1);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-toggle:checked ~ .faq-question {
  background: var(--gradient);
  color: var(--primary-bg);
}

.faq-toggle:checked ~ .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

/* Contact Info Section */
.contact-info {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-item {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.contact-text {
  color: var(--text-light-gray);
}

/* Map Section */
.map {
  height: 400px;
  position: relative;
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gradient);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light-gray);
}

.footer-links a:hover {
  color: var(--accent-1);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(176, 190, 197, 0.2);
  color: var(--text-light-gray);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background-color: var(--primary-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: var(--border-radius);
  z-index: 9999;
  display: none;
}

.cookie-text {
  margin-bottom: 20px;
  color: var(--text-light-gray);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.accept-cookies {
  background: var(--gradient);
  color: var(--primary-bg);
}

.decline-cookies {
  background-color: transparent;
  border: 1px solid var(--text-light-gray);
  color: var(--text-white);
}

/* Thank You Page */
.thank-you {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-container {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 600px;
  margin: 8rem auto 5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid;
  border-image: var(--gradient) 1;
}

.thank-you-title {
  font-size: 3rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.thank-you-text {
  color: var(--text-light-gray);
  margin-bottom: 30px;
}

/* Policy Pages */
.policy {
  padding: 100px 0;
}

.policy-container {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.policy h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.policy h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  position: relative;
}

.policy h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
}

.policy p {
  margin-bottom: 20px;
  color: var(--text-light-gray);
}

.policy ul {
  margin-bottom: 20px;
  margin-left: 20px;
  color: var(--text-light-gray);
}

.policy li {
  margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Hamburger menu styles for mobile */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--primary-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
    padding: 20px;
  }

  .nav-item {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
  }

  .hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 9px;
  }

  .hamburger span:nth-child(3) {
    bottom: 0;
  }

  #menu-toggle:checked ~ .nav-menu {
    left: 0;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .service-card,
  .testimonial-card,
  .benefit-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}
