/* ==========================================================================
   BPL Template — Core Styles
   ========================================================================== */

:root {
  --bpl-navy: #0b1f3a;
  --bpl-navy-dark: #071527;
  --bpl-gold: #f4b400;
  --bpl-gold-dark: #d69a00;
  --bpl-red: #c0392b;
  --bpl-white: #ffffff;
  --bpl-light: #f5f6f8;
  --bpl-gray: #6c757d;
  --bpl-text: #212529;
  --bpl-radius: 0.75rem;
  --bpl-shadow: 0 0.5rem 1.5rem rgba(11, 31, 58, 0.12);
  --bpl-transition: all 0.25s ease-in-out;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--bpl-text);
  background-color: var(--bpl-white);
  padding-top: 76px;
}

.navbar-bpl {
  height: 76px;
  padding-top: 0;
  padding-bottom: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title .tag {
  display: inline-block;
  color: var(--bpl-gold-dark);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-weight: 800;
  color: var(--bpl-navy);
}

.section-title p {
  color: var(--bpl-gray);
  max-width: 620px;
  margin: 0.5rem auto 0;
}

.bg-navy {
  background-color: var(--bpl-navy) !important;
}

.bg-light-alt {
  background-color: var(--bpl-light) !important;
}

.text-gold {
  color: var(--bpl-gold) !important;
}

.btn-gold {
  background-color: var(--bpl-gold);
  border-color: var(--bpl-gold);
  color: var(--bpl-navy-dark);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: var(--bpl-gold-dark);
  border-color: var(--bpl-gold-dark);
  color: var(--bpl-navy-dark);
}

.btn-outline-gold {
  border-color: var(--bpl-gold);
  color: var(--bpl-gold);
  font-weight: 700;
}

.btn-outline-gold:hover {
  background-color: var(--bpl-gold);
  color: var(--bpl-navy-dark);
}

/* ---------- Navbar ---------- */
.navbar-bpl {
  background-color: var(--bpl-navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: var(--bpl-transition);
}

.navbar-bpl .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--bpl-white);
}

.navbar-bpl .navbar-brand img {
  height: 42px;
  width: auto;
}

.navbar-bpl .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin: 0 0.35rem;
  position: relative;
}

.navbar-bpl .nav-link.active,
.navbar-bpl .nav-link:hover {
  color: var(--bpl-gold);
}

.navbar-bpl .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--bpl-gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bpl-navy) 0%, var(--bpl-navy-dark) 100%);
  color: var(--bpl-white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(244, 180, 0, 0.15), transparent 45%);
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.15;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

.page-hero {
  background: linear-gradient(135deg, var(--bpl-navy) 0%, var(--bpl-navy-dark) 100%);
  color: var(--bpl-white);
  padding: 5.5rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-weight: 800;
}

.breadcrumb-bpl {
  justify-content: center;
  background: transparent;
  margin-bottom: 0;
}

.breadcrumb-bpl a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-bpl .active {
  color: var(--bpl-gold);
}

/* ---------- Home Slider ---------- */
.home-slider {
  position: relative;
}

.home-slider .slider-img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
  width: 4rem;
}

.home-slider .carousel-control-prev-icon,
.home-slider .carousel-control-next-icon {
  background-color: rgba(244, 180, 0, 0.85);
  border-radius: 50%;
  padding: 1.2rem;
  background-size: 50%;
}

.home-slider .carousel-indicators [data-bs-target] {
  background-color: var(--bpl-gold);
}


/* ---------- Notice Ticker ---------- */
.notice-bar {
  display: flex;
  align-items: stretch;
  background: var(--bpl-navy-dark);
  color: var(--bpl-white);
  overflow: hidden;
}

