/* ============================================================
   وزارة الصحة - ولاية كسلا
   MAIN HEADER SYSTEM

   TOPBAR
   HERO
   NAVBAR
   RESPONSIVE
   ============================================================ */


/* ============================================================
   01. GLOBAL HEADER
   ============================================================ */

.moh-header {

    --moh-green-dark: #064629;
    --moh-green-deep: #075c35;
    --moh-green: #087f46;
    --moh-green-light: #1aa861;

    --moh-text: #263a30;
    --moh-muted: #65766e;

    --moh-border: #e4ebe7;

    width: 100%;

    position: relative;

    z-index: 1000;

    font-family:
        "Tajawal",
        "Tahoma",
        "Arial",
        sans-serif;

}


/* ============================================================
   02. TOP BAR
   ============================================================ */

.moh-topbar {

    width: 100%;

    min-height: 40px;

    background:
        linear-gradient(
            90deg,
            #053a23,
            #064f2d
        );

    color: #ffffff;

}


.moh-topbar .container {

    width: 100%;

    max-width: 1320px;

}


.moh-topbar-inner {

    width: 100%;

    min-height: 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}


/* ---------- Ministry ---------- */

.moh-topbar-title {

    display: flex;

    align-items: center;

    color: #ffffff !important;

    font-size: 12px;

    font-weight: 600;

    white-space: nowrap;

}


.moh-topbar-title i {

    margin-left: 7px;

    color: #7ce0aa;

}


/* ---------- Links ---------- */

.moh-topbar-links {

    display: flex;

    align-items: center;

    gap: 22px;

}


.moh-topbar-links a,
.moh-topbar-links a:visited,
.moh-topbar-links a:focus,
.moh-topbar-links a:active {

    display: inline-flex;

    align-items: center;

    color: #ffffff !important;

    background: transparent !important;

    border: 0 !important;

    outline: none !important;

    box-shadow: none !important;

    text-decoration: none !important;

    font-size: 12px;

    font-weight: 500;

    white-space: nowrap;

    transition:
        color .25s ease;

}


.moh-topbar-links a:hover {

    color: #a9edc6 !important;

    text-decoration: none !important;

}


.moh-topbar-links a i {

    margin-left: 7px;

    color: #79dda7 !important;

    font-size: 11px;

}


/* ============================================================
   03. HERO
   ============================================================ */

.moh-hero {

    position: relative;

    width: 100%;

    height: 485px;

    overflow: hidden;

    display: flex;

    align-items: center;

    color: #ffffff;

    background-image:
        url("../img/kassala-mountain.png");

    background-repeat: no-repeat;

    background-size: cover;

    background-position: center center;

}


/* ============================================================
   04. HERO OVERLAY
   ============================================================ */

.moh-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(2,38,25,.16) 0%,
            rgba(3,55,33,.22) 30%,
            rgba(3,55,33,.45) 62%,
            rgba(2,42,25,.78) 100%
        );

}


/* ============================================================
   05. HERO DECORATION
   ============================================================ */

.moh-hero-orb {

    position: absolute;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,.12);

    pointer-events: none;

    z-index: 2;

}


.moh-orb-1 {

    width: 400px;

    height: 400px;

    left: -230px;

    top: -190px;

}


.moh-orb-2 {

    width: 260px;

    height: 260px;

    left: 7%;

    bottom: -210px;

}


/* ============================================================
   06. HERO CONTAINER
   ============================================================ */

.moh-hero .container {

    position: relative;

    z-index: 5;

    width: 100%;

    height: 100%;

}


.moh-hero-layout {

    width: 100%;

    height: 100%;

    display: grid;

    grid-template-columns:
        1.55fr
        .75fr;

    align-items: center;

    gap: 50px;

    direction: rtl;

}


/* ============================================================
   07. HERO MAIN
   ============================================================ */

.moh-hero-main {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    text-align: right;

}


/* ---------- Small Label ---------- */

.moh-hero-label {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,.88);

    font-size: 14px;

    font-weight: 600;

}


.moh-hero-label span {

    width: 30px;

    height: 3px;

    display: block;

    border-radius: 10px;

    background:
        #72e3a3;

}


/* ---------- Main Title ---------- */

.moh-hero-title {

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            38px,
            4.5vw,
            58px
        );

    font-weight: 900;

    line-height: 1.15;

    white-space: nowrap;

    text-shadow:
        0 3px 18px rgba(0,0,0,.22);

}


