﻿/*body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2f2f2;
    color: #333;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #003087;
    padding: 10px 30px;
    border-bottom: 2px solid #0056b3;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: #ffffff !important;
    font-size: 14px;
    margin-left: 15px;
}

    .nav-link:hover {
        color: #d3d3d3 !important;
    }*/
.header{
    position:sticky!important;
}
.lang-switch {
    margin-left: 20px;
}

    .lang-switch .btn {
        background-color: #0056b3;
        color: #fff;
        border: none;
        padding: 5px 15px;
        font-size: 12px;
    }

        .lang-switch .btn:hover {
            background-color: #004085;
        }

.sidebar {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    background-color: #fff;
    padding: 20px;
    border-right: 1px solid #e0e0e0;
    font-size: 14px;
}

    .sidebar h5 {
        color: #003087;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .sidebar ul {
        list-style: none;
        padding-left: 0;
    }

        .sidebar ul li a {
            color: #333;
            text-decoration: none;
            display: block;
            padding: 5px 0;
        }

            .sidebar ul li a:hover {
                color: #0056b3;
            }

.content {
    padding: 30px;
    background-color: #fff;
    border-left: 1px solid #e0e0e0;
    position: sticky!important;
    overflow-y: auto;

}

.section {
    margin-bottom: 30px;
}

    .section h2 {
        color: #003087;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .section p {
        font-size: 14px;
        line-height: 1.6;
    }
/*
.footer {
    background-color: #003087;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-top: 2px solid #0056b3;
}*/
.nav-item{
    position:sticky!important;
}
.footer .row div {
    margin-bottom: 10px;
}

    .footer a {
        color: #fff;
        text-decoration: none;
    }

        .footer a:hover {
            color: #d3d3d3;
        }

[dir="rtl"] .sidebar {
    border-right: none;
    border-left: 1px solid #e0e0e0;
}

[dir="rtl"] .content {
    border-left: none;
    border-right: 1px solid #e0e0e0;
}

[dir="rtl"] .lang-switch {
    margin-right: 20px;
    margin-left: 0;
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px;
    }

    .sidebar {
        position: static;
        height: auto;
        border: none;
        padding: 15px;
    }

    .content {
        padding: 15px;
        border: none;
        position: sticky !important;
        overflow-y: auto;
    }

    .nav-link {
        margin-left: 5px;
    }
}
:target {
    scroll-margin-top: 80px; /* Adjust this to match your fixed header height */
}

body {
    padding-top: 6rem !important; /* adjust based on navbar height */
}



.fixed-top {
    background-color: #fff; /* Or any theme color */
    /*             box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

         */
}