/* Topbar Styles */
.topbar {
    background: #f8f9fa;
    color: #666;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #e9ecef;
}

.topbar .contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.topbar .contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    color: #666;
}

.topbar .contact-info i {
    font-size: 12px;
    color: #666;
    width: 14px;
    text-align: center;
}

.topbar .advisor-info {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.topbar .social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar .social-links a {
    color: #666;
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.topbar .social-links a:hover {
    color: #4a7c59;
    background: rgba(74, 124, 89, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .topbar {
        padding: 8px 0;
        text-align: center;
    }
    
    .topbar .row {
        flex-direction: column;
        gap: 5px;
    }
    
    .topbar .col-md-6 {
        width: 100%;
        text-align: center !important;
    }
    
    /* First row: Contact info (email and phone side by side) */
    .topbar .contact-info {
        justify-content: center;
        margin-bottom: 3px;
        flex-wrap: nowrap;
        gap: 20px;
        order: 1;
    }
    
    .topbar .contact-info span {
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* Second row: Social media icons */
    .topbar .social-links {
        justify-content: center;
        margin-bottom: 3px;
        order: 2;
    }
    
    /* Third row: Advisor info */
    .topbar .advisor-info {
        justify-content: center;
        font-size: 12px;
        order: 3;
    }
    
    /* Reorder the right column content */
    .topbar .col-md-6:last-child .d-flex {
        flex-direction: column;
        align-items: center !important;
        gap: 6px !important;
    }
}

@media (max-width: 576px) {
    .topbar {
        padding: 10px 0;
    }
    
    /* Keep contact info side by side on small screens */
    .topbar .contact-info {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 15px;
        margin-bottom: 4px;
    }
    
    .topbar .contact-info span {
        font-size: 11px;
    }
    
    .topbar .social-links {
        margin-bottom: 4px;
    }
    
    .topbar .social-links a {
        width: 30px;
        height: 30px;
        font-size: 13px;
        margin: 0 1px;
    }
    
    .topbar .advisor-info {
        font-size: 13px;
        line-height: 1.4;
    }
}
