/* 
==============================
GENERAL STYLES
==============================
*/

:root {
  --dark-bg: #1a1a40;
  --accent: #ffd300;
  --text: #d9d9d9;
  --link: #005678;
  --light-bg: #f2f2f2;
}

* {
  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: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--dark-bg);
}

a {
  color: var(--link);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--dark-bg);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #e6be00;
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--accent);
}

p {
  margin-bottom: 15px;
}

.bg-light {
  background-color: var(--light-bg);
  color: var(--dark-bg);
}

.bg-light h2,
.bg-light h3,
.bg-light h4 {
  color: var(--dark-bg);
}

/* 
==============================
HEADER & NAVIGATION
==============================
*/

.main-header {
  background-color: var(--dark-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 20px;
}

.main-nav ul li a {
  color: var(--text);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
}

.main-nav ul li a:hover {
  background-color: rgba(255, 211, 0, 0.1);
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.menu-line {
  height: 3px;
  width: 100%;
  background-color: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* 
==============================
HERO SECTION
==============================
*/

.hero-section {
  background-image: url("img/zUgnr.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 64, 0.7);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 42px;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-section p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero-section .btn {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 
==============================
ABOUT SECTION
==============================
*/

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.about-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 
==============================
SERVICES SECTION
==============================
*/

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  padding: 20px 20px 10px;
}

.service-card p {
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* 
==============================
BENEFITS SECTION
==============================
*/

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit-item {
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 
==============================
TESTIMONIALS SECTION
==============================
*/

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: rgba(255, 211, 0, 0.2);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card h4 {
  color: var(--accent);
  font-style: italic;
  margin-top: 15px;
}

/* 
==============================
PARTNERS SECTION
==============================
*/

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.partner-item {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 
==============================
CONTACT FORM
==============================
*/

.contact-form {
  max-width: 600px;
  margin: 40px auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-group select option {
  background-color: var(--dark-bg);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 211, 0, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 4px;
}

/* 
==============================
FAQ SECTION
==============================
*/

.faq-container {
  max-width: 800px;
  margin: 40px auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: white;
  color: var(--dark-bg);
  cursor: pointer;
  position: relative;
  font-weight: bold;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: bold;
}

.faq-toggle:checked + .faq-question {
  background-color: var(--accent);
}

.faq-toggle:checked + .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: white;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 20px;
  color: var(--dark-bg);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 300px;
}

/* 
==============================
FOOTER
==============================
*/

.footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--text);
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* 
==============================
COOKIE BANNER
==============================
*/

#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-bg);
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-content p {
  margin: 0;
  margin-right: 20px;
}

.cookie-btn {
  white-space: nowrap;
}

/* 
==============================
POLICY PAGES
==============================
*/

.policy-section {
  padding: 60px 0;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;

  word-break: break-word;
  overflow-wrap: break-word;
  border-radius: 8px;
}

.policy-content h1 {
  margin-bottom: 30px;
}

.policy-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 22px;
}

.policy-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 18px;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 15px;
}

.policy-content ul {
  margin-left: 20px;
  padding-left: 20px;
}

/* 
==============================
THANK YOU PAGE
==============================
*/

.thank-you-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-box h1 {
  margin-bottom: 20px;
}

.thank-you-box p {
  margin-bottom: 15px;
}

.thank-you-box .btn {
  margin-top: 20px;
}

/* 
==============================
RESPONSIVE STYLES
==============================
*/

@media screen and (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0;
  }

  .main-nav ul li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav ul li a {
    display: block;
    padding: 15px 20px;
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 300px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  .menu-toggle:checked + .menu-icon .menu-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-icon .menu-line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-icon .menu-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-section {
    height: 60vh;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-section p {
    font-size: 18px;
  }

  .section {
    padding: 60px 0;
  }

  h2 {
    font-size: 28px;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-content p {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-section h1 {
    font-size: 28px;
  }

  .contact-form {
    padding: 20px;
  }

  .policy-content {
    padding: 20px;
  }
}
