.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1f3465;
    overflow: hidden;
    z-index: -1;
}

.navbar .navbar-nav .nav-item {
    position: relative;
}

.navbar .navbar-nav .nav-item::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #ffffff;
    width: 0%;
    content: "";
    height: 4px;
    transition: all 0.5s;
}

.navbar .navbar-nav .nav-item:hover::after {
    width: 100%;
}

 /* تعديل الأنماط الخاصة بالنص المميز */
 .highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    /* Adjust this value to control the space below the text */
    height: 3px;
    /* Adjust this value to control the thickness of the underline */
    background-color: #1d5f6f;
    /* Yellow color */
    z-index: -1;
}

#home-section {
    background-color: #1d5f6f;
    color: aliceblue;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

#home-section .background-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 55%;
    background-image: url('../img/logocard.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.8;
    z-index: 1;
}


.carda {
    background-color: #ffffff;
    color: #1f3465;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carda:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.card-section {
    margin-top: -3rem;
    color: aliceblue;
    position: relative;
}

.card-section .card-body {
    background-color: #ffffff;
    color: #1f3465;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-section .card-body i {
    color: #efb01f;
}

.animated-question {
    position: absolute;
    font-size: 50px;
    transform: translate(-50%, -50%);
    animation: floatOut 2s infinite;
    opacity: 0;
}

@keyframes floatOut {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -150%) scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -250%) scale(0);
        opacity: 0;
    }
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul li a:hover {
    color: #ffdc8a;
}