/* Premium top bar — contact ribbon + CBSE credentials strip */

.site-topbar-premium {
    position: relative;
    z-index: 1001;
}

/* Gold contact ribbon */
.site-topbar-premium__ribbon {
    position: relative;
    overflow: hidden;
    background: linear-gradient(105deg, #c9972e 0%, #e8b84a 28%, #f5c842 52%, #e0ad3a 78%, #c9972e 100%);
    background-size: 220% 100%;
    animation: topbarRibbonShimmer 8s linear infinite;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
@keyframes topbarRibbonShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 220% center; }
}
.site-topbar-premium__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: topbarShineSweep 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes topbarShineSweep {
    0%, 100% { transform: translateX(-120%); }
    50% { transform: translateX(120%); }
}
.site-topbar-premium__ribbon-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1.25rem;
    padding: 0.55rem 0;
}
.site-topbar-premium__contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.35rem;
}
.site-topbar-premium__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--navy-dark, #0f1d45);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.3s ease, transform 0.3s ease;
}
.site-topbar-premium__contact:hover {
    color: var(--navy, #1a2f6b);
    transform: translateY(-1px);
}
.site-topbar-premium__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: rgba(15, 29, 69, 0.12);
    color: var(--navy-dark, #0f1d45);
    font-size: 0.72rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.site-topbar-premium__contact:hover .site-topbar-premium__contact-icon {
    background: var(--navy-dark, #0f1d45);
    color: var(--saffron-light, #f5c842);
    transform: scale(1.06);
}
.site-topbar-premium__social {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.site-topbar-premium__social a {
    width: 1.85rem;
    height: 1.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(15, 29, 69, 0.1);
    color: var(--navy-dark, #0f1d45);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-topbar-premium__social a:hover {
    background: var(--navy-dark, #0f1d45);
    color: var(--saffron-light, #f5c842);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 16px rgba(15, 29, 69, 0.25);
}

/* Navy credentials strip */
.site-topbar-premium__credentials {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--navy-dark, #0f1d45) 0%, #132654 50%, var(--navy-dark, #0f1d45) 100%);
    border-bottom: 1px solid rgba(212, 168, 75, 0.15);
    padding: 0.65rem 0;
}
.site-topbar-premium__credentials-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 120% at 20% 50%, rgba(212, 168, 75, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 120% at 80% 50%, rgba(212, 168, 75, 0.1) 0%, transparent 55%);
    pointer-events: none;
}
.site-topbar-premium__badges {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem 0.75rem;
}
.site-topbar-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: topbarBadgeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.site-topbar-premium__badge:nth-child(2) {
    animation-delay: 0.1s;
}
.site-topbar-premium__badge i {
    color: var(--saffron, #d4a84b);
    font-size: 0.88rem;
    filter: drop-shadow(0 0 6px rgba(212, 168, 75, 0.45));
}
@keyframes topbarBadgeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .site-topbar-premium__ribbon-inner {
        justify-content: center;
        text-align: center;
    }
    .site-topbar-premium__contacts {
        justify-content: center;
        gap: 0.5rem 1rem;
    }
    .site-topbar-premium__contact--email span:last-child {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .site-topbar-premium__contact--secondary {
        display: none;
    }
    .site-topbar-premium__badges {
        gap: 0.45rem;
    }
    .site-topbar-premium__badge {
        font-size: 0.68rem;
        padding: 0.38rem 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-topbar-premium__ribbon,
    .site-topbar-premium__shine,
    .site-topbar-premium__badge {
        animation: none;
    }
}
