/* ==========================================================
   APPLICATIONS PAGE
========================================================== */

.applications-page {
    position: relative;
    background: #f7f9fc;
    border: 1px solid #dde6f2;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,.03), 0 20px 50px rgba(13,71,161,.04);
}
    .applications-page::before,
    .applications-page::after {
        content: "";
        position: absolute;
        
        left: 35px;
        right: 35px;
        height: 3px;
        border-radius: 10px;
        background: linear-gradient( 90deg, #0d47a1 0%, #4c78d8 50%, #0d47a1 100% );
    }
    .applications-page::before {
        top: 0;
        left: 35px;
        right: 35px;
        height: 3px;
    }
    .applications-page::after {
        bottom: 0;
        left: 120px;
        right: 120px;
        height: 2px;
        opacity: .35;
    }

.application-card {
    background: #fafbfc;
    border: 1px solid #d9e2ef;
    border-radius: 24px;
    padding: 28px 24px 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: all .35s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
}

    .application-card::after {
        content: "";
        position: absolute;
        inset: 7px;
        border: 1px solid rgba(13,71,161,.08);
        border-radius: 18px;
        pointer-events: none;
    }

    .application-card:hover {
        transform: translateY(-6px);
        border-color: #0d47a1;
        box-shadow: 0 18px 40px rgba(13,71,161,.12), 0 8px 18px rgba(0,0,0,.05);
    }

    .application-card h4 {
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.4;
        min-height: 70px;
        margin-bottom: 22px;
    }

.card-number {
    position: absolute;
    top: -14px;
    left: 22px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d47a1;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    z-index: 100;
}

.icon-circle {
    width: 72px;
    height: 72px;
    margin: 6px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #edf1f5;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0,0,0,.07);
    transition: .35s;
}

    .icon-circle i {
        font-size: 2.3rem;
        color: #0d47a1;
    }

.ek-icon {
    width: 56px;
    height: 56px;
    display: block;
    color: #0d47a1;
    transition: all .3s ease;
}

.ek-icon-sm {
    width: 34px;
    height: 34px;
    display: block;
    color: #0d47a1;
    transition: all .3s ease;
}

.ek-icon2 {
    width: 36px;
    height: 36px;
    display: block;
    color: #0d47a1;
    transition: all .3s ease;
}

.ek-icon-lg {
    width: 42px;
    height: 42px;
    display: block;
    color: #0d47a1;
    transition: all .3s ease;
}

.application-card:hover .icon-circle {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--bs-primary);
    box-shadow: 0 15px 35px rgba(13,110,253,.15);
}

.btn-download {
    margin-top: auto;
    min-width: 190px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: .95rem;
    transition: .3s ease;
}

    .btn-download:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(13,71,161,.12);
    }

.file-info {
    margin-top: 14px;
    font-size: .88rem;
    color: #6c757d;
}

/* ==========================================================
   HERO  - Page Title
========================================================== */
.page-title {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 4rem;
}

.page-title-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#0d47a1,#2956c8);
    color: #fff;
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: 0 12px 30px rgba(13,71,161,.18);
}

.page-title-content {
    flex: 1;
}

.page-title h1 {
    margin: 0 0 18px;
    font-size: 3.2rem;
    font-weight: 800;
    color: #0d47a1;
    letter-spacing: .5px;
    line-height: 1;
}

.page-title p {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.9;
    color: #4b5563;
    max-width: none;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 3.5rem 0 2rem;
}
/* ==========================================================
   SECTION TITLES
========================================================== */
.section-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0d47a1;
    border-radius: 50%;
    background: #fff;
    color: #0d47a1;
    font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(13,71,161,.08);
}

.section-heading h2 {
    margin: 0;
    color: #0d47a1;
    font-size: 2.15rem;
    font-weight: 700;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient( to right, rgba(13,71,161,.35), rgba(13,71,161,.12), transparent );
}
/* ==========================================================
   accordions
========================================================== */
.accordion-item {
    border: none !important;
    overflow: hidden;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
}

.accordion-button {
    background: #f8fbff !important;
    color: #0d47a1 !important;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 22px 28px;
}
    .accordion-button:not(.collapsed) {
        background: #eef5ff !important;
        box-shadow: none;
    }

/* ==========================================================
   Οδηγίες υποβολής
========================================================== */
.process-body {
    position: relative;
    background: #f5f7fb;
    padding: 45px;
    border-radius: 22px;
}

.process-line {
    position: absolute;
    top: 62px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient( 90deg, #dbe5f3, #c7d6ef, #dbe5f3 );
    z-index: 1;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 2;
    transition: .35s;
}

    .process-step:hover {
        transform: translateY(-2px);
    }

.process-badge {
    width: 34px;
    height: 34px;
    margin: 0 auto -18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d47a1;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: .9rem;
    border: 3px solid #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,.10);
    position: relative;
    z-index: 5;
}

.step-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dde6f2;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0,0,0,.04);
    transition: .35s;
}