/* ---------- English ---------- */

.moh-hero-english {

    margin-top: 8px;

    color:
        #a9efc7;

    font-family:
        "Arial",
        sans-serif;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 2.8px;

    text-transform: uppercase;

    text-shadow:
        0 2px 8px rgba(0,0,0,.20);

}


/* ---------- Description ---------- */

.moh-hero-description {

    max-width: 650px;

    margin:
        16px 0 22px;

    color:
        rgba(255,255,255,.92);

    font-size: 15px;

    font-weight: 500;

    line-height: 1.9;

    text-shadow:
        0 2px 10px rgba(0,0,0,.18);

}


/* ============================================================
   08. HERO FEATURES
   ============================================================ */

.moh-hero-features {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

}


.moh-feature {

    min-width: 165px;

    min-height: 62px;

    padding:
        9px 12px;

    display: flex;

    align-items: center;

    gap: 10px;

    border:
        1px solid rgba(255,255,255,.22);

    border-radius: 13px;

    background:
        rgba(255,255,255,.11);

    backdrop-filter:
        blur(7px);

    box-shadow:
        0 8px 22px rgba(0,0,0,.10);

    transition:
        transform .25s ease,
        background .25s ease;

}


.moh-feature:hover {

    transform:
        translateY(-3px);

    background:
        rgba(255,255,255,.17);

}


/* ---------- Feature Icon ---------- */

.moh-feature-icon {

    width: 36px;

    height: 36px;

    min-width: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.15);

    color:
        #baf5d2;

    font-size: 15px;

}


/* ---------- Feature Text ---------- */

.moh-feature-content {

    display: flex;

    flex-direction: column;

    text-align: right;

}


.moh-feature-content strong {

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

}


.moh-feature-content span {

    margin-top: 2px;

    color:
        rgba(255,255,255,.72);

    font-size: 10px;

    font-weight: 500;

}


/* ============================================================
   09. HERO ACTIONS
   ============================================================ */

.moh-hero-actions {

    display: flex;

    align-items: center;

    gap: 11px;

}


.moh-hero-btn {

    min-height: 46px;

    padding:
        0 20px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border-radius: 25px;

    text-decoration: none !important;

    font-size: 12px;

    font-weight: 800;

    transition:
        all .25s ease;

}


/* ---------- Primary ---------- */

.moh-hero-btn-primary {

    color:
        #075a35 !important;

    background:
        #ffffff;

    border:
        1px solid #ffffff;

    box-shadow:
        0 9px 25px rgba(0,0,0,.18);

}


.moh-hero-btn-primary:hover {

    color:
        #075a35 !important;

    background:
        #effff5;

    transform:
        translateY(-3px);

}


/* ---------- Outline ---------- */

.moh-hero-btn-outline {

    color:
        #ffffff !important;

    background:
        rgba(255,255,255,.10);

    border:
        1px solid rgba(255,255,255,.55);

}


.moh-hero-btn-outline:hover {

    color:
        #ffffff !important;

    background:
        rgba(255,255,255,.20);

    transform:
        translateY(-3px);

}


/* ============================================================
   10. HERO LOGO
   ============================================================ */

.moh-hero-visual {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

}


.moh-logo-card {

    width: 150px;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.17);

    border:
        1px solid rgba(255,255,255,.38);

    backdrop-filter:
        blur(8px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.22);

}


.moh-logo-ring {

    width: 116px;

    height: 116px;

    padding: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.96);

    box-shadow:
        0 8px 25px rgba(0,0,0,.20);

}


.moh-logo-ring img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.moh-visual-text {

    margin-top: 13px;

    color:
        #ffffff;

    font-size: 18px;

    font-weight: 800;

    text-shadow:
        0 2px 10px rgba(0,0,0,.20);

}


.moh-visual-text span {

    display: block;

    margin-top: 2px;

    color:
        #a8edc5;

    font-size: 12px;

    font-weight: 600;

}


/* ============================================================
   11. HERO WAVE
   ============================================================ */

.moh-hero-wave {

    position: absolute;

    left: -7%;

    bottom: -32px;

    width: 114%;

    height: 68px;

    z-index: 20;

    background:
        #ffffff;

    border-radius:
        50% 50% 0 0 /
        100% 100% 0 0;

    pointer-events: none;

}


