/* --- GLOBAL BUTTON STYLES FOR ABOUT PAGE --- */

.pill-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    height: 48px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pill-btn.black {
    background-color: #000 !important;
    border-radius: 50px;
    text-transform: none;
    font-weight: 600;
    padding: 0 30px;
}

.pill-btn:has(.material-icons) {
    padding-right: 10px;
}

/* White circle around icon in pill buttons */
.pill-btn .material-icons.right {
    background: #fff;
    color: #000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 20px;
}

/* --- ABOUT PAGE THEME STYLES (EXACT EXTRACTION) --- */
.about-page {
    background: linear-gradient(180deg, #ffffff 0%, #fffae2 55%, #ffffff 100%);
    font-family: 'Inter', Arial, sans-serif;
    color: #111;
    margin-top: -80px;
    padding-top: 80px;
}

/* Same column as home: 1240px, 5px padding, Materialize row/col for equal width */
.about-page .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 5px 120px;
    position: relative;
}

.about-page .row {
    width: 100%;
}

/* Hero Section */
.hero-card {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hero-card img {
    width: 100%;
    height: 701px;
    object-fit: cover;
    display: block;
}

.hero-copy {
    position: absolute;
    left: 48px;
    bottom: 80px;
    max-width: 520px;
    color: #fff;
}

.hero-badge {
    font-style: italic;
    font-size: 18px;
    font-weight: 500;
}

.hero-title {
    margin: 6px 0 8px;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    color: #fffae2;
    max-width: 520px;
}

/* Stats Section */
.stats {
    margin-top: 80px;
    text-align: center;
}

.stats-heading {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.stats-subheading {
    margin: 8px 0 0;
    font-size: 32px;
    color: #1db0ff;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.stat-card {
    background: #f0f8ff;
    padding: 24px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    text-align: center;
}

.stat-card:hover {
    background: #d6ecff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 64px;
    color: #000;
    font-weight: 800;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.15s ease, color 0.15s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    color: #1db0ff;
}

.stat-copy {
    margin: 0;
    font-size: 18px;
    color: #222;
}

/* Mission Section */
.mission {
    margin-top: 120px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 701px;
    background-image: url(/img/about/About-S3-1.jpg);
    background-size: cover;
    background-position: center;
}

.mission-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mission-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    color: #fff;
}

.mission-kicker {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 12px;
}

.mission-hours {
    font-size: 100px;
    font-weight: 800;
    color: #bee3f7;
    line-height: 0.9;
}

.mission-hours span {
    font-size: 40px;
    font-weight: 600;
}

.mission-copy {
    max-width: 620px;
    font-size: 18px;
    margin-top: 16px;
    line-height: 1.5;
    margin-bottom: 0;
}

.mission-quote {
    max-width: 760px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 24px;
    color: #bee3f7;
    margin-bottom: 0;
}

/* Development Section */
.dev-section {
    margin-top: 120px;
    text-align: center;
}

.dev-heading {
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

.dev-subheading {
    margin-top: 8px;
    font-size: 32px;
    color: #1db0ff;
    font-weight: 700;
}

.dev-avatars {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    height: 120px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.ava-wrapper img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #fff;
    transition: all 0.3s ease;
}

.team-member:hover .ava-wrapper img {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Name Reveal */
.member-name {
    margin-top: 10px;
    font-weight: 700;
    font-size: 16px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

.team-member:hover .member-name {
    opacity: 1;
    transform: translateY(0);
}

.dev-cta-text {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 30px;
}

/* --- MOBILE RESPONSIVE (EXACT FROM STYLES.CSS) --- */
@media (max-width: 768px) {
    .hero-copy {
        position: static;
        color: #000;
        padding: 16px;
        background: #fff;
    }

    .dev-avatars {
        gap: 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        color: #333;
    }

    .hero-card img {
        height: auto;
        max-height: 260px;
        object-fit: cover;
    }

    .stats {
        margin-top: 40px;
    }

    .mission {
        margin-top: 40px;
        min-height: 0;
    }

    .mission-content {
        position: relative;
        inset: auto;
        padding: 12px 20px 20px;
        justify-content: flex-start;
        gap: 4px;
    }

    .mission-kicker {
        margin-bottom: 2px;
    }

    .mission-hours {
        font-size: 60px;
        margin-bottom: 2px;
    }

    .mission-copy {
        margin-top: 0;
    }

    .mission-quote {
        margin-top: 6px;
        font-size: 26px;
        max-width: 100%;
        line-height: 1.35;
    }

    .dev-section {
        margin-top: 40px;
    }
}