/* General Styles */
:root {
  --background: #1e1b2e;
  --accent: #f5b800;
  --block-bg: #fdf6ed;
  --text: #111;
  --button: #ff005c;
}

* {
  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: "Open Sans", sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--button);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  box-shadow: 0 0 15px var(--button);
  text-decoration: none;
}

section {
  padding: 60px 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 27, 46, 0.95);
  padding: 10px 0;
  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;
}

.logo {
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 700;
}

/* Navigation */
.hamburger {
  display: none;
}

.menu-checkbox {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  color: white;
}

.nav-menu a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-color: var(--background);
  background-image: url("./img/H0PMS.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 27, 46, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  background-color: var(--block-bg);
}

/* Benefits Section */
.benefits {
  background-color: var(--background);
  color: white;
}

.benefits h2 {
  color: white;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit-card {
  background-color: var(--block-bg);
  color: var(--text);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-card img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

/* Services Section */
.services {
  background-color: var(--block-bg);
}

.services h2 {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Steps Section */
.steps {
  background-color: var(--background);
  color: white;
}

.steps h2 {
  color: white;
  text-align: center;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 50px;
}

.step-content h3 {
  color: white;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--block-bg);
}

.testimonials h2 {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
}

/* FAQ Section */
.faq {
  background-color: var(--background);
  color: white;
}

.faq h2 {
  color: white;
  text-align: center;
}

.faq-container {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  background-color: var(--block-bg);
  color: var(--text);
  padding: 20px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: block;
}

.faq-checkbox {
  display: none;
}

.faq-answer {
  background-color: white;
  color: var(--text);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-radius: 0 0 8px 8px;
}

.faq-checkbox:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-checkbox:checked + .faq-question::after {
  content: "−";
}

/* Form Section */
.form-section {
  background-color: var(--block-bg);
}

.form-section h2 {
  text-align: center;
}

.form-container {
  max-width: 600px;
  margin: 40px auto 0;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  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: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group select {
  background-color: white;
}

.form-group select option {
  background-color: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input {
  margin-top: 5px;
}

/* Contacts Section */
.contacts {
  background-color: var(--background);
  color: white;
  padding-top: 60px;
  padding-bottom: 0;
}

.contacts h2 {
  color: white;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
}

.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: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--block-bg);
  color: var(--text);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 90%;
  width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

/* Thank You Page */
.thank-you {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5rem auto 0;
}

.thank-you-container {
  background-color: var(--block-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  width: 90%;
}

/* Policy Pages */
.policy-container {
  background-color: var(--block-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 8rem auto;
  max-width: 800px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}
.policy-container h1 {
  margin-bottom: 30px;
}

.policy-container h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.policy-container ul,
.policy-container ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.policy-container li {
  margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: var(--background);
    flex-direction: column;
    padding: 20px 0;
    transition: left 0.3s ease;
  }

  .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }

  .menu-checkbox:checked ~ .nav-menu {
    left: 0;
  }

  .step {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
  }
}
