.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Search */
.search-input {
    max-width: 300px;
    border: none;
    border-bottom: 1px solid #fff;
    background: transparent;
    color: white;
    border-radius: 0;
}

.search-input::placeholder {
    color: white;
    opacity: 0.7;
}

.search-input:focus {
    box-shadow: none;
    outline: none;
    border-bottom: 1px solid #fff;
}

/* WhatsApp animation */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .header-left,
    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .search-input {
        max-width: 100%;
        width: 100%;
    }

    .header-right ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .header-right a.btn {
        width: 100%;
        text-align: center;
    }
}

.search-input::placeholder {
    color: #ffffff;
    /* placeholder color */
    opacity: 0.7;
    background: none;
    /* optional */
}

.search-input::placeholder:focus {
    color: #ffffff;
    /* placeholder color */
    opacity: 0.7;
    background: none;
    /* optional */
}

.search-input:focus {
    background: none !important;
}

/* Royal Dark Palette Integration */
:root {
    --royal-bg: rgb(7, 15, 36);
    /* Your Requested Base */
    --royal-gold: #D4AF37;
    /* Classic Gold */
    --royal-gold-soft: rgba(212, 175, 55, 0.2);
}



/* 1. Glassmorphism Header */
.header-royal {
    background: #333ff4 !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 2. WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background: #20ba5a;
}

/* Call Expert Floating Button */
.call-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #B8860B, #D4AF37);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(80, 86, 209, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.call-float:hover {
    transform: scale(1.1) rotate(-5deg);
    background: #333ff4;
    color: white;
}

@media (max-width: 768px) {
    .call-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 23px;
    }
}

/* 3. Gold Gradient Buttons */
.btn-gold {
   
    color: #ffffff !important;
    font-weight: 800;
    transition: all 0.3s ease;
    border: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

/* 4. Agent Portal Specialized Style */
.agent-link {
    border: 1px solid var(--royal-gold-soft);
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.agent-link:hover {
    border-color: var(--royal-gold);
    background: var(--royal-gold-soft);
}

/* Animation for the "Login" Pulse */
@keyframes gold-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.pulse-gold {
    animation: gold-pulse 2s infinite;
}

/* Mobile Responsive ----*/
/* --- RESPONSIVE HEADER OVERRIDES --- */

@media (max-width: 1024px) {

    /* Adjust logo height for tablets */
    .header-royal img {
        height: 50px !important;
    }

    /* Ensure the container doesn't overflow */
    .header-royal .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {

    /* 1. Header Layout Adjustments */
    .header-royal .container {
        padding-top: 10px;
        padding-bottom: 10px;
        flex-wrap: nowrap;
        /* Keep items on one line */
        height: 50px!important;
    }

    /* 2. Logo sizing for Mobile */
    .header-royal img {
        height: 80px !important;
        width: 100%;
    }

    /* 3. Hide secondary elements to save space */
    .agent-link,
    .header-royal .flex.items-center.gap-4.text-slate-400,
    .header-royal .h-5.w-\[1px\] {
        display: none !important;
    }

    /* 4. Compact Buttons */
    .btn-gold {
        padding: 8px 15px !important;
        font-size: 30px !important;
        border-radius: 8px !important;
    }

    /* 5. Adjusting the gap for the right-side icons */
    .header-royal .flex.items-center.gap-6 {
        gap: 0.75rem !important;
    }

    /* 6. WhatsApp Button Adjustment for Mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 25px;
    }

    /* 7. Fix Offcanvas Width for Mobile */
    .offcanvas {
        width: 85% !important;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 480px) {
    .header-royal img {
        height: 50px !important;
    }

    .btn-gold {
        padding: 12px 12px !important;
        letter-spacing: 0.05em !important;
    }
 .btn-goldold
 {
    color:white!important;
 }

    .autoscrolll-monile {
        display: none !important;
    }
}

/* ===== DISCLAIMER BANNER ===== */
.disclaimer-banner {
    background: #ffffff;
    border-bottom: 2px solid #ffcc00;
    padding: 9px 16px;
    text-align: center;
    top: 0;
    z-index: 1100;
    /* Above header */
    animation: slideDown 0.5s ease;
}



.disclaimer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.disclaimer-icon {
    font-size: 15px;
    flex-shrink: 0;
}

.disclaimer-banner p {
    margin: 0;
    font-size: 12.5px;
    color: #333ff4;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.disclaimer-banner strong {
    color: #333ff4;
    font-weight: 700;
}


@media (max-width: 768px) {
    .disclaimer-banner p {
        font-size: 11px;
    }

    .disclaimer-banner {
        padding: 8px 40px 8px 12px;
    }
}