/* Shared site header (top info bar + navbar). Loaded on every page. */
    
    /* Custom Color Variables */
:root {
  --maroon-main: #6b001a;
  --maroon-dark: #4a0011;
  --gold-premium: #d4af37;
  --gold-light: #f3e5ab;
  --white: #ffffff;
}

/* Base Navbar Styling */
.premium-navbar {
  background: linear-gradient(135deg, var(--maroon-main) 0%, var(--maroon-dark) 100%);
  border-bottom: 3px solid var(--gold-premium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 12px 0;
  transition: all 0.4s ease;
}

/* Typography & Brand */
.brand-title {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gold-accent {
  color: var(--gold-premium);
  text-shadow: 0px 0px 8px rgba(212, 175, 55, 0.3);
}

.brand-subtitle {
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Icons & Navigation Links */
.icon-spacing {
  margin-right: 8px;
  font-size: 14px;
  color: var(--gold-premium);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 16px !important;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover Animations for Links */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 16px;
  background-color: var(--gold-premium);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 32px);
}

.navbar-nav .nav-link:hover {
  color: var(--gold-light) !important;
}

.navbar-nav .nav-link:hover .icon-spacing {
  transform: translateY(-2px);
}

/* Premium Animated CTA Button */
.btn-premium-cta {
  background-color: var(--gold-premium);
  color: var(--maroon-dark) !important;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--gold-premium);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium-cta:hover {
  background-color: transparent;
  color: var(--gold-premium) !important;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
  transform: scale(1.05);
}

/* Arrow Animation inside CTA */
.btn-premium-cta:hover .arrow-animate {
  transform: translateX(5px);
}
.arrow-animate {
  transition: transform 0.3s ease;
}

/* Mobile Responsive Adjustments */
.custom-toggler {
  border-color: var(--gold-premium) !important;
  padding: 6px 10px;
}

.custom-toggler .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='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

@media (max-width: 991.98px) {
  .nav-links-container {
    padding: 20px 0;
    text-align: center;
  }
  .navbar-nav .nav-link::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    width: 50px;
  }
  .btn-premium-cta {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}
/* Top Info Bar Styling */
.top-info-bar {
  background-color: var(--white);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 13px;
  font-weight: 500;
  color: var(--maroon-dark);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-icon {
  color: var(--gold-premium);
  font-size: 14px;
}

.phone-link {
  color: var(--maroon-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: var(--gold-premium);
}

/* Social Icons in Top Bar */
.top-socials a {
  color: var(--maroon-main);
  opacity: 0.7;
  font-size: 14px;
  transition: all 0.3s ease;
}

.top-socials a:hover {
  color: var(--gold-premium);
  opacity: 1;
  transform: scale(1.1);
}

/* Subtle Subtle Pulse Animation for Phone Icon */
.pulse-animation {
  animation: subtlePulse 2s infinite;
}

@keyframes subtlePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); color: var(--maroon-main); }
  100% { transform: scale(1); }
}

/* ==========================
   PREMIUM LOGO
========================== */

.navbar-brand{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo-wrapper{
    position:relative;
    width:72px;
    height:72px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    overflow:hidden;
    box-shadow:
        0 0 0 3px #d4af37,
        0 0 20px rgba(212,175,55,.5);
    animation:logoFloat 3s ease-in-out infinite;
}

/* Rotating Golden Ring */
.logo-wrapper::before{
    content:"";
    position:absolute;
    inset:-5px;
    border-radius:50%;
    background:conic-gradient(
        transparent,
        #d4af37,
        transparent,
        #f7dc6f,
        transparent
    );
    animation:rotateRing 5s linear infinite;
    z-index:0;
}

/* White Inner Circle */
.logo-wrapper::after{
    content:"";
    position:absolute;
    inset:4px;
    background:#fff;
    border-radius:50%;
    z-index:1;
}
.navbar-logo{
    width:58px;
    height:58px;
    object-fit:cover;
    border-radius:50%;
    border:3px solid #d4af37;
    background:#fff;
    padding:3px;
    box-shadow:
        0 0 0 2px rgba(212,175,55,.35),
        0 0 15px rgba(212,175,55,.45);

    transition:.4s;
    animation:logoFloat 3s ease-in-out infinite;
}

.navbar-logo:hover{
    transform:scale(1.08) rotate(5deg);
    box-shadow:
        0 0 0 3px #d4af37,
        0 0 25px rgba(212,175,55,.8);
}

/* Floating Animation */

@keyframes logoFloat{

    0%,100%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-6px);
    }

}

/* Rotating Ring */

@keyframes rotateRing{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

/* Header is injected into #site-header; let the sticky nav see <body> as its container */
#site-header, .site-header { display: contents; }


/* ===== Courses dropdown menu ===== */
.has-courses-menu { position: relative; }

.courses-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: linear-gradient(135deg, var(--maroon-main) 0%, var(--maroon-dark) 100%);
  border: 1px solid var(--gold-premium);
  border-top: 3px solid var(--gold-premium);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 100000;
}

.courses-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.courses-menu a i {
  width: 18px;
  text-align: center;
  color: var(--gold-premium);
}

.courses-menu a:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  padding-left: 26px;
}

.courses-menu .menu-divider {
  height: 1px;
  margin: 6px 0;
  background: rgba(212, 175, 55, 0.35);
}

.dropdown-chevron {
  font-size: 10px;
  color: var(--gold-premium);
  transition: transform 0.3s ease;
}

/* Desktop: open on hover */
@media (min-width: 992px) {
  .has-courses-menu:hover > .courses-menu { display: block; }
  .has-courses-menu:hover .dropdown-chevron { transform: rotate(180deg); }
}

/* Mobile: tap to open, sits inside the collapsed menu */
@media (max-width: 991.98px) {
  .courses-menu {
    position: static;
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    text-align: left;
  }
  .has-courses-menu.open > .courses-menu { display: block; }
  .has-courses-menu.open .dropdown-chevron { transform: rotate(180deg); }
}
