/* Base Styles */
:root {
  --primary-bg: #1e1b2d;
  --accent-orange: #f7a440;
  --accent-green: #63d471;
  --text-primary: #ffffff;
  --text-secondary: #dcdcdc;
  --gradient-btn: linear-gradient(to right, #f7a440, #ff6b6b);
}

* {
  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;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-green);
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.primary-btn {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 15px rgba(247, 164, 64, 0.3);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(247, 164, 64, 0.4);
  color: #fff;
}

/* Header Styles */
.site-header {
  background-color: rgba(30, 27, 45, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent-orange);
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 25px;
}

.main-nav a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-orange);
}

.main-nav a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

.main-nav a:hover:after,
.main-nav a.active:after {
  width: 100%;
}

/* Burger Menu */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
  position: relative;
  background: url("img/JMeXj.jpg") no-repeat center center/cover;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 27, 45, 0.8);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-text {
  flex: 1;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.service-card h3 {
  color: var(--accent-orange);
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-btn);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  flex-shrink: 0;
}

.benefit-content h3 {
  margin-bottom: 10px;
  color: var(--accent-orange);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
}

.testimonial-text {
  position: relative;
  padding-left: 20px;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  left: 0;
  top: -15px;
  color: var(--accent-orange);
  opacity: 0.4;
}

.testimonial-author {
  text-align: right;
  color: var(--accent-orange);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-item input {
  display: none;
}

.faq-title {
  display: block;
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}

.faq-title::after {
  content: "+";
  position: absolute;
  right: 15px;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: all 0.3s ease;
}

.faq-item input:checked ~ .faq-content {
  max-height: 500px;
  padding: 15px;
}

.faq-item input:checked ~ .faq-title::after {
  transform: rotate(45deg);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item h3 {
  color: var(--accent-orange);
  margin-bottom: 5px;
}

.contact-map {
  margin-top: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23f7a440' 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;
  padding-right: 40px;
}

.form-group select option {
  background-color: var(--primary-bg);
  color: var(--text-primary);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
}

/* Footer */
.site-footer {
  padding: 60px 0 20px;
  background-color: rgba(0, 0, 0, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent-orange);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 27, 45, 0.95);
  padding: 15px;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none; /* Hidden by default, shown by JS */
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

#cookie-accept {
  padding: 8px 20px;
  background: var(--gradient-btn);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

#cookie-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(247, 164, 64, 0.3);
}

/* Thank You Page */
.thank-you-container {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid var(--accent-orange);
}

.thank-you-container h1 {
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.thank-you-container .btn {
  margin-top: 20px;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;

  word-break: break-word;
  overflow-wrap: break-word;
}

.policy-container h1 {
  margin-bottom: 30px;
  color: var(--accent-orange);
}

.policy-container h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--accent-green);
}

.policy-container p,
.policy-container ul {
  margin-bottom: 15px;
}

.policy-container ul {
  padding-left: 20px;
}

/* Media Queries */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Burger Menu */
  .nav-toggle-label {
    display: block;
    z-index: 2;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-bg);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1;
    padding: 80px 20px 30px;
    overflow-y: auto;
  }

  .nav-toggle:checked ~ .main-nav {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav li {
    margin-left: 0;
  }

  /* Adjust the hamburger icon when open */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
