.policy,
.success,
.contact-section {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

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

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 14px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

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

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

.success__content {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333;
  color: white;
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.cookie-btn.accept {
  background: #8b5a96;
  color: white;
}

.cookie-btn.accept:hover {
  background: #7a4f85;
}

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

.cookie-btn.decline:hover {
  background: white;
  color: #333;
}

.cookie-link {
  color: #8b5a96;
  text-decoration: underline;
  font-size: 14px;
}

/* Header */
.header {
  background: #f5f1f0;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #8b5a96;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Main content */
main {
  margin-top: 80px;
}

/* Hero Section */
.hero {
  background: #f5f1f0;
  padding: 60px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.hero-text p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #555;
}

.cta-button {
  display: inline-block;
  background: #8b5a96;
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: #7a4f85;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #8b5a96;
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: left;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f5f1f0;
}

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

.about h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

.about p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: white;
}

.testimonials h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: left;
  color: #333;
}

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

.testimonial-card {
  background: #f5f1f0;
  padding: 30px;
  border-radius: 15px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.testimonial-stars {
  color: #ffd700;
  margin-bottom: 15px;
  font-size: 14px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Solutions Section */
.solutions {
  padding: 80px 0;
  background: #f5f1f0;
}

.solutions-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solutions-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.solutions-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

.solutions-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

.services-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.services-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.services-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.service-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.service-icon {
  color: #8b5a96;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.service-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #f5f1f0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-form h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.contact-form p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form input {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

.form input:focus {
  outline: none;
  border-color: #8b5a96;
}

.submit-button {
  background: #8b5a96;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background: #7a4f85;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.contact-item {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #8b5a96;
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo h3 {
  font-size: 24px;
  font-weight: 700;
}

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

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
  font-size: 12px;
  opacity: 0.8;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #f5f1f0;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }

  .solutions-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    gap: 20px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .about h2,
  .testimonials h2,
  .solutions-text h2,
  .services-text h2,
  .contact-form h2 {
    font-size: 24px;
  }

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

  .testimonial-card {
    padding: 20px;
  }

  .features,
  .about,
  .testimonials,
  .solutions,
  .services,
  .contact {
    padding: 60px 0;
  }
}
