/* ═══════════════════════════════════════════
   PROMISE TV — GLOBAL BRAND DESIGN SYSTEM
   ═══════════════════════════════════════════
   Primary:  #D62828  (Brand Red)
   Secondary:#B71C1C  (Deep Red)
   Dark:     #1A1A2E  (Deep Navy)
   Text:     #3D3D5C  (Slate)
   Muted:    #7B7B9E  (Silver Slate)
   BG Light: #FAFAFA  (Clean White)
   BG Warm:  #FFF5F5  (Warm Red Tint)
   Font:     Poppins
   ═══════════════════════════════════════════ */

/* ── BASE ── */

html,
body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

section {
  overflow: hidden;
  position: relative;
}

body {
  font-family: "Poppins", sans-serif;
  color: #3d3d5c;
  background: #fff;
}

a {
  color: #d62828;
  transition: color 0.2s ease;
}

a:hover {
  color: #a51e1e;
}

/* ── BADGE / LABEL ── */

.brand-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d62828 0%, #ff5252 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ── SECTION TITLES ── */

.brand-section-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.brand-section-sub {
  color: #7b7b9e;
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

.brand-gradient-text {
  background: linear-gradient(135deg, #d62828, #ff5252);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO PATTERN ── */

.brand-hero {
  padding: 2rem 0 4rem;
  background: linear-gradient(165deg, #fffbfb 0%, #fff5f5 50%, #ffebee 100%);
  position: relative;
}

.brand-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.08), transparent 70%);
  pointer-events: none;
}

.brand-hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.brand-hero-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #5a5a7a;
  margin-bottom: 1.5rem;
}

.brand-hero-text strong {
  color: #1a1a2e;
}

/* Hero Image (visible on ALL devices) */
.brand-hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-hero-img {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(214, 40, 40, 0.15);
  transition: transform 0.4s ease;
}

.brand-hero-img:hover {
  transform: translateY(-6px);
}

.brand-hero-blob {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 82, 82, 0.1) 0%,
    rgba(214, 40, 40, 0.05) 60%,
    transparent 100%
  );
  z-index: 1;
  animation: brand-pulse 6s ease-in-out infinite;
}

@keyframes brand-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* ── BREADCRUMB ── */

.brand-breadcrumb {
  margin-bottom: 2rem;
}

.brand-breadcrumb .breadcrumb-item a {
  color: #d62828;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.brand-breadcrumb .breadcrumb-item.active {
  color: #7b7b9e;
  font-size: 0.85rem;
}

/* ── BUTTONS ── */

.brand-btn {
  display: inline-block;
  background: linear-gradient(135deg, #d62828, #b71c1c);
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1.8rem;
  border-radius: 12px;
  border: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(214, 40, 40, 0.25);
}

.brand-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(214, 40, 40, 0.35);
  color: #fff !important;
}

/* Override Bootstrap .btn-primary */
.btn-primary {
  background: linear-gradient(135deg, #d62828, #b71c1c) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(214, 40, 40, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 40, 40, 0.35) !important;
  background: linear-gradient(135deg, #b71c1c, #941212) !important;
}

.btn-outline-primary {
  color: #d62828 !important;
  border-color: #d62828 !important;
}

.btn-outline-primary:hover {
  background: #d62828 !important;
  color: #fff !important;
}

/* ── CARD SYSTEM ── */

.brand-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(214, 40, 40, 0.06);
  box-shadow: 0 4px 24px rgba(214, 40, 40, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(214, 40, 40, 0.14);
}

/* Bootstrap card overrides */
.card {
  border: 1px solid rgba(214, 40, 40, 0.08);
  border-radius: 16px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(214, 40, 40, 0.12);
}

/* ── STATS ROW ── */

.brand-stats {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
}

.brand-stat {
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1.5rem;
  border-right: 2px solid rgba(214, 40, 40, 0.12);
}

.brand-stat:first-child {
  padding-left: 0;
}

.brand-stat:last-child {
  border-right: none;
}

.brand-stat-number {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #d62828;
  line-height: 1;
}

.brand-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9e9ebe;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ── SECTION BACKGROUNDS ── */

.brand-bg-light {
  background: linear-gradient(180deg, #fffbfb 0%, #fff5f5 100%);
}

.brand-bg-dark {
  background: #1a1a2e; /* Keeping Navy, it looks premium with Red */
  color: #c8c8e0;
}

.brand-bg-dark h1,
.brand-bg-dark h2,
.brand-bg-dark h3,
.brand-bg-dark h4 {
  color: #fff;
}

.brand-bg-warm {
  background: #fff5f5;
}

/* ── ICON COLORS ── */

.brand-icon-fill {
  fill: #d62828;
}

/* ── ACCORDION BRAND OVERRIDES ── */

.accordion .accordion-button:not(.collapsed) {
  color: #d62828;
  background-color: #fff5f5;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion .accordion-button:focus {
  border-color: #d62828;
  box-shadow: 0 0 0 0.2rem rgba(214, 40, 40, 0.15);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d62828'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ── FORM OVERRIDES ── */

.form-control:focus {
  border-color: #d62828;
  box-shadow: 0 0 0 0.2rem rgba(214, 40, 40, 0.15);
}

/* ── ANIMATIONS ── */

@keyframes brand-fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-animate {
  animation: brand-fadeUp 0.6s ease both;
}

.brand-animate-d1 {
  animation-delay: 0.05s;
}
.brand-animate-d2 {
  animation-delay: 0.15s;
}
.brand-animate-d3 {
  animation-delay: 0.25s;
}
.brand-animate-d4 {
  animation-delay: 0.35s;
}

/* ── RESPONSIVE ── */

@media (max-width: 991px) {
  .brand-hero-title {
    font-size: 2.2rem;
  }

  .brand-hero-img {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .brand-hero-title {
    font-size: 1.9rem;
  }

  .brand-hero-text {
    font-size: 0.95rem;
  }

  .brand-section-title {
    font-size: 1.7rem;
  }

  .brand-hero {
    padding: 1.5rem 0 3rem;
  }

  .brand-stats {
    justify-content: center;
  }

  .brand-stat {
    padding: 0.6rem 1rem;
  }

  .brand-stat-number {
    font-size: 1.3rem;
  }

  .brand-hero-img {
    max-width: 280px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .brand-hero-title {
    font-size: 1.6rem;
  }

  .brand-stat {
    padding: 0.5rem 0.7rem;
  }

  .brand-stat-number {
    font-size: 1.1rem;
  }

  .brand-hero-img {
    max-width: 240px;
  }
}
