/* Second Navigation Styles */
.second-nav {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    min-height: 50px;
}

.second-nav .container {
    max-width: 1200px;
}

/* Language Switcher */
.language-switcher {
    min-width: 80px;
}

.language-switcher a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: var(--primary-color);
    background-color: rgba(0, 42, 127, 0.1);
}

.language-switcher span {
    color: #6c757d;
    font-size: 12px;
}

/* Social Icons and Phone */
.social {
    justify-content: center;
    flex: 1;
}

.nav-icon {
    color: #495057;
    text-decoration: none;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}


.nav-icon i {
    font-size: 16px;
}

.nav-icon img {
    filter: brightness(0) saturate(100%) invert(36%) sepia(8%) saturate(1282%)
        hue-rotate(169deg) brightness(96%) contrast(96%);
    transition: filter 0.3s ease;
}

.nav-icon:hover img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(100%) saturate(3000%)
        hue-rotate(220deg) brightness(95%) contrast(102%);
}

/* Auth Controls */
.auth-controls {
    min-width: 80px;
    justify-content: flex-end;
}

.btn-logout {
    background: none;
    border: none;
    cursor: pointer;
}

.btn-logout:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 42, 127, 0.1),
        rgba(237, 28, 36, 0.1)
    ) !important;
}

/* Social Icon Colors */
.social .nav-icon .fa-instagram {
    color: #E4405F;
}

.social .nav-icon .fa-facebook-f {
    color: #1877F2;
}

.social .nav-icon .fa-telegram-plane {
    color: #26A5E4;
}

.social .nav-icon .fa-whatsapp {
    color: #25D366;
}

.social .nav-icon:hover {
    transform: scale(1.2) translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* Responsive Design */
@media (max-width: 768px) {
    .second-nav .container {
        /* flex-direction: column; */
        gap: 10px;
        padding: 8px 15px;
    }

    .language-switcher,
    .auth-controls {
        min-width: auto;
    }

    .social {
        order: -1;
        margin-bottom: 5px;
    }

    .language-switcher,
    .auth-controls {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .second-nav .container {
        /* flex-direction: column; */
        gap: 0px;
        padding: 8px 10px;
    }
    .nav-icon {
        width: 28px;
        height: 28px;
        padding: 4px;
    }

    .nav-icon i {
        font-size: 14px;
    }

    .nav-icon img {
        width: 16px;
        height: 16px;
    }

    .social {
        gap: 0px;
    }
}