﻿

/* Global layout */
:root {
    --navbar-offset: 90px;
}

body {
    font-family: 'Alexandria', sans-serif;
    font-size: 15px;
    margin: 0;
    padding-top: var(--navbar-offset); /* لأن الـ navbar fixed */
    overflow-x: hidden;
}

/* Make images responsive by default (override where needed) */
img {
    max-width: 100%;
    height: auto;
}

.navbar {
    min-height: 75px;
}

@media (max-width: 991.98px) {
    :root {
        --navbar-offset: 75px;
    }
}

.carouselImg {
    width: 100%;
    height: clamp(240px, 45vw, 600px);
    object-fit: cover;
}

/* Used on Index services rows */
.dsn {
    margin: 2.5rem 0;
}

.pics {
    display: flex;
    justify-content: center;
}

.navbar-brand {
    font-family: 'Alexandria';
    font-size: 25px;
    color: green;
    padding-top: 10px;
    padding-bottom: 10px;
}

#img-brand {
    width: 50px;
    height: 70px;
    margin-right: 5px;
    margin-left: 5px;
}

.navbar-nav .nav-link {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 15px;
    color: green;
}

    .navbar-nav .nav-link.active {
        color: seagreen;
        font-style: italic;
    }

        .navbar-nav .nav-link.active:hover {
            background-color:seagreen  ;
        }

.navbar-nav > li >a:hover  {
    background-color: #5ba055;
    color: #fff;
    border-radius: 5px;
    padding-right: 40px;
}

/*-------------------------------------------------------------------------------------*/
.dropdown-menu {
    border-top: 7px solid #3757a4;
    padding: 10px 15px;
    min-width: 200px;
    color :green ;
}

    .dropdown-menu > li > a {
        color: GREEN;
        padding: 10px 25px;
        font-size: 14px;
        transition: all 0.5s ease;
    }

        .dropdown-menu > li > a:hover,
        .dropdown-menu > li > a:focus {
            background-color: #5ba055;
            color: #fff;
            border-radius: 5px;
            padding-right: 40px;
        }

.dropdown-divider {
    background-color: green;
}
