/* ============================================================
   HEADER STYLES — 6 Different Layout Presets + WhatsApp Widget
   ============================================================ */

/* ===== GLOBAL RESET ===== */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== FULLY STICKY HEADER (Top Bar + Logo + Nav) ===== */
.header-sticky-part {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1040;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

/* ===== CONTACT BAR (scrolls away) ===== */
.contact-bar {
    background: #1a1a2e;
    color: #ccc;
    padding: 6px 0;
    font-size: 0.8rem;
    margin: 0 !important;
}
.contact-bar .contact-left span { margin-right: 20px; }
.contact-bar .contact-left i { color: #ffcc00; }
.follow-label { font-weight: 600; color: #fff; font-size: 0.78rem; }
.social-icons { display: flex; gap: 4px; }
.social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,0.12); color: #fff;
    font-size: 0.72rem; transition: all 0.2s; text-decoration: none;
}
.social-icons a:hover { background: #4361ee; color: #fff; transform: scale(1.15); }

/* ===== SHARED HEADER ELEMENTS ===== */
.main-header-bar { background: #fff; border-bottom: 1px solid #eee; }
.school-logo { height: 60px; width: auto; }
.school-logo-placeholder {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, #8b0000, #b30000);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.6rem;
}
.school-name {
    font-family: 'Inter', serif; font-weight: 800;
    color: #8b0000; font-size: 1.5rem; letter-spacing: 0.5px;
}
.school-tagline { color: #777; font-size: 0.78rem; }
.header-phone { color: #333; }
.header-phone i { font-size: 1.1rem; color: #8b0000; }
.icon-circle {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(139,0,0,0.08); color: #8b0000;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.btn-login {
    background: #8b0000; color: #fff !important;
    border: 2px solid #8b0000; padding: 8px 22px;
    border-radius: 25px; font-weight: 600; font-size: 0.85rem;
    transition: all 0.2s; text-decoration: none;
}
.btn-login:hover { background: #fff; color: #8b0000 !important; }

/* ===== DEFAULT NAVIGATION BAR ===== */
.site-navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 0; border-bottom: none;
}
.site-navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600; font-size: 0.88rem;
    padding: 13px 18px !important;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
    border-bottom-color: #ffcc00;
}
.site-navbar .dropdown-menu {
    border: none; box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px; border-top: 3px solid #ffcc00; padding: 0;
}
.site-navbar .dropdown-item {
    padding: 10px 20px; font-size: 0.88rem;
    font-weight: 500; transition: all 0.15s;
}
.site-navbar .dropdown-item:hover { background: #1a1a2e; color: #fff; }
.site-navbar .navbar-toggler { border: 2px solid rgba(255,255,255,0.5); padding: 4px 10px; }
.site-navbar .navbar-toggler-icon { filter: invert(1); }

/* (Old style1-style6 variants removed — single unified header design) */


/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .btn-login { font-size: 0.75rem; padding: 6px 14px; }
}
@media (max-width: 767px) {
    .contact-bar .contact-right { display: none !important; }
    .school-name { font-size: 1.1rem !important; }
    .school-logo { height: 45px; }
    .header-phone { display: none !important; }
    .main-header-bar .container { padding-top: 6px !important; padding-bottom: 6px !important; }
    .contact-bar .contact-left span:nth-child(n+2) { display: none; }
}

/* ===== WHATSAPP FLOATING CHAT WIDGET ===== */
.wa-float {
    position: fixed; bottom: 24px; right: 24px;
    z-index: 9999; font-family: 'Inter', sans-serif;
}
.wa-fab {
    width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; border: none;
    font-size: 1.8rem; display: flex; align-items: center;
    justify-content: center; cursor: pointer;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s; animation: wa-pulse 2s infinite;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}
.wa-chat-box {
    position: absolute; bottom: 72px; right: 0; width: 340px;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    animation: wa-slide-up 0.3s ease;
}
@keyframes wa-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.wa-chat-header {
    background: linear-gradient(135deg, #075e54, #128c7e);
    color: #fff; padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between;
}
.wa-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.wa-close {
    background: none; border: none; color: #fff;
    font-size: 1rem; cursor: pointer; opacity: 0.8;
    transition: opacity 0.2s; padding: 4px;
}
.wa-close:hover { opacity: 1; }
.wa-chat-body { background: #e5ddd5; padding: 20px 16px; min-height: 120px; }
.wa-bubble {
    background: #fff; border-radius: 0 10px 10px 10px;
    padding: 10px 14px; font-size: 0.85rem; line-height: 1.5;
    position: relative; box-shadow: 0 1px 2px rgba(0,0,0,0.08); max-width: 85%;
}
.wa-bubble::before {
    content: ''; position: absolute; top: 0; left: -8px;
    border-width: 0 8px 8px 0; border-style: solid;
    border-color: transparent #fff transparent transparent;
}
.wa-time { display: block; text-align: right; font-size: 0.65rem; color: #999; margin-top: 4px; }
.wa-chat-footer { background: #f0f0f0; padding: 10px 12px; }
.wa-chat-footer input { border-radius: 20px; border: 1px solid #ddd; font-size: 0.85rem; }
.wa-chat-footer .btn {
    border-radius: 50%; width: 36px; height: 36px; padding: 0;
    display: flex; align-items: center; justify-content: center;
}
@media (max-width: 480px) {
    .wa-chat-box { width: 290px; right: -10px; }
    .wa-float { bottom: 16px; right: 16px; }
    .wa-fab { width: 52px; height: 52px; font-size: 1.5rem; }
}

/* (Old notification scroll & performer scroll styles removed — now in homepage-styles.css) */
