.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: #000000;
}

.policy__title {
  color: #000000;
}

.policy__text h2 {
  text-align: left;

  font-size: 21px;
}

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

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

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", 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;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

button {
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 50px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #e040fb, #ba68c8);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(224, 64, 251, 0.3);
}

.btn-secondary {
  background: white;
  color: #333;
  border: 2px solid #333;
}

.btn-secondary:hover {
  background: #f5f5f5;
}

/* ===== Header ===== */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #333;
}

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

.nav-menu {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  font-size: 14px;
  color: #333;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #e040fb, #ba68c8);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 5px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

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

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

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

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

.hero-image img {
  max-width: 350px;
  margin: 0 auto;
  animation: float 3s ease-in-out infinite;
}

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

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #555;
}

.hero .btn {
  background: linear-gradient(135deg, #e040fb, #ba68c8);
  color: white;
}

/* ===== Why Sugarflow Section ===== */
.why-sugarflow {
  padding: 80px 0;
  background: white;
}

.why-sugarflow h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.why-sugarflow .subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.card img {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.card-pink {
  background: linear-gradient(135deg, #ffe5f0, #ffd4e5);
}

.card-purple {
  background: linear-gradient(135deg, #e8d7f1, #d4c5e8);
}

.card-peach {
  background: linear-gradient(135deg, #ffe5d9, #ffdcc5);
}

.card-blue {
  background: linear-gradient(135deg, #d4f1f4, #b8e6ea);
}

/* ===== Mission Section ===== */
.mission {
  padding: 80px 0;
  background: #f9f9f9;
}

.mission h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.mission .intro-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #555;
}

.mission h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.mission-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.mission-card img {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
}

.mission-card p {
  font-size: 14px;
  line-height: 1.6;
}

.mission-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mission-images img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
}

/* ===== Insights Section ===== */
.insights {
  padding: 80px 0;
  background: white;
}

.insights h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.insights .intro-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #555;
}

.insights h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 40px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.insight-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.insight-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.insight-card h4 {
  font-size: 22px;
  font-weight: 700;
  padding: 25px 30px 15px;
}

.insight-card p {
  font-size: 14px;
  line-height: 1.7;
  padding: 0 30px 30px;
  color: #555;
}

/* ===== Blog Sections ===== */
.blog-sections {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffe5f0, #e8d7f1);
}

.blog-sections h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.blog-sections .subtitle {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 50px;
}

.blog-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.blog-category {
  background: white;
  padding: 40px;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.blog-category:hover {
  transform: translateY(-5px);
}

.category-number {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.blog-category h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.blog-category p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* ===== Gallery Section ===== */
.gallery {
  padding: 80px 0;
  background: white;
}

.gallery-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.gallery-text h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.gallery-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #555;
}

.gallery-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 25px;
}

.gallery-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 25px;
}

.gallery-text li {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
}

.gallery-footer {
  font-size: 14px;
  color: #666;
}

.gallery-images {
  display: grid;
  gap: 20px;
}

.gallery-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
}

/* ===== Contact Section ===== */
.contact {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffe5f0 0%, #d4f1f4 100%);
}

.contact h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.contact .subtitle {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.contact-info {
  text-align: center;
  margin-bottom: 40px;
}

.contact-info p {
  font-size: 14px;
  margin-bottom: 5px;
}

.contact-info a {
  color: #e040fb;
  font-weight: 600;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px 25px;
  border: none;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.contact-form textarea {
  border-radius: 25px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 5px 20px rgba(224, 64, 251, 0.15);
}

.contact-form button {
  background: linear-gradient(135deg, #e040fb, #ba68c8);
  color: white;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 10px;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(224, 64, 251, 0.3);
}

/* ===== Footer ===== */
.footer {
  background: white;
  padding: 50px 0 30px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 25px;
}

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

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

.footer-links a {
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

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

.footer-info p {
  font-size: 13px;
  color: #666;
  margin-bottom: 3px;
}

.footer-info a {
  color: #e040fb;
  font-weight: 600;
}

.copyright {
  font-size: 12px;
  color: #999;
  margin-top: 20px;
}

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

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

.cookie-popup {
  background: white;
  padding: 40px 50px;
  border-radius: 25px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: popupAppear 0.4s ease;
}

@keyframes popupAppear {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cookie-icon {
  margin-bottom: 25px;
}

.cookie-icon img {
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

.cookie-popup h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cookie-popup p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

.cookie-popup .btn {
  width: 100%;
  margin-bottom: 15px;
}

.cookie-popup .btn-secondary {
  background: white;
  border: 2px solid #333;
  margin-bottom: 0;
}

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

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

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

.success-icon {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
}

.success-icon svg {
  animation: successCheckmark 0.6s ease;
}

@keyframes successCheckmark {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.success-popup h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #e040fb, #ba68c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.success-popup p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

.success-popup .btn {
  width: 100%;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 38px;
  }

  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-intro {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Header Mobile */
  .burger-menu {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: white;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 25px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

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

  .nav-menu a {
    font-size: 16px;
  }

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

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

  .hero-image img {
    max-width: 250px;
  }

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

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

  /* Cards Grid Mobile */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Mission Mobile */
  .mission h2,
  .insights h2,
  .blog-sections h2,
  .gallery-text h2,
  .contact h2 {
    font-size: 32px;
  }

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

  .mission-images {
    grid-template-columns: 1fr;
  }

  /* Insights Mobile */
  .insights-grid {
    grid-template-columns: 1fr;
  }

  /* Blog Categories Mobile */
  .blog-categories {
    grid-template-columns: 1fr;
  }

  /* Gallery Mobile */
  .gallery-intro {
    grid-template-columns: 1fr;
  }

  /* Footer Mobile */
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  /* Cookie Popup Mobile */
  .cookie-popup {
    padding: 30px 25px;
    width: 95%;
  }

  .cookie-popup h3 {
    font-size: 24px;
  }

  /* Success Popup Mobile */
  .success-popup {
    padding: 35px 25px;
    width: 95%;
  }

  .success-popup h3 {
    font-size: 26px;
  }

  .success-icon svg {
    width: 60px;
    height: 60px;
  }
}

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

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

  .card {
    padding: 35px 25px;
  }

  .mission h2,
  .insights h2,
  .blog-sections h2,
  .gallery-text h2,
  .contact h2 {
    font-size: 28px;
  }

  .blog-category {
    padding: 30px 25px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 15px 20px;
  }
}
