/* ===================== ROOT ===================== */
:root {
  --blue-deep:   #031b4e;
  --blue-royal:  #0d47a1;
  --blue-mid:    #1565c0;
  --blue-bright: #1e88e5;
  --blue-light:  #42a5f5;

  --accent-gold: #f5b400;
  --accent-soft: #fff3c4;
  --accent-line: #e8a800;

  --ink:         #0f1a33;
  --muted:       #5a6b85;
  --surface:     #f5f8fc;
}

* { box-sizing: border-box; }

body {
  font-family: "Poppins", "Segoe UI", Roboto, sans-serif;
  background: var(--surface);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

.text-yellow { color: var(--accent-soft); }

/* ===================== NAVBAR ===================== */
#mainNavbar {
  background: transparent;
  padding: 14px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
  z-index: 1030;
}
#mainNavbar.scrolled {
  background: #fff;
  box-shadow: 0 4px 24px rgba(13,71,161,.10);
  padding: 8px 0;
}

.logo-img {
  height: 52px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  transition: height .3s ease, filter .3s ease;
  flex-shrink: 0;
}
#mainNavbar.scrolled .logo-img {
  height: 44px;
  filter: drop-shadow(0 2px 6px rgba(13,71,161,.25));
}

.brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  transition: color .3s ease;
}
#mainNavbar.scrolled .brand-text { color: var(--blue-royal); }

#mainNavbar .nav-link {
  color: rgba(255,255,255,.92) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
#mainNavbar .nav-link:hover {
  color: var(--accent-soft) !important;
  background: rgba(255,255,255,.08);
}
#mainNavbar .nav-link.active { color: var(--accent-soft) !important; }
#mainNavbar.scrolled .nav-link { color: var(--blue-royal) !important; }
#mainNavbar.scrolled .nav-link:hover,
#mainNavbar.scrolled .nav-link.active {
  color: var(--blue-mid) !important;
  background: rgba(13,71,161,.06);
}

#mainNavbar .navbar-toggler {
  border: 1px solid rgba(255,255,255,.5);
  padding: 6px 10px;
  border-radius: 8px;
}
#mainNavbar .navbar-toggler:focus { box-shadow: none; }
#mainNavbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
#mainNavbar.scrolled .navbar-toggler { border-color: rgba(13,71,161,.3); }
#mainNavbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(13,71,161,1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ===================== BUTTONS ===================== */
.btn-listen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-gold), #e0a300);
  color: #1a1200;
  font-weight: 700;
  font-size: .92rem;
  padding: 11px 22px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 4px 14px rgba(245,180,0,.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-listen:hover {
  background: linear-gradient(135deg, #e0a300, var(--accent-gold));
  color: #1a1200;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245,180,0,.45);
}
.btn-listen:focus-visible {
  outline: 3px solid rgba(245,180,0,.5);
  outline-offset: 2px;
}
.btn-listen.btn-lg { font-size: 1rem; padding: 14px 30px; }

.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ff2d2d;
  display: inline-block;
  animation: pulseDot 1.4s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,45,45,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,45,45,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,45,45,0); }
}

/* ===================== SECTION HELPERS ===================== */
.section-tag, .section-tag-blue {
  display: inline-block;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-tag { color: var(--accent-soft); }
.section-tag-blue { color: var(--blue-mid); }

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.section-title-blue {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-deep);
}
.yellow-underline {
  width: 70px; height: 4px;
  border-radius: 4px;
  background: var(--accent-line);
  margin-top: 14px;
  margin-bottom: 8px;
}

/* ===================== PAGE HEADER ===================== */
.page-header {
  padding: 180px 0 80px;
  background:
    radial-gradient(circle at 85% 90%, rgba(245,180,0,.20) 0%, transparent 45%),
    linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-royal) 60%, var(--blue-mid) 100%);
}
.page-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: .5rem; }
.page-subtitle { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: 0; }

/* ===================== RICH FOOTER ===================== */
.site-footer {
  background: linear-gradient(180deg, #03163f 0%, #031b4e 100%);
  color: rgba(255,255,255,.85);
  padding: 70px 0 0;
  border-top: 4px solid var(--accent-line);
}
.site-footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  background: var(--accent-gold);
  border-radius: 3px;
}
.footer-brand .logo-img {
  height: 54px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.5));
}
.footer-brand .brand-text { color: #fff; font-size: 1.2rem; }
.footer-brand p {
  color: rgba(255,255,255,.7);
  font-size: .92rem;
  line-height: 1.7;
  margin: 18px 0 20px;
  max-width: 320px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s ease, padding-left .2s ease;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--accent-soft);
  padding-left: 6px;
}

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; gap: 12px;
  margin-bottom: 14px;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}
.footer-contact i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: all .2s ease;
}
.footer-socials a:hover {
  background: var(--accent-gold);
  color: var(--blue-deep);
  transform: translateY(-3px);
}

.footer-newsletter .form-control {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: 40px;
  padding: 12px 20px;
  font-size: .9rem;
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,.5); }
.footer-newsletter .form-control:focus {
  background: rgba(255,255,255,.1);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245,180,0,.2);
  color: #fff;
}
.footer-newsletter .btn-listen {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom p { margin: 0; }
.footer-bottom .tagline {
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
  margin-top: 4px;
  font-size: .82rem;
}

/* ===================== MOBILE ===================== */
@media (max-width: 991px) {
  #mainNavbar { background: var(--blue-deep); padding: 10px 0; }
  #mainNavbar.scrolled { background: #fff; }
  #mainNavbar .navbar-collapse {
    background: var(--blue-deep);
    border-radius: 14px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
  }
  #mainNavbar.scrolled .navbar-collapse {
    background: #fff;
    box-shadow: 0 8px 24px rgba(3,27,78,.12);
  }
  #mainNavbar .nav-link { color: #fff !important; }
  #mainNavbar.scrolled .nav-link { color: var(--blue-royal) !important; }
  .brand-text { font-size: 1rem; }
  .logo-img { height: 44px; }
  #mainNavbar.scrolled .logo-img { height: 38px; }
  .page-header { padding: 140px 0 60px; }
  .site-footer { padding: 50px 0 0; }
}

@media (max-width: 575px) {
  .brand-text { font-size: .95rem; }
  .logo-img { height: 40px; }
}

/* ===================== ACCESSIBILITY ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
  border-radius: 6px;
}