body,
html {
    margin: 0;
    /* overflow-x: hidden;
        overflow-y: auto; */
    font-family: "DM Mono", monospace;
}

.container-fluid {
    min-height: 100vh;
}

.sidebar {
    background-color: transparent;
    color: #666;
    position: sticky;
    top: 106px;
    left: 0;
    max-width: 324px;
    width: 100%;
    height: calc(100vh - 106px);
    overflow-y: auto;
    padding: 2rem 1rem;
    padding-left: 0;
    border-right: 1px solid #e9ecef;
    z-index: 1000;
    opacity: 0.4;
    transition: opacity 0.5s ease-out;
    margin-left: auto;
}
.sidebar:hover {
    opacity: 1;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    color: #666;
    padding: 0.25rem 1rem;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: block;
    background: linear-gradient(to right, #333 50%, #333 75%);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 100%;
    transition: background-size 0.5s ease-out;
}

.nav-link:hover {
    background-size: 100% 100%;
    color: #fff;
}

.nav-link.active {
    border-left: 2px solid #333;
    transition: border-left-color 0.5s;
}
.nav-link.active:hover {
    color: #fff;
}

/* Submenu functionality */
.submenu {
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 0;
}

.submenu.show {
    display: block;
    max-height: 500px; /* Adjust based on your content */
}

.submenu .nav-link {
    padding-left: 2rem;
    font-size: 13px;
    transition: all 0.2s ease;
}

.submenu .nav-link:hover {
    opacity: 1;
    padding-left: 2.2rem;
}

/* Investigation nav link with arrow indicator */
.nav-link[href="#section3"] {
    position: relative;
}

.nav-link[href="#section3"]:after {
    content: "▼";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    opacity: 0.6;
}

.nav-link[href="#section3"].submenu-open:after {
    transform: translateY(-50%) rotate(180deg);
}

section {
    padding: 50px 0;
    border-bottom: 1px solid #e9ecef;
    scroll-margin-top: 100px; /* Smooth scroll offset */
}

h2 {
    font-size: 38px;
    font-weight: 500;
    padding-bottom: 25px;
    color: #333;
}
h3 {
    font-size: 19px;
    font-weight: 300;
    color: #333;
}
h3 span {
    font-size: 14px;
}
.team-title strong {
    font-size: 14px;
    line-height: 1.3;
    text-align: justify;
    font-weight: normal;
    margin-bottom: 1rem;
    color: #333;
    margin-top: 15px;
    display: block;
    padding-left: 15px;
}
/* .single-news {
        margin-bottom: 20px;
      } */
.single-news:last-child {
    margin-bottom: 0px;
}

/* Accordion functionality - Simple approach */
.child-menucontent {
    display: none;
}

.child-menucontent.active {
    display: block;
}

.menu-btn,
.smenu-btn {
    cursor: pointer;
    padding: 10px 10px 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.menu-btn h3,
.smenu-btn h3 {
    margin: 0;
}
.menu-btn:after,
.smenu-btn:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #EDEDED;
    z-index: -1;
    opacity: 0;
}

.menu-btn:hover::after,
.smenu-btn:hover::after {
    opacity: 1;
}
.menu-btn.active::after,
.smenu-btn.active::after {
    opacity: 1;
}

p {
    color: #555;
    font-size: 14px;
    line-height: 1.3;
    text-align: justify;
}
.single-menu-btn2 span {
    color: #555;
    font-size: 14px;
    line-height: 1.3;
    text-align: justify;
}
.inv-sub-title {
    color: #333;
    position: sticky;
    top: 120px;
    margin-bottom: 0;
    padding-top: 10px;
}
a {
    color: #007bff;
    text-decoration: underline;
}
a:hover {
    color: #0056b3;
}
.news-list {
    margin: 0;
    list-style: none;
    padding: 0;
}
.team .news-list li {
    margin-bottom: 20px;
}

/* Background */
body {
    background-color: #ffffff;
    color: #333333;
}
.single-news h3 {
    position: relative;
}
.single-news h3::after {
    content: "";
    height: 5px;
    width: 5px;
    background-color: #333333;
    position: absolute;
    left: -18px;
    top: 8px;
}
.team .single-news h3::after {
    left: -10px;
    top: 8px;
}
/* #section5 .news-list li {
        margin-bottom: 20px;
      } */
header {
    /* background: linear-gradient(
        90deg,
        rgba(227, 250, 227, 0.5) 0%,
        rgba(230, 230, 250, 0.5) 50%
    ) !important; */
    background: rgba(255, 255, 255, 0.5);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100000;
    border-bottom: 1px solid #e9ecef;
}
.sidebar-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 4px;
}

