/* Main styles for domain website */
:root {
  --bg-color: #1a1a40;
  --accent-yellow: #ffc857;
  --accent-teal: #119da4;
  --text-white: #ffffff;
  --text-light: #eaeaea;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Roboto", "Open Sans", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-light);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-white);
  margin-bottom: 20px;
}

p {
  margin-bottom: 15px;
}

a {
  color: var(--accent-yellow);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-teal);
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    var(--accent-yellow),
    var(--accent-teal)
  );
  color: var(--bg-color);
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: var(--bg-color);
}

/* Header styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(26, 26, 64, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-white);
}

/* Navigation */
.nav-checkbox {
  display: none;
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  color: var(--text-white);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Hero section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 64, 0.7);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Form styles */
.form-container {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  margin: 40px auto;
  max-width: 600px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  font-size: 16px;
}

.form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  font-size: 16px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFFFFF' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.form-select option {
  background-color: var(--bg-color);
  color: var(--text-white);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

/* FAQ section */
.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-checkbox {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  font-weight: bold;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-checkbox:checked + .faq-question::after {
  transform: rotate(45deg);
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px 20px;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--accent-yellow);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 64, 0.95);
  padding: 15px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Thank you page styles */
.thank-you-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.thank-you-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent-yellow);
  border-radius: 10px;
  padding: 40px;
  max-width: 600px;
}

/* Policy pages */
.policy-container {
  max-width: 900px;
  margin: 120px auto 60px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px;
}

.policy-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

.policy-container h2 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-container p,
.policy-container ul,
.policy-container ol {
  margin-bottom: 20px;
}

.policy-container ul,
.policy-container ol {
  margin-left: 20px;
}

/* CSS animations for background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-animation span {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: rgba(255, 200, 87, 0.05);
  animation: animate 25s linear infinite;
}

.bg-animation span:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.bg-animation span:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.bg-animation span:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.bg-animation span:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.bg-animation span:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.bg-animation span:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.bg-animation span:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.bg-animation span:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.bg-animation span:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.bg-animation span:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    width: 30px;
    height: 22px;
  }

  .nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }

  .nav-toggle span:nth-child(1) {
    top: 0px;
  }

  .nav-toggle span:nth-child(2) {
    top: 10px;
  }

  .nav-toggle span:nth-child(3) {
    top: 20px;
  }

  .nav-checkbox:checked ~ .nav-toggle span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
  }

  .nav-checkbox:checked ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-checkbox:checked ~ .nav-toggle span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.3s ease;
    z-index: 1001;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  }

  .nav-menu li {
    margin: 15px 0;
    text-align: center;
  }

  .nav-checkbox:checked ~ .nav-menu {
    right: 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cookie-content {
    justify-content: center;
    text-align: center;
  }

  .policy-container {
    margin-top: 100px;
    padding: 20px;
  }
}
