/*==================================================
    QUALIFICATIONS PAGE
==================================================*/

.qualifications-page-hero {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    color: var(--white);
    padding: 155px 0 85px;
    border-bottom: 4px solid var(--secondary);
}

    .qualifications-page-hero::before {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        top: -180px;
        right: -80px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
    }

    .qualifications-page-hero::after {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        right: 130px;
        bottom: -170px;
        background: rgba(201, 160, 65, 0.08);
        border-radius: 50%;
    }

.qualifications-page-header {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.qualifications-page-category {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.qualifications-page-header h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.qualifications-page-header p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    line-height: 1.8;
    margin: 0;
    max-width: 700px;
}


/*==================================================
    CONTENT
==================================================*/

.qualifications-page-content {
    background: var(--light);
    padding: 85px 0 100px;
    min-height: 500px;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/*==================================================
    CARD
==================================================*/

.qualification-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(12, 35, 64, 0.08);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(12, 35, 64, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .qualification-card::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 5px;
        background: var(--secondary);
    }

    .qualification-card:hover {
        transform: translateY(-7px);
        border-color: rgba(201, 160, 65, 0.35);
        box-shadow: 0 22px 50px rgba(12, 35, 64, 0.14);
    }

.qualification-card-top {
    padding: 26px 30px 0 34px;
}

.qualification-card-label {
    display: inline-block;
    padding: 7px 13px;
    background: rgba(201, 160, 65, 0.13);
    color: #8f6b1c;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.qualification-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 30px 32px 34px;
    text-align: left;
}

.qualification-card h2 {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.4;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
}

.qualification-card p {
    color: #67717f;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}


/*==================================================
    BUTTON
==================================================*/

.qualification-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-height: 48px;
    padding: 13px 24px;
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--secondary);
    border-radius: 50px;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .qualification-download-button:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 9px 22px rgba(12, 35, 64, 0.18);
    }


/*==================================================
    EMPTY STATE
==================================================*/

.qualification-empty {
    max-width: 760px;
    margin: 20px auto;
    padding: 70px 40px;
    background: var(--white);
    border: 1px solid rgba(12, 35, 64, 0.08);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(12, 35, 64, 0.08);
    text-align: center;
}

    .qualification-empty h2 {
        color: var(--primary);
        margin-bottom: 18px;
    }

    .qualification-empty p {
        color: #67717f;
        font-size: 1.05rem;
        line-height: 1.8;
        margin: 0;
    }


/*==================================================
    RESPONSIVE
==================================================*/

@media (max-width: 991px) {

    .qualifications-page-hero {
        padding: 135px 0 70px;
    }

    .qualifications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .qualifications-page-hero {
        padding: 120px 0 60px;
    }

    .qualifications-page-content {
        padding: 60px 0 75px;
    }

    .qualifications-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .qualification-card-top {
        padding: 24px 25px 0 29px;
    }

    .qualification-card-body {
        padding: 21px 25px 28px 29px;
    }
}

@media (max-width: 480px) {

    .qualifications-page-header p {
        font-size: 1rem;
    }

    .qualification-empty {
        padding: 50px 25px;
    }
}
