/* ================================================================
   ABOUT PAGE
   ================================================================ */

/* ── Shared inner wrapper ─────────────────────────────────────── */
.about-section-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* ── Active nav item ──────────────────────────────────────────── */
.menu-item--active {
    color: var(--accent) !important;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.about-hero {
    padding: 140px 8% 90px;
    display: flex;
    justify-content: center;
    text-align: center;
    background: linear-gradient(
        170deg,
        rgba(29, 205, 159, 0.06) 0%,
        transparent 55%
    );
}

.about-hero-inner {
    max-width: 780px;
    width: 100%;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    background: rgba(29, 205, 159, 0.1);
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: 1px solid rgba(29, 205, 159, 0.25);
    margin-bottom: 1.5rem;
}

.about-hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.about-hero-sub {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ── Stats strip ──────────────────────────────────────────────── */
.about-stats {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.6rem 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.about-stats:hover {
    border-color: rgba(29, 205, 159, 0.3);
    box-shadow: 0 12px 40px rgba(29, 205, 159, 0.1);
}

.about-stat {
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.about-stat:hover { transform: translateY(-3px); }

.about-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.2rem;
    font-variant-numeric: tabular-nums;
    transition: text-shadow 0.3s ease;
}
.about-stat:hover .about-stat-num {
    text-shadow: 0 0 24px rgba(29, 205, 159, 0.5);
}

.about-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-stat-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── Mission ──────────────────────────────────────────────────── */
.about-mission {
    padding: 90px 8%;
    display: flex;
    justify-content: center;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.about-mission-inner {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.mission-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    margin: 0.7rem 0 1.4rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.mission-body {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

/* Mission visual – stacked cards */
.mission-visual {
    display: flex;
    justify-content: center;
}

.mission-card-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 340px;
}

.mission-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    border-radius: 16px;
    font-size: 0.92rem;
    font-weight: 700;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    animation: missionFloat 4s ease-in-out infinite;
}

.mission-card i {
    font-size: 1.4rem;
    width: 36px;
    text-align: center;
    flex-shrink: 0;
}

.mission-card--top {
    color: var(--text-muted);
    animation-delay: 0s;
}

.mission-card--mid {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(29, 205, 159, 0.35);
    animation-delay: 0.15s;
}

.mission-card--mid i {
    color: #ffffff;
}

.mission-card--bot {
    color: var(--text-muted);
    animation-delay: 0.3s;
}

@keyframes missionFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* ── Services ─────────────────────────────────────────────────── */
.about-services {
    padding: 90px 8%;
    display: flex;
    justify-content: center;
    background: var(--bg-primary);
}

.about-section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.about-section-head h2 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0.7rem 0 1rem;
    letter-spacing: -0.02em;
}

.about-section-head p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.75;
    max-width: 480px;
    margin: 0 auto;
}

/* Service cards grid */
.services-grid-about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.sa-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.sa-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(29, 205, 159, 0.12);
}

.sa-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(29, 205, 159, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    padding: 12px;
    transition: background 0.35s ease;
}

.sa-card:hover .sa-card-icon {
    background: rgba(29, 205, 159, 0.16);
}

.sa-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(64%) sepia(51%) saturate(504%) hue-rotate(117deg) brightness(96%) contrast(90%);
}

.sa-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.sa-card p {
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.75;
    margin-bottom: 1.1rem;
}

.sa-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sa-tags span {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    background: rgba(29, 205, 159, 0.08);
    color: var(--accent-dark);
    border: 1px solid rgba(29, 205, 159, 0.2);
}

/* ── Tech Stack ───────────────────────────────────────────────── */
.about-tech {
    padding: 90px 8%;
    display: flex;
    justify-content: center;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.tech-groups {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tech-group {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.8rem;
}

.tech-group-label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-dark);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    cursor: default;
}

.tech-chip i {
    color: var(--accent);
    font-size: 0.95rem;
}

.tech-chip:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    box-shadow: 0 4px 14px rgba(29, 205, 159, 0.15);
}

/* ── Facilities ───────────────────────────────────────────────── */
.about-facilities {
    padding: 90px 8%;
    display: flex;
    justify-content: center;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.fac-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.fac-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(29, 205, 159, 0.12);
}

.fac-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(29, 205, 159, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    margin-bottom: 1rem;
    transition: background 0.35s ease;
}

.fac-card:hover .fac-icon {
    background: rgba(29, 205, 159, 0.16);
}

.fac-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(64%) sepia(51%) saturate(504%) hue-rotate(117deg) brightness(96%) contrast(90%);
}

.fac-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(29, 205, 159, 0.1);
    color: var(--accent-dark);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    border: 1px solid rgba(29, 205, 159, 0.2);
    margin-bottom: 0.8rem;
}

.fac-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.fac-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.fac-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.fac-specs li {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fac-specs li i {
    color: var(--accent);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ── CTA ──────────────────────────────────────────────────────── */
.about-cta {
    padding: 100px 8%;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.about-cta-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.about-cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    padding: 18px;
    box-shadow: 0 12px 32px rgba(29, 205, 159, 0.38);
    animation: ctaLogoPulse 2.8s ease-in-out infinite;
}

.about-cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@keyframes ctaLogoPulse {
    0%, 100% { box-shadow: 0 12px 32px rgba(29, 205, 159, 0.38); transform: scale(1); }
    50%       { box-shadow: 0 12px 50px rgba(29, 205, 159, 0.55); transform: scale(1.05); }
}

.about-cta-inner h2 {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.about-cta-inner p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
    .about-mission-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mission-visual {
        order: -1;
    }

    .mission-card-stack {
        flex-direction: row;
        max-width: 100%;
    }

    .mission-card {
        flex: 1;
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .about-hero {
        padding: 110px 6% 70px;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 2rem;
    }

    .about-stat-divider {
        width: 60px;
        height: 1px;
    }

    .services-grid-about {
        grid-template-columns: 1fr;
    }

    .tech-groups {
        grid-template-columns: 1fr;
    }

    .mission-card-stack {
        flex-direction: column;
    }

    .mission-card {
        flex-direction: row;
        text-align: left;
    }
}
