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

.success__text {
  margin-bottom: 27px;
}

.success {
  display: flex;
  justify-content: center;
  align-items: center;
}

.success__content {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 6px;
  padding: 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;

  border: 1px solid #fff0f5;
  box-shadow: 2px 2px 8px 0px #00000040;
}

.policy__text h2 {
  text-align: left;
  font-size: 22px;
}

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

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

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

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 35px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
}

.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;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

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

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #666;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background-color: #2c2c54;
  color: white;
}

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

.btn-secondary {
  background-color: transparent;
  color: #2c2c54;
  border: 2px solid #2c2c54;
}

.btn-secondary:hover {
  background-color: #2c2c54;
  color: white;
}

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

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

.logo a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #ccc;
}

.burger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf0 100%);
  padding: 150px 0 100px;
  text-align: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: #2c2c54;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

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

.about-text h2 {
  color: #2c2c54;
  margin-bottom: 2rem;
}

.about-description p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #2c2c54;
}

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

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  color: #2c2c54;
  margin-bottom: 1rem;
}

/* Process Section */
.process {
  padding: 80px 0;
  background-color: white;
}

.process-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.process-text h2 {
  color: #2c2c54;
  margin-bottom: 2rem;
}

.process-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

/* Examples Section */
.examples {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.examples h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #2c2c54;
}

.examples-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

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

.example {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #ff6b35;
}

.example:last-child {
  margin-bottom: 0;
}

.example p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.example p:last-child {
  margin-bottom: 0;
}

/* Topics Section */
.topics {
  padding: 80px 0;
  background-color: white;
}

.topics h2 {
  color: #2c2c54;
  margin-bottom: 3rem;
}

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

.topic-card {
  padding: 2rem;
  border-left: 4px solid #ff6b35;
  background-color: #f8f9fa;
}

.topic-card h3 {
  color: #2c2c54;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.topic-card p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.topic-link {
  color: #2c2c54;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.topic-link:hover {
  color: #ff6b35;
}

/* Contact Form Section */
.contact-form {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.contact-text h2 {
  color: #2c2c54;
  margin-bottom: 1rem;
}

.contact-text > p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c2c54;
}

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

/* Orientation Section */
.orientation {
  padding: 80px 0;
  background-color: white;
  text-align: center;
}

.orientation h2 {
  color: #2c2c54;
  margin-bottom: 2rem;
}

.orientation p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.orientation blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: #2c2c54;
  margin: 2rem auto;
  max-width: 600px;
  position: relative;
}

.orientation blockquote::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  left: -20px;
  top: -10px;
  color: #ff6b35;
}

.orientation blockquote::after {
  content: '"';
  font-size: 3rem;
  position: absolute;
  right: -20px;
  bottom: -40px;
  color: #ff6b35;
}

/* Footer */
.footer {
  background-color: #2c2c54;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.contact-info p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #4a4a7a;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #ccc;
  margin: 0;
}

/* Cookie Popup */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 9998;
  display: none;
}

.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-overlay.show {
  display: block;
}

.cookie-content h3 {
  color: #2c2c54;
  margin-bottom: 1rem;
}

.cookie-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-link {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
}

.cookie-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  /* Header Mobile */
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #2c2c54;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }

  .nav-list a {
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #4a4a7a;
  }

  .burger {
    display: flex;
  }

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

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

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

  /* Hero Mobile */
  .hero {
    padding: 120px 0 60px;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  /* Grid Layouts Mobile */
  .about-content,
  .process-content,
  .examples-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-content {
    grid-template-columns: 1fr;
  }

  .process-text {
    order: 2;
  }

  .process-image {
    order: 1;
  }

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

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

  /* Form Mobile */
  .form {
    padding: 1.5rem;
  }

  /* Cookie Popup Mobile */
  .cookie-popup {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 1.5rem;
  }

  .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.6rem;
  }

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

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

  .orientation blockquote {
    font-size: 1.2rem;
  }

  .orientation blockquote::before,
  .orientation blockquote::after {
    font-size: 2rem;
  }
}

/* Smooth scrolling offset for fixed header */
.hero,
.about,
.contact-form {
  scroll-margin-top: 80px;
}
