/* Global Styles */
:root {
  --dark-blue: #102542;
  --yellow: #ffad05;
  --red: #ef476f;
  --green: #06d6a0;
  --white: #ffffff;
  --light-blue: #d9e4ec;
}

* {
  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(--light-blue);
  background-color: var(--dark-blue);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
  color: var(--white);
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--red), var(--yellow));
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--green);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 4rem 0;
}

option {
  background-color: #33455d;
}

main {
  flex: 1;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn-primary {
  background: linear-gradient(45deg, var(--red), var(--yellow));
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--yellow), var(--red));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
}

.btn-secondary:hover {
  background: var(--yellow);
  color: var(--dark-blue);
  transform: translateY(-3px);
}

/* Header Styles */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(16, 37, 66, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 2rem;
  font-weight: bold;
  color: var(--white);
  position: relative;
}

.logo a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--red), var(--yellow));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.logo a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 1.5rem;
}

.main-nav a {
  color: var(--light-blue);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--white);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(16, 37, 66, 0.8), rgba(16, 37, 66, 0.8)),
    url("./img/NxKs7.jpg");
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-content .btn-primary {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text,
.about-image {
  flex: 1;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(3deg);
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding: 0 1rem;
}

.service-card h3 {
  margin-top: 1rem;
  color: var(--yellow);
}

.service-card .btn-secondary {
  margin: 1rem;
  display: inline-block;
}

/* Benefits Section */
.benefits-section {
  background-color: rgba(16, 37, 66, 0.8);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
}

.quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.quote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -2rem;
  left: -1rem;
  color: var(--yellow);
  opacity: 0.3;
}

.author {
  font-weight: bold;
  color: var(--white);
  text-align: right;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-weight: bold;
  color: var(--white);
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
  transition: max-height 0.3s ease;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 1rem;
}

/* Contact Section */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--white);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.9rem;
}

/* Footer Styles */
.main-footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-info h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-contact h4,
.footer-links h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

address {
  font-style: normal;
}

/* Cookie Popup */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0b192e;
  padding: 20px;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-popup.show {
  display: block;
}

.cookie-popup button {
  margin-left: 1rem;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 5rem auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-container h2 {
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-container h2::after {
  left: 0;
  transform: none;
  width: 60px;
}

.policy-container ul,
.policy-container ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-container li {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column-reverse;
  }

  .about-text,
  .about-image {
    flex: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(16, 37, 66, 0.95);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  .main-nav li {
    margin: 1rem 0;
    margin-left: 0;
  }

  .cookie-popup {
    flex-direction: column;
  }

  .cookie-popup button {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2rem 0;
  }

  .service-card {
    margin-bottom: 1.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }
}

/* Thank You Page */
.thanks-container {
  max-width: 600px;
  margin: 5rem auto;
  text-align: center;
  padding: 3rem 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--green);
}

.thanks-icon {
  font-size: 4rem;
  color: var(--green);
  margin-bottom: 2rem;
}

.thanks-container h1 {
  margin-bottom: 1.5rem;
}

.thanks-container .btn-primary {
  margin-top: 2rem;
}
