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

@media (max-width: 768px) {
  .policy {
    padding-block: 100px 60px !important;
  }
}

.success__text {
  margin-bottom: 27px;
}

/* .success__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
} */

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

.success__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 34px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 26px;
  color: #fff;
   text-shadow: 4px 4px 0 #4b1d68;
}

.policy__title {
  color: #ffffff;
}

.policy__text h2 {
  text-align: left;

  font-size: 21px;
}

.policy__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0%;
  color: #ffffff;
}

.policy__text h2,
.policy__text p {
  text-align: left;
  color: #ffffff;
}

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

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

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

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

:root {
  --primary-color: #ff69b4;
  --secondary-color: #ffb6c1;
  --background-pink: #ffa3c5;
  --text-white: #ffffff;
  --text-dark: #5a3a5a;
  --accent-purple: #4a235a;
  --shadow: rgba(0, 0, 0, 0.1);
  --overlay-bg: rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Baloo 2", cursive;
  background-color: var(--background-pink);
  color: var(--text-white);
  overflow-x: hidden;
}

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

/* Cookie Popup */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cookie-popup {
  background: linear-gradient(135deg, #f5e6d3 0%, #fff5e6 100%);
  border-radius: 20px;
  padding: 50px 60px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: popupSlide 0.4s ease;
}

@keyframes popupSlide {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-popup h2 {
  color: #000;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-popup p {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cookie-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.accept-btn {
  background: linear-gradient(135deg, #9e9e9e, #757575);
  color: white;
}

.settings-btn {
  background: linear-gradient(135deg, #ff69b4, #ffd700, #90ee90);
  color: white;
}

/* Header */
.header {
  background-color: var(--background-pink);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
  font-size: 1.3rem;
  font-weight: 700;
}

.logo img {
  width: 40px;
  height: 40px;
}

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

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-purple);
}

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

.burger span {
  width: 30px;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.hero-candy {
  max-width: 250px;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-candy-left {
  position: absolute;
  left: 0;
  z-index: -5;
}

.hero-candy-right {
  position: absolute;
  right: 0;
  z-index: -5;
}

@media (max-width: 768px) {
  .hero-candy-left {
   top: 0;
  }

  .hero-candy-right {
    bottom: 0;
  }
}

.hero-text {
  max-width: 700px;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
   text-shadow: 4px 4px 0 #4b1d68;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 40px;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(90deg, #f02d76 0%, #ffd966 50%, #a6e3a1 100%);

  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
}

/* Wave Divider */
.wave-divider {
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'/%3E%3C/svg%3E")
    no-repeat center bottom;
  background-size: cover;
  margin-top: 40px;
}

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

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #fff;

   text-shadow: 4px 4px 0 #4b1d68;

}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-image {
  flex: 1;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  height: auto;
}

.section-decor {
  width: 100%;
  margin-bottom: 30px;
  object-fit: contain;
}

/* Gallery Section */
.gallery {
  position: relative;
  padding: 80px 0 60px;
}

.gallery-decor-1 {
  position: absolute;
  width: 100%;
  max-width: 200px;
  height: 100%;
  top: -37%;
  left: 0;
  background: url("../img/gallery-decor-1.png") center / contain no-repeat;
}

.gallery-decor-2 {
  position: absolute;
  width: 100%;
  max-width: 180px;
  height: 100%;
  top: -30%;
  left: 90%;
  background: url("../img/gallery-decor-2.png") center / contain no-repeat;
}

.gallery-decor-3 {
  position: absolute;
  width: 100%;
  max-width: 120px;
  height: 100%;
  top: 40%;
  left: 0%;
  background: url("../img/gallery-decor-3.png") center / contain no-repeat;
}

@media (max-width: 768px) {
  .gallery-decor-1 {
    top: -45%;
    max-width: 90px;
  }

  .gallery-decor-2 {
    max-width: 80px;
    top: -35%;
  }

  .gallery-decor-3 {
    max-width: 80px;
    top: 40%;
  }
}

.gallery .section-title {
  color: var(--text-white);
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

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

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

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 15px;
}

.gallery-image img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.gallery-note {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
}

.reviews .section-title {
  color: var(--text-white);
  text-align: center;
  margin-bottom: 50px;
}

.reviews-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.reviews-track {
  overflow: hidden;
  flex: 1;
}

.review-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  display: none;
  animation: slideIn 0.5s ease;
}

.review-card.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.review-stars {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.review-text {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.review-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.review-name {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.slider-btn {
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.slider-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.faq .section-title {
  color: var(--text-white);
  text-align: center;
  margin-bottom: 50px;
}

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

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 25px 30px;
  text-align: left;
  font-family: "Baloo 2", cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 182, 217, 0.1);
}

.faq-icon {
  font-size: 1.5rem;
}

.faq-text {
  flex: 1;
}

.faq-toggle {
  font-size: 2rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.faq-answer p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.8;
}

/* Sweet Designs Section */
.designs {
  background: var(--background-pink);
  padding: 80px 0;
}

.designs .section-title {
  color: var(--text-white);
  text-align: center;
}

.designs .section-subtitle {
  margin-bottom: 50px;
}

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

.design-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 150px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.design-card p {
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 600;
}

.design-highlight {
  background: #ff73bf;
}

.design-highlight p {
  color: white;
}

.design-image {
  padding: 0;
  grid-column: span 1;
}

.design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.designs-note {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Form Section */
.contact {
  background: var(--background-pink);
  padding: 80px 0;
}

.contact .section-title {
  color: var(--text-white);
  text-align: center;
}

.contact .section-subtitle {
  margin-bottom: 50px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-family: "Baloo 2", cursive;
  font-size: 1rem;
  background: white;
  color: var(--text-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary-color);
}

.contact-form .btn {
  width: 100%;
}

/* Success Popup */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-popup {
  background: white;
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: popupSlide 0.4s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  margin: 0 auto 20px;
}

.success-popup h3 {
  color: var(--text-dark);
  font-size: 2rem;
  margin-bottom: 15px;
}

.success-popup p {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--accent-purple);
  padding: 50px 0 20px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

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

.footer-nav a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

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

.footer-info {
  text-align: center;
  margin-bottom: 20px;
}

.footer-info p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

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

.footer-bottom p {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-candy {
    max-width: 180px;
  }

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

  .about-content {
    flex-direction: column;
  }

  .reviews-slider {
    flex-direction: column;
  }

  .slider-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--background-pink);
    transition: left 0.3s ease;
    padding: 40px 20px;
  }

  .nav.active {
    left: 0;
  }

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

  .nav-link {
    font-size: 1.3rem;
  }

  .burger {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-candy {
    max-width: 150px;
  }

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

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

  .cookie-popup {
    padding: 30px 25px;
    margin: 20px;
  }

  .cookie-popup h2 {
    font-size: 1.8rem;
  }

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

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

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-description,
  .hero-tagline {
    font-size: 1rem;
  }

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

  .gallery-grid,
  .designs-grid {
    grid-template-columns: 1fr;
  }

  .cookie-popup h2 {
    font-size: 1.5rem;
  }

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