/* Global Styles */
:root {
  --primary-bg: #1c1b29;
  --accent-yellow: #fae13c;
  --accent-green: #0ae8a7;
  --text-primary: #ffffff;
  --text-secondary: #b0b0c3;
  --border-color: #dcdcdc;
}

* {
  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: "Inter", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-yellow);
}

img {
  max-width: 100%;
  height: auto;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(
    90deg,
    var(--accent-yellow) 0%,
    var(--accent-green) 100%
  );
  color: var(--primary-bg);
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(10, 232, 167, 0.2);
  color: var(--primary-bg);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(28, 27, 41, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-yellow);
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-yellow) 0%,
    var(--accent-green) 100%
  );
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  transition: all 0.3s ease;
}

.menu-button span:nth-child(1) {
  top: 0;
}

.menu-button span:nth-child(2) {
  top: 9px;
}

.menu-button span:nth-child(3) {
  top: 18px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Section Styling */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-yellow) 0%,
    var(--accent-green) 100%
  );
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(220, 220, 220, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(10, 232, 167, 0.1);
}

.service-card h3 {
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-secondary);
}

.service-icon {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-item {
  text-align: center;
  padding: 20px;
}

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(250, 225, 60, 0.2) 0%,
    rgba(10, 232, 167, 0.2) 100%
  );
}

/* Testimonials */
.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(220, 220, 220, 0.1);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.testimonial-author-info h4 {
  margin-bottom: 5px;
}

.testimonial-author-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.form-container {
  padding: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 220, 220, 0.1);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
}

.form-title {
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(220, 220, 220, 0.2);
  border-radius: 5px;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-green);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.submit-btn {
  width: 100%;
  padding: 15px;
}

/* Select field custom styling */
select.form-control {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4" viewBox="0 0 292.4 292.4"><path fill="%230AE8A7" d="M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 127.9c3.6 3.6 7.8 5.4 12.8 5.4s9.2-1.8 12.8-5.4L287 95c3.5-3.6 5.4-7.9 5.4-12.9 0-5-1.9-9.2-5.5-12.7z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

select.form-control option {
  background-color: var(--primary-bg);
  color: var(--text-primary);
  padding: 10px;
}

/* Add glowing border to form container */
.form-container {
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(220, 220, 220, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  cursor: pointer;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  font-weight: 600;
  width: 100%;
  display: block;
}

.faq-toggle {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-green);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  color: var(--text-secondary);
}

.faq-toggle:checked + .faq-question::after {
  content: "-";
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 80px 0 30px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.footer-info .logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-info p {
  color: var(--text-secondary);
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
  margin-bottom: 20px;
  color: var(--accent-yellow);
}

.footer-contact p {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-legal ul li a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
  color: var(--accent-green);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(220, 220, 220, 0.1);
  color: var(--text-secondary);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(28, 27, 41, 0.95);
  padding: 15px;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  flex: 1;
  color: var(--text-secondary);
}

#accept-cookies {
  padding: 8px 20px;
  background: linear-gradient(
    90deg,
    var(--accent-yellow) 0%,
    var(--accent-green) 100%
  );
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: var(--primary-bg);
  font-weight: 600;
  white-space: nowrap;
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 100px auto 50px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(220, 220, 220, 0.1);
  position: relative;
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--accent-yellow);
}

.policy-container h2 {
  color: var(--accent-green);
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-container p,
.policy-container ul,
.policy-container ol {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.policy-container ul,
.policy-container ol {
  margin-left: 20px;
}

.policy-container li {
  margin-bottom: 10px;
}

/* Thank You Page */
.thank-you-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 160px);
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(220, 220, 220, 0.1);
  position: relative;
  margin-top: 7rem;
}

.thank-you-content h1 {
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.thank-you-content p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Thank you and policy containers */
.thank-you-content {
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.policy-container {
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }

  .header-container {
    height: 70px;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--primary-bg);
    padding: 100px 40px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  }

  .menu-toggle:checked ~ nav {
    right: 0;
  }

  .menu-toggle:checked ~ .menu-button span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
  }

  .menu-toggle:checked ~ .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-button span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  section {
    padding: 60px 0;
  }

  .cookie-content {
    flex-direction: column;
  }

  .policy-container {
    padding: 30px 20px;
    margin: 90px 15px 30px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .form-container {
    padding: 20px;
    max-width: 300px;
  }
}