.notice-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bpl-gold);
  color: var(--bpl-navy-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.5rem;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.notice-label::after {
  content: "";
  position: absolute;
  top: 0;
  right: -22px;
  bottom: 0;
  width: 22px;
  background: var(--bpl-gold);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.notice-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.notice-track {
  display: flex;
  width: max-content;
  animation: notice-scroll 28s linear infinite;
}

.notice-track-wrap:hover .notice-track {
  animation-play-state: paused;
}

.notice-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

@keyframes notice-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-track {
    animation: none;
  }
}

@media (max-width: 575.98px) {
  .notice-label {
    padding: 0.75rem 1rem;
    font-size: 0.7rem;
  }

  .notice-item {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
}

/* ---------- Countdown ---------- */
.countdown-section {
  background: linear-gradient(135deg, var(--bpl-navy) 0%, var(--bpl-navy-dark) 100%);
  color: var(--bpl-white);
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 30%, rgba(244, 180, 0, 0.12), transparent 45%);
}

.countdown-section .container {
  position: relative;
  z-index: 1;
}

.countdown-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.countdown-box {
  width: 110px;
  padding: 1.1rem 0.5rem;
  border-radius: var(--bpl-radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 180, 0, 0.35);
  text-align: center;
}

.countdown-box .countdown-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--bpl-gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-box .countdown-unit {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 575.98px) {
  .countdown-box {
    width: 78px;
    padding: 0.85rem 0.4rem;
  }

  .countdown-box .countdown-number {
    font-size: 1.6rem;
  }
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  position: relative;
  background: var(--bpl-white);
  border-radius: var(--bpl-radius);
  box-shadow: var(--bpl-shadow);
  padding: 2.25rem 1.75rem 1.75rem;
  height: 100%;
  transition: var(--bpl-transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(11, 31, 58, 0.18);
}

.testimonial-quote-mark {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(244, 180, 0, 0.25);
  font-family: Georgia, serif;
  font-weight: 800;
}

.testimonial-stars {
  color: var(--bpl-gold);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  color: var(--bpl-text);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bpl-gold);
}

.testimonial-author h6 {
  margin-bottom: 0.1rem;
  font-weight: 700;
  color: var(--bpl-navy);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--bpl-gray);
}

.testimonial-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 1.5rem;
}

.testimonial-track-wrap::before,
.testimonial-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}

.testimonial-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bpl-white), transparent);
}

.testimonial-track-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bpl-white), transparent);
}

.testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  width: max-content;
  animation: testimonial-scroll 36s linear infinite;
}

.testimonial-track-wrap:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-track .testimonial-card {
  flex: 0 0 340px;
  width: 340px;
}

@keyframes testimonial-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 575.98px) {
  .testimonial-track .testimonial-card {
    flex-basis: 280px;
    width: 280px;
  }

  .testimonial-track-wrap::before,
  .testimonial-track-wrap::after {
    width: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }
}

/* ---------- Cards ---------- */
.card-bpl {
  border: none;
  border-radius: var(--bpl-radius);
  box-shadow: var(--bpl-shadow);
  overflow: hidden;
  transition: var(--bpl-transition);
  height: 100%;
}

.card-bpl:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(11, 31, 58, 0.18);
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--bpl-radius);
  background: var(--bpl-white);
  box-shadow: var(--bpl-shadow);
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bpl-navy);
}

.stat-card .stat-number span {
  color: var(--bpl-gold-dark);
}

.stat-card .stat-label {
  color: var(--bpl-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Team Card ---------- */
.team-card {
  position: relative;
  border-radius: var(--bpl-radius);
  overflow: hidden;
  box-shadow: var(--bpl-shadow);
  transition: var(--bpl-transition);
  border-bottom: 4px solid transparent;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1.25rem 2.5rem rgba(11, 31, 58, 0.25);
  border-bottom-color: var(--bpl-gold);
}

.team-card .team-img-wrap {
  overflow: hidden;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover img {
  transform: scale(1.1);
}

.team-card .team-ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--bpl-gold);
  color: var(--bpl-navy-dark);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 0.25rem 0.6rem rgba(0, 0, 0, 0.25);
}

.team-card .team-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(11, 31, 58, 0.97) 15%, transparent 100%);
  color: var(--bpl-white);
  padding: 2.5rem 1.25rem 1.25rem;
  transition: var(--bpl-transition);
}

.team-card .team-overlay h5 {
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.team-card .team-overlay p {
  color: var(--bpl-gold);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.team-card .team-view-squad {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--bpl-white);
  font-weight: 700;
  font-size: 0.8rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.team-card:hover .team-view-squad {
  max-height: 2rem;
  opacity: 1;
  margin-top: 0.6rem;
}

.team-card .team-view-squad svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.team-card:hover .team-view-squad svg {
  transform: translateX(4px);
}

/* ---------- Player Card ---------- */
.player-card {
  text-align: center;
}

.player-card .player-photo {
  border-radius: var(--bpl-radius);
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 1 / 1;
}

.player-card .player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-card h6 {
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.player-card .role {
  color: var(--bpl-gray);
  font-size: 0.85rem;
}

/* ---------- Gallery ---------- */
.gallery-filters,
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gallery-filters .btn,
.filter-tabs .btn {
  border-radius: 50px;
  padding: 0.4rem 1.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--bpl-transition);
}

.gallery-item {
  border-radius: var(--bpl-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: var(--bpl-transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 58, 0.55);
  color: var(--bpl-white);
  opacity: 0;
  transition: var(--bpl-transition);
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
}

/* ---------- Trials ---------- */
.trial-card {
  border-radius: var(--bpl-radius);
  box-shadow: var(--bpl-shadow);
  padding: 1.75rem;
  height: 100%;
  border-top: 4px solid var(--bpl-gold);
}

.trial-card .trial-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bpl-navy);
  color: var(--bpl-white);
  border-radius: 0.5rem;
  padding: 0.5rem 0.9rem;
  margin-bottom: 1rem;
}

.trial-card .trial-date .day {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.trial-card .trial-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-open {
  background: rgba(40, 167, 69, 0.15);
  color: #1e7e34;
}

.status-closed {
  background: rgba(192, 57, 43, 0.15);
  color: var(--bpl-red);
}

.status-upcoming {
  background: rgba(244, 180, 0, 0.15);
  color: var(--bpl-gold-dark);
}

/* ---------- Certificate ---------- */
.certificate-frame {
  border: 10px solid var(--bpl-navy);
  outline: 2px solid var(--bpl-gold);
  outline-offset: -18px;
  border-radius: 0.5rem;
  padding: 3rem 2rem;
  background: var(--bpl-white);
  text-align: center;
}

.certificate-frame .cert-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--bpl-navy);
}

