/* ============================================================
   About Us Page Styles
   ============================================================ */

/* ---------- Text Underline Decoration ---------- */
.ab-underline {
    position: relative;
    display: inline-block;
}
.ab-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #f5a623;
    border-radius: 2px;
}
.ab-underline--white::after {
    background-color: rgba(255, 255, 255, 0.55);
}

/* ---------- Section Header ---------- */
.ab-section-head {
    text-align: center;
    margin-bottom: 52px;
}
.ab-section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.ab-section-head p {
    color: #6b7280;
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

/* ============================================================
   Hero Section
   ============================================================ */
.ab-hero {
    background-color: #0d0d1e;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 28px 28px;
    padding: 96px 0;
    text-align: center;
    color: #fff;
}
.ab-hero__tag {
    display: inline-block;
    color: #00c9a7;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.ab-hero__title {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
}
.ab-hero__desc {
    max-width: 540px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.68);
}

/* ============================================================
   What We Offer Section
   ============================================================ */
.ab-offer {
    padding: 88px 0;
    background-color: #fff;
}
.ab-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.ab-offer-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px 28px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.ab-offer-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border-color: #d1d5db;
}
.ab-offer-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.ab-offer-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background-color: #F9FAFB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00c9a7;
    border: 1px solid #F3F4F6;
}
.ab-offer-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: #00c9a7;
    flex-shrink: 0;
}
.ab-offer-card__body {
    flex: 1;
    min-width: 0;
}
.ab-offer-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.3;
}
.ab-offer-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   Our Mission Section
   ============================================================ */
.ab-mission {
    background-color: #42CBB2;
    padding: 88px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ab-mission::before,
.ab-mission::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 120px;
    background-image: radial-gradient(circle, #2CB198 2px, transparent 2px);
    background-size: 14px 14px;
    pointer-events: none;
}
.ab-mission::before {
    bottom: 24px;
    left: 24px;
}
.ab-mission::after {
    top: 24px;
    right: 24px;
}
.ab-mission .container {
    position: relative;
    z-index: 1;
}
.ab-mission h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 36px;
}
.ab-mission blockquote {
    max-width: 720px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.175rem);
    font-style: italic;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
    quotes: none;
}

/* ============================================================
   How It Works Section
   ============================================================ */
.ab-how {
    padding: 88px 0;
    background-color: #fff;
}
.ab-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}
.ab-how-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1px;
    background-color: #F3F4F6;
    z-index: 0;
}
.ab-how-step {
    text-align: center;
}
.ab-how-step__icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 22px;
    z-index: 1;
}
.ab-how-step__icon {
    width: 96px;
    height: 96px;
    background-color: #fff;
    border: 4px solid #E5F9F7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ab-how-step__icon svg {
    width: 36px;
    height: 36px;
    stroke: #00c9a7;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ab-how-step__num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    background-color: #00c9a7;
    color: #fff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px #fff;
}
.ab-how-step h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.ab-how-step p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
    max-width: 240px;
    margin: 0 auto;
}

/* ============================================================
   CTA Section
   ============================================================ */
.ab-cta {
    background-color: #D8FFE9;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.ab-cta::before,
.ab-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    height: 340px;
    background-image: url('/img/about-cta-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    opacity: 0.5;
    z-index: -10;
}
.ab-cta::before {
    left: 0;
}
.ab-cta::after {
    right: 0;
    transform: translateY(-50%) rotateZ(180deg);
}
.ab-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}
.ab-cta p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto 36px;
}
.ab-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1a1a2e;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.15s;
}
.ab-cta__btn:hover {
    background-color: #2d2d4e;
    transform: translateY(-1px);
}
.ab-cta__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ============================================================
   Responsive — Tablet (max 900px)
   ============================================================ */
@media (max-width: 900px) {
    .ab-how-grid {
        grid-template-columns: 1fr;
        gap: 52px;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ============================================================
   Responsive — Mobile (max 640px)
   ============================================================ */
@media (max-width: 640px) {
    .ab-container {
        padding: 0 18px;
    }
    .ab-hero {
        padding: 64px 0;
    }
    .ab-offer {
        padding: 64px 0;
    }
    .ab-offer-grid {
        grid-template-columns: 1fr;
    }
    .ab-offer-card {
        padding: 24px 20px;
    }
    .ab-mission {
        padding: 64px 0;
    }
    .ab-how {
        padding: 64px 0;
    }
    .ab-cta {
        padding: 72px 0;
    }
    .ab-cta__btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}
