/* Mango Engineers — brand-safe GUI refresh + persistent contact actions.
   Kept separate from vendor styles and existing responsive navigation rules. */
:root {
  --mango-ui-ink: #17352f;
  --mango-ui-green: #16846e;
  --mango-ui-muted: #566b68;
  --mango-ui-border: #e0ede8;
  --mango-ui-shadow: 0 18px 46px rgba(17, 72, 58, .09);
}
body { background-color: #fcfefd; }
::selection { background: #ccefe2; color: #133e32; }

/* Refresh the most important homepage content without changing its structure. */
.hero-style-15.programming-banner {
  background: radial-gradient(circle at 88% 20%, rgba(91, 208, 158, .13), transparent 34%),
              linear-gradient(135deg, #f2fcf7 0%, #ffffff 70%);
}
.hero-style-15.programming-banner .banner-content .pre-title {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 9px 14px;
  border: 1px solid #d4eadf;
  border-radius: 999px;
  background: #ffffff;
  color: #147b64;
  font-weight: 700;
  letter-spacing: .015em;
  white-space: normal;
  line-height: 1.45;
}
.hero-style-15.programming-banner .banner-content .title {
  color: var(--mango-ui-ink);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-style-15.programming-banner .banner-content .color-secondary {
  color: var(--mango-ui-green) !important;
}
.hero-style-15.programming-banner .banner-content > p {
  color: var(--mango-ui-muted);
  line-height: 1.75;
}
.hero-style-15.programming-banner .banner-thumbnail .thumbnail > img {
  border-radius: 25px;
  filter: drop-shadow(0 20px 26px rgba(10, 73, 51, .12));
}
.hero-banner .banner-btn .edu-btn,
.edu-cta-banner .edu-btn,
.mango-course-card__action {
  min-height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  line-height: 1.25;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.hero-banner .banner-btn .edu-btn:hover,
.edu-cta-banner .edu-btn:hover,
.mango-course-card__action:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(21, 116, 91, .17);
}
.features-area-7 .features-grid-wrap-2 .features-box {
  min-width: 0;
  border: 1px solid var(--mango-ui-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(17, 72, 58, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.features-area-7 .features-grid-wrap-2 .features-box:hover {
  transform: translateY(-4px);
  border-color: #beddd2;
  box-shadow: var(--mango-ui-shadow);
}
.features-area-7 .features-grid-wrap-2 .features-box .title a:hover {
  color: var(--mango-ui-green);
}
.home-programming-course .mango-course-card { height: 100%; }
.home-programming-course .mango-course-card > .inner {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--mango-ui-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(17, 72, 58, .065);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.home-programming-course .mango-course-card:hover > .inner {
  transform: translateY(-4px);
  border-color: #c4e2d8;
  box-shadow: var(--mango-ui-shadow);
}
.home-programming-course .mango-course-card__media { overflow: hidden; }
.home-programming-course .mango-course-card__media > a > img {
  width: 100%;
  transition: transform .35s ease;
}
.home-programming-course .mango-course-card:hover .mango-course-card__media > a > img {
  transform: scale(1.025);
}
.home-programming-course .mango-course-card__body > p { color: var(--mango-ui-muted); }
.home-programming-course .mango-course-card__body .title { text-wrap: balance; }
.section-title .title { text-wrap: balance; }
a:focus-visible,
button:focus-visible,
.edu-btn:focus-visible {
  outline: 3px solid #df9a26;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .hero-style-15.programming-banner .banner-content .title { letter-spacing: -.025em; }
  .hero-style-15.programming-banner .banner-content .pre-title { font-size: 12px; }
  .hero-style-15.programming-banner .banner-thumbnail .thumbnail > img { border-radius: 18px; }
  .features-area-7 .features-grid-wrap-2 .features-box { border-radius: 17px; }
  .hero-banner .banner-btn .edu-btn { width: 100%; }
}

/* Fixed bottom-right quick contact. Uses visible labels on desktop and
   compact accessible touch targets on phones. */
.mango-floating-contact {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.mango-floating-contact__button {
  pointer-events: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 11px 18px;
  color: #fff !important;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 9px 26px rgba(21, 47, 40, .24);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 750;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mango-floating-contact__button:hover {
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 33px rgba(21, 47, 40, .28);
}
.mango-floating-contact__button:focus-visible {
  outline: 3px solid #ffc45c;
  outline-offset: 3px;
}
.mango-floating-contact__button svg {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mango-floating-contact__button--whatsapp { background: #168a51; }
.mango-floating-contact__button--call { background: #234e67; }
/* Put the existing scroll-to-top control on the opposite corner. */
.rn-progress-parent {
  right: auto !important;
  left: max(18px, env(safe-area-inset-left)) !important;
  bottom: max(24px, env(safe-area-inset-bottom)) !important;
}
@media (max-width: 767px) {
  .mango-floating-contact {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mango-floating-contact__button {
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
  }
  .mango-floating-contact__label { 
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .rn-progress-parent {
    left: max(12px, env(safe-area-inset-left)) !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mango-floating-contact__button,
  .home-programming-course .mango-course-card > .inner,
  .features-area-7 .features-grid-wrap-2 .features-box,
  .hero-banner .banner-btn .edu-btn,
  .home-programming-course .mango-course-card__media > a > img {
    transition: none !important;
    transform: none !important;
  }
}
