* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
        font-family: "Cuprum", "droidfont", sans-serif;
 
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* الهيدر */
.header {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    top: 52px;
    z-index: 100;
}
.parent-container{
    position: relative;
    top: -53px;
}
.logo-section{
    width: 100%;
    text-align: center;
}
/* الشعار */
.header-logo {
    max-height: 80px;
    max-width: 100vw;
    text-align: center;
    margin: auto;
}

/* شريط التنقل */
.navbar {
    background-color: #0d47a1 ;
    color: white;
    opacity: 0.7;
    display: flex;
    justify-content: left;
    /* توزيع العناصر في الشريط */
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* إضافة ظل */
    clip-path: polygon(15% 100%, 85% 100%, 100% 0, 0 0);

    /* محاذاة العناصر عموديًا */
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: bold;
}

.navbar-nav li a {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid white;
    margin: 0 10px;
}

.navbar-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* Start from the right */
    width: 0;
    height: 2px;
    background-color: #ddd;
    transition: width 0.3s ease;
    /* Adjust the speed of the animation */
}

.navbar-nav li a:hover::after {
    width: 100%;
    /* Expands to full width */
    left: 0;
    /* Fills from right to left */
}

.navbar-nav .nav-link:hover {
    color: #ddd;
}

/* العنوان الرئيسي */
.header-title {
    background-color: rgba(0, 51, 102, 0.7);
    color: white;
    padding: 10px;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    background-image: url('../images/sliderbg.jpg');
    /* ضع صورة الخلفية هنا */
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-title h2 {
    margin: 0;
    padding: 10px;
}

.navbar-dark .navbar-toggler {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.5);

}

.navbar-dark .navbar-toggler:focus {
    outline: none !important;
}

.navbar-dark .navbar-toggler-icon {
    color: white !important;
}

.content-pages {
    position: absolute;
    top: 70%;
}

@media screen and (max-width: 1024px) {
    .navbar {
        background-color: #0d47a1  !important;
        color: white;
        opacity: 0.7;
        display: flex;
        justify-content: left;
        /* توزيع العناصر في الشريط */
        align-items: center;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* إضافة ظل */
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    
        /* محاذاة العناصر عموديًا */
    }
    .header {
        background-size: cover;
        background-position: center;
        color: white;
        text-align: center;
        position: relative;
        top: 0px;
        z-index: 100;
    }
    .parent-container{
        position: relative;
        top: 0px;
    }


}

    
