.about-hero {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 2rem;
    box-shadow: var(--cloud-shadow);
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.02) 45%),
        radial-gradient(circle at 85% 10%, rgba(175, 227, 255, 0.34) 0%, rgba(175, 227, 255, 0.04) 42%),
        linear-gradient(135deg, #eff8ff 0%, #d7ecfd 38%, #c6e8ff 100%);
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.01) 52%),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.1) 0 2px,
            transparent 2px 15px
        );
    opacity: 0.7;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/about-overlay.jpg') center/cover no-repeat;
    opacity: 0.18;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.about-hero .eyebrow {
    color: #2a6a92;
}

.about-hero p {
    color: #2f5f84;
}

/* ── Standalone Office / Map sections ───────────────────────── */
.about-office-section .about-card,
.about-map-section .about-card {
    height: auto;
}

.about-grid {
    align-items: stretch;
}

.about-card {
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
}

.about-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.about-info-list li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.62rem;
    align-items: start;
    color: var(--text-700);
    line-height: 1.45;
}

.about-info-list a {
    color: var(--text-700);
    text-decoration: none;
}

.about-info-list a:hover {
    color: var(--text-900);
    text-decoration: underline;
}

.about-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9f6ff;
    color: var(--sky-strong);
    box-shadow: inset 0 0 0 1px #c8e6fb;
}

.about-icon-badge svg {
    width: 17px;
    height: 17px;
}

.about-card .btn {
    margin-top: auto;
}

/* ── Credentials Section ─────────────────────────────────────── */
.credentials-section {
    padding-top: 0.5rem;
}

.credentials-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.credentials-header h2 {
    margin: 0.3rem 0 0.6rem;
}

.credentials-subtitle {
    color: var(--text-500, #6b7280);
    max-width: 540px;
    margin: 0 auto;
    font-size: 0.97rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.credential-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
}

.credential-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Coloured top accent bar per card type */
.credential-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.credential-badge svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.credential-badge.bir   { background: linear-gradient(135deg, #1a56db, #3b82f6); }
.credential-badge.dot   { background: linear-gradient(135deg, #047857, #10b981); }
.credential-badge.mayor { background: linear-gradient(135deg, #b45309, #f59e0b); }
.credential-badge.sec   { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

/* Image wrapper */
.credential-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.credential-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.35s ease;
}

.credential-card:hover .credential-img {
    transform: scale(1.06);
}

/* Info block */
.credential-info {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.credential-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-900, #111827);
    line-height: 1.3;
}

.credential-number {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sky-strong, #1d6fa4);
    font-family: 'SF Mono', 'Consolas', monospace;
    letter-spacing: 0.02em;
}

.credential-issuer {
    font-size: 0.74rem;
    color: var(--text-400, #9ca3af);
    line-height: 1.4;
    margin-top: 0.1rem;
}

@media (max-width: 1024px) {
    .about-hero {
        padding: 1.5rem;
    }

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

@media (max-width: 560px) {
    .about-hero {
        border-radius: 28px;
        padding: 1.2rem;
    }

    .about-info-list li {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 0.55rem;
    }

    .about-icon-badge {
        width: 30px;
        height: 30px;
    }

    .about-icon-badge svg {
        width: 15px;
        height: 15px;
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9rem;
    }

    .credential-info {
        padding: 0.75rem 0.85rem 0.9rem;
    }

    .credential-label {
        font-size: 0.78rem;
    }

    .credential-number {
        font-size: 0.68rem;
    }

    .credential-issuer {
        font-size: 0.66rem;
    }
}
