.policy,
.success {
  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;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #e53935;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-primary:hover {
  background-color: #d32f2f;
  transform: translateY(-2px);
}

.btn-submit {
  width: 100%;
  background-color: #e53935;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-submit:hover {
  background-color: #d32f2f;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

.cookie-popup.hidden {
  display: none;
}

.cookie-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.cookie-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cookie-content h3 {
  color: #e53935;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cookie-content p {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.btn-accept-all {
  background-color: #e53935;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-accept-all:hover {
  background-color: #d32f2f;
}

.btn-accept-necessary {
  background-color: transparent;
  color: #e53935;
  padding: 15px 30px;
  border: 2px solid #e53935;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-accept-necessary:hover {
  background-color: #e53935;
  color: white;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

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

.nav-logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: #e53935;
}

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

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

.success-hero {
  background: url("../img/success-bg.png") center / cover no-repeat;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: url("../img/bg-1.png") center / cover no-repeat;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-description {
  font-size: 1rem;
  color: #ffffff;

  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Philosophy Section */
.philosophy {
  padding: 100px 0;
  background: white;
}

.philosophy-content {
  gap: 80px;
  margin-bottom: 60px;
  align-items: start;
}

.philosophy-text p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.7;
}

.philosophy-features {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1200px) {
  .philosophy-features {
    flex-direction: row;
  }
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon.red {
  background-color: #e53935;
}

.feature-icon.green {
  background-color: #4caf50;
}

.feature-icon.purple {
  background-color: #9c27b0;
}

.diamond {
  width: 12px;
  height: 12px;
  background-color: white;
  transform: rotate(45deg);
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.feature p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.philosophy-image {
  text-align: center;
  margin-bottom: 40px;
}

.philosophy-image img {
  border-radius: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.philosophy-cta {
  text-align: center;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.service-image {
  height: 130px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-title {
  padding: 20px 20px 10px;
  font-size: 1.2rem;
}

.service-title.red {
  color: #e53935;
}

.service-title.green {
  color: #4caf50;
}

.service-title.purple {
  color: #9c27b0;
}

.service-description {
  padding: 0 20px 30px;
  color: #666;
  line-height: 1.6;
  font-size: 0.9rem;
}

.services-cta {
  text-align: center;
}

/* About Section */
.about {
  padding: 100px 0;
  background: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-cta {
  text-align: center;
  margin-bottom: 60px;
}

.about-image {
  text-align: center;
}

.about-image img {
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: #f8f9fa;
}

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

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  color: #ffb400;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  color: #666;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  color: #e53935;
  font-weight: 600;
}

.testimonials-image {
  text-align: center;
}

.testimonials-image img {
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  background: url("../img/contact-bg.png") center / cover no-repeat;

  padding: 100px 0;
  color: white;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  line-height: 1.2;
}

.contact-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 60px 0 30px;
}

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

.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

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

.footer-links a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #e53935;
}

.footer-contact {
  margin-bottom: 30px;
}

.footer-contact p {
  margin-bottom: 5px;
  color: #ccc;
}

.footer-copyright {
  border-top: 1px solid #555;
  padding-top: 20px;
  color: #999;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

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

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .feature {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

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

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

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

  .contact-content h2 {
    font-size: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-content {
    padding: 30px 20px;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}

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

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .services {
    padding: 60px 0;
  }

  .about {
    padding: 60px 0;
  }

  .testimonials {
    padding: 60px 0;
  }

  .contact {
    padding: 60px 0;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .cookie-content {
    padding: 20px 15px;
  }

  .cookie-content h3 {
    font-size: 1.3rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.service-card {
  animation: fadeInUp 0.8s ease;
}

.testimonial {
  animation: fadeInUp 0.8s ease;
}

/* Smooth scroll offset for fixed header */
section {
  scroll-margin-top: 80px;
}