/* ============================================================
   12. NAVBAR
   ============================================================ */

.moh-navbar {

    position: relative;

    z-index: 100;

    width: 100%;

    display: block;

    background:
        #ffffff !important;

    border-bottom:
        1px solid #e4ebe7;

    box-shadow:
        0 4px 18px rgba(0,0,0,.07);

}


.moh-navbar .container {

    width: 100%;

    max-width: 1320px;

}


.moh-navbar-inner {

    width: 100%;

    min-height: 66px;

    display: flex;

    align-items: center;

}


/* ============================================================
   13. NAVIGATION
   ============================================================ */

.moh-navigation {

    width: 100%;

    min-height: 66px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    direction: rtl;

}


/* Bootstrap Collapse - Desktop */

@media (min-width: 992px) {

    .moh-navigation.collapse {

        display: flex !important;

        visibility: visible !important;

        height: auto !important;

        overflow: visible !important;

    }

}


/* ============================================================
   14. NAV LIST
   ============================================================ */

.moh-nav-list {

    list-style: none !important;

    margin: 0 !important;

    padding: 0 !important;

    display: flex !important;

    align-items: center;

    justify-content: flex-start;

    gap: 0;

    direction: rtl;

}


.moh-nav-list li {

    display: block;

    margin: 0 !important;

    padding: 0 !important;

}


.moh-nav-list a {

    position: relative;

    min-height: 66px;

    padding:
        0 13px;

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color:
        #405148 !important;

    background:
        transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    outline: none !important;

    box-shadow: none !important;

    text-decoration: none !important;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        color .25s ease;

}


.moh-nav-list a i {

    color:
        #087f46 !important;

    font-size: 11px;

}


.moh-nav-list a::after {

    content: "";

    position: absolute;

    right: 12px;

    left: 12px;

    bottom: 0;

    height: 3px;

    background:
        #087f46;

    border-radius:
        5px 5px 0 0;

    transform:
        scaleX(0);

    transition:
        transform .25s ease;

}


.moh-nav-list a:hover,
.moh-nav-list a.active {

    color:
        #087f46 !important;

}


.moh-nav-list a:hover::after,
.moh-nav-list a.active::after {

    transform:
        scaleX(1);

}


/* ============================================================
   15. SOCIAL
   ============================================================ */

.moh-social {

    display: flex;

    align-items: center;

    gap: 6px;

    flex-shrink: 0;

    padding-left: 12px;

    border-left:
        1px solid #e4ebe7;

    direction: ltr;

}


.moh-social a {

    width: 31px;

    height: 31px;

    min-width: 31px;

    min-height: 31px;

    display: flex !important;

    align-items: center;

    justify-content: center;

    border-radius: 50% !important;

    color:
        #567066 !important;

    background:
        #f1f6f3 !important;

    border: 0 !important;

    text-decoration: none !important;

    font-size: 12px;

    transition:
        all .25s ease;

}


.moh-social a:hover {

    color:
        #ffffff !important;

    background:
        #087f46 !important;

    transform:
        translateY(-2px);

}


/* ============================================================
   16. MOBILE TOGGLE
   ============================================================ */

.moh-mobile-toggle {

    display: none;

    width: 40px;

    height: 40px;

    min-width: 40px;

    padding: 0;

    align-items: center;

    justify-content: center;

    border:
        1px solid #dce7e1 !important;

    border-radius: 9px !important;

    background:
        #f5faf7 !important;

    color:
        #087f46 !important;

    font-size: 17px;

}


