/* ===== CUSTOM CSS FOR MDL COMÉRCIO EXTERIOR ===== */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #2d536a;
    --secondary-color: #2D536A;
    --accent-color: #00bcd4;
    --accent-best-color: yellow;
    --dark-color: #0d1421;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --border-radius: 10px;
    --border-radius-lg: 15px;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 12px 30px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #26c6da 100%);
    border: none;
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 12px 30px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-light);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #26c6da 0%, var(--accent-color) 100%);
    color: white;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-accent-best {
    color: var(--accent-best-color) !important;
}


/* ===== NAVIGATION ===== */
.navbar {
    padding: 0.4rem 0;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    
}
.logo-text {
    font-size: 12px;
    font-weight: 400;
    color: yellow;
    font-family: Arial, sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
}
.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    padding: 10px 15px !important;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(28, 115, 177, 0.4) 0%, rgba(74, 144, 217, 0.8) 100%), 
        url('../images/banner_mdl1.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(63, 81, 181, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-buttons .btn {
    margin: 5px;
    padding: 15px 35px;
    font-size: 1.1rem;
}

.hero-stats {
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.stat-number24-7 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}
/*====== TEAM FOTOS ======== */


.team-member {
    flex: 0 0 auto;
}

.team-photo {
    width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 8%;
    border: 4px solid #f8f9fa;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .team-photo:hover {
        border-color: var(--bs-primary);
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }

/* Responsividade */
@media (max-width: 768px) {
    .d-flex {
        justify-content: center !important;
        gap: 1rem !important;
    }

    .team-photo {
        width: 280px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .team-photo {
        width: 280px;
        height: 180px;
    }
}

/* ===== PAGE HEADERS ===== */
.page-header {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
}

    

    .page-header.bg-sobre {
        padding: 0px !important;
        background: linear-gradient(135deg, rgba(26, 35, 126, 0.7) 0%, rgba(63, 81, 181, 0.8) 100%), url('../images/banner_mdl4.jpg') center/cover no-repeat;
    }
    .page-header.bg-contato {
        padding: 0px !important;
        background: linear-gradient(135deg, rgba(26, 35, 126, 0.7) 0%, rgba(63, 81, 181, 0.8) 100%), url('../images/banner_contato.jpg') center -30%/cover no-repeat;
    }
    .page-header.bg-servico {
        padding:0px !important;
        background: linear-gradient(135deg, rgba(26, 35, 126, 0.7) 0%, rgba(63, 81, 181, 0.8) 100%), url('../images/banner_mdl3.jpg') center/cover no-repeat;
    }

    .page-header.bg-certificacao {
        padding: 0px !important;
        background: linear-gradient(135deg, rgba(26, 35, 126, 0.7) 0%, rgba(63, 81, 181, 0.8) 100%), url('../images/banner_mdl2.jpg') center/cover no-repeat;
    }

.page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.4) 0%, rgba(63, 81, 181, 0.6) 100%);
}

.min-vh-50 {
    min-height: 50vh;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.service-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
    border-bottom: none;
}

/* ===== SERVICE DETAIL CARDS ===== */
.service-detail-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.service-detail-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(63, 81, 181, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.service-detail-card:hover .service-overlay {
    opacity: 1;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.service-content {
    padding: 30px;
}

.service-stats .stat-mini {
    text-align: center;
    padding: 15px;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.service-stats .stat-mini h4 {
    margin-bottom: 5px;
}

/* ===== VALUE CARDS ===== */
.value-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.value-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.5rem;
}

.value-item {
    margin-bottom: 30px;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #26c6da 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 120px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    margin: 0 30px;
    flex: 1;
    border: 1px solid var(--border-color);
}

/* ===== CERTIFICATE CARDS ===== */
.certificate-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.certificate-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.certificate-detail-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.certificate-detail-cardx {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.certificate-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.certificate-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-color);
}

.certificate-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.certificate-benefits li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.certificate-benefits li:last-child {
    border-bottom: none;
}

.certificate-number,
.certificate-validity,
.certificate-code,
.certificate-year {
    background: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* ===== CONTACT FORMS ===== */
.contact-form-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-light);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    padding: 15px 20px;
    transition: var(--transition-fast);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

.contact-info-sidebar {
    position: sticky;
    top: 100px;
}

.contact-card,
.quick-contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h6 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ===== LOGIN SECTION ===== */
.login-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.login-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-color);
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 3rem;
}

.login-info {
    color: white;
    padding: 50px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.feature-content h5 {
    color: white;
    margin-bottom: 10px;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ===== ADDITIONAL COMPONENTS ===== */
.additional-service-card,
.qualification-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.additional-service-card:hover,
.qualification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon-medium,
.qualification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #26c6da 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.process-step {
    position: relative;
    padding: 30px 20px;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.compliance-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.compliance-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stat-card-large {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.location-advantage {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px){
    .hero-section {
        text-align: center;
        padding: 40px 0px;
    }

    .btn-nossa-historia {
        display: flex;
        justify-content: center;
        padding-bottom: 15px;
    }

    .text-accent-best {
        color: var(--accent-best-color) !important;
        font-size: 22px;
    }
    .navbar-collapse {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 120px 0px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content h2 {
        font-size: 1rem;
    }

    .display-2 {
        font-size: 3rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 70px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        top: 0;
        min-width: auto;
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .timeline-content {
        margin: 0;
        margin-top: 60px;
        width: 100%;
    }
    
    .login-info {
        padding: 30px 20px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 15px;
    }
    
    .contact-info-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .service-stats {
        margin-top: 30px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    .btn-nossa-historia {
        display: flex;
        justify-content: center;
        padding-bottom:15px;
    }
    .text-accent-best {
        color: var(--accent-best-color) !important;
        font-size:22px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        text-align: center;
        padding: 120px 0px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }

    .display-2 {
        font-size: 5rem;
    }
    
    .service-card,
    .value-card,
    .certificate-detail-card {
        padding: 30px 20px;
    }
    
    .login-card {
        padding: 40px 30px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    .btn-nossa-historia {
        display: flex;
        justify-content: center;
        padding-bottom: 15px;
    }

    .text-accent-best {
        color: var(--accent-best-color) !important;
        font-size: 22px;
    }
}

/* ===== UTILITY CLASSES ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #26c6da 100%) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) 1;
}

.shadow-custom {
    box-shadow: var(--shadow-medium);
}

.rounded-custom {
    border-radius: var(--border-radius-lg);
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .btn,
    .social-links {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector .dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-weight: 500;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-fast);
    background: var(--secondary-color);
    font-size: 14px;
}

.language-selector .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-selector .flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.language-selector .dropdown-menu {
    background-color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 5px;
}

.language-selector .dropdown-item {
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.language-selector .dropdown-item:hover,
.language-selector .dropdown-item.active {
    background-color: var(--primary-color);
}

.language-selector .dropdown-item .flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 10px;
}

@media (max-width: 991.98px) {
    
    .language-selector {
        margin-top: 15px;
        margin-left: 0 !important;
        text-align: center;
    }
    .language-selector .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
}
