:root {
    --primary: #2c3e50;
    --primary-dark: #1a3a8f;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, #c0392b 100%);
    --gradient-topbar: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--light);
    color: var(--dark);
}

/* Top Bar - Modernized */
.top-bar {
    background: var(--gradient-topbar);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1040;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

    .top-bar a {
        color: rgba(255,255,255,0.8);
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

        .top-bar a:hover {
            color: white;
            opacity: 1;
        }

    .top-bar i {
        margin-right: 5px;
        font-size: 0.9rem;
    }

/* Remove old language selector styling */
#language-selector {
    display: none;
}

/* New language selector styling */
.language-selector {
    position: relative;
    z-index: 1050; /* Higher than navbar */
}

    .language-selector .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.25rem 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        color: #fff;
        background: transparent;
        transition: all 0.3s ease;
        font-size: 0.9rem;
        cursor: pointer;
        text-decoration: none;
    }

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

        .language-selector .dropdown-toggle::after {
            margin-left: 0.5rem;
            font-size: 0.8rem;
        }

    .language-selector .dropdown-menu {
        min-width: 200px;
        padding: 0.5rem;
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        background: #fff;
        margin-top: 0.5rem;
        z-index: 1051; /* Higher than the toggle button */
    }

    .language-selector .dropdown-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        transition: all 0.2s ease;
        font-size: 0.9rem;
        cursor: pointer;
        text-decoration: none;
        color: #333;
    }

        .language-selector .dropdown-item:hover {
            background: #f8f9fa;
            color: #333;
        }

        .language-selector .dropdown-item.active {
            background: #e9ecef;
        }

    .language-selector .flag-icon {
        width: 20px;
        height: 15px;
        object-fit: cover;
        border-radius: 2px;
    }

    .language-selector .current-flag {
        width: 20px;
        height: 15px;
        object-fit: cover;
        border-radius: 2px;
    }

/* Access BTN */
.btn-float {
    background: white;
    color: var(--primary) !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .btn-float:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        color: var(--primary-dark) !important;
    }

/* Navbar - Modern Redesign */
.navbar {
    background: white !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

    .navbar.scrolled {
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        padding: 0.2rem 0;
    }

.navbar-brand {
    display: flex;
    align-items: center;
}

    .navbar-brand img {
        height: 60px;
        transition: height 0.3s ease;
    }

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.navbar-brand span {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
    margin-left: 10px;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    padding: 0.8rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
}

    .nav-link:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 1rem;
        right: 1rem;
        height: 2px;
        background: var(--primary);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s ease;
    }

    .nav-link:hover:before,
    .nav-link.active:before {
        transform: scaleX(1);
    }

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    transition: all 0.3s ease;
    background: white;
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--dark);
}

    .dropdown-item i {
        width: 20px;
        text-align: center;
        transition: all 0.2s ease;
        color: var(--primary);
    }

    .dropdown-item:hover {
        background: var(--primary-dark);
        color: white;
        padding-left: 1.8rem;
    }

    .dropdown-item:hover i {
        color: white;
        transform: scale(1.1);
    }

    .dropdown-item:active {
        background: var(--primary-dark);
        color: white;
    }

/* Add a subtle divider between dropdown items */
.dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Add a subtle animation for the dropdown menu */
.dropdown-menu.show {
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    background-image: none;
    width: 1.5em;
    height: 1.5em;
    position: relative;
}

    .navbar-toggler-icon:before,
    .navbar-toggler-icon:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--primary);
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon:before {
        top: 0.4em;
        transform: rotate(0deg);
    }

    .navbar-toggler-icon:after {
        bottom: 0.4em;
        transform: rotate(0deg);
    }

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(45deg);
    top: 0.6em;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
    bottom: 0.6em;
}



/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 10px;
        background: var(--accent);
    }

.text-white-60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.hover-accent {
    transition: all 0.3s ease;
}

    .hover-accent:hover {
        color: var(--accent) !important;
        padding-left: 5px;
    }

.btn-accent {
    background-color: var(--accent);
    color: white;
    border: none;
}

    .btn-accent:hover {
        background-color: #e05555;
        color: white;
    }

.form-control.bg-dark:focus {
    background-color: #1a1a1a;
    border-color: var(--accent);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 107, 0.25);
}


/* Enhanced Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-btn i {
        margin-right: 10px;
        font-size: 1.1rem;
    }

    .social-btn span {
        font-size: 0.9rem;
        padding-left: 0.4rem;
        font-weight: 500;
    }

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

/* Social Media Brand Colors */
.facebook {
    background: #3b5998;
}

    .facebook:hover {
        background: #344e86;
    }

.tiktok { 
    background: #000000;
    position: relative;
    overflow: hidden;
}
.tiktok:hover { background: #111; }

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

    .instagram:hover {
        opacity: 0.9;
    }

.youtube {
    background: #ff0000;
}

    .youtube:hover {
        background: #e60000;
    }

.linkedin {
    background: #0077b5;
}

    .linkedin:hover {
        background: #00669c;
    }

.whatsapp {
    background: #25d366;
}

    .whatsapp:hover {
        background: #20bd5a;
    }





/* Partners Section Styles */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
    padding: 20px 0;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.7;
}

    .partner-logos a {
        margin-right: 20px;
    }

    .partner-logo:hover {
        filter: none;
        opacity: 1;
        transform: scale(1.05);
    }

    .partner-logo img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

/* Responsive adjustments */
@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .partner-logo {
        height: 50px;
    }
}


/* Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 80px;
    right: 6px;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 9999;
}

    .whatsapp-widget:hover {
        transform: scale(1.1);
    }

    .whatsapp-widget img {
        width: 35px;
        height: 35px;
    }