/* =========================================================
   Welcome banner + Important links
   Colors: #ffc400 button · #141fa4 icon circle · yellow icons
   Fully responsive
   ========================================================= */

:root {
    --gu-yellow: #ffc400;
    --gu-icon-blue: #4295c9;
}

/* ---------- Important links ---------- */
.ref-section,
.ref-section .section-wrapper,
.ref-section .container,
.ref-section .row {
    background: #f8fafc !important;
}

.ref-section {
    padding: 0;
    direction: rtl;
}

.ref-section .section-wrapper {
    padding-top: 20px;
    padding-bottom: 40px;
}

.ref-section .section-wrapper:before {
    display: none !important;
    content: none !important;
}

.important-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: -10px;
    margin-left: -10px;
}

.important-link-column {
    width: 20%;
    padding: 10px;
    box-sizing: border-box;
}

.link-box {
    position: relative;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
    background: #ffffff !important;
    border: 1px solid #edf1f5;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-box:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.link-box a {
    position: relative;
    z-index: 10;
    display: flex !important;
    width: 100%;
    height: 100%;
    min-height: 260px;
    padding: 24px 18px !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #102a43 !important;
    background: transparent !important;
    border: 0 !important;
    text-decoration: none !important;
    cursor: pointer;
    pointer-events: auto !important;
}

.link-box .icon-wrapper {
    display: flex;
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #4295c9 !important;
    background-image: none !important;
}

.link-box .icon-wrapper img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.link-box .icon-wrapper img.icon-logo {
    filter: none;
}

.link-box h3 {
    margin: 0 0 10px;
    color: #102a43 !important;
    font-size: 19px;
    font-weight: 700;
}

.link-box:hover h3 {
    color: #102a43 !important;
}

.important-link-description {
    margin-bottom: 14px;
    color: #64748b !important;
    font-size: 14px;
    line-height: 1.7;
}

.important-link-more {
    margin-top: auto;
    color: #123b63 !important;
    font-weight: 700;
}

.link-box a:focus,
.link-box a:active,
.link-box:focus,
.link-box:active {
    outline: none !important;
    box-shadow: none !important;
}

/* ---------- Welcome ---------- */
.welcome-banner {
    position: relative;
    z-index: 20;
    direction: rtl;
    margin-top: 20px;
    margin-bottom: 40px;
    margin-right: 0;
    padding: 0 15px;
}

.welcome-text {
    max-width: 720px;
    text-align: right;
    margin-right: clamp(0px, 8vw, 120px);
}

.welcome-small-title {
    display: block;
    margin-bottom: 6px;
    color: #1c4b7d;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 600;
}

.welcome-text h2 {
    margin: 0 0 14px;
    color: #082d63 !important;
    -webkit-text-fill-color: #082d63 !important;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.3;
    opacity: 1;
    visibility: visible;
}

.welcome-text h2:hover,
.welcome-text:hover h2 {
    color: #082d63 !important;
    -webkit-text-fill-color: #082d63 !important;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.welcome-text p {
    margin: 0 0 28px;
    color: #536273;
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.9;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

.welcome-btn {
    display: inline-flex;
    min-width: 170px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.welcome-btn-primary {
    color: #ffffff !important;
    background: var(--gu-yellow);
    box-shadow: 0 7px 18px rgba(244, 165, 28, 0.25);
}

.welcome-btn-primary:hover {
    color: #ffffff !important;
    background: #e6b000;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(255, 196, 0, 0.3);
}

.welcome-btn-secondary {
    color: #0f5ea8 !important;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 94, 168, 0.3);
}

.welcome-btn-secondary:hover {
    color: #0f5ea8 !important;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.welcome-btn:focus,
.welcome-btn:active {
    outline: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .important-link-column {
        width: 33.333%;
    }

    .welcome-text {
        margin-right: clamp(0px, 4vw, 60px);
    }
}

@media (max-width: 991px) {
    .welcome-banner {
        margin-top: 16px;
        margin-bottom: 32px;
        padding: 0 20px;
    }

    .welcome-text {
        max-width: 100%;
        margin-right: 0;
    }

    .link-box,
    .link-box a {
        min-height: 240px;
    }
}

@media (max-width: 767px) {
    .welcome-banner {
        margin-top: 12px;
        margin-bottom: 24px;
        padding: 0 16px;
    }

    .welcome-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .welcome-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }

    .welcome-btn {
        width: 100%;
        min-width: 0;
    }

    .important-link-column {
        width: 50%;
        padding: 8px;
    }

    .link-box,
    .link-box a {
        min-height: 230px;
    }

    .link-box a {
        padding: 20px 14px !important;
    }

    .link-box .icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .link-box .icon-wrapper img {
        width: 36px;
        height: 36px;
    }

    .link-box h3 {
        font-size: 16px;
    }

    .important-link-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .important-link-column {
        width: 100%;
        max-width: 320px;
    }

    .important-links-row {
        justify-content: center;
    }

    .link-box,
    .link-box a {
        min-height: 220px;
    }
}