.sidebar-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.sidebar-btn:active {
    transform: scale(0.95);
}

.sidebar-btn svg {
    fill: #333;
    transition: fill 0.3s ease;
}

.sidebar-btn:hover svg {
    fill: #000;
}

.fade-in-char {
    opacity: 0;
    display: inline-block;
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive Design */
@media (max-width: 576px) {
    header .hero-block-logo-hp a img {
        max-width: 100px;
    }
    .sidebar {
        display: none;
    }
    .sidebar .submenu.show {
        display: none;
    }

    .sidebar #mainNav {
        flex-direction: row !important;
        border-bottom: 2px solid #ddd;
        background-color: #d5d5d5;
    }
    .sidebar #mainNav a {
        border: none;
        padding: 7px 7px;
        font-size: 14px;
    }
    .sidebar #mainNav a.active {
        background-color: transparent;
        color: #000;
        background: unset;
    }
    .sidebar #mainNav a:hover {
        background-color: transparent;
        color: #000;
        background: unset;
    }
    .content-area {
        margin-left: 0;
        max-width: 100%;
        margin-top: 0px;
    }
    header {
        background-color: #fff;
    }
    .nav-link[href="#section3"]:after {
        content: "";
    }
}
/* .trriger-menu {
    z-index: 999999;
} */
.child-menucontent img {
    width: 100% !important;
    object-fit: cover;
    height: auto;
    margin-bottom: 10px;
}

.navigation-main-hp {
    margin: 0px;
    padding: 0px;
    width: 100%;
    background: #fff;
    position: fixed;
    right: 0;
    top: 0px;
    height: 100vh;
    z-index: 99999999999999999;
    transition: all 0.5s linear;
    transform: translateX(100%);
    display: flex;
    justify-content: center;
}

.navigation-main-hp.active {
    transform: translateX(0);
}
.navigation-close-hp {
    position: absolute;
    right: 20px;
    top: 20px;
}
.navigation-close-hp a {
    display: flex;
    font-size: 24px;
    vertical-align: top;
    color: #000;
}
.navigation-in-hp {
    margin: 0px;
    padding: 30px 30px 30px;
    max-width: 340px;
}
.navigation-in-hp #mainNav {
    min-width: 300px;
}

@media (min-width: 991px) {
    .mt--50 {
        margin-top: -50px;
    }
    .mt--32 {
        margin-top: -32px;
    }
}
@media (min-width: 1200px) {
    .navigation-main-hp {
        padding-top: 150px;
    }
}
.logo-main-hp.sidebar-text {
    display: flex;
}
.navigation-main-hp .menu-menu-1-container {
    padding-top: 50px;
}
¡ .navigation-main-hp .nav-link {
    /* text-align: center; */
    border-left: unset;
    background: unset;
    display: inline-block;
    font-size: 18px;
    padding-left: 0;
}
.navigation-main-hp .nav-link:hover {
    color: #fff;
}
.navigation-main-hp .nav-link[href="#section3"]:after {
    /* content: ""; */
}
.navigation-main-hp .submenu {
    /* display: flex !important;
    max-height: unset; */
}
.navigation-main-hp .submenu .nav-link {
    font-size: 13px;
}
#section3 .single-news .menucontent {
    padding-left: 20px;
}
#section4 .single-news .menucontent {
    padding-left: 20px;
}
#section5 .single-news .menucontent {
    padding-left: 20px;
}
#section5 .menu-btn h3 ~ span{
    font-weight: 600;
    font-size: 0.9em;
}
.team .single-news h3 {
    padding-left: 20px;
}
.team .single-news h3::after {
    left: 0px;
}
/* iMAc Css */
@media screen and (min-width: 1930px) {
    .nav-link {
        font-size: 20px;
    }
    .submenu .nav-link {
        font-size: 15px;
    }
    h2 {
        font-size: 40px;
    }
    p {
        font-size: 16px !important;
    }
    h3 {
        font-size: 23px;
    }
    h3 span {
        font-size: 16px;
    }
    .team-title strong {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 33px;
        font-weight: 500;
    }
    p {
        font-size: 11px;
    }
}
