body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.navbar{
    background-color: white;
    
}
.sidebar {
    height: 100vh;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    background-color:#2C2C2C;
    
    transition: all 0.5s;
    z-index: 1050;
}

.sidebar.show {
    left: 0;
}

.sidebar a {
    color: #C89F43;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.sidebar a:hover {
    
    color: #fff;
    padding-left: 30px;
    /* subtle shift effect */ }


        .sidebar a::after {
            content: "";
            display: block;
            height: 2px;
            background: #f4cfa5;
            width: 0;
            transition: width 0.4s ease;
        }
    
        .sidebar a:hover::after {
            width: 100%;     }

.content {
    padding: 20px;
}

.open-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
}

.close-btn {
    
    top: 10px;
    right: 15px;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
}

/* Animation styles */
.section {
    padding: 100px 20px;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: cursor pointer and hover for dropdown toggle */
#servicesToggle {
    cursor: pointer;
}

/* Optional: add hover background */



/* Style for the Services dropdown list inside sidebar */
#servicesDropdown {
    padding-left: 15px;
}

#servicesDropdown li a {
    color: #C89F43;
    font-size: 1rem;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
}

#servicesDropdown li a:hover {
    color: #fff;
    padding-left: 20px;
}

/* Remove the underline hover effect for nested links if needed */
#servicesDropdown li a::after {
    display: none;
}

/* Hide dropdown by default */
.sidebar-dropdown {
    display: none;
}

/* Show dropdown when parent li is hovered */
.nav-list:hover .sidebar-dropdown {
    display: block;
}

/* Dropdown link styling */
.sidebar-dropdown li a {
    color: #C89F43;
    font-size: 1rem;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
}

/* Hover effect for dropdown items */
.sidebar-dropdown li a:hover {
    color: #fff;
    padding-left: 20px;
}

/* Hide dropdown by default */
.sidebar-dropdown {
    display: none;
}

/* Show dropdown when parent li is hovered */
.nav-list:hover .sidebar-dropdown {
    display: block;
}

/* Dropdown link styling */
.sidebar-dropdown li a {
    color: #C89F43;
    font-size: 1rem;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
}

/* Hover effect for dropdown items */
.sidebar-dropdown li a:hover {
    color: #fff;
    padding-left: 20px;
}


/* Initially hide the dropdown smoothly */
.services-dropdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.9s ease, opacity 0.9s ease;
}

/* On hover over its parent li — open it smoothly */
.nav-list:hover .services-dropdown {
    max-height: 500px;
    /* Adjust to cover your content */
    opacity: 1;
}

/* Style dropdown links */
.services-dropdown li a {
    color: #C89F43;
    font-size: 1rem;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
}

/* Hover effect on dropdown links */
.services-dropdown li a:hover {
    color: #fff;
    padding-left: 20px;
}

/* List item arrow styling */
.arrow-item {
    font-size: 0.9rem;
    color: #C89F43;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

/* On hover — move arrow a bit to the right and change color */
.services-dropdown li:hover .arrow-item {
    transform: translateX(5px);
    color: #fff;
}