.logo-section {
    background-color: white;
    padding: 20px 0;
    border-bottom: 3px solid #e91e63;
}

.logo {
    text-align: center;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
    color: #333;
    font-style: italic;
}

.logo h1 .highlight {
    color: #e91e63;
    font-weight: bold;
    font-style: normal;
}

.logo p {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 0 0;
    font-style: italic;
}

/* Navigation Desktop */
.main-nav {
    background-color: white;
}

.navbar-nav .nav-link {
    color: #252525 !important;
    font-weight: 400;
    font-family: 'Poppins';
    padding: 15px 20px;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #EC008D !important;
}

.navbar-nav .nav-item {
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 0;
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
}

.nav-item.dropdown {
    position: relative;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu {
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

.nav-item.dropdown .nav-link::after {
    border: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    vertical-align: baseline;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

/* Custom Hamburger Menu */
.hamburger-menu {
    display: none;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #333;
    transition: 0.3s;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Side Navigation */
.sidenav {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.3s;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.sidenav.active {
    width: 100%;
}

.sidenav-content {
    padding: 80px 30px 30px;
}

.sidenav .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.sidenav .nav-link:hover {
    color: #EC008D;
}

.sidenav .dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform 0.3s ease;
}

.sidenav .dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.sidenav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    background-color: #f8f9fa;
    border: none;
    box-shadow: none;
    display: none;
}

.dropdown-toggle::after {
    border-top: none
}

.sidenav .dropdown-menu.show {
    display: block;
}

.sidenav .dropdown-item {
    padding: 10px 20px;
    font-size: 16px;
    color: #666;
    border-bottom: 1px solid #e9ecef;
}

.sidenav .dropdown-item:hover {
    background-color: #fff;
    color: #e91e63;
}

/* Responsive Mobile */
@media (max-width: 991.98px) {
    /* Header mobile style */
    .logo-section {
        padding: 15px 0;
        position: relative;
        margin-top: 20px;
    }
    
    .logo {
        text-align: center;
    }
    
    .logo img {
        max-height: 50px;
        width: auto;
    }
    
    /* Hide desktop navigation */
    .main-nav {
        display: none;
    }
    
    /* Show and position hamburger menu inside logo-section */
    .logo-section .hamburger-menu {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        display: block;
    }
    
    /* Remove override from original hamburger-menu if any */
    .hamburger-menu {
        display: none;
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 1001;
        background: none;
        border: none;
        cursor: pointer;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    .sidenav-content {
        padding: 30px 15px 20px;
    }
    
    .sidenav .nav-link {
        font-size: 17px;
        padding: 12px 0;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
    .sidenav-logo {
        width: auto;
        display: flex;
        justify-content: center;
        margin-top: 35px;
    }
    .sidenav-logo img {
        max-height: 34px;
        width: auto;
    }
}

/* Correction pour les sous-menus desktop */
.navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Empêcher le toggle click sur desktop */
@media (min-width: 992px) {
    .navbar-nav .dropdown-toggle::after {
        display: inline-block;
    }
    
    .navbar-nav .dropdown-menu {
        position: absolute;
    }
    
    /* Désactiver le toggle click sur desktop */
    .navbar-nav .dropdown-toggle[data-bs-toggle="dropdown"] {
        pointer-events: none;
    }
}

/* Styles pour les éléments de sous-menu */
.dropdown-item {
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #EC008D;
}

.bg-pink {
    background-color: #EC008D !important;
}

.pink {
    color:#EC008D !important;
}

.sidenav {
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Add this line */
}

.sidenav-content {
    flex-grow: 1;
    overflow-y: auto;
}

.sidenav-social {
    margin-top: auto;
    width: 100%;
    background-color: #EC008D;
}

.social-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin: 0 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
}

.social-icon i {
    color: white;
    font-size: 20px;
    margin-right: 10px;
}

.social-text {
    color: white;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* Mobile Submenu Styles */
.sidenav {
    overflow-x: hidden;
}

.mobile-submenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    transition: right 0.3s ease;
    z-index: 1002;
    padding: 60px 20px 20px;
}

.mobile-submenu.active {
    right: 0;
}

.submenu-back {
    position: absolute;
    top: 20px;
    left: 15px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
}

.submenu-back i {
    margin-right: 8px;
}

.submenu-title {
    text-align: center;
    margin-bottom: 30px;
    color: #EC008D;
    font-weight: 600;
}

/* Mobile Menu Sliding Panels */
.sidenav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidenav.active {
    right: 0;
}

.sidenav-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: right 0.3s ease;
    padding: 100px 20px;
    overflow-y: auto;
}

.sidenav-panel.active {
    right: 0;
}

.sidenav-panel .panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 30px;
}

.panel-back-btn {
    border: none;
    background: none;
    color: #333;
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 10px;
}

.panel-back-btn i {
    margin-right: 10px;
}

.panel-title {
    flex-grow: 1;
    text-align: center;
    color: #EC008D;
    font-weight: 600;
    margin: 0;
    font-size: 18px;
    padding-right: 4rem;
}

.sidenav .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.sidenav .nav-link i {
    color: #EC008D;
}

.mobile-menu {
    padding-right: 2rem;
}

/* Style pour le menu desktop actif */
.navbar-nav .nav-item.active .nav-link {
    color: #EC008D !important; /* ou la couleur de votre choix */
}

.navbar-nav .nav-item.active .nav-link.dropdown-toggle {
    color: #EC008D !important;
}

/* Style pour les sous-menus actifs */
.dropdown-menu .dropdown-item.active {
    color: #EC008D !important;
    background-color: rgba(236, 0, 141, 0.1);
}

/* Style pour le menu mobile actif */
.sidenav .nav-item.active .nav-link {
    color: #EC008D !important;
}

.sidenav .nav-item.active .nav-link i {
    color: #EC008D !important;
}

/* Style pour les sous-menus mobiles actifs */
.sidenav-panel .nav-link.active {
    color: #EC008D !important;
}