/* ==========================================================================
   BSLEU Akademie - Global Styles
   ========================================================================== */

:root {
  --bsleu-red: #E5251F;
  --bsleu-blue: #332D7C;
  --bsleu-gold: #F4C400;
  --bsleu-white: #FFFFFF;
  --bsleu-light: #F5F5F5;
  --bsleu-dark: #222222;
  --bsleu-muted: #6b7280;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--bsleu-dark);
  background-color: var(--bsleu-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

a { text-decoration: none; }

.text-brand-red { color: var(--bsleu-red); }
.text-brand-blue { color: var(--bsleu-blue); }
.text-brand-gold { color: var(--bsleu-gold); }
.bg-brand-red { background-color: var(--bsleu-red); }
.bg-brand-blue { background-color: var(--bsleu-blue); }
.bg-brand-gold { background-color: var(--bsleu-gold); }
.bg-brand-light { background-color: var(--bsleu-light); }

.btn-brand-red {
  background-color: var(--bsleu-red);
  border-color: var(--bsleu-red);
  color: #fff;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-brand-red:hover {
  background-color: #c31e19;
  border-color: #c31e19;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(229, 37, 31, 0.35);
}

.btn-brand-blue {
  background-color: var(--bsleu-blue);
  border-color: var(--bsleu-blue);
  color: #fff;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-brand-blue:hover {
  background-color: #241f5c;
  border-color: #241f5c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(51, 45, 124, 0.35);
}

.btn-brand-outline {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.btn-brand-outline:hover {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar-brand-custom {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-brand-custom .logo-badge {
  background: #fff;
  padding: 4px 6px;
  border-radius: 8px;
  border: 1px solid #eee;
  display: inline-flex;
  align-items: center;
}

.navbar-brand-custom .logo-badge img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.navbar-brand-custom .telc-nav-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.navbar-brand-custom .telc-nav-badge img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.navbar-brand-custom .nav-link {
  font-weight: 500;
  color: var(--bsleu-dark);
  margin: 0 0.4rem;
  position: relative;
  font-size: 0.9rem;
}

.navbar-brand-custom .nav-link.active,
.navbar-brand-custom .nav-link:hover {
  color: var(--bsleu-red);
}

.navbar-brand-custom .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--bsleu-red);
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(51,45,124,0.92) 0%, rgba(51,45,124,0.55) 45%, rgba(0,0,0,0.55) 100%);
}

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

.hero-content h1 {
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  line-height: 1.15;
  font-weight: 800;
}

.hero-content p.lead {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
}

/* Fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ---------- Cards ---------- */
.feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(229, 37, 31, 0.15);
}

.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.icon-badge-red { background: rgba(229, 37, 31, 0.1); color: var(--bsleu-red); }
.icon-badge-blue { background: rgba(51, 45, 124, 0.1); color: var(--bsleu-blue); }
.icon-badge-gold { background: rgba(244, 196, 0, 0.2); color: #966f00; }

/* ---------- Stats ---------- */
.stats-panel {
  background: var(--bsleu-blue);
  border-radius: 1.75rem;
  padding: 3rem 2rem;
  color: #fff;
  position: relative;
}

.stats-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(244, 196, 0, 0.4);
  border-radius: 1.75rem;
  transform: rotate(-2deg);
  z-index: -1;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bsleu-gold);
  line-height: 1;
}

.stat-label {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.stat-star {
  color: var(--bsleu-gold);
  font-size: 1rem;
  vertical-align: super;
}

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(120deg, var(--bsleu-red) 0%, #a91b16 100%);
  padding: 5rem 0;
}

/* ---------- Page header ---------- */
.page-header {
  background: linear-gradient(120deg, var(--bsleu-blue) 0%, #221d55 100%);
  color: #fff;
  padding: 7rem 0 5rem;
  text-align: center;
}

/* ---------- Pricing cards ---------- */
.pricing-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1.5rem;
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.badge-partial {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(244, 196, 0, 0.15);
  color: #7a5c00;
  border: 1px solid rgba(244, 196, 0, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}

.level-badge {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bsleu-blue);
}

.price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bsleu-dark);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
}

.star-rating i { color: var(--bsleu-gold); }

/* ---------- Accordion ---------- */
.accordion-button:not(.collapsed) {
  color: var(--bsleu-red);
  background-color: rgba(229, 37, 31, 0.05);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(229, 37, 31, 0.2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bsleu-blue);
  color: rgba(255,255,255,0.85);
  padding-top: 4rem;
  padding-bottom: 1.5rem;
}

.site-footer h5 { color: var(--bsleu-gold); }

.site-footer a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}
.site-footer a:hover { color: #fff; }

.footer-logo-badge {
  background: #fff;
  display: inline-block;
  padding: 0.5rem;
  border-radius: 8px;
  width: 200px;
}
.footer-logo-badge img { width: 100%; object-fit: contain; }

.footer-telc-badge {
  background: #fff;
  display: inline-block;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  margin-top: 10px;
}
.footer-telc-badge img { height: 32px; width: auto; object-fit: contain; display: block; }

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: all 0.25s ease;
}
.social-icon:hover {
  background: var(--bsleu-gold);
  color: var(--bsleu-blue) !important;
}

.footer-map {
  border-radius: 12px;
  overflow: hidden;
  height: 140px;
  margin-top: 1rem;
  border: 2px solid rgba(255,255,255,0.15);
}
.footer-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Floating buttons ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}
.whatsapp-fab:hover {
  background: #128C7E;
  color: #fff;
  transform: translateY(-4px);
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 92px;
  z-index: 999;
  background: var(--bsleu-blue);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 1.2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.scroll-top-btn:hover {
  background: #241f5c;
  transform: translateY(-4px);
}

/* ---------- Map ---------- */
.map-wrapper { height: 400px; width: 100%; }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Form success ---------- */
.form-success { text-align: center; padding: 3rem 1rem; }
.form-success .success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.12); color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; margin: 0 auto 1.5rem;
}

/* ---------- T&C page ---------- */
.tc-section {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.tc-section h3 {
  color: var(--bsleu-blue);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(229,37,31,0.15);
}
.tc-section ul li { margin-bottom: 0.6rem; color: #444; }

@media (max-width: 767.98px) {
  .page-header { padding: 6rem 0 3.5rem; }
  .hero-section { min-height: auto; padding-top: 120px; padding-bottom: 60px; }
  .stats-panel { margin-top: 2rem; }
  .navbar-brand-custom .telc-nav-badge img { height: 36px; }
}