/* ============================================================
   17. TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .moh-hero-layout {

        gap: 30px;

    }


    .moh-nav-list a {

        padding:
            0 8px;

        font-size: 11px;

    }


    .moh-navigation {

        gap: 10px;

    }

}


/* ============================================================
   18. TABLET / MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 991px) {


    /* ---------- Topbar ---------- */

    .moh-topbar-title {

        display: none;

    }


    .moh-topbar-inner {

        justify-content: center;

    }


    /* ---------- Hero ---------- */

    .moh-hero {

        height: 570px;

    }


    .moh-hero-layout {

        grid-template-columns:
            1fr;

        gap: 10px;

        padding:
            30px 0 50px;

    }


    .moh-hero-main {

        order: 1;

        align-items: center;

        text-align: center;

    }


    .moh-hero-visual {

        order: 2;

    }


    .moh-hero-title {

        font-size: 40px;

    }


    .moh-hero-description {

        max-width: 700px;

    }


    .moh-hero-features {

        justify-content: center;

    }


    /* ---------- Navbar ---------- */

    .moh-navbar-inner {

        min-height: 62px;

        flex-wrap: wrap;

        justify-content: flex-start;

    }


    .moh-mobile-toggle {

        display: flex;

        margin-right: auto;

    }


    .moh-navigation {

        width: 100%;

        min-height: auto;

        display: none !important;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 0;

        padding-bottom: 10px;

    }


    .moh-navigation.collapse.show {

        display: flex !important;

    }


    .moh-nav-list {

        width: 100%;

        display: flex !important;

        flex-direction: column;

        align-items: stretch;

    }


    .moh-nav-list li {

        width: 100%;

    }


    .moh-nav-list a {

        width: 100% !important;

        min-height: 45px;

        justify-content: flex-start !important;

        padding:
            0 15px;

        border-bottom:
            1px solid #edf2ef !important;

    }


    .moh-nav-list a::after {

        display: none;

    }


    .moh-social {

        width: 100%;

        justify-content: center;

        padding:
            10px 0 3px;

        border-left: 0;

        border-top:
            1px solid #e4ebe7;

    }

}


/* ============================================================
   19. MOBILE
   ============================================================ */

@media (max-width: 767px) {


    /* ---------- Topbar ---------- */

    .moh-topbar {

        min-height: 36px;

    }


    .moh-topbar-inner {

        min-height: 36px;

    }


    .moh-topbar-links {

        width: 100%;

        justify-content: center;

        gap: 12px;

    }


    .moh-topbar-links a {

        font-size: 10px;

    }


    .moh-topbar-links a:nth-child(2) {

        display: none;

    }


    /* ---------- Hero ---------- */

    .moh-hero {

        height: auto;

        min-height: 680px;

    }


    .moh-hero-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(3,45,27,.48),
                rgba(3,61,36,.88)
            );

    }


    .moh-hero-layout {

        min-height: 680px;

        padding:
            38px 10px 65px;

        display: flex;

        flex-direction: column;

        justify-content: center;

        gap: 18px;

    }


    .moh-hero-main {

        width: 100%;

    }


    .moh-hero-label {

        font-size: 11px;

    }


    .moh-hero-title {

        font-size: 29px;

        white-space: normal;

    }


    .moh-hero-english {

        font-size: 10px;

        letter-spacing: 1.5px;

    }


    .moh-hero-description {

        margin:
            11px 0 16px;

        font-size: 12px;

        line-height: 1.8;

    }


    /* ---------- Features ---------- */

    .moh-hero-features {

        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 6px;

        margin-bottom: 17px;

    }


    .moh-feature {

        min-width: 0;

        min-height: 70px;

        padding:
            7px 5px;

        flex-direction: column;

        justify-content: center;

        gap: 4px;

        text-align: center;

    }


    .moh-feature-icon {

        width: 28px;

        height: 28px;

        min-width: 28px;

        font-size: 12px;

    }


    .moh-feature-content {

        align-items: center;

        text-align: center;

    }


    .moh-feature-content strong {

        font-size: 9px;

    }


    .moh-feature-content span {

        font-size: 8px;

    }


    /* ---------- Buttons ---------- */

    .moh-hero-actions {

        width: 100%;

        justify-content: center;

    }


    .moh-hero-btn {

        flex: 1;

        min-height: 43px;

        padding:
            0 8px;

        font-size: 10px;

    }


    /* ---------- Logo ---------- */

    .moh-logo-card {

        width: 105px;

        height: 105px;

    }


    .moh-logo-ring {

        width: 82px;

        height: 82px;

        padding: 7px;

    }


    .moh-visual-text {

        margin-top: 7px;

        font-size: 15px;

    }


    .moh-visual-text span {

        font-size: 10px;

    }


    /* ---------- Wave ---------- */

    .moh-hero-wave {

        left: -15%;

        bottom: -23px;

        width: 130%;

        height: 48px;

    }

}


/* ============================================================
   20. VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

    .moh-hero {

        min-height: 700px;

    }


    .moh-hero-title {

        font-size: 27px;

    }


    .moh-hero-description {

        font-size: 11px;

    }


    .moh-feature-content strong {

        font-size: 8px;

    }


    .moh-feature-content span {

        font-size: 7px;

    }

}