/* =============================================
   ABOUT.CSS — DONHOSTER
   Brand: #6B3DBB · #8E2FE4 · #10B981 · #FCD34D
   ============================================= */

.section-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--text-primary); margin-bottom: 1rem; line-height: 1.2; }
.section-header p  { font-size: 1.0625rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto; line-height: 1.7; }

.ab-section-tag {
    display: inline-block;
    background: rgba(107,61,187,0.1);
    color: #6B3DBB;
    border: 1px solid rgba(107,61,187,0.25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ab-section-tag--light {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.ab-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #6B3DBB 0%, #4C1D95 50%, #1E3A8A 100%);
    overflow: hidden;
    padding: 80px 0;
}

.ab-hero-bg {
    position: absolute;
    inset: 0;
}

.ab-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
}

.ab-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ab-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.pulse-dot {
    width: 9px; height: 9px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-green {
    0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50%      { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.ab-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 22px;
    line-height: 1.15;
}

.ab-gradient-text {
    background: linear-gradient(135deg, #FCD34D 0%, #F97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.ab-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(255,255,255,0.88);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

/* Stats row */
.ab-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    overflow: hidden;
    width: fit-content;
    margin: 0 auto;
}

.ab-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 36px;
}

.ab-stat-num   { font-size: 2rem; font-weight: 900; color: white; line-height: 1; }
.ab-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.72); font-weight: 500; margin-top: 4px; white-space: nowrap; }

.ab-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* ════════════════════════════════════════════
   MISSION & VISION
   ════════════════════════════════════════════ */
.ab-mission { padding: 80px 0; background: var(--bg-primary); }

.ab-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.ab-mission-card {
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ab-mission-card--mission {
    background: linear-gradient(135deg, #6B3DBB 0%, #4C1D95 100%);
    color: white;
}

.ab-mission-card--vision {
    background: linear-gradient(135deg, #1E3A8A 0%, #1e40af 100%);
    color: white;
}

.ab-mission-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.ab-mission-icon {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.ab-mission-icon svg { stroke: white; }

.ab-mission-label { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }
.ab-mission-card h2 { font-size: 1.375rem; font-weight: 800; color: white; margin: 0; line-height: 1.3; }
.ab-mission-card p  { font-size: 0.9375rem; color: rgba(255,255,255,0.88); line-height: 1.75; margin: 0; }

/* Photo card */
.ab-mission-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 300px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.ab-mission-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ab-photo-badge {
    position: absolute;
    bottom: 16px; left: 16px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    color: white;
    border-radius: 50px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 6px;
}
.ab-photo-badge svg { stroke: #10B981; }

/* ════════════════════════════════════════════
   TIMELINE
   ════════════════════════════════════════════ */
.ab-timeline { padding: 80px 0; background: var(--bg-secondary); }

.ab-section-header--light h2,
.ab-section-header--light p { color: white; }
.ab-section-header--light p { color: rgba(255,255,255,0.75); }

/* Vertical line */
.timeline-track {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #6B3DBB, #10B981);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item--left  { flex-direction: row; }
.timeline-item--right { flex-direction: row-reverse; }

/* Year label */
.timeline-year {
    width: calc(50% - 32px);
    text-align: right;
    padding-right: 40px;
    font-size: 1.875rem;
    font-weight: 900;
    color: #6B3DBB;
    line-height: 1;
    padding-top: 4px;
    flex-shrink: 0;
}

.timeline-item--right .timeline-year {
    text-align: left;
    padding-right: 0;
    padding-left: 40px;
}

/* Center dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 4px;
    width: 20px; height: 20px;
    background: var(--bg-secondary);
    border: 3px solid #6B3DBB;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-dot-inner { width: 8px; height: 8px; background: #6B3DBB; border-radius: 50%; }

.timeline-dot--active { border-color: #10B981; box-shadow: 0 0 0 6px rgba(16,185,129,0.15); }
.timeline-dot--active .timeline-dot-inner { background: #10B981; }

/* Card */
.timeline-card {
    width: calc(50% - 32px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px 28px;
    margin-left: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item--right .timeline-card {
    margin-left: 0;
    margin-right: 40px;
}

.timeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: #6B3DBB; }

.timeline-card--active { border-color: #10B981; background: linear-gradient(135deg, rgba(16,185,129,0.04) 0%, var(--bg-card) 100%); }
.timeline-card--active:hover { border-color: #10B981; }

.timeline-icon {
    width: 44px; height: 44px;
    background: rgba(107,61,187,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.timeline-icon svg { stroke: #6B3DBB; }
.timeline-card--active .timeline-icon { background: rgba(16,185,129,0.1); }
.timeline-card--active .timeline-icon svg { stroke: #10B981; }

.timeline-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.timeline-card p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

.timeline-badge {
    display: inline-block;
    background: #10B981;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    margin-top: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ════════════════════════════════════════════
   VALUES
   ════════════════════════════════════════════ */
.ab-values {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #6B3DBB 0%, #4C1D95 50%, #1E3A8A 100%);
    overflow: hidden;
}

.ab-values-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ab-values-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.08; }

.ab-values .section-container { position: relative; z-index: 1; }
.ab-values .section-header h2 { color: white; }
.ab-values .section-header p  { color: rgba(255,255,255,0.75); }

.ab-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ab-value-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.ab-value-card:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.ab-value-icon {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid rgba(255,255,255,0.2);
}
.ab-value-icon svg { stroke: white; }

.ab-value-card h3 { font-size: 1.1875rem; font-weight: 700; color: white; margin-bottom: 12px; }
.ab-value-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.82); line-height: 1.7; margin: 0; }

/* ════════════════════════════════════════════
   CERTIFICATIONS
   ════════════════════════════════════════════ */
.ab-certs { padding: 80px 0; background: var(--bg-primary); }

.ab-certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ab-cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.ab-cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: #6B3DBB; }

/* Certification logo image wrapper */
.ab-cert-logo-wrap {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ab-cert-logo-wrap img {
    max-height: 72px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    /* Normalize varied logo sizes & adapt to dark mode */
    transition: opacity 0.2s ease;
}

[data-theme="dark"] .ab-cert-logo-wrap img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.ab-cert-card:hover .ab-cert-logo-wrap img {
    opacity: 1;
}

.ab-cert-info { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.ab-cert-info strong { font-size: 1.0625rem; font-weight: 800; color: var(--text-primary); }
.ab-cert-info span   { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; }

.ab-cert-card > p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ════════════════════════════════════════════
   TECHNOLOGY PARTNERS
   ════════════════════════════════════════════ */
.ab-partners { padding: 80px 0; background: var(--bg-secondary); }

.ab-partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.ab-partner-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.ab-partner-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: #6B3DBB; }

.ab-partner-logo {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.ab-partner-logo img {
    max-height: 48px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    display: block;
    /* Desaturate by default — brand color on hover */
    filter: grayscale(100%) opacity(60%);
    transition: filter 0.3s ease;
}

.ab-partner-item:hover .ab-partner-logo img {
    filter: grayscale(0%) opacity(100%);
}

[data-theme="dark"] .ab-partner-logo img {
    filter: grayscale(100%) opacity(50%) brightness(1.8);
}

[data-theme="dark"] .ab-partner-item:hover .ab-partner-logo img {
    filter: grayscale(0%) opacity(100%) brightness(1);
}

.ab-partner-item strong { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); }
.ab-partner-item span   { font-size: 0.75rem; color: var(--text-secondary); }

/* ════════════════════════════════════════════
   GLOBALYNET ALLIANCE
   ════════════════════════════════════════════ */
.ab-alliance { padding: 80px 0; background: var(--bg-primary); }

.ab-alliance-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ab-alliance-copy .ab-section-tag { margin-bottom: 16px; }

.ab-alliance-copy h2 {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
}

.ab-alliance-copy > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
}

.ab-alliance-pillars { display: flex; flex-direction: column; gap: 18px; }

.ab-alliance-pillar {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pillar-icon {
    width: 44px; height: 44px;
    background: rgba(107,61,187,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pillar-icon svg { stroke: #6B3DBB; }

.ab-alliance-pillar div { display: flex; flex-direction: column; gap: 3px; }
.ab-alliance-pillar strong { font-size: 0.9375rem; color: var(--text-primary); font-weight: 700; }
.ab-alliance-pillar span   { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }

/* Visual side */
.ab-alliance-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}

.ab-alliance-visual img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.ab-alliance-badge {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    color: white;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 8px;
}

/* ════════════════════════════════════════════
   CTA FINAL
   ════════════════════════════════════════════ */
.ab-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #6B3DBB 0%, #8E2FE4 50%, #6B3DBB 100%);
    position: relative;
    overflow: hidden;
}

.ab-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.ab-cta-content { text-align: center; position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.ab-cta-content h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: white; margin-bottom: 16px; line-height: 1.2; }
.ab-cta-content > p { font-size: 1.0625rem; color: rgba(255,255,255,0.88); margin-bottom: 36px; line-height: 1.65; }

.ab-cta-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.btn-large {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 36px; font-size: 1.0625rem; font-weight: 700;
    border-radius: 10px; text-decoration: none;
    transition: all var(--transition-base); border: 2px solid transparent;
}

.ab-cta-buttons .btn-large.btn-primary { background: linear-gradient(135deg, #10B981, #059669); color: white; box-shadow: 0 8px 24px rgba(16,185,129,0.35); }
.ab-cta-buttons .btn-large.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16,185,129,0.5); }
.ab-cta-buttons .btn-large.btn-secondary { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.4); }
.ab-cta-buttons .btn-large.btn-secondary:hover { background: rgba(255,255,255,0.2); }

.ab-cta-reassurance { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.875rem; color: rgba(255,255,255,0.72); margin: 0; }
.ab-cta-reassurance svg { stroke: rgba(255,255,255,0.72); }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ab-mission-grid  { grid-template-columns: 1fr 1fr; }
    .ab-mission-card--mission { order: 1; }
    .ab-mission-photo         { order: 2; }
    .ab-mission-card--vision  { order: 3; grid-column: 1 / -1; }
    .ab-values-grid   { grid-template-columns: repeat(2, 1fr); }
    .ab-certs-grid    { grid-template-columns: repeat(2, 1fr); }
    .ab-partners-grid { grid-template-columns: repeat(3, 1fr); }
    .ab-alliance-inner { gap: 3rem; }
    .ab-hero-stats .ab-stat { padding: 16px 24px; }
}

@media (max-width: 768px) {
    .ab-hero        { padding: 60px 0; min-height: auto; }
    .ab-hero-stats  { flex-wrap: wrap; border-radius: 12px; }
    .ab-stat        { min-width: 50%; }
    .ab-stat-divider { display: none; }

    .ab-mission-grid  { grid-template-columns: 1fr; }
    .ab-mission-card--vision { grid-column: auto; }
    .ab-mission-photo { min-height: 240px; }

    /* Timeline collapses to single column */
    .timeline-track::before { left: 20px; transform: none; }
    .timeline-item { flex-direction: column; padding-left: 52px; }
    .timeline-item--right { flex-direction: column; }
    .timeline-dot { left: 20px; transform: none; top: 6px; }
    .timeline-year { width: 100%; text-align: left; padding: 0 0 8px 0; font-size: 1.375rem; }
    .timeline-item--right .timeline-year { padding: 0 0 8px 0; }
    .timeline-card { width: 100%; margin-left: 0; margin-right: 0; }

    .ab-values-grid   { grid-template-columns: 1fr; }
    .ab-certs-grid    { grid-template-columns: 1fr; }
    .ab-partners-grid { grid-template-columns: repeat(2, 1fr); }
    .ab-alliance-inner { grid-template-columns: 1fr; gap: 2rem; }
    .ab-cta-buttons   { flex-direction: column; align-items: center; }
    .btn-large        { width: 100%; max-width: 320px; justify-content: center; }
    .section-container { padding: 0 1.25rem; }
}

/* ── Hero stats: now 3 items (removed ISO text stat) ── */
.ab-hero-stats .ab-stat { padding: 18px 32px; }

/* ════════════════════════════════════════════
   HERO CERTIFICATION LOGOS
   ════════════════════════════════════════════ */
.ab-hero-certs {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.ab-certs-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ab-certs-logos {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    overflow: hidden;
    padding: 0 8px;
}

.ab-cert-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 22px;
    transition: background 0.2s ease;
}

.ab-cert-logo-item:hover {
    background: rgba(255,255,255,0.08);
}

.ab-cert-logo-item img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Make logos white/light on the dark hero background */
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.ab-cert-logo-item:hover img {
    opacity: 1;
}

.ab-cert-logo-item span {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.ab-cert-logo-sep {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .ab-certs-logos {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px;
        gap: 0;
    }

    .ab-cert-logo-sep { display: none; }

    .ab-cert-logo-item {
        padding: 12px 16px;
        min-width: 80px;
    }

    .ab-cert-logo-item img { height: 36px; }
}