/* ══════════════════════════════════════════════════════════════════════════════
   QuickBill — About Page (E-E-A-T Author Profile)
   Premium styling with modern design language
   ══════════════════════════════════════════════════════════════════════════════ */

.qba-about {
    max-width: 100%;
    margin: 0;
}

/* ── Hero Section ── */
.qba-hero {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.qba-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 155, 215, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.qba-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.qba-hero-photo {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.qba-hero-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.qba-hero-badge {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 12px rgba(46, 125, 50, 0.4);
}

.qba-hero-info {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.qba-hero-name {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.qba-hero-role {
    font-size: 15px;
    font-weight: 600;
    color: #64b5f6;
    margin: 0 0 12px;
    letter-spacing: 0.2px;
}

.qba-hero-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 20px;
    line-height: 1.6;
    max-width: 400px;
}

/* ── Social Links ── */
.qba-hero-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.qba-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.qba-social-link:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: #fff;
}

.qba-social-fb:hover  { background: #1877f2; box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4); }
.qba-social-tw:hover  { background: #1da1f2; box-shadow: 0 6px 20px rgba(29, 161, 242, 0.4); }
.qba-social-li:hover  { background: #0077b5; box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4); }
.qba-social-yt:hover  { background: #ff0000; box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35); }

.qba-social-link svg {
    width: 18px;
    height: 18px;
}

/* ── Section Shared ── */
.qba-section {
    margin-bottom: 28px;
}

.qba-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.qba-section-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin: 0 0 12px;
}

.qba-section-body p:last-child {
    margin-bottom: 0;
}

/* ── Expertise Grid ── */
.qba-expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.qba-expertise-card {
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.qba-expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e9bd7, #2e7d32);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.qba-expertise-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.qba-expertise-card:hover::before {
    opacity: 1;
}

.qba-expertise-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.qba-expertise-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.qba-expertise-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ── Stats Grid ── */
.qba-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.qba-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.qba-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.qba-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #1565c0;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.qba-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Trust Grid ── */
.qba-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.qba-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: border-color 0.2s ease;
}

.qba-trust-item:hover {
    border-color: #2e7d32;
}

.qba-trust-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    font-size: 14px;
    font-weight: 800;
}

.qba-trust-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.qba-trust-item p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ── Contact CTA ── */
.qba-contact {
    text-align: center;
    padding: 40px 32px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-radius: 16px;
    border: 1px solid #e0e7ff;
    margin-top: 8px;
}

.qba-contact-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.qba-contact-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.qba-contact-methods {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.qba-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.qba-contact-btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.qba-contact-email {
    background: #1565c0;
    color: #fff;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.3);
}

.qba-contact-email:hover {
    background: #0d47a1;
    color: #fff;
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.45);
}

.qba-contact-email:visited {
    color: #fff;
}

.qba-contact-page {
    background: #fff;
    color: #1a1a2e;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.qba-contact-page:hover {
    border-color: #9ca3af;
    color: #1a1a2e;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.qba-contact-page:visited {
    color: #1a1a2e;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .qba-hero {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
    }

    .qba-hero-tagline {
        max-width: 100%;
    }

    .qba-hero-social {
        justify-content: center;
    }

    .qba-expertise-grid {
        grid-template-columns: 1fr;
    }

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

    .qba-trust-grid {
        grid-template-columns: 1fr;
    }

    .qba-hero-photo img {
        width: 130px;
        height: 130px;
    }

    .qba-hero-name {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .qba-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .qba-stat {
        padding: 20px 12px;
    }

    .qba-stat-number {
        font-size: 26px;
    }

    .qba-contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .qba-contact-btn {
        width: 100%;
        justify-content: center;
    }
}
