/* ============================================================
   About page — cohesive light-theme refresh for the sections
   after the Core Team block. Loaded last so it wins the cascade.
   Design language mirrors the team cards: white surfaces, subtle
   borders, blue accents, rounded-square icons, hover lift.
   ============================================================ */

:root {
    --ab-ink: #0f172a;
    --ab-body: #475569;
    --ab-muted: #64748b;
    --ab-line: rgba(15, 23, 42, 0.08);
    --ab-accent: #2563eb;
    --ab-accent-soft: rgba(37, 99, 235, 0.1);
    --ab-radius: 0.9rem;
    --ab-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    --ab-shadow-lg: 0 16px 34px rgba(37, 99, 235, 0.14);
}

/* ---------- Section titles: centered gradient eyebrow ---------- */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title::before {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    margin: 0 auto 1.1rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
}

.section-title h2 {
    color: var(--ab-ink);
    letter-spacing: -0.01em;
}

.section-title p {
    color: var(--ab-muted);
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* ---------- Shared rounded-square icon treatment ---------- */
.value-icon,
.industry-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: var(--ab-accent-soft);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* ---------- Mission / Vision / Values ---------- */
.value-card {
    background: #fff;
    border: 1px solid var(--ab-line);
    border-top: 4px solid var(--blue-600);
    border-radius: var(--ab-radius);
    padding: 2rem;
    box-shadow: var(--ab-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ab-shadow-lg);
    border-color: rgba(37, 99, 235, 0.22);
}

.value-title {
    color: var(--ab-ink);
}

.value-description {
    color: var(--ab-body);
    line-height: 1.6;
}

/* ---------- Generic info cards (Mission/Vision, Why-Choose-Us) ---------- */
.container .bg-white.rounded-lg.shadow-md {
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    box-shadow: var(--ab-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.container .bg-white.rounded-lg.shadow-md:hover {
    transform: translateY(-4px);
    box-shadow: var(--ab-shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.container .bg-white.rounded-lg.shadow-md h3 {
    color: var(--ab-ink);
    position: relative;
    padding-left: 1rem;
}

.container .bg-white.rounded-lg.shadow-md h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
}

.container .bg-white.rounded-lg.shadow-md p {
    color: var(--ab-body);
    line-height: 1.65;
}

/* ---------- Timeline ---------- */
.timeline::after {
    width: 4px;
    background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
    opacity: 0.35;
    margin-left: -2px;
}

.timeline-item::after {
    background: #fff;
    border: 4px solid var(--blue-600);
    box-shadow: 0 0 0 4px var(--ab-accent-soft);
}

.timeline-content {
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    box-shadow: var(--ab-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--ab-shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.timeline-year {
    display: inline-block;
    color: var(--blue-600);
    background: var(--ab-accent-soft);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.timeline-content h3 {
    color: var(--ab-ink);
}

.timeline-content p {
    color: var(--ab-body);
}

@media (max-width: 1024px) {
    .timeline-item > .timeline-content,
    .timeline-item:nth-child(even) > .timeline-content {
        background: #fff;
    }
    .timeline::after {
        margin-left: 0;
    }
}

/* ---------- Why Choose Us: stat cards ---------- */
.stat-card {
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    padding: 1.75rem 1.25rem;
    box-shadow: var(--ab-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ab-shadow-lg);
    border-color: rgba(37, 99, 235, 0.22);
}

.stat-number {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--blue-600);
}

.stat-label {
    color: var(--ab-muted);
    font-weight: 500;
}

/* ---------- Clients: industry cards ---------- */
.industry-card {
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--ab-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ab-shadow-lg);
    border-color: rgba(37, 99, 235, 0.22);
}

.industry-name {
    color: var(--ab-ink);
}

.industry-description {
    color: var(--ab-body);
    line-height: 1.6;
}

/* ---------- Clients: headline stats ---------- */
.client-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.client-stat {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
    color: #fff;
    border-radius: var(--ab-radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--ab-shadow-lg);
}

.client-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
    line-height: 1;
}

.client-stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* ---------- Case studies ---------- */
.case-study {
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    overflow: hidden;
    box-shadow: var(--ab-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: var(--ab-shadow-lg);
    border-color: rgba(37, 99, 235, 0.22);
}

.case-study-description {
    color: var(--ab-body);
    line-height: 1.6;
}

/* ---------- Why Certifications Matter ---------- */
.cert-why {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: var(--ab-shadow);
    margin-bottom: 1.5rem;
}

.cert-why-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
    margin-bottom: 1.25rem;
}

.cert-why-badge svg {
    width: 28px;
    height: 28px;
}

.cert-why-title {
    color: var(--ab-ink);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.cert-why-lead {
    color: var(--ab-body);
    line-height: 1.7;
    margin: 0;
}

.cert-why-points {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cert-point {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: var(--ab-soft, #f8fafc);
    border: 1px solid var(--ab-line);
    border-radius: 0.75rem;
    padding: 1rem 1.15rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cert-point:hover {
    transform: translateX(4px);
    box-shadow: var(--ab-shadow-lg);
    border-color: rgba(37, 99, 235, 0.22);
}

.cert-point-mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--blue-600);
    background: var(--ab-accent-soft);
    margin-top: 0.05rem;
}

.cert-point-mark svg {
    width: 15px;
    height: 15px;
}

.cert-point p {
    margin: 0;
    color: var(--ab-body);
    line-height: 1.5;
}

.cert-why-note {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.75rem 2rem;
    border-radius: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
    overflow: hidden;
}

.cert-why-quote {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    opacity: 0.55;
}

.cert-why-note p {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 860px) {
    .cert-why {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2rem 1.5rem;
    }
    .cert-why-note {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* ---------- Industry Success Stories ---------- */
.success-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .success-grid {
        grid-template-columns: 1fr;
    }
}

.success-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: 1.1rem;
    padding: 2rem;
    box-shadow: var(--ab-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ab-shadow-lg);
    border-color: rgba(37, 99, 235, 0.22);
}

.success-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.success-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    color: var(--blue-600);
    background: var(--ab-accent-soft);
}

.success-icon svg {
    width: 24px;
    height: 24px;
}

.success-title {
    margin: 0;
    color: var(--ab-ink);
    font-size: 1.2rem;
    font-weight: 700;
}

.success-text {
    color: var(--ab-body);
    line-height: 1.65;
    margin: 0 0 0.85rem;
}

.success-list {
    list-style: none;
    margin: 0.5rem 0 1.5rem;
    padding: 0;
}

.success-list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.75rem;
    color: var(--ab-body);
    line-height: 1.55;
}

.success-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ab-accent-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.success-result {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1.1rem 1.25rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #eff5ff 0%, #e6effe 100%);
    border-left: 4px solid var(--blue-600);
}

.success-result-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-600);
}

.success-result-text {
    color: var(--ab-ink);
    font-weight: 600;
    line-height: 1.45;
}
