.sugar-section {
  padding: 60px 5%;
  background: #ffffff;
}

/* New heading styling (responsive font-size) */
.section-heading {
  text-align: center;
  font-size: clamp(22px, 3.2vw, 34px); /* scales between 22 and 34 */
  color: #008bb5;
  margin-bottom: 40px;
  line-height: 1.3;
}

/* container */
.sugar-container {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* image */
.sugar-image img {
  width: 100%;               /* flexible */
  max-width: 420px;         /* keep up to 420px on large screens */
  height: auto;             /* maintain aspect ratio */
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 2px solid #e6e6e6;
}

/* content */
.sugar-content {
  max-width: 600px;
  flex: 1 1 320px; /* allow shrinking/growing */
  box-sizing: border-box;
}

.sugar-content p {
  font-size: clamp(15px, 1.6vw, 17px); /* slightly responsive */
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* button */
.btn-primary {
  display: inline-block;
  background: #0a90b5;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #066c87;
}
a{
    text-decoration: none;
    color: white;
}

/* ----------------- RESPONSIVE RULES ----------------- */

/* Tablet and below: stack vertically, center text */
@media (max-width: 900px) {
  .sugar-container {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding: 0 6%;
  }

  .sugar-image img {
    max-width: 320px;
  }

  .sugar-content {
    max-width: 720px;
    padding: 0 8px;
  }

  .sugar-content p {
    font-size: 16px;
  }

  .btn-primary {
    margin-top: 12px;
  }
}

/* Small phones: tighter spacing, smaller fonts, full-width button */
@media (max-width: 520px) {
  .sugar-section { padding: 36px 6%; }

  .section-heading { margin-bottom: 28px; }

  .sugar-image img {
    max-width: 220px; /* keep it small and neat */
  }

  .sugar-content {
    max-width: 100%;
    padding: 0 6px;
  }

  .sugar-content p {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .btn-primary {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 12px 18px;
  }
}

/* Very large screens: ensure comfortable gaps */
@media (min-width: 1400px) {
  .sugar-container { gap: 80px; }
  .sugar-image img { max-width: 520px; } /* optional: slightly larger on very large screens */
  .sugar-content { max-width: 720px; }
}
