/*
 * HEADER TOP BAR FIX
 * Fixes text wrapping and icon alignment issues
 * Makes everything fit in single line
 */

/* ============================================
   HEADER TOP BAR - SINGLE LINE FIX
   ============================================ */

.header-top {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%) !important;
    padding: 10px 0 !important;
    overflow: visible !important;
}

.header-top .top-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 20px;
}

.header-top .text {
    flex-shrink: 0;
    white-space: nowrap;
}

.header-top .text p {
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 500;
    margin: 0 !important;
    white-space: nowrap;
}

.header-top .right-column {
    display: flex !important;
    align-items: center !important;
    gap: 20px;
    flex-wrap: nowrap !important;
}

/* Info List - Compact Single Line */
.header-top .info {
    display: flex !important;
    align-items: center !important;
    gap: 25px;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
}

.header-top .info li {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #FFFFFF !important;
    padding: 0 20px 0 0 !important;
    margin: 0 !important;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.header-top .info li:last-child {
    border-right: none;
    padding-right: 0 !important;
}

.header-top .info li:before {
    display: none !important;
}

/* Font Awesome Icons */
.header-top .info li i {
    font-size: 16px !important;
    color: #FFFFFF !important;
    margin-right: 10px !important;
    min-width: 16px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-top .info li i.fa-phone-alt,
.header-top .info li i.fas.fa-phone-alt {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-top .info li i.fa-envelope,
.header-top .info li i.fas.fa-envelope {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Remove old img styles */
.header-top .info li img {
    display: none !important;
}

.header-top .info li a {
    color: #FFFFFF !important;
    font-size: 14px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.header-top .info li a:hover {
    color: #FF6F00 !important;
}

/* Social Links - Compact */
.header-top .social-links {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.header-top .social-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.header-top .social-links li a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-top .social-links li a:hover {
    background: #FF6F00 !important;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Tablet - Hide welcome text, keep contact info */
@media (max-width: 1199px) {
    .header-top .text {
        display: none;
    }
    
    .header-top .info {
        gap: 20px;
    }
    
    .header-top .info li {
        font-size: 13px !important;
        padding-right: 15px !important;
    }
    
    .header-top .info li i {
        font-size: 14px !important;
        margin-right: 8px !important;
    }
    
    .header-top .info li a {
        font-size: 13px !important;
    }
}

/* Mobile - Show only phone and social icons */
@media (max-width: 991px) {
    .header-top {
        padding: 8px 0 !important;
    }
    
    .header-top .text {
        display: none;
    }
    
    .header-top .info {
        gap: 15px;
    }
    
    .header-top .info li:last-child {
        display: none; /* Hide email on mobile */
    }
    
    .header-top .info li {
        font-size: 12px !important;
        padding-right: 0 !important;
        border-right: none !important;
    }
    
    .header-top .info li i {
        font-size: 13px !important;
        margin-right: 6px !important;
    }
    
    .header-top .social-links li a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Extra Small Mobile - Minimal info */
@media (max-width: 767px) {
    .header-top .top-inner {
        gap: 10px;
    }
    
    .header-top .right-column {
        gap: 10px;
    }
    
    .header-top .info {
        gap: 8px;
    }
    
    .header-top .social-links {
        gap: 5px;
    }
    
    .header-top .social-links li a {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

/* Very Small Screens - Phone only */
@media (max-width: 575px) {
    .header-top .info li {
        font-size: 11px !important;
    }
    
    .header-top .info li a {
        font-size: 11px !important;
    }
    
    /* Shorten text on very small screens */
    .header-top .info li {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.header-top .clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Prevent text selection on icons */
.header-top .social-links li a,
.header-top .info li img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Smooth transitions */
.header-top * {
    transition: all 0.3s ease;
}
