/* ════════════════════════════════════════════════════════════════════════
   DEALS.CSS  — matches the site's dark navy / electric blue theme
   ════════════════════════════════════════════════════════════════════════ */

/* Prevent the light body background from showing as a thin line between
   the fixed header and the dark hero section */
body.sub_page {
  background-color: #0d1b2a;
}

/* ---------- HERO ---------- */
.promo-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2d42 60%, #0d2340 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 44vh;
  display: flex;
  align-items: center;
}

/* Subtle radial glow in top-left corner */
.promo-hero::before {
  content: "";
  position: absolute;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at 20% 30%, rgba(26,127,212,.18), transparent 60%);
  pointer-events: none;
}

/* Decorative diagonal stripe */
.promo-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 55%;
  height: 200%;
  background: rgba(26, 127, 212, 0.05);
  transform: rotate(-15deg);
  pointer-events: none;
}

.promo-hero .content {
  position: relative;
  z-index: 2;
}

.promo-hero h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.promo-hero .lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.promo-hero .btn-hero {
  display: inline-block;
  padding: 12px 36px;
  background-color: #1a7fd4;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.promo-hero .btn-hero:hover {
  background-color: #1566b0;
  transform: translateY(-2px);
  color: #fff;
}

/* Accent word highlight in hero */
.promo-hero .accent { color: #1a7fd4; }

/* ---------- NAV PILLS ---------- */
.nav-pills .nav-link {
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4a5568;
  padding: 8px 24px;
  transition: background 0.2s, color 0.2s;
}

.nav-pills .nav-link.active {
  background: #1a7fd4;
  color: #fff;
}

.nav-pills .nav-link:hover:not(.active) {
  background: #e8f2fc;
  color: #1a7fd4;
}

/* ---------- SECTION HEADINGS ---------- */
.deals-section-title {
  font-weight: 700;
  font-size: 1.6rem;
  color: #6c7ca0;
  margin-bottom: 8px;
}

.deals-section-sub {
  color: #4a5568;
  font-size: 0.95rem;
  margin-bottom: 36px;
}

/* ---------- DEAL CARD (installer programme) ---------- */
.deal-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 4px solid #1a7fd4;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.deal-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.deal-badge {
  display: inline-block;
  background: rgba(26, 127, 212, 0.1);
  border: 1px solid rgba(26, 127, 212, 0.3);
  color: #1a7fd4;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.deal-card-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 12px;
}

.deal-card-text {
  color: #4a5568;
  font-size: 0.93rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

.deal-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.deal-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #374151;
  padding: 5px 0;
}

.deal-features li .bi {
  color: #1a7fd4;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.deal-card .btn-deal {
  display: inline-block;
  padding: 11px 28px;
  background-color: #1a7fd4;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  align-self: flex-start;
}

.deal-card .btn-deal:hover {
  background-color: #1566b0;
  transform: translateY(-1px);
  color: #fff;
}

/* ---------- BRAND CHIPS on deal card ---------- */
.deal-brands {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.deal-brand-chip {
  background: #f4f7fa;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  padding: 3px 10px;
}

/* ---------- VIDEO CARDS ---------- */
.card {
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 3px solid #1a7fd4;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
}

.card-img-top { object-fit: cover; height: 220px; }

.card-title {
  font-weight: 700;
  color: #111827;
}

.card-text { color: #4a5568; font-size: 0.9rem; }

/* ---------- MODAL ---------- */
.modal-content {
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

.modal-header {
  background: #0d1b2a;
  color: #fff;
  border-bottom: 3px solid #1a7fd4;
  padding: 20px 24px;
}

.modal-title { font-weight: 700; }

.modal-header .close {
  color: rgba(255,255,255,0.7);
  text-shadow: none;
  opacity: 1;
}

.modal-header .close:hover { color: #fff; }

.modal-body { padding: 28px; }

.modal-body .bi-check-circle-fill { color: #1a7fd4; }

.modal-footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 16px 24px;
}

/* ---------- CONTACT CTA STRIP ---------- */
.contact-cta-strip {
  background: linear-gradient(90deg, #0d1b2a 0%, #152338 100%);
  border-radius: 10px;
  padding: 32px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-left: 4px solid #1a7fd4;
}

.contact-cta-strip h4 {
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-cta-strip p {
  color: rgba(255,255,255,0.65);
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- BUTTONS (Bootstrap overrides) ---------- */
.btn-primary {
  background: #1a7fd4;
  border-color: #1a7fd4;
}
.btn-primary:hover {
  background: #1566b0;
  border-color: #1566b0;
}
.btn-outline-secondary {
  color: #4a5568;
  border-color: #d1d5db;
}
.btn-outline-secondary:hover {
  background: #f4f7fa;
  color: #111827;
  border-color: #d1d5db;
}

/* ---------- MEDIA ---------- */
@media (max-width: 767.98px) {
  .promo-hero { min-height: 50vh; text-align: center; }
  .contact-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}
