.policy,
.success {
  padding-block: 126px 58px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 28px;
}

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

  margin-bottom: 28px;
}

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

.policy__text h2,
.policy__text p,
.policy__text ul {
  text-align: left;
  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", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #2563eb;
}

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

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
  background: white;
  color: #374151;
  padding: 14px 32px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-secondary:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  max-width: 480px;
  margin: 0 auto;
}

.cookie-popup.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  padding: 24px;
}

.cookie-icon {
  width: 40px;
  height: 40px;
  background: #f97316;
  border-radius: 50%;
  margin-bottom: 16px;
  position: relative;
}

.cookie-icon::before {
  content: "🍪";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
}

.cookie-content h3 {
  color: #2563eb;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.cookie-content p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-buttons .btn-primary,
.cookie-buttons .btn-secondary {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.9rem;
  min-width: 120px;
}

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

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.nav-brand a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link:hover {
  color: #2563eb;
}

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

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

.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 Section */
.hero {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  padding: 120px 0 80px;
  color: white;
}

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

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.hero-content h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.7;
}

/* Our Advantages Section */
.advantages {
  padding: 80px 0;
  background: #f8fafc;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.advantage-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 1.5rem;
}

.card-icon.orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
}

.advantages .btn-primary {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

/* Four Principles Section */
.principles {
  padding: 80px 0;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
}

.principles h2 {
  color: white;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.principle-card {
  text-align: center;
  padding: 2rem;
}

.principle-number {
  width: 60px;
  height: 60px;
  background: #f97316;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.principle-card h3 {
  color: white;
  margin-bottom: 1rem;
}

.principle-card p {
  opacity: 0.9;
}

.principles .btn-primary {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

/* Our Services Section */
.services {
  padding: 80px 0;
  background: #f8fafc;
}

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

.service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-image {
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

.service-card.purple {
  border-top: 4px solid #8b5cf6;
}

.service-card.green {
  border-top: 4px solid #10b981;
}

.service-card.pink {
  border-top: 4px solid #ec4899;
}

.service-card.orange {
  border-top: 4px solid #f97316;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #2563eb;
}

.faq-question h3 {
  font-size: 1.1rem;
  margin: 0;
  flex: 1;
  color: inherit;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: #9ca3af;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-left: 1rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #2563eb;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: #6b7280;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
}

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

.contact-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.contact-content h2 {
  color: white;
  text-align: left;
  margin-bottom: 1.5rem;
}

.contact-content p {
  opacity: 0.9;
  margin-bottom: 2rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info p {
  opacity: 0.9;
}

.contact-info a {
  color: white;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form button {
  justify-self: start;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 40px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand h3 {
  color: #2563eb;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  color: #d1d5db;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.footer-contact a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero-image {
    order: 1;
  }

  .hero-content {
    order: 2;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .advantages-grid,
  .principles-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .contact-image {
    order: 1;
  }

  .contact-content {
    order: 2;
  }

  .contact-content h2 {
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
  }

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

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

  .navbar {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  h1 {
    font-size: 1.75rem;
  }

  .advantages,
  .principles,
  .services,
  .faq,
  .contact {
    padding: 60px 0;
  }

  .advantage-card,
  .principle-card,
  .service-card {
    padding: 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

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

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}
