/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark-blue: #0D1B2A;
  --bg-neon-green: #00FF9D;
  --accent-orange: #FF6B35;
  --accent-turquoise: #00CFC1;
  --text-white: #FFFFFF;
  --text-dark: #2C2C2C;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, var(--bg-dark-blue) 0%, var(--bg-neon-green) 100%);
  color: var(--text-white);
  min-height: 100vh;
  line-height: 1.6;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

section[id] {
  scroll-margin-top: 40px;
  padding: 4rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-turquoise);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-orange);
}

/* Button styles */
.btn {
  display: inline-block;
  background-color: #000;
  color: var(--text-white);
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 0 15px var(--accent-turquoise);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--accent-orange);
  color: var(--text-white);
}

/* Header styles */
header {
  background-color: rgba(13, 27, 42, 0.9);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: 0 2px 15px rgba(0, 255, 157, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-white);
}

/* Burger menu with CSS only */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: var(--text-white);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero section */
.hero {
  height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 27, 42, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About section */
.about {
  background-color: rgba(13, 27, 42, 0.8);
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(13, 27, 42, 0.8);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  height: 400px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 255, 157, 0.3);
}

.service-img {
  height: 50%;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-content {
  padding: 1.5rem;
  height: 50%;
  display: flex;
  flex-direction: column;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card h3 {
  color: var(--accent-turquoise);
  margin-bottom: 1rem;
}

/* Testimonials section */
.testimonials {
  background-color: rgba(13, 27, 42, 0.8);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2rem;
  border-radius: 10px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 5rem;
  color: var(--accent-orange);
  opacity: 0.2;
  line-height: 1;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.client-name {
  font-weight: bold;
  color: var(--accent-turquoise);
}

.client-position {
  color: var(--text-white);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Form section */
.form-section {
  text-align: center;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(13, 27, 42, 0.8);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid transparent;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-radius: 5px;
  transition: var(--transition);
}

option {
  background-color: white;
  color: var(--text-dark);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-turquoise);
  box-shadow: 0 0 10px rgba(0, 207, 193, 0.3);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  text-align: left;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  flex: 1;
  font-size: 0.9rem;
}

/* Benefits section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(13, 27, 42, 0.8);
  border-radius: 10px;
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-orange);
}

/* FAQ section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: rgba(13, 27, 42, 0.8);
  padding: 1rem;
  cursor: pointer;
  display: block;
  position: relative;
  font-weight: bold;
  transition: var(--transition);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-answer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-checkbox {
  display: none;
}

.faq-checkbox:checked + .faq-question {
  background-color: var(--accent-turquoise);
  color: var(--bg-dark-blue);
}

.faq-checkbox:checked + .faq-question::after {
  content: '−';
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1rem;
}

/* Footer styles */
footer {
  background-color: rgba(13, 27, 42, 0.9);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--accent-turquoise);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 2px;
  background-color: var(--accent-orange);
}

.footer-col p {
  color: var(--text-white);
  opacity: 0.8;
}

.contact-info li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 10px;
  color: var(--accent-orange);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  opacity: 0.7;
}

/* Policy pages */
.policy-container {
  max-width: 900px;
  margin: 5rem auto;
  padding: 3rem;
  background-color: rgba(13, 27, 42, 0.8);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
}

.policy-container h1 {
  color: var(--accent-turquoise);
  margin-bottom: 2rem;
}

.policy-container h2 {
  color: var(--accent-orange);
  margin: 2rem 0 1rem;
}

/* Thanks page */
.thanks-container {
  margin: 8rem auto 5rem;
  padding: 3rem;
  max-width: 600px;
  text-align: center;
  background-color: rgba(13, 27, 42, 0.8);
  border-radius: 10px;
  border: 1px solid var(--accent-turquoise);
  box-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
}

.thanks-icon {
  font-size: 5rem;
  color: var(--accent-turquoise);
  margin-bottom: 2rem;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: rgba(13, 27, 42, 0.95);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
  z-index: 9999;
  display: none;
}

.cookie-popup.active {
  display: block;
  animation: slideUp 0.5s forwards;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

.accept-cookies {
  background-color: var(--accent-turquoise);
  color: var(--bg-dark-blue);
}

.decline-cookies {
  background-color: transparent;
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
    font-size: 1.5rem;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background-color: var(--text-white);
    height: 3px;
    width: 30px;
    border-radius: 2px;
    position: relative;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: '';
    position: absolute;
  }

  .nav-toggle-label span::before {
    bottom: 8px;
  }

  .nav-toggle-label span::after {
    top: 8px;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(13, 27, 42, 0.95);
    width: 100%;
    transform: scale(1, 0);
    transform-origin: top;
    transition: var(--transition);
  }

  .nav-toggle:checked ~ nav {
    transform: scale(1, 1);
  }

  nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }

  nav ul li {
    margin-left: 0;
    text-align: center;
    padding: 0.5rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  section[id] {
    padding: 3rem 1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .form-container {
    padding: 2rem 1rem;
  }

  .policy-container {
    padding: 2rem 1rem;
    margin: 3rem auto;
  }

  .thanks-container {
    margin: 5rem auto 3rem;
    padding: 2rem 1rem;
  }
}
