/* General Reset */
body {
    display: flex;
    margin: 0;
    padding: 0;
    background-color: rgb(248, 249, 250) !important;
}

/* Sidebar Styles */
#sidebar {
    width: 80px;
    height: calc(100vh - 86px);
    position: fixed;
    top: 86px;
    left: 0;
    background: #f8f9fa;
    transition: width 0.3s ease-in-out;
    /* box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2); */
    overflow: hidden;
    z-index: 1050;
}

/* Expanded Sidebar */
#sidebar.expanded {
    width: 280px;
}

/* Sidebar Content */
.sidebar-content {
    flex-grow: 1;
    overflow-y: auto;
    height: 100vh;
    /* padding-right: 10px; */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

/* Hide scrollbar for WebKit-based browsers */
.sidebar-content::-webkit-scrollbar {
    display: none;
}

/* Main Content */
/* .main-content {
    flex-grow: 1;
    transition: margin-left 0.3s ease-in-out;
    margin-left: 80px;
   
    width: calc(100% - 80px);
    
} */
/* .main-content .navbar{
    margin-left: 280px;
} */

/* Adjust when sidebar is expanded */
/* #sidebar.expanded + .main-content + .navbar{
    margin-left: 280px;
    width: calc(100% - 280px);
} */

/* Main Content */
.main-content {
    flex-grow: 1;
    transition: margin-left 0.3s ease-in-out;
    margin-left: 80px;
    width: calc(100% - 80px);
}

/* Navbar inside main-content */
.main-content .navbar {
    transition: margin-left 0.3s ease-in-out;
    margin-left: 80px;
}

/* When sidebar is expanded */
#sidebar.expanded ~ .main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
}

#sidebar.expanded ~ .main-content .navbar {
    margin-left: 280px;
}


/* Sidebar Icons & Text */
.sidebar-icon {
    display: inline-block;
    width: 30px;
    text-align: center;
}

.sidebar-text {
    display: none;
}

#sidebar.expanded .sidebar-text {
    display: inline-block;
}

/* Sidebar Items */
.sidebar-content .list-unstyled li a {
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    color: #333;
    position: relative;
}

/* Hover effect */
.sidebar-content .list-unstyled li a:hover {
    background-color: #e4e4e4;
    color: #DD266C;
}

/* Sidebar Sections Visibility */
#sidebar.expanded .sidebar-section {
    display: block;
}

#sidebar:not(.expanded) .sidebar-section {
    display: none;
}

/* Divider Behavior */
#sidebar:not(.expanded) .sidebar-divider {
    display: block;
    height: 1px;
    background: #ddd;
    margin: 8px 10px;
}

#sidebar.expanded .sidebar-divider {
    display: none;
}

/* Toggle Button */
#toggleSidebar {
    position: fixed;
    top: 22px;
    left: 20px;
    z-index: 1100;
    
   
}

.text-wdc{
    color: #DD266C !important;
}

.search-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 0;
    z-index: 1200;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    min-height: 86px;
}

.search-bar .container {
    display: flex;
    align-items: center;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    font-size: 18px;
}

.search-bar button {
    margin-left: 10px;
}


/* Responsive - Full-Screen Sidebar on Mobile */
@media (max-width: 768px) {
    #sidebar {
        width: 0;
        left: -280px;
    }

    #sidebar.expanded {
        width: 100%;
        left: 0;
    }
    #sidebar.sidebar-content {
        width: 100%;
        left: 0;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    #sidebar.expanded + .main-content {
        margin-left: 0;
    }
    #locationDropdown{
        max-width: 100% !important;
    }
    .navbar-brand{
        margin-left: 60px;
    }
    .main-content .navbar {
        margin-left: 0 !important;
    }
}

.carousel-indicators [data-bs-target]{
    background-color: #DD266C;
}

/* Ensure the section fits within the viewport properly */
.featured-section {
    margin-top: 86px;
    position: relative;
    overflow: hidden;
}

/* Adjust image size for better fit */
.carousel-img {
    height: 60vh; /* Adjusts height while keeping width 100% */
    object-fit: cover;
}

/* Overlay for text and button */
.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    text-align: left;
    background: rgba(0, 0, 0, 0.95); /* Slightly transparent dark background */
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 40%;
}

/* Ensure text is readable */
.carousel-overlay h5 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.carousel-overlay p {
    font-size: 1rem;
}

/* Button styling */
.carousel-overlay .btn {
    background-color: #dd266c;
    color: white;
    padding: 6px 12px; /* Increased padding for a premium look */
    font-size: 1rem; /* Slightly reduced for better balance */
    border-radius: 6px; /* Adds a subtle roundness for a professional touch */
    font-weight: 600; /* Enhances text readability */
    transition: background 0.3s ease-in-out; /* Smooth hover effect */
}

.carousel-overlay .btn:hover {
    background-color: #bb1e5a; /* Slightly darker shade on hover */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-img {
        height: 45vh; /* Reduce height for smaller screens */
    }

    .carousel-overlay {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        max-width: 90%;
        padding: 15px;
    }

    .carousel-overlay h5 {
        font-size: 1.2rem;
    }

    .carousel-overlay p {
        font-size: 0.9rem;
    }

    .carousel-overlay .btn {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* Styling the carousel control icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3); /* Light background for better visibility */
    border-radius: 50%; /* Makes it circular */
    width: 45px; /* Increase size */
    height: 45px;
    background-size: 60%; /* Adjust icon size inside */
    background-repeat: no-repeat;
    background-position: center;
}

/* Hover effect to improve visibility */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6); /* Brighter on hover */
}

/* Specific adjustments for prev and next icons */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 0-.708 0l-6 6a.5.5 0 0 0 0 .708l6 6a.5.5 0 0 0 .708-.708L5.707 8l5.647-5.646a.5.5 0 0 0 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


.btn-wedesiconnect{
    --bs-btn-color: #fff;
    --bs-btn-bg: #dd266c;
    --bs-btn-border-color: #dd266c;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #dd266c;
    --bs-btn-hover-border-color: #dd266c;
    --bs-btn-focus-shadow-rgb: 11, 172, 204;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #dd266c;
    --bs-btn-active-border-color: #dd266c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #dd266c;
    --bs-btn-disabled-border-color: #dd266c;
}


