/* ============================================================
   Golis Telecom — Homepage styles
   Consolidated from inline <style> blocks previously scattered
   across home.blade.php and homepage/*.blade.php partials.
   Scoped to the homepage only — does not touch the global
   style.css theme or .section-title/.btn-theme (shared by other
   pages).
   ============================================================ */

:root {
  --golis-blue: #069FE3;
  --golis-blue-dark: #0b7db8;
  --golis-red: #D70004;
  --golis-red-dark: #9c0003;
  --golis-silver: #C0C0C0;
  --golis-ink: #03233c;
}

/* ---- Shared product-card base (VIP / Mahiigaan / FTTH) ---- */
.product-card {
  border: 1.5px solid var(--golis-blue);
  border-radius: 0.9rem;
  box-shadow: 0 6px 16px rgba(10, 46, 99, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(10, 46, 99, 0.12);
    border-color: var(--golis-blue-dark);
  }
}
.product-card .btn-cta {
  background: var(--golis-red);
  border-color: var(--golis-red);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.product-card .btn-cta:hover {
  background: var(--golis-red-dark);
  border-color: var(--golis-red-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ---- Quick-action pill bar ---- */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0;
}
.quick-actions .quick-action-pill {
  background: #fff;
  border: 1.5px solid var(--golis-blue);
  color: var(--golis-blue);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.quick-actions .quick-action-pill:hover {
  background: var(--golis-blue);
  color: #fff;
  transform: translateY(-1px);
}
.quick-actions .quick-action-pill i {
  margin-right: 0.4rem;
}

/* ---- MAHIIGAAN plans ---- */
.plan-tab-custom {
  background: var(--golis-blue) !important;
  color: #fff !important;
  border: none;
  transition: background 0.2s;
}
.plan-tab-custom:hover,
.plan-tab-custom.btn-selected {
  background: var(--golis-red) !important;
  color: #fff !important;
}
.plan-group { row-gap: 1.2rem; }
.plan-card-col { display: flex; align-items: stretch; padding: 0.6rem; }
.plan-card-col .card { width: 100%; display: flex; flex-direction: column; }

/* ---- VIP numbers ---- */
#vip-section {
  position: relative;
  overflow: hidden;
  padding-top: 32px;
  padding-bottom: 42px;
  background:
    radial-gradient(circle at 10% 20%, rgba(6, 159, 227, 0.12), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(215, 0, 4, 0.08), transparent 30%),
    linear-gradient(180deg, #f4fbff 0%, #eef6ff 60%, #f7fbff 100%);
}
#vip-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 159, 227, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}
#vip-section .container { position: relative; max-width: 1200px; z-index: 1; }
#vip-section h3 { font-weight: 700; color: var(--golis-ink); }
#vip-section p.text-muted { color: #4a6072 !important; }

.vip-card-col { display: flex; justify-content: center; }
.vip-card { width: 100%; max-width: 260px; margin: 0 auto; }
.vip-card-top { padding-top: 1rem; }
.vip-number { letter-spacing: 0.6px; font-weight: 700; color: var(--golis-ink); }
.vip-card .card-body { padding-left: 1.25rem; padding-right: 1.25rem; margin-top: auto; }
.vip-card .card-body .btn { font-weight: 600; }

.vip-preview-modal .modal-dialog { max-width: 420px; }
.vip-preview-modal .modal-content { border-radius: 0.5rem; overflow: hidden; }
.vip-preview-thumb { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: #f7fbfd; border-radius: 8px; }
.vip-preview-thumb img { width: 40px; height: 40px; object-fit: contain; }
.vip-preview-modal .modal-body { font-size: 0.95rem; padding-top: 0.57rem; padding-bottom: 0.34rem; }
.vip-preview-modal .modal-footer { gap: 0.5rem; }

.badge-price-vertical {
  background: transparent;
  color: var(--golis-red);
  border-radius: 0;
  padding: 0;
  font-weight: 700;
  font-size: 2rem;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}
.badge-price-vertical .price-currency { font-size: 1.2rem; margin-top: 0.15em; }
.badge-price-vertical .price-main { font-size: 2.1rem; font-weight: bold; margin-left: 2px; }
.badge-price-vertical .price-decimal { font-size: 1.1rem; font-weight: 500; align-self: flex-start; margin-top: 0.3em; color: var(--golis-red); }

.badge-fure { background: var(--golis-red); color: #fff; border-radius: 0.35rem; padding: 0.28rem 0.5rem; }
.badge-silver { background: var(--golis-silver); color: #083246; border-radius: 0.35rem; padding: 0.28rem 0.5rem; }
.badge-blue { background: var(--golis-blue); color: #fff; border-radius: 0.35rem; padding: 0.28rem 0.5rem; }
.badge-price { background: #eef9ff; color: var(--golis-red); border-radius: 0.35rem; padding: 0.22rem 0.45rem; font-weight: 600; font-size: 1.2rem; }

.btn-filter { border: 1px solid var(--golis-blue); color: var(--golis-blue); background: rgba(6, 159, 227, 0.08); padding: 0.32rem 0.85rem; font-size: 0.9rem; border-radius: 999px; }
.btn-filter.active { background: var(--golis-red); color: #fff; border-color: var(--golis-red); }

.vip-view-more-btn {
  background: var(--golis-blue);
  color: #fff;
  border: none;
  padding: 0.55rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(6, 159, 227, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vip-view-more-btn:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(6, 159, 227, 0.35); }
.vip-view-more-btn:focus { outline: none; }

/* ---- FTTH+ plans ---- */
#ftth-section {
  position: relative;
  overflow: hidden;
  padding-top: 32px;
  padding-bottom: 42px;
  background:
    radial-gradient(circle at 8% 18%, rgba(6, 159, 227, 0.12), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(215, 0, 4, 0.08), transparent 32%),
    linear-gradient(180deg, #f4fbff 0%, #eef6ff 60%, #f7fbff 100%);
}
#ftth-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 159, 227, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}
.ftth-card { transform-origin: center; }
.ftth-card .card-body { padding: 0.9rem; }

/* ---- Services grid (fftps / row8) ---- */
.services-section { background: #ffffff; padding-top: 2rem; padding-bottom: 2rem; }

.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(6, 159, 227, 0.14);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  animation: rise-in 0.6s ease forwards;
}
.service-card:nth-of-type(1) { animation-delay: .05s; }
.service-card:nth-of-type(2) { animation-delay: .12s; }
.service-card:nth-of-type(3) { animation-delay: .19s; }
.service-card:nth-of-type(4) { animation-delay: .26s; }
.service-card:nth-of-type(5) { animation-delay: .33s; }
.service-card:nth-of-type(6) { animation-delay: .4s; }
.service-card:nth-of-type(7) { animation-delay: .47s; }
.service-card:nth-of-type(8) { animation-delay: .54s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.icon-wrap { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; }
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--golis-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.icon { font-size: 1.6rem; color: #fff; transition: transform 0.3s ease; }
.service-title { font-size: 1rem; color: #1f2d3d; transition: color 0.3s ease; }

.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1); border-color: rgba(6, 159, 227, 0.3); }
.service-card:hover .icon-circle { background: var(--golis-red); transform: scale(1.05); }
.service-card:hover .icon { transform: translateY(-2px); }
.service-card:hover .service-title { color: var(--golis-red); }

.col.d-flex { display: flex; }

.row8-services .btn-order {
  background: var(--golis-red);
  color: #fff;
  border-radius: 8px;
  border: 0;
  padding: 8px 14px;
  box-shadow: 0 6px 18px rgba(215, 0, 4, 0.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.row8-services .btn-order:hover {
  background: var(--golis-red-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  color: #fff !important;
}
.row8-services .service-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.04);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  transition: transform .28s cubic-bezier(.22,.9,.32,1), box-shadow .28s ease;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 18px rgba(15, 15, 15, 0.04);
  opacity: 0;
  transform: translateY(18px) scale(.995);
  will-change: transform, opacity;
  animation: none;
  transition-delay: calc(var(--delay, 0ms));
}
.row8-services .service-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.row8-services .service-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 18px 40px rgba(10, 30, 80, 0.08); }
.row8-services .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  font-size: 28px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.02));
  background-color: var(--golis-blue);
  box-shadow: 0 8px 20px rgba(6, 159, 227, 0.08) inset;
  margin: 0 auto 12px auto;
}
.row8-services .card-title { font-weight: 600; }
.row8-services .price { font-weight: 700; color: var(--golis-blue); margin-bottom: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .row8-services .service-card { transition: transform .36s cubic-bezier(.22,.9,.32,1), box-shadow .28s ease, opacity .36s ease; }
}

/* ---- Dhambaal promo (row4) ---- */
.dhambaal-promo {
  background: linear-gradient(135deg, var(--golis-blue) 0%, var(--golis-blue-dark) 100%);
}
.dhambaal-promo-details {
  color: #e6faff;
  font-size: 1.15rem;
}

/* ---- Promo banners ---- */
.promo-row3-title {
  color: var(--golis-blue);
}
#promo-row3 .promo-img {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

/* ============================================================
   Consolidated mobile breakpoints
   (previously 4+ scattered @media blocks for the same components)
   ============================================================ */

@media (max-width: 991.98px) {
  .vip-card { max-width: 320px; }
}

@media (max-width: 767.98px) {
  .vip-card-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    margin-bottom: 1rem;
  }
  .vip-card {
    min-height: 120px;
    font-size: 0.93rem;
    border-radius: 0.7rem;
    box-shadow: 0 2px 8px rgba(6, 159, 227, 0.07);
    padding: 0.4rem 0.3rem 0.3rem 0.3rem;
    margin-bottom: 0.5rem;
  }
  .vip-card-top { flex-direction: row; gap: 0.5rem; padding: 0.2rem 0; }
  .vip-number { font-size: 1.05rem; margin-bottom: 0.2rem; }
  .badge-price-vertical { font-size: 1.3rem; padding: 0.15rem 0.3rem; }
  .badge-price-vertical .price-main { font-size: 1.5rem; }
  .badge-price-vertical .price-decimal { font-size: 0.95rem; }
  .vip-card .card-body { width: 100%; padding: 0.5rem 0 0 0; }
  .vip-card .card-body .btn { font-size: 0.98rem; padding: 0.45rem 0.7rem; border-radius: 0.5rem; }

  .product-card:hover { transform: none; }

  #promo-row3 .promo-img { max-width: 360px; width: 86%; }
  #promo-row3 .col-md-6 { text-align: center; }

  .quick-actions .quick-action-pill { flex: 1 1 100%; text-align: center; }
}

@media (max-width: 420px) {
  .vip-preview-modal .modal-dialog { max-width: 92%; margin: 0 8px; }
  .vip-preview-thumb { width: 48px; height: 48px; }
  .vip-preview-thumb img { width: 32px; height: 32px; }
}
