body {
    direction: rtl;
    font-family: "Noto Sans Hebrew", sans-serif;
}

.card {
    --bs-card-border-radius: 0.375rem;
    --bs-card-inner-border-radius: calc(0.375rem - 1px);
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.navbar {
    font-weight: 200;
    background-color: rgba(15, 37, 55, 1);
    z-index: 3;
}

.navbar .navbar-brand h3 {
    transition: font-weight 0.2s ease-in-out;
    font-weight: 100;
}

.navbar .navbar-brand h3:hover {
    font-weight: 500;
}

.navbar .nav-link {
    transition: border 0.3s ease-in-out;
    font-size: 1.4rem;
    border-bottom: 1px solid transparent;
    font-weight: 200;
}

.navbar .nav-link:hover {
    border-bottom: 1px solid #fff;
}

.navbar .navbar-toggler {
    border-color: transparent;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

ul.list-group {
    padding-right: 0;
    text-align: right;
    min-width: 50%;
}

.list-group-item {
    background-color: transparent;
    font-size: 1.4rem;
}

.navbar-text {
    font-size: 1.4rem;
}

/* hover dropdown in navbar instead of click */
/* .dropdown:hover .dropdown-menu {
    display: block;
} */

/* space between the triangle and text in dropdown */
.dropdown-toggle::after {
    margin-right: 8px;
}

.buttons-custom {
    font-size: 1.3rem;
    border-radius: 2rem;
}

#expertise h1 {
    text-shadow: 2px 7px 5px rgba(0, 0, 0, 0.3), 0px -4px 10px rgba(255, 255, 255, 0.3);
}

.expertise-wrap:hover {
    box-shadow: 2px 2px 10px rgba(244, 124, 60, 0.7);
    border-radius: 8px;
}

.lead {
    padding: 3rem;
}

/**************************************************/

.header {
    width: 100%;
    height: 40vh;
    position: relative;
}

.img-wrapper {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.banner {
    position: absolute;
    top: 40%;
    right: 15%;
}

.banner h1 {
    font-size: 3rem;
    text-shadow: 2px 7px 5px rgba(0, 0, 0, 0.3), 0px -4px 10px rgba(255, 255, 255, 0.3);
}

.list-group {
    border-radius: 5px;
}

.list-group a:hover {
    font-weight: 600;
}

.sep {
    height: 0.05rem;
    width: 50%;
    background-color: rgba(255, 193, 7, 1);
    margin: 0 auto;
}

.lead-about p {
    font-size: 1.25rem;
    padding-top: 1.5rem;
}

#about-us-icons i {
    font-size: 2.5rem;
    padding: 1.5rem;
}

.buttons-custom-contact {
    font-size: 1.05rem;
    border-radius: 2rem;
}

/********/

#hero-image {
    height: 70vh;
    background-color: #000;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    position: relative;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    border-radius: 8px;
    min-width: 50%;
}

.hero-text h1 {
    color: rgba(0, 0, 0, 0.8);
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-text h3 {
    color: rgb(138, 138, 138);
}

@media screen and (max-width: 767px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h3 {
        font-size: 1.25rem;
    }

    .list-group-item {
        font-size: 1.05rem;
    }

    .hero-text h4 {
        font-size: 1.15rem;
    }

    .navbar .nav-link:hover {
        border-bottom: 0px solid transparent;
    }
}

@media screen and (max-width: 542px) {
    .hero-text {
        left: 50%;
        min-width: 95%;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h3 {
        font-size: 1.5rem;
    }

    .list-group-item {
        font-size: 1.2rem;
    }
}

@media screen and (orientation: landscape) and (max-height: 555px) {
    ul.list-group {
        display: none;
    }
}
