@import url("font.css");

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family:
    "UMobileDisplay",
    system-ui,
    -apple-system,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei UI",
    "Noto Sans SC",
    sans-serif;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}


.font-umobile {
  font-family:
    "UMobileDisplay",
    system-ui,
    -apple-system,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei UI",
    "Noto Sans SC",
    sans-serif;
}

body::-webkit-scrollbar {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header text animation */

.family-first-glass {
  position: relative;
  display: inline-block;
}

.family-first-glass__text-back {
  display: none;
}

.family-first-glass__shine-text {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: none;
  white-space: normal;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;

  /* Simple single shine band */
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(254, 230, 118, 0.0) 30%,
      rgba(254, 229, 118, 0.959) 50%,
      rgba(254, 230, 118, 0.0) 70%,
      transparent 100%);

  background-size: 200% 100%;
  background-position: -100% 0;

  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: shine-left-right 2.5s linear infinite;
  /* -webkit-text-stroke: 1px rgb(255, 94, 0); */
}

@keyframes shine-left-right {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

@keyframes ultra-glass-shine-text {

  0%,
  50% {
    background-position: 100% 42%;
    opacity: 0.62;
  }

  100% {
    background-position: 0% 58%;
    opacity: 1;
  }
}

.shining_text {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: linear-gradient(to bottom left,
      #ffe45c 0%,
      #f18304 25%,
      #ff5e00 58%,
      #ff6600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 1.3px #ff7300;
  text-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .family-first-glass__shine-text {
    animation: none;
    opacity: 0.45;
    background-position: 50% 50%;
  }
}

.family-first-glass {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.responsivegrid.layout-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden !important;
}

.broadband_bg {
  background-image: url("../../images/backgrounds/broadband_gradient.svg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.card_gradient {
  background: url("../../images/backgrounds/box.png");
  background-size: cover;
  background-repeat: no-repeat;
}

/* Hide any scrollbar for the plans carousel viewport */
#business-wifi-plans-viewport {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 14px 16px 34px;
  /* room so card shadow isn’t clipped */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge legacy */
  touch-action: pan-y;
}

#business-wifi-plans-viewport::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

#insert-steps-viewport {
  touch-action: pan-y;
  overflow: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#insert-steps-viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media (max-width: 1023px) {
  .usp-cards-viewport {
    overflow-x: auto !important;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-y;
  }

  .usp-cards-viewport::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

/* Carousel arrows (match postpaid: filled = active direction, outline = disabled end) */
.carousel-nav-arrow {
  border-radius: 9999px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.carousel-nav-arrow--filled {
  background-color: #ff7b02;
  border: 2px solid #fff;
}

.carousel-nav-arrow--outline {
  background-color: transparent;
  border: 2px solid #ff7b00;
}

.carousel-nav-arrow:disabled {
  cursor: default;
}

/* SIM insert steps carousel: circular outline only — orange when enabled, gray when disabled */
.insert-step-nav-btn {
  border-radius: 9999px;
  border: 2px solid #ff7b02;
  background-color: transparent;
  color: #ff7b02;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.insert-step-nav-btn:disabled {
  border-color: #bdbdbd;
  color: #bdbdbd;
  cursor: default;
}

.insert-step-nav-btn:focus-visible {
  outline: 2px solid #ff7b02;
  outline-offset: 2px;
}

.insert-step-nav-btn:disabled:focus-visible {
  outline-color: #bdbdbd;
}

/* Plan cards: shadow on all sides + soft drop + hover scale */
.business-wifi-plan-card {
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.03),
    0 0 26px rgba(39, 55, 156, 0.14),
    0 16px 44px -14px rgba(0, 0, 0, 0.14);
  transition:
    box-shadow 0.5s ease,
    transform 0.3s ease;
  transform: translateZ(0);
  transform-origin: center center;
}

.business-wifi-plan-card:hover {
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.05),
    0 0 34px rgba(89, 112, 189, 0.22),
    0 22px 60px -18px rgba(39, 55, 156, 0.18);
  transform: translateZ(0) scale(1.05);
}

.insert-step-caption {
  @media (min-width: 481px) {
    width: 380px;
  }

  @media (max-width: 480px) {
    width: 330px;
  }

  @media (max-width: 320px) {
    width: 300px;
  }
}


/* ================= FAQ SECTION ================= */

.faq-section {
  color: #fff;
}

.faq-tabs-wrap {
  width: 100%;
}

/* Full-width baseline; active tab draws a thicker orange segment on top via .faq-tab */
.faq-tabs {
  border-bottom: 1px solid #e2e4e8;
  padding-bottom: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.faq-tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Tab button */
.faq-tab {
  position: relative;
  margin-bottom: -1px;
  font-size: 1rem;
  font-weight: 400;
  color: #000b26;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition:
    color 0.2s ease,
    font-weight 0.2s ease,
    border-color 0.2s ease;
}

.faq-visibility::-webkit-scrollbar {
  display: none;
}

@media (max-width: 639px) {
  .faq-tabs {
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .faq-tabs .faq-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* Hover */
.faq-tab:hover {
  color: #ff8c21;
}

/* Active tab: orange text + thick orange underline over the gray baseline */
.faq-tab[aria-selected="true"] {
  color: #ff8c21;
  font-weight: 700;
  border-bottom-color: #ff8c21;
}

.faq-tab:focus-visible {
  outline: 2px solid #ff8c21;
  outline-offset: 2px;
}

/* ================= FAQ ITEMS ================= */

.faq-item {
  padding: 0.9rem 0;
  cursor: pointer;
}

/* Question */

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;

  font-size: 1rem;
  font-weight: 700;
  color: #202020;
}

@media (min-width: 640px) {
  .faq-question {
    color: #000b26;
  }
}

/* Arrow */
.arrow {
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

/* ================= ANSWER ================= */

.faq-answer {
  max-height: 0;
  height: 0;

  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Inner content animation */
.faq-answer-inner {
  padding-top: 10px;
  color: #000b26;

  opacity: 0;
  transform: translateY(-5px);

  transition: all 0.3s ease;
}

/* Active state */
.faq-item.active .faq-answer {
  max-height: 300px;
  /* adjust if needed */
}

.faq-item.active .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
}

.get_in_touch_section {
  background: url("../../images/broadband/get_in_touch_gradient.svg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.app-switch {
  display: none;
}

/* header section */

.site-header {
  font-family:
    "Unbeatable",
    "UMobileDisplay",
    system-ui,
    -apple-system,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei UI",
    "Noto Sans SC",
    Roboto,
    sans-serif;
}

.site-header a {
  text-decoration: none;
}

.site-header__top-link:focus-visible,
.site-header__nav-link:focus-visible,
.site-header__icon-btn:focus-visible,
.site-header__menu-btn:focus-visible,
.site-header__account:focus-visible,
.site-header summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.site-header__main .site-header__top-link:focus-visible,
.site-header__main .site-header__nav-link:focus-visible,
.site-header__main .site-header__icon-btn:focus-visible,
.site-header__main .site-header__menu-btn:focus-visible,
.site-header__main .site-header__account:focus-visible {
  outline-color: #ff7b02;
}

.site-header__lang summary {
  list-style: none;
}

.site-header__lang[open] summary {
  opacity: 1;
}

body.site-header-menu-open {
  overflow: hidden;
}

/* Top + main bars above the closed drawer so links and hamburger stay clickable. */
.site-header__top {
  position: relative;
  z-index: 31;
}

.site-header__main {
  position: relative;
  z-index: 30;
}

/* Mobile menu: slide in from right + backdrop fade */
.site-header__mobile-panel {
  pointer-events: none;
  /* Below .site-header__main when closed; raised when .is-open */
  z-index: 10 !important;
}

.site-header__mobile-panel .site-header__mobile-backdrop,
.site-header__mobile-panel .site-header__mobile-sheet {
  pointer-events: none;
}

.site-header__mobile-panel.is-open {
  pointer-events: auto;
  z-index: 1000 !important;
}

.site-header__mobile-panel.is-open .site-header__mobile-backdrop,
.site-header__mobile-panel.is-open .site-header__mobile-sheet {
  pointer-events: auto;
}

.site-header__mobile-backdrop {
  opacity: 0;
  transition: opacity 0.32s ease;
}

.site-header__mobile-panel.is-open .site-header__mobile-backdrop {
  opacity: 1;
}

.site-header__mobile-sheet {
  transform: translate3d(100%, 0, 0);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.site-header__mobile-panel.is-open .site-header__mobile-sheet {
  transform: translate3d(0, 0, 0);
}

:root {
  --primary: 0 0% 100%;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBorder {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 360deg;
  }
}

.plan_cards_postpaid {
  position: relative;
  transform-origin: center center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.plan_cards_postpaid,
.sim_cards * {
  transform: translateZ(0);
}

.plan_cards_postpaid.service_card {
  transition:
    transform 0.3s ease,
    box-shadow 0.4s ease,
    opacity 0.3s ease;
}

.plan_cards_postpaid::before,
.plan_cards_postpaid::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  /* Above card chrome but must not block clicks (e.g. More Plan Features <summary>). */
  pointer-events: none;

  background: conic-gradient(from var(--angle),
      transparent 30%,
      hsl(var(--primary)),
      transparent 70%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan_cards_postpaid::after {
  filter: blur(12px);
}

.plan_cards_postpaid:hover::before,
.plan_cards_postpaid:hover::after {
  opacity: 1;
  animation: rotateBorder 3s linear infinite;
}

/* More Plan Features accordion (<details>, same behaviour as postpaid) */
.plan-more>summary {
  list-style: none;
}

.plan-more>summary::-webkit-details-marker {
  display: none;
}

.plan-more>summary::marker {
  content: none;
}

.plan-more[open] .plan-more-chevron {
  transform: rotate(180deg);
}

.plan-more-chevron {
  transition: transform 0.2s ease;
}

.plan-more-summary img {
  pointer-events: none;
}

/* .plan_cards_postpaid:hover{
    transform: scale(1.05);
} */

.homepage_footer {
  border-radius: 35px 35px 0 0;
}

.plan_cards_postpaid,
.business-wifi-plan-card,
.faq-item {
  overflow-wrap: break-word;
}

@media (max-width: 480px) {
  #business-wifi-plans-viewport {
    padding: 0px 16px;
  }

  .anda-mobile {
    margin: 0 auto;
    padding-top: 10px;
  }
}