.certificate-frame .cert-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  color: var(--bpl-gold-dark);
  border-bottom: 2px solid var(--bpl-gold);
  display: inline-block;
  padding: 0 1rem 0.5rem;
  margin: 1rem 0;
}

/* ---------- Forms ---------- */
.form-bpl {
  background: var(--bpl-white);
  border-radius: var(--bpl-radius);
  box-shadow: var(--bpl-shadow);
  padding: 2.5rem;
}

.form-bpl .form-label {
  font-weight: 600;
  color: var(--bpl-navy);
}

.form-bpl .form-control,
.form-bpl .form-select {
  border-radius: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-color: #dee2e6;
}

.form-bpl .form-control:focus,
.form-bpl .form-select:focus {
  border-color: var(--bpl-gold);
  box-shadow: 0 0 0 0.2rem rgba(244, 180, 0, 0.25);
}

.form-success,
.form-error {
  display: none;
  border-radius: 0.5rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.form-success {
  background: rgba(40, 167, 69, 0.12);
  color: #1e7e34;
}

.form-error {
  background: rgba(192, 57, 43, 0.12);
  color: var(--bpl-red);
}

/* ---------- Contact Icon Cards ---------- */
.contact-info-card {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--bpl-radius);
  background: var(--bpl-white);
  box-shadow: var(--bpl-shadow);
  height: 100%;
  transition: var(--bpl-transition);
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(11, 31, 58, 0.18);
}

.contact-icon-wrap {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-wrap::before,
.contact-icon-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(244, 180, 0, 0.25);
  animation: contact-ping 2.4s ease-out infinite;
}

.contact-icon-wrap::after {
  animation-delay: 1.2s;
}

.contact-icon-circle {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bpl-navy) 0%, var(--bpl-navy-dark) 100%);
  color: var(--bpl-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: contact-float 3s ease-in-out infinite;
}

.contact-info-card:hover .contact-icon-circle {
  color: var(--bpl-navy-dark);
  background: var(--bpl-gold);
  transform: scale(1.08) rotate(-6deg);
}

.contact-icon-circle svg {
  width: 30px;
  height: 30px;
  transition: var(--bpl-transition);
}

.contact-info-card h5 {
  font-weight: 700;
  color: var(--bpl-navy);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.contact-info-card p {
  color: var(--bpl-gray);
  margin-bottom: 0;
}

@keyframes contact-ping {
  0% {
    transform: scale(0.9);
    opacity: 0.55;
  }
  80% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes contact-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-icon-wrap::before,
  .contact-icon-wrap::after,
  .contact-icon-circle {
    animation: none;
  }
}

/* ---------- Terms Accordion ---------- */
.tc-intro-icon-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.tc-intro-icon-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(244, 180, 0, 0.25);
  animation: contact-ping 2.4s ease-out infinite;
}

.tc-intro-icon-circle {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bpl-navy) 0%, var(--bpl-navy-dark) 100%);
  color: var(--bpl-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: contact-float 3s ease-in-out infinite;
}

.tc-intro-icon-circle svg {
  width: 34px;
  height: 34px;
}

@media (prefers-reduced-motion: reduce) {
  .tc-intro-icon-wrap::before,
  .tc-intro-icon-circle {
    animation: none;
  }
}

.tc-accordion-item {
  background: var(--bpl-white);
  border-radius: var(--bpl-radius);
  box-shadow: var(--bpl-shadow);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--bpl-transition);
}

.tc-accordion-item:hover {
  box-shadow: 0 1rem 2rem rgba(11, 31, 58, 0.16);
}

.tc-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.tc-icon-circle {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bpl-navy) 0%, var(--bpl-navy-dark) 100%);
  color: var(--bpl-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--bpl-transition);
}

.tc-accordion-header[aria-expanded="true"] .tc-icon-circle {
  background: var(--bpl-gold);
  color: var(--bpl-navy-dark);
}

.tc-icon-circle svg {
  width: 22px;
  height: 22px;
}

.tc-title {
  flex: 1;
  font-weight: 700;
  color: var(--bpl-navy);
  font-size: 1.02rem;
}

.tc-chevron {
  flex-shrink: 0;
  display: flex;
  color: var(--bpl-gray);
  transition: transform 0.35s ease, color 0.35s ease;
}

.tc-accordion-header[aria-expanded="true"] .tc-chevron {
  transform: rotate(180deg);
  color: var(--bpl-gold-dark);
}

.tc-chevron svg {
  width: 20px;
  height: 20px;
}

.tc-body {
  padding: 0 1.5rem 1.5rem calc(46px + 1.1rem + 1.5rem);
  color: var(--bpl-gray);
}

@media (max-width: 575.98px) {
  .tc-accordion-header {
    padding: 1rem;
    gap: 0.75rem;
  }

  .tc-icon-circle {
    width: 38px;
    height: 38px;
  }

  .tc-icon-circle svg {
    width: 18px;
    height: 18px;
  }

  .tc-title {
    font-size: 0.9rem;
  }

  .tc-body {
    padding: 0 1rem 1.25rem calc(38px + 0.75rem + 1rem);
    font-size: 0.9rem;
  }
}

/* ---------- Footer ---------- */
.footer-bpl {
  background: var(--bpl-navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-bpl h5 {
  color: var(--bpl-white);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.footer-bpl a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--bpl-transition);
}

.footer-bpl a:hover {
  color: var(--bpl-gold);
}

.footer-bpl .social-icons {
  display: flex;
  gap: 0.75rem;
}

.footer-bpl .social-icons a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bpl .social-icons a:hover {
  background: var(--bpl-gold);
}

.footer-bpl .social-icons img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Floating Call / WhatsApp Actions ---------- */
.floating-actions {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fab-item {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
}

.fab-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: contact-ping 2.2s ease-out infinite;
  z-index: 1;
}

.fab-ping-whatsapp {
  background: rgba(37, 211, 102, 0.5);
}

.fab-ping-call {
  background: rgba(11, 31, 58, 0.5);
}

.fab-circle {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bpl-white);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.3);
  transition: var(--bpl-transition);
}

.fab-item:hover .fab-circle {
  transform: scale(1.1);
}

.fab-circle svg {
  width: 26px;
  height: 26px;
}

.fab-whatsapp {
  background: #25d366;
}

.fab-call {
  background: var(--bpl-navy);
}

@media (prefers-reduced-motion: reduce) {
  .fab-ping {
    animation: none;
  }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-left {
  transform: translateX(-48px);
}

.reveal.reveal-right {
  transform: translateX(48px);
}

.reveal.reveal-scale {
  transform: scale(0.85);
}

.reveal.revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }
.reveal-delay-9 { transition-delay: 0.9s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Mission / Vision Cards ---------- */
.mv-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2.75rem 2rem;
}

.mv-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 4px;
  width: 0;
  background: var(--bpl-gold);
  transition: width 0.4s ease, left 0.4s ease;
}

.mv-card:hover::after {
  width: 100%;
  left: 0;
}

.mv-icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
}

.mv-icon-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(244, 180, 0, 0.25);
  animation: contact-ping 2.4s ease-out infinite;
}

.mv-icon-circle {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bpl-navy) 0%, var(--bpl-navy-dark) 100%);
  color: var(--bpl-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: contact-float 3s ease-in-out infinite;
}

.mv-card:hover .mv-icon-circle {
  background: var(--bpl-gold);
  color: var(--bpl-navy-dark);
  transform: scale(1.08) rotate(-6deg);
}

.mv-icon-circle svg {
  width: 32px;
  height: 32px;
  transition: var(--bpl-transition);
}

@media (prefers-reduced-motion: reduce) {
  .mv-icon-wrap::before,
  .mv-icon-circle {
    animation: none;
  }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bpl-gold);
  color: var(--bpl-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--bpl-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--bpl-transition);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bpl-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(244, 180, 0, 0.25);
  border-top-color: var(--bpl-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 39, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  padding: 2rem;
}

.lightbox-overlay.show {
  display: flex;
}

.lightbox-overlay img {
  max-height: 85vh;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--bpl-white);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}
