/* One card design for the whole site, loaded after styles.css so it overrides the card rules there.
   Every card: white surface, hairline border, 12px corners, soft shadow, a 4px red-to-green strip along the top,
   a 60px gradient icon square, the same title and body text, and the same lift on hover. */

.vm-card,
.value-card,
.team-member,
.service-card,
.industry-card,
.project-card,
.contact-item,
.org-division-head {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card::before,
.value-card::before,
.team-member::before,
.service-card::before,
.industry-card::before,
.project-card::before,
.contact-item::before,
.org-division-head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-green) 100%);
}

.vm-card:hover,
.value-card:hover,
.team-member:hover,
.service-card:hover,
.industry-card:hover,
.project-card:hover,
.contact-item:hover,
.org-division-head:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.vm-card,
.value-card,
.team-member,
.service-card,
.industry-card,
.project-card {
    padding: 34px 28px 30px;
}

/* Content cards read left to right; people cards stay centred around their photos. */
.vm-card,
.value-card,
.service-card,
.industry-card,
.project-card {
    text-align: left;
}

.team-member {
    text-align: center;
}

/* The icon: one gradient square everywhere. */
.vm-icon,
.value-icon,
.service-icon,
.industry-icon,
.project-logo,
.contact-icon,
.org-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

.vm-icon,
.value-icon,
.service-icon,
.industry-icon,
.project-logo {
    margin: 0 0 20px;
}

.org-icon {
    margin: 0 auto 14px;
}

.contact-icon {
    margin: 0;
}

/* Titles and text. */
.vm-card h3,
.value-card h3,
.team-member h3,
.service-card h3,
.industry-card h3,
.project-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.35;
    color: #2d3748;
    margin-bottom: 12px;
}

.vm-card p,
.value-card p,
.team-member p,
.service-card p,
.industry-card p,
.project-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Lists: one bullet everywhere. */
.industry-card li::before {
    content: '✓';
}

/* Vacancies: each one is the same card, stacked full width, with an icon-and-title header and its two lists side
   by side (one under the other on phones). Overrides the older two-column grid and grey blocks in styles.css. */
.career-job-list {
    grid-template-columns: 1fr !important;
    gap: 24px;
}

.career-job-block {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 30px 28px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-job-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-green) 100%);
}

.career-job-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.career-job-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}

.career-job-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

.career-job-head .career-job-title {
    flex: 1 1 0; /* wraps its own words beside the icon instead of dropping below it */
    min-width: 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    color: #2d3748;
}

.career-job-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.career-job-body .career-qualifications {
    margin: 0;
    padding: 0;
    border: 0;
}

.career-job-body .career-qualifications strong {
    color: #2d3748;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.career-job-body .career-qualifications ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #4a5568;
    font-size: 0.98rem;
    line-height: 1.6;
}

.career-job-body .career-qualifications li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.career-job-body .career-qualifications li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

@media (max-width: 768px) {
    .career-job-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
