/* =========================================================
   STUDENT AFFAIRS: Student Application Processing System (SAPS)
========================================================= */

.saps-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #edf7f8;
    color: #0b858d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.saps-intro-text h2,
.saps-heading h2 {
    margin-bottom: 16px;
    color: #073b4c;
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
}

    .saps-intro-text h2 span,
    .saps-heading h2 span {
        color: #0b858d;
    }

/* ---------- Intro ---------- */

.saps-intro-section {
    padding: 80px 0 60px;
    background: #f7fafb;
}

.saps-intro {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
}

.saps-intro-text p {
    max-width: 620px;
    margin-bottom: 28px;
    color: #4f6670;
    font-size: 18px;
    line-height: 1.75;
}

.saps-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.saps-btn-primary,
.saps-btn-ghost,
.saps-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}

.saps-btn-primary {
    background: #073b4c;
    color: #ffffff;
}

    .saps-btn-primary:hover {
        background: #0b858d;
        color: #ffffff;
        transform: translateY(-2px);
    }

.saps-btn-ghost {
    border: 1px solid #c9dfe2;
    background: #ffffff;
    color: #073b4c;
}

    .saps-btn-ghost:hover {
        border-color: #0b858d;
        color: #0b858d;
        transform: translateY(-2px);
    }

.saps-intro-panel {
    position: relative;
    overflow: hidden;
    padding: 40px 36px;
    border-radius: 24px;
    background: linear-gradient(140deg, #073b4c 0%, #087f8c 100%);
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(7,59,76,.25);
}

    .saps-intro-panel::after {
        content: "";
        position: absolute;
        right: -60px;
        bottom: -60px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
    }

.saps-panel-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    color: #e5b83d;
    font-size: 26px;
}

.saps-intro-panel strong {
    display: block;
    font-size: 44px;
    font-weight: 850;
    letter-spacing: 2px;
    line-height: 1;
}

.saps-intro-panel > span {
    display: block;
    margin: 8px 0 22px;
    color: rgba(255,255,255,.75);
    font-size: 15px;
}

.saps-intro-panel ul {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.saps-intro-panel li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-size: 13px;
    font-weight: 600;
}

    .saps-intro-panel li i {
        color: #e5b83d;
    }

/* ---------- Section headings ---------- */

.saps-heading {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

    .saps-heading p {
        margin: 0;
        color: #5d7078;
        font-size: 16px;
    }

/* ---------- Key features ---------- */

.saps-features-section {
    padding: 70px 0;
    background: #ffffff;
}

.saps-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.saps-feature {
    position: relative;
    overflow: hidden;
    padding: 30px 26px;
    border: 1px solid #e1eaec;
    border-radius: 20px;
    background: #f7fafb;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
}

    .saps-feature::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #0b858d, #e5b83d);
        opacity: 0;
        transition: opacity .3s ease;
    }

    .saps-feature:hover {
        transform: translateY(-6px);
        border-color: rgba(11,133,141,.3);
        background: #ffffff;
        box-shadow: 0 18px 40px rgba(7,59,76,.1);
    }

        .saps-feature:hover::before {
            opacity: 1;
        }

.saps-feature-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #073b4c;
    color: #e5b83d;
    font-size: 22px;
}

.saps-feature h3 {
    margin-bottom: 10px;
    color: #073b4c;
    font-size: 19px;
    font-weight: 750;
}

.saps-feature p {
    margin: 0;
    color: #5d7078;
    font-size: 15px;
    line-height: 1.65;
}

/* ---------- Covered departments ---------- */

.saps-departments-section {
    padding: 70px 0;
    background: #f7fafb;
}

.saps-departments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.saps-department {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px 14px 14px;
    border: 1px solid #e1eaec;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(7,59,76,.05);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

    .saps-department:hover {
        transform: translateY(-3px);
        border-color: #0b858d;
        box-shadow: 0 12px 26px rgba(7,59,76,.1);
    }

    .saps-department i {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #edf7f8;
        color: #0b858d;
        font-size: 16px;
    }

    .saps-department span {
        color: #073b4c;
        font-size: 16px;
        font-weight: 700;
    }

/* ---------- Call to action ---------- */

.saps-cta-section {
    padding: 0 0 80px;
    background: #f7fafb;
}

.saps-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 44px;
    border-radius: 22px;
    background: linear-gradient(135deg, #082f43, #087f8c);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(7,59,76,.18);
}

    .saps-cta h3 {
        margin-bottom: 6px;
        color: #ffffff;
        font-size: 26px;
        font-weight: 800;
    }

    .saps-cta p {
        margin: 0;
        color: rgba(255,255,255,.78);
        font-size: 16px;
    }

.saps-btn-gold {
    flex-shrink: 0;
    background: #e5b83d;
    color: #082f43;
}

    .saps-btn-gold:hover {
        background: #f0c75c;
        color: #082f43;
        transform: translateY(-2px);
    }

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .saps-intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .saps-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .saps-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 28px;
    }
}

@media (max-width: 575px) {
    .saps-intro-section {
        padding: 56px 0 44px;
    }

    .saps-features {
        grid-template-columns: 1fr;
    }

    .saps-department {
        width: 100%;
    }
}
