/* Glass Pages — shared foundation */

.page-header-section {
    padding-top: 20px;
    padding-bottom: 0;
}

.page-header-section .page-title {
    margin-top: 0;
    margin-bottom: 8px;
}

/* Glass card base */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Section spacing */
.section-block {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Salary badge pill */
.badge-salary {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(116, 135, 221, 0.15);
    color: #7487DD;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* Modern pagination */
.pagination-modern {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 40px 0;
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
}

.pagination-modern li a,
.pagination-modern li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-modern li a:hover {
    background: rgba(116, 135, 221, 0.15);
    border-color: rgba(116, 135, 221, 0.3);
    color: #fff;
    text-decoration: none;
}

.pagination-modern li.active span,
.pagination-modern li.active a {
    background: rgba(116, 135, 221, 0.25);
    border-color: rgba(116, 135, 221, 0.4);
    color: #fff;
    font-weight: 600;
}

.pagination-modern li.disabled span {
    opacity: 0.3;
    cursor: default;
}

/* Section title */
.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title-row .section-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.section-title-row .section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7487DD;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.section-title-row .section-link:hover {
    color: #98a8f0;
    gap: 10px;
    text-decoration: none;
}

/* Scroll animations observer JS (inline helper) */
.sal-grid.sal {
    opacity: 1;
    transform: none;
    transition: none;
}

.sal-grid .sal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sal-grid.is-visible .sal-item {
    opacity: 1;
    transform: none;
}

.sal-grid.is-visible .sal-item:nth-child(1) { transition-delay: 0.05s; }
.sal-grid.is-visible .sal-item:nth-child(2) { transition-delay: 0.1s; }
.sal-grid.is-visible .sal-item:nth-child(3) { transition-delay: 0.15s; }
.sal-grid.is-visible .sal-item:nth-child(4) { transition-delay: 0.2s; }
.sal-grid.is-visible .sal-item:nth-child(5) { transition-delay: 0.25s; }
.sal-grid.is-visible .sal-item:nth-child(6) { transition-delay: 0.3s; }
.sal-grid.is-visible .sal-item:nth-child(7) { transition-delay: 0.35s; }
.sal-grid.is-visible .sal-item:nth-child(8) { transition-delay: 0.4s; }
.sal-grid.is-visible .sal-item:nth-child(9) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
    .sal-grid .sal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
