/* Custom Header Styles - Blue Theme Matching Barrick Color Scheme */

/* Main Header Three Top Section */
.main-header-three__top {
    background: linear-gradient(135deg, #044a61 0%, #06607f 50%, #0983a8 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(6, 96, 127, 0.3);
}

/* Content Box Styling */
.main-header-three__content-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 96, 127, 0.2);
    border-radius: 15px;
    padding: 15px 20px;
    /* margin: 10px 0; */
    transition: all 0.3s ease;
}

.main-header-three__content-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.15);
}

.main-header-three__top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 96, 127, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(9, 131, 168, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.main-header-three__top-inner {
    position: relative;
    z-index: 2;
}

/* Contact List Styling */
.main-header-three__contact-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-header-three__contact-list li {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(6, 96, 127, 0.2);
    border-radius: 25px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.main-header-three__contact-list li:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(212, 175, 55, 0.2);
}

.main-header-three__contact-list .icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-header-three__contact-list .icon:hover {
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border-color: rgba(212, 175, 55, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}

.main-header-three__contact-list .icon:hover i {
    color: #1a1a1a;
}

.main-header-three__contact-list .icon i {
    color: #ffffff;
    font-size: 14px;
    transition: color 0.3s ease;
}

.main-header-three__contact-list .text p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.main-header-three__contact-list .text a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.main-header-three__contact-list .text a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: translateX(2px);
}

/* Search and Language Switcher */
.main-header-three__search-lan-switcher-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 96, 127, 0.2);
    border-radius: 25px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.main-header-three__search-lan-switcher-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(212, 175, 55, 0.2);
}

.main-header-three__search {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 96, 127, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-header-three__search:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
    color: #D4AF37;
    transform: scale(1.05);
}

.main-header-three__search i {
    font-size: 16px;
}

/* Language Switcher */
.language-switcher .selectpicker {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 96, 127, 0.3);
    border-radius: 20px;
    color: #ffffff;
    padding: 8px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.language-switcher .selectpicker:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
}

.language-switcher .selectpicker:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* AI Assistant Button */
.ai-assistant-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #E5C65A 100%);
    border: none;
    border-radius: 25px;
    color: #ffffff!important;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ai-assistant-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.ai-assistant-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #B8961F 0%, #D4AF37 100%);
    color: #ffffff!important;
}

.ai-assistant-btn:hover::before {
    left: 100%;
}

.ai-assistant-btn i {
    font-size: 16px;
    animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ai-assistant-btn .btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* AI Assistant Button Variants */
.ai-assistant-btn.primary {
    background: linear-gradient(135deg, #D4AF37 0%, #E5C65A 100%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ai-assistant-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #B8961F 0%, #D4AF37 100%);
    color: #ffffff;
}

.ai-assistant-btn.secondary {
    background: linear-gradient(135deg, #06607f 0%, #0887b5 100%);
    box-shadow: 0 4px 15px rgba(6, 96, 127, 0.3);
}

.ai-assistant-btn.secondary:hover {
    box-shadow: 0 8px 25px rgba(6, 96, 127, 0.4);
}

.ai-assistant-btn.tertiary {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.ai-assistant-btn.tertiary:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Professional AI Button with Modern Design */
.ai-assistant-btn.professional {
    background: linear-gradient(135deg, #044a61 0%, #06607f 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(6, 96, 127, 0.3);
    position: relative;
}

.ai-assistant-btn.professional::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 25px;
    pointer-events: none;
}

.ai-assistant-btn.professional:hover {
    background: linear-gradient(135deg, #06607f 0%, #0983a8 100%);
    box-shadow: 0 8px 30px rgba(6, 96, 127, 0.4);
    transform: translateY(-3px);
}

/* ========================================
   GOLDEN DROPDOWN ARROWS FOR NAVIGATION
======================================== */

/* Add golden dropdown arrow to menu items with submenus */
.main-menu .main-menu__list > li.dropdown > a::after,
.main-menu-three .main-menu__list > li.dropdown > a::after {
    content: '\f107';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    color: #D4AF37 !important;
    transition: all 0.3s ease;
}

/* Rotate arrow on hover */
.main-menu .main-menu__list > li.dropdown:hover > a::after,
.main-menu-three .main-menu__list > li.dropdown:hover > a::after {
    transform: rotate(180deg);
    color: #E5C65A !important;
}

/* For mobile nav dropdowns */
.mobile-nav__content .menu-box ul li.dropdown > a::after {
    content: '\f107';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    color: #D4AF37 !important;
    transition: all 0.3s ease;
}

.mobile-nav__content .menu-box ul li.dropdown.expanded > a::after {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .main-header-three__top-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-header-three__search-lan-switcher-btn {
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .main-header-three__top {
        padding: 20px 0;
    }
    
    .main-header-three__content-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .main-header-three__contact-list {
        justify-content: center;
    }
    
    .ai-assistant-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .main-header-three__contact-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-header-three__search-lan-switcher-btn {
        flex-direction: column;
        gap: 10px;
    }
    
    .ai-assistant-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .ai-assistant-btn .btn-text {
        display: none;
    }
    
    .ai-assistant-btn i {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .main-header-three__top {
        padding: 15px 0;
    }
    
    .ai-assistant-btn {
        padding: 6px 12px;
        border-radius: 20px;
    }
}

/* Animation Effects */
@keyframes headerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-header-three__top {
    animation: headerSlideIn 0.8s ease-out;
}

/* Hover Effects for Contact Items */
.main-header-three__contact-list li {
    transition: all 0.3s ease;
}

.main-header-three__contact-list li:hover {
    transform: translateY(-2px);
}

/* Professional Button with AI Branding */
.ai-assistant-btn.ai-brand {
    background: linear-gradient(135deg, #06607f 0%, #D4AF37 50%, #E5C65A 100%);
    background-size: 200% 200%;
    animation: aiGradient 3s ease infinite;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    color: #ffffff;
}

@keyframes aiGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ai-assistant-btn.ai-brand:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
    color: #ffffff;
}

.ai-assistant-btn.ai-brand i {
    animation: aiRotate 2s linear infinite;
}

@keyframes aiRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   Update One Section - Blue Brand Theme
======================================== */

/* Update One Section Background */
.update-one {
    background: linear-gradient(135deg, #044a61 0%, #06607f 50%, #0983a8 100%) !important;
    position: relative;
    overflow: hidden;
}

.update-one::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 96, 127, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(9, 131, 168, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(8, 135, 181, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Update One Left Box - BRA Updates */
.update-one__city-update-box {
    background: linear-gradient(135deg, #06607f, #0887b5) !important;
    border: 1px solid rgba(6, 96, 127, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.update-one__city-update-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
}

.update-one__city-update-text p {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Update One Text Styling */
.update-one__text {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 28px !important;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Update One Navigation Arrows */
.update-one__carousel.owl-theme .owl-nav .owl-next,
.update-one__carousel.owl-theme .owl-nav .owl-prev {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.update-one__carousel.owl-theme .owl-nav .owl-next:hover,
.update-one__carousel.owl-theme .owl-nav .owl-prev:hover {
    background: linear-gradient(135deg, #D4AF37, #E5C65A) !important;
    border-color: rgba(212, 175, 55, 0.5);
    color: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Update One Section Responsive */
@media (max-width: 768px) {
    .update-one__city-update-box {
        margin-bottom: 15px;
    }
    
    .update-one__text {
        font-size: 16px !important;
        line-height: 24px !important;
    }
}
