/* 
   ==========================================================================
   Brand Refresh - Official Logo Color Overrides (#ffc20e)
   ========================================================================== 
*/

:root {
    --primary-color: #ffc20e;
    --primary-dark: #e6b00d;
    --primary-light: #ffcd3e;
    --secondary-color: #e67e22;
}

/* Primary Color Overrides */
.primary-color, 
.blue-color,
.theme-color,
.header-top,
.btn-primary,
.bg-blue,
.bg-primary,
.section-title h2 span,
.section-title h3 span {
    color: #ffc20e !important;
}

/* Background Overrides */
.btn-primary,
.bg-blue,
.bg-primary,
.header-top,
.footer-social-links li a:hover,
.scroll-to-top:hover,
.nav-pills .nav-link.active,
.pagination .page-item.active .page-link,
.tags-list li a:hover,
.sidebar-title:after,
.footer-widget-title:after {
    background-color: #ffc20e !important;
    border-color: #ffc20e !important;
    color: #333 !important;
}

/* Border Overrides */
.btn-primary:hover,
.pagination .page-item.active .page-link,
.form-control:focus {
    border-color: #ffc20e !important;
}

/* Hover States */
.btn-primary:hover {
    background-color: #e67e22 !important;
    border-color: #e67e22 !important;
    color: #fff !important;
}

/* Specific Component Overrides */
.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a {
    color: #ffc20e !important;
}

.sticky-header .main-menu .navigation > li:hover > a,
.sticky-header .main-menu .navigation > li.current > a {
    color: #ffc20e !important;
}

.breadcrumb-item a {
    color: #ffc20e !important;
}

.breadcrumb-item.active {
    color: #666 !important;
}

/* Selection */
::selection {
    background: #ffc20e;
    color: #333;
}

::-moz-selection {
    background: #ffc20e;
    color: #333;
}

/* Icon Colors */
i.primary-color,
.sbox-icon i,
.features-list li i {
    color: #ffc20e !important;
}

/* Hero Gradient Overlay Fix (if needed) */
.page-hero-section {
    position: relative;
}

/* Custom UI Polish */
.btn-primary {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 194, 14, 0.2);
    border: none !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 194, 14, 0.3);
}

/* Global Floating Buttons */
.global-floating-btns {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[dir="rtl"] .global-floating-btns {
    right: auto;
    left: 30px;
}

.floating-btn-item {
    display: flex;
    align-items: center;
    padding: 12px 22px;
    border-radius: 50px;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    border: 2px solid rgba(255,255,255,0.2);
}

.floating-btn-item i {
    font-size: 20px;
    margin-right: 10px;
}

[dir="rtl"] .floating-btn-item i {
    margin-right: 0;
    margin-left: 10px;
}

.floating-btn-item.whatsapp {
    background: #25d366;
}

.floating-btn-item.whatsapp:hover {
    background: #128c7e;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.floating-btn-item.chat {
    background: #ffc20e;
    color: #333 !important;
}

.floating-btn-item.chat:hover {
    background: #e6b000;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 194, 14, 0.4);
}

@media (max-width: 768px) {
    .global-floating-btns {
        bottom: 80px;
        right: 20px;
    }
    [dir="rtl"] .global-floating-btns {
        left: 20px;
    }
    .floating-btn-item .btn-text {
        display: none;
    }
    .floating-btn-item {
        padding: 12px;
        border-radius: 50%;
    }
    .floating-btn-item i {
        margin: 0;
        font-size: 24px;
    }
}
