.em-5 {
    margin-bottom: 5px;
}

.em-10 {
    margin-bottom: 10px;
}

.em-15 {
    margin-bottom: 15px;
}

.em-20 {
    margin-bottom: 20px;
}

.em-25 {
    margin-bottom: 25px;
}

.em-30 {
    margin-bottom: 30px;
}

/* Top Bar Styling */
.top-bar {
    background-color: #6a829f;
    /* Grey background */
    padding: 2px 0;
    /* Internal spacing */
    width: 100%;
    /* Full width */
}

/* Hide Top Bar on Mobile */
@media (max-width: 991.98px) {
    .top-bar {
        display: none;
    }
}

/* Social Icons Styling */
.social-icons a {
    font-size: 18px;
    /* Icon size */
    transition: color 0.3s ease;
    /* Hover transition */
}

.top-bar .fas {
    color: #cad1d9;
}

.top-bar .fab {
    color: #cad1d9;
}

.social-icons a:hover {
    color: #007bff !important;
    /* Change color on hover */
}

/* Language Flags Styling */
.language-flags img {
    transition: transform 0.3s ease;
    /* Hover transition */
}

.language-flags img:hover {
    transform: scale(1.1);
    /* Scale up on hover */
}

*:focus,
.navbar-toggler:focus,
.btn:focus,
a:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.navbar-toggler,
.navbar-toggler-icon {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler {
    margin-left: 1rem;
    padding: 0;
}

.offcanvas {
    width: 50% !important;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

li.nav-item.mob {
    border-bottom: solid 1px #d6d3d3;
}

li.nav-item.mob.home {
    border-top: solid 1px #d6d3d3;
}

.navbar-brand {
    margin-right: -1rem;
}

.navbar-toggler {
    margin-right: 0;
}

.social-icons-mob {
    display: block;
    margin: 0 auto;
}

.social-icons-mob .fas {
    padding: 0 5px;
    font-size: 20px;
}

.social-icons-mob .fab {
    padding: 0 2px;
    font-size: 20px;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        margin-right: 0;
    }

    .navbar-toggler {
        margin-right: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        background-color: #014970 !important;
    }

    .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-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    @media (min-width: 992px) {
        .navbar-brand>img {
            filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(7404%) hue-rotate(358deg) brightness(95%) contrast(118%);
        }
    }

    .navbar-brand>img {
        border: 2px solid red;
    }

    .logo-offcanvas {
        margin: 0 auto;
    }

    h1.fs-3.hero-text-title {
        font-family: sans-serif;
        color: black;
        font-weight: 100;
        letter-spacing: 10px;
    }

    p.fs-6.hero-text-text {
        color: #323030;
        letter-spacing: 3px;
        font-family: sans-serif;
        font-weight: 100;
        margin-bottom: 42px;
    }
}

/* For mobile and tablet screen sizes */
@media (max-width: 991px) {
    .hero {
        display: none;
    }
}

hr {
    margin: 0.5rem 0;
}

.main-first-row-container {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.main-first-row-container::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767.98px) {
    .main-first-row-container .main-first-row-card {
        display: inline-block;
        width: 80%;
        margin-right: 10px;
        white-space: normal;
    }
}

@media (min-width: 768px) {
    .main-first-row-container {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        overflow-x: visible;
        white-space: normal;
    }

    .main-first-row-container .main-first-row-card {
        flex: 1 1 calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
    }
}

.main-first-row-card {
    background-color: #f8f9fa;
    border: solid 1px #e6f2f4;
}

.main-first-row-card .main-first-row-card-body {
    padding: 1rem;
    background-image: url(../img/flag-corner.svg);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 56px;
    background-color: #eef5f6;
    border: none !important;
    !i;
    !;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.main-first-row-card .main-first-row-card-title {
    font-size: 0.8rem;
    color: #333;
    font-weight: 600;
}

.main-first-row-card .main-first-row-card-text {
    font-size: 0.9rem;
    color: #666;
}

/* Default direction for mobile and tablet */
.navbar-custom {
    direction: rtl;
}

/* Change direction to ltr for desktop */
@media (min-width: 992px) {
    .navbar-custom {
        direction: ltr;
    }
}

a.btn.btn-primary.d-none.d-lg-block.order-3 {
    background: #1d3e70;
    border: solid 1px #091e3d;
}

.topbox {
    min-height: 100%;
    height: fit-content;
    background-image: url(../img/map.svg);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
}

a {
    color: #ffc008;
    text-decoration: none;
}

h2.about-title-main {
    color: #1d3e70;
    font-size: 21px;
    text-align: center;
    padding-top: 40px;
}

p.about-text-main {
    font-size: 14px;
    color: #6a829f;
    text-align: center;
}

.map {
    opacity: 35%;
}

section.pb-lg-14.pb-6.under-vards-main {
    margin-top: 100px;
}

.fw-bold {
    font-weight: 700 !important;
    font-size: 21px;
}

#carouselExampleCaptions {
    width: 80%;
    margin: 0 auto;
}

.full-width-row {
    background-color: lightblue;
    width: 100%;
    padding: 20px 0;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


img.card-img-left.img-fluid.news-main {
    width: 200px;
    height: auto;
}

.card.flex-row.news-main {
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

h4.card-title.news-main {
    font-size: 11px;
}

.card-footer.text-muted {
    background: rgb(248 248 248);
}

button.btn.btn-warning.aboutus {
    margin: 14px 0;
}

h2.news-card-main {
    font-size: 16px;
    border: solid 1px #d3d1d1;
    background: #eeeeee;
    color: #1d3e70;
    padding: 8px 6px;
    border-radius: 8px;
    font-weight: bold;
}

.donate img {
    width: 110px;
}

.text-up-footer {
    font-size: 11px;
    color: #959595;
    text-align: center;
}

.text-up-footer {
    font-size: 11px;
    color: #959595;
    text-align: center;
}

.flags-text-up-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.flag-text-up-footers {
    width: 20px;
    height: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .flag-text-up-footers {
        width: 25px;
    }
}

@media (min-width: 769px) {
    .flags-text-up-footer {
        flex-wrap: nowrap;
    }
}

#cookieConsentBanner {
    display: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translateY(100%);
    opacity: 0;
}

#cookieConsentBanner.show {
    display: block;
    transform: translateY(0%);
    opacity: 1;
}

/* Style for the Cookie Policy link */
.cookie-policy-link {
    text-decoration: none;
    color: #f39c12;
}

.cookie-policy-link:hover {
    color: #e67e22;
}

body,
html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

h5.alider-title {
    font-size: 13px;
    padding: 8px 0;
    min-height: 50px;
}

h5.card-title.projects {
    font-weight: bold;
    font-size: 14px;
    color: #1d3e70;
}

p.card-text.projects {
    font-size: 12px;
}
.card-body.projects {
    min-height: 100px;
}
.content-single-date {
    font-size: 10px;
    padding-bottom: 16px;
    margin-top: -17px;
}
.copyright-row {
    background-color: #091e3e;
    color: #6e8cb8;
    padding: 10px 0;
    width: 100%;
}
footer.bg-dark.footer.text-light.py-4.d-none.d-lg-block {
    background-color: #12243c !important;
    background-image: url(../img/bgf.svg);
    background-blend-mode: color;
}
a.text-light.text-decoration-none.footeritem {
    color: #5982ab !important;
}
.footersnicon {
    color: #5982aa;
}
nav.navbar.navbar-expand-lg.bg-light.navbar-custom {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}