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

.success__text {
  margin-bottom: 27px;
}

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

.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: 19px;
}

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

.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: "Lato", 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;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: 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%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cookie-content h3 {
  color: #4caf50;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.btn-accept {
  background: #4caf50;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-accept:hover {
  background: #45a049;
}

.btn-decline {
  background: #f5f5f5;
  color: #333;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-decline:hover {
  background: #e0e0e0;
}

/* 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: 1000;
}

.navbar {
  padding: 15px 0;
}

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

.logo {
  font-size: 24px;
  font-weight: 900;
  color: #333;
  text-decoration: none;
  letter-spacing: -1px;
}

.nav-menu {
  display: flex;
}

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

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

.nav-link:hover {
  color: #4caf50;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: #f8f9fa;
}

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

.hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #333;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #666;
}

.btn-primary {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.btn-primary:hover {
  background: #45a049;
}

.hero-image {
  position: relative;
}

.templates-showcase {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

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

.about-images {
  display: flex;
  gap: 20px;
}

.template-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  flex: 1;
}

.template-card img {
  width: 100%;

  object-fit: contain;
}

.template-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
}

.template-overlay h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.template-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.template-categories span {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
}

.video-controls {
  display: flex;
  gap: 10px;
}

.video-controls span {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #4caf50;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #666;
}

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

.advantages h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #4caf50;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 60px;
}

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

.advantage-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid #4caf50;
}

.advantage-card h3 {
  color: #4caf50;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.advantage-card p {
  color: #666;
  line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
  padding: 80px 0;
  background: white;
}

.why-choose h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #4caf50;
}

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

.feature-card {
  background: #4caf50;
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.feature-card.full-width {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card p {
  line-height: 1.6;
}

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

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

.feature-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;

}

.feature-item img {
  width: 100%;

  object-fit: contain;
}

.feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-overlay h3 {
  font-size: 24px;
  font-weight: 600;
}

.video-quality {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.video-quality span {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.social-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
}

.add-media-btn,
.share-btn {
  background: #4caf50;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}

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

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #4caf50;
}

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

.testimonial-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #e0e0e0;
}

.stars {
  color: #ffa500;
  font-size: 20px;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: #4caf50;
  margin-bottom: 10px;
}

.testimonial-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.testimonial-card p:last-child {
  color: #666;
  line-height: 1.6;
}

/* Expert Tips Section */
.expert-tips {
  padding: 80px 0;
  background: #f8f9fa;
}

.expert-tips h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #4caf50;
}

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

.expert-card {
  background: #4caf50;
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.expert-avatar {
  margin-bottom: 20px;
}

.expert-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.expert-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.expert-info p {
  line-height: 1.6;
  font-size: 14px;
}

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

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

.contact h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.contact .section-subtitle {
  max-width: 800px;
  margin: 0 auto 60px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  font-family: "Lato", sans-serif;
  transition: border-color 0.3s ease;
}

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

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

.btn-submit {
  background: #4caf50;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: #45a049;
}

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

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

.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-link img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.social-link:hover img {
  opacity: 0.7;
}

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

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom p {
  color: #999;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

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

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

  .nav-list {
    flex-direction: column;
    gap: 30px;
  }

  .nav-link {
    font-size: 18px;
  }

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

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

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



  .template-card img {
   
  }

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

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

  .features-showcase {
   
  }

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

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

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

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

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

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

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

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

  .hero-text p {
    font-size: 15px;
  }

  .advantage-card,
  .feature-card,
  .testimonial-card,
  .expert-card {
    padding: 20px;
  }

  .contact h2,
  .about-text h2,
  .advantages h2,
  .why-choose h2,
  .testimonials h2,
  .expert-tips h2 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }
}
