.policy,
.success {
  padding-block: 60px;
  min-height: 86vh;
}

.policy__title,
.success__title {
  font-family: Open Sans;
  font-weight: 600;
  font-size: 34px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text {
  font-family: Open Sans;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #8b0000;
  color: white;
  padding: 20px;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner h2 {
  margin-bottom: 10px;
  color: white;
}

.cookie-banner p {
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-cookie {
  background-color: white;
  color: #8b0000;
  border: none;
  padding: 12px 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-reject {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.btn-cookie:hover {
  opacity: 0.9;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo a {
  font-weight: 700;
  font-size: 1.2rem;
  color: #8b0000;
}

.desktop-menu ul {
  display: flex;
  gap: 30px;
}

.desktop-menu a {
  font-weight: 600;
  transition: color 0.3s ease;
}

.desktop-menu a:hover {
  color: #8b0000;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  background-color: white;
  padding: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu a {
  font-weight: 600;
}

/* Hero Section */
.hero {
  background-color: #000;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/hero-bg.png") center / cover no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  position: relative;
}

.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;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background-color: #8b0000;
  color: white;
  padding: 12px 30px;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #6a0000;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.services h2 {
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

/* About Us Section */
.about-us {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  text-align: left;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.testimonials h2 {
  margin-bottom: 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 0;
}

/* Blog Section */
.blog {
  padding: 80px 0;
}

.blog h2 {
  margin-bottom: 50px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.blog-card {
  background-color: #8b0000;
  color: white;
  padding: 30px;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card h3 {
  margin-bottom: 10px;
}

.blog-card p {
  opacity: 0.9;
  margin-bottom: 0;
}

/* Tools Section */
.tools {
  padding: 80px 0;
  background-color: #f9f9f9;
  background-image: url("./img/tools-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.tools::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.tools .container {
  position: relative;
}

.tools h2 {
  color: white;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: #f9f9f9;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/contact-bg.png") center / cover no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.contact-content {
  position: relative;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

.contact h2 {
  text-align: left;
  color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.contact-form input {
  padding: 12px;
  border: none;
  border-radius: 3px;
}

.contact-info {
  margin-top: 30px;
}

/* Footer */
footer {
  background-color: #f1f1f1;
  padding: 20px 0;
  color: #666;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* Media Queries */
@media (max-width: 992px) {
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image,
  .about-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .contact-content {
    margin: 0 auto;
  }
}

/* Mobile Menu Open State */
.mobile-menu.open {
  display: block;
}

.hamburger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