.process-step:hover .step-icon {
    border-color: #0d47a1;
    box-shadow: 0 12px 28px rgba(13,71,161,.12);
}



.process-step h5 {
    margin-top: 15px;
    margin-bottom: 10px;
    color: #0d47a1;
    font-weight: 700;
    font-size: 1.1rem;
}

.process-step p {
    margin-bottom: 14px;
    color: #5b6472;
    font-size: .95rem;
    line-height: 1.65;
}

.mail-pill {
    display: inline-block;
    padding: 7px 14px;
    background: #eef5ff;
    color: #0d47a1;
    border-radius: 30px;
    font-size: .9rem;
    font-weight: 600;
    border: 1px solid #dbe8ff;
}

@media(max-width:991px) {

    .process-line {
        display: none;
    }

    .process-body {
        padding: 30px;
    }

    .process-step {
        margin-bottom: 20px;
    }
}
/* ==========================================================
   Δικαιολογητικα
========================================================== */
.documents-body {
    background: #f5f7fb;
    padding: 40px;
    border-radius: 22px;
}

.documents-card {
    background: #ffffff;
    border: 1px solid #e3eaf4;
    border-radius: 18px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0,0,0,.03);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .documents-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(13,71,161,.08);
    }

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .documents-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px solid #edf2f8;
        color: #49566a;
        font-size: 1rem;
        line-height: 1.6;
    }

        .documents-list li:last-child {
            border-bottom: none;
        }

.doc-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0d47a1;
    color: #fff;
    font-size: .85rem;
    margin-top: 2px;
}

/* ==========================================================
   MOBILE OPTIMIZATION
========================================================== */

@media (max-width:768px) {

    /* ---------- Page ---------- */

    .applications-page {
        padding: 22px;
        border-radius: 22px;
    }

        .applications-page::before {
            left: 25px;
            right: 25px;
        }

        .applications-page::after {
            left: 60px;
            right: 60px;
            bottom: 0;
        }

    /* ---------- Hero ---------- */

    .page-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        margin-bottom: 2.5rem;
    }

    .page-title-icon {
        width: 58px;
        height: 58px;
        font-size: 1.5rem;
    }

    .page-title h1 {
        font-size: 2.4rem;
        margin-bottom: 12px;
    }

    .page-title p {
        font-size: 1rem;
        line-height: 1.75;
        max-width: 100%;
    }

    /* ---------- Section Titles ---------- */

    .section-heading {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin: 2.5rem 0 1.5rem;
        text-align: center;
    }

        .section-heading h2 {
            font-size: 1.7rem;
            white-space: normal;
            line-height: 1.2;
        }

    .section-line {
        display: none;
    }

    .section-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    /* ---------- Cards ---------- */

    .application-card {
        padding: 22px 18px 18px;
    }

        .application-card h4 {
            font-size: 1.15rem;
            min-height: auto;
            margin-bottom: 18px;
        }

    .card-number {
        width: 38px;
        height: 38px;
        left: 18px;
        font-size: .95rem;
    }

    .icon-circle {
        width: 68px;
        height: 68px;
        margin-bottom: 18px;
    }

    .ek-icon {
        width: 38px;
        height: 38px;
    }

    .btn-download {
        min-width: 170px;
        padding: 8px 14px;
        font-size: .92rem;
    }

    .file-info {
        font-size: .85rem;
    }

    /* ---------- Accordion ---------- */

    .accordion-button {
        padding: 18px;
        font-size: 1rem;
        line-height: 1.35;
    }

    /* ---------- Process ---------- */

    .process-body {
        padding: 25px;
    }

    .process-line {
        display: none;
    }

    .process-step {
        margin-bottom: 35px;
    }

        .process-step:last-child {
            margin-bottom: 0;
        }

    .process-badge {
        width: 32px;
        height: 32px;
        margin-bottom: -15px;
        font-size: .85rem;
    }

    .step-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 18px;
    }

    .ek-icon-sm {
        width: 30px;
        height: 30px;
    }

    .process-step h5 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .process-step p {
        font-size: .92rem;
        line-height: 1.6;
    }

    .mail-pill {
        font-size: .85rem;
        padding: 6px 12px;
    }

    /* ---------- Documents ---------- */

    .documents-body {
        padding: 20px;
    }

    .documents-card {
        padding: 20px;
        border-radius: 16px;
    }

        .documents-card + .documents-card {
            margin-top: 15px;
        }

    .documents-list li {
        font-size: .95rem;
        gap: 10px;
        padding: 12px 0;
    }

    .doc-check {
        width: 26px;
        height: 26px;
        font-size: .8rem;
    }

    /* ---------- Spacing ---------- */

    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

/* ---------- Alert ---------- */
.note-box {
    background: #fff8e8;
    border: 1px solid #f3df9c;
    color: #6c5712;
    border-radius: 18px;
}