﻿body {
    padding-top: 70px;
    padding-bottom: 20px;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    background-color: #ffffff; /* White background to match logo */
}

.navbar.bg-light {
    background-color: #133B5C !important; /* Primary Logo Color */
}

footer {
    background-color: #133B5C;
    color: white;
    padding: 10px;
    text-align: center;
}

.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link {
    color: white !important;
}

.navbar-light .navbar-toggler {
    border-color: white;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.dx-bs5.bg-light {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #E9F1F7; /* Light background section */
    border-radius: .3rem;
}

@media (min-width: 576px) {
    .dx-bs5.bg-light {
        padding: 4rem 2rem;
    }
}

.apply-button {
    display: block;
    background-color: #133B5C; /* Primary Button Color */
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    width: 100%;
    transition: background-color 0.3s;
}

    .apply-button:hover {
        background-color: #0F2A4A; /* Darker hover effect */
        color: white;
    }

.card-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #133B5C; /* Title color matches logo */
    text-align: right;
}

.card-description {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: right;
    color: #333;
}

@media (max-width: 767px) {
    .top-menu {
        top: 6px;
        left: 52px;
        right: auto;
        width: 100%;
    }

        .top-menu > .navbar-nav > li {
            float: none !important;
        }

    .card-title {
        font-size: 1.1rem;
    }

    .card-description {
        font-size: 0.9rem;
    }

    .apply-button {
        padding: 7px 10px;
        font-size: 0.9rem;
    }

    .dxeCardContentCell {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
    }
}

.dxeCardView_Rounded .dxeCardView_Rounded {
    direction: rtl !important;
}

    .dxeCardView_Rounded .dxeCardView_Rounded .dxeCardViewItem {
        text-align: right !important;
    }
