.main-menu .navigation > li.current > a,
.main-menu .navigation > li > a.active {
    color: #416254;
    font-weight: 600;
    position: relative;
}

.main-menu .navigation > li.current > a:after,
.main-menu .navigation > li > a.active:after {
    display: none;
}

/* Active Dropdown Item Styles */
.main-menu .navigation > li > ul > li > a.active {
    color: #416254;
    font-weight: 600;
    background-color: rgba(65, 98, 84, 0.1);
}

/* Sticky Header Active Styles */
.main-menu .navigation > li.current > a,
.main-menu .navigation > li > a.active {
    color: #416254 !important;
    font-weight: 600;
    background: #fff;
    padding: 10px !important;
    border-radius: 10px;
}

.about-section .section-title .title {
    color: #649983;
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: capitalize;
}

.about-section .section-title h3 {
    position: relative;
    color: #000;
    font-weight: 200;
    line-height: 2.5rem;
    margin-bottom: 45px;
    font-size: 1.75rem;
}

.services-section-two .section-title .title {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.services-section-two .section-title h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 400;
}

.feature-section-two .feature-block-two .inner-box h3 {
    font-size: 1.2rem;
    font-weight: 400;
}

.feature-block-two .inner-box .year {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-block-two .inner-box h3 {
    color: #416254;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

.feature-block-two .inner-box .text {
    height: 220px; 
    overflow: hidden
}

.more-services .next-btn {
    width: 50%;
    text-align: right;
    float: right;
}

.more-services .prev-btn {
    width: 50%;
    text-align: left;
    float: left;
}

/* Common Navbar Styles */
.services-desktop {
    position: relative;
}

.services-desktop .dropdown-content {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 30px;
    z-index: 999;
    display: none;
    border-radius: 8px;
    margin: 0 auto;
}

.services-desktop .dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.services-desktop:hover .dropdown-content {
    display: block;
}

.services-desktop::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.services-desktop .category-section {
    padding: 0 15px;
    max-height: 600px;
    overflow-y: auto;
}

.services-desktop .category-section h5 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.services-desktop .sub-category h6 {
    color: #666;
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 700;
}

.services-desktop .sub-category ul li a {
    color: #777;
    font-size: 14px;
    transition: all 0.2s ease;
    display: block;
    padding: 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 4px;
}

.services-desktop .sub-category ul li a:hover {
    color: #000;
    background: #f8f8f8;
}

/* Mobile Services Menu */
@media only screen and (max-width: 991px) {
    .services-desktop {
        display: none;
    }

    .services-mobile {
        display: block;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .services-mobile ul {
        margin: 0;
        list-style: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .services-mobile ul ul {
        display: none;
        margin: 0;
        list-style: none;
        background: #f8f9fa;
    }
    
    .services-mobile ul ul ul {
        display: none;
        margin: 0;
        list-style: none;
        background: #fff;
    }
    
    .services-mobile .dropdown {
        position: relative;
    }

    .services-mobile .dropdown > a {
        display: block;
        padding: 15px 20px;
        position: relative;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .services-mobile .dropdown > a:after {
        content: "\f104";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        color: #666;
    }

    .services-mobile .dropdown.open > a:after {
        transform: translateY(-50%) rotate(180deg);
    }

    .services-mobile .dropdown.open > ul {
        display: block;
    }

    .services-mobile .dropdown ul li a {
        padding: 12px 20px 12px 40px;
        color: #666;
        font-size: 14px;
        display: block;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.2s ease;
    }

    .services-mobile .dropdown ul li a:hover {
        color: #000;
        background: #f8f8f8;
    }

    .services-mobile .dropdown ul {
        margin-top: 0;
        transition: all 0.3s ease;
    }

    .services-mobile .dropdown ul li a.active {
        color: #000;
        background: #f8f8f8;
        font-weight: 500;
    }

    .services-mobile .dropdown > a:hover {
        background: #f8f8f8;
    }

    .services-mobile .dropdown ul li.dropdown > a:before {
        content: "\f104";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
        transition: transform 0.3s ease;
    }

    .services-mobile .dropdown ul li.dropdown.open > a:before {
        transform: translateY(-50%) rotate(180deg);
    }
}

.blog-page-section .news-block .inner-box .blog-title {
    height: 120px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #416254 #cacaca;
}

/* Works on Chrome, Edge, and Safari */

*::-webkit-scrollbar {
    width: 4px;
}

*::-webkit-scrollbar-track {
    background: #cacaca;
}

*::-webkit-scrollbar-thumb {
    background-color: #416254;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #5f967fcc; /* Lighter shade for hover effect */
}

::-webkit-scrollbar-track {
    background: #f0f0f0; /* Light background for the scrollbar track */
}

/* Mobile Language Dropdown Styles */
.mobile-language-dropdown {
    display: inline-block;
    margin-left: 15px;
}

.mobile-language-dropdown .dropdown-toggle {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    color: #222222;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    cursor: pointer;
}

.mobile-language-dropdown .dropdown-toggle::after {
    display: none;
}

.mobile-language-dropdown .lang-text {
    margin-right: 8px;
    color: #fff;
}

.mobile-language-dropdown .fa-language {
    font-size: 16px;
    margin-right: 4px;
    color: #fff;
}

.mobile-language-dropdown .fa-angle-down {
    font-size: 12px;
    color: #fff;
}

.mobile-language-dropdown .dropdown-menu {
    min-width: 160px;
    margin-top: 10px;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.mobile-language-dropdown .dropdown-item {
    padding: 12px 20px;
    font-size: 15px;
    color: #222222;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mobile-language-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.mobile-language-dropdown .dropdown-item:hover,
.mobile-language-dropdown .dropdown-item:focus,
.mobile-language-dropdown .dropdown-item.active {
    background-color: #416254;
    color: #ffffff;
}

/* Navbar Header Adjustments */
.navbar-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 0;
}

.navbar-toggler {
    margin-left: 10px;
    padding: 0;
}

@media (min-width: 768px) {
    .mobile-language-dropdown {
        display: none;
    }
}

@media (max-width: 767px) {
    .navbar-header {
        padding: 10px 0;
    }
    
    .mobile-language-dropdown {
        display: inline-block;
    }
}
