/* Global Styles */
:root {
  --indigo: #2c2c54;
  --mint: #32ff7e;
  --beige: #f5f5dc;
  --graphite: #4b4b4b;
  --coral: #ff5e57;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-family: "Arial", sans-serif;
}

body {
  background-color: var(--beige);
  color: var(--graphite);
  line-height: 1.6;
}
section {
  word-break: break-word;
  overflow-wrap: break-word;
}
section[id] {
  scroll-margin-top: 40px;
  padding: 60px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  color: #ff5e57;
  margin-bottom: 20px;
}

h2 {
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--mint);
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--coral);
}

.btn {
  display: inline-block;
  background-color: var(--coral);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px;
}

.btn:hover {
  background-color: var(--indigo);
  color: white;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--indigo);
}

/* Navigation Styles */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  font-weight: 500;
}

/* Hero Section */
#hero {
  height: 90vh;
  background-image: url("./img/UneNh.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* About Section */
#about {
  background-color: white;
}

/* Advantages Section */
#advantages {
  background-color: var(--indigo);
  color: white;
}

#advantages h2 {
  color: white;
}

.advantages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.advantage-box {
  flex: 1 1 300px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.advantage-box:hover {
  transform: translateY(-5px);
}

/* Services Section */
#services {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

/* How We Work Section */
#how-we-work {
  background-color: var(--beige);
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  counter-reset: step-counter;
}

.step-box {
  flex: 1 1 250px;
  margin: 15px;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-box::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--mint);
  color: var(--indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
}

/* Form Section */
#contact {
  background-color: white;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--beige);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-group select option {
  background-color: white;
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 6px;
}

.error-text {
  color: var(--coral);
  font-size: 14px;
  margin-top: 5px;
}

/* FAQ Section */
#faq {
  background-color: var(--beige);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.faq-checkbox {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f9f9f9;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 15px;
}

.faq-question::after {
  content: "+";
  font-size: 24px;
  transition: transform 0.3s;
}

.faq-checkbox:checked ~ .faq-question::after {
  transform: rotate(45deg);
}

/* Reviews Section */
#reviews {
  background-color: white;
}

.reviews-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.review-card {
  flex: 1 1 300px;
  padding: 30px;
  background-color: var(--beige);
  border-radius: 10px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-card::before {
  content: '"';
  font-size: 80px;
  position: absolute;
  top: 10px;
  left: 10px;
  color: rgba(0, 0, 0, 0.1);
}

.reviewer-name {
  font-weight: bold;
  margin-top: 20px;
  display: block;
  text-align: right;
}

/* Footer Styles */
footer {
  background-color: var(--indigo);
  color: white;
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--mint);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--mint);
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(44, 44, 84, 0.95);
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-popup p {
  margin-bottom: 15px;
}

/* Policy Pages */
.policy-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Thank You Page */
.thank-you-container {
  margin: 60px auto;
  text-align: center;
  border: 1px solid #ccc;
  padding: 40px;
  max-width: 600px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .menu-toggle:checked ~ nav {
    max-height: 500px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  section[id] {
    padding: 40px 15px;
  }
}
