/*
 * BrainSpark Digital - About Page Styles
 * Anthropic-Inspired Design System
 * Warm cream palette with terracotta accents
 */

/* ABOUT PAGE SPECIAL COLORS AND EFFECTS - Anthropic Theme */
:root {
    --about-gradient: linear-gradient(135deg, #CC6848 0%, #b85a3d 100%);
    --about-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    --about-card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
    --about-hover-transform: translateY(-6px);
    --about-border-radius: 16px;
    --about-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --about-accent-color: #CC6848;
    --about-bg-cream: #FAF7F2;
    --about-bg-secondary: #F0EBE3;
    --about-text-primary: #191919;
    --about-text-secondary: #3D3D3D;
    --about-text-muted: #7A7A7A;
    --about-card-beige: #E8DDD1;
    --about-card-sage: #C5D6CD;
    --about-card-lavender: #D2D0DE;
}

/* ====== ABOUT HERO SECTION ====== */
.about-hero {
    padding: 14rem 0 6rem;
    background: var(--footer-bg, #191919) !important;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Decorative background pattern */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204, 104, 72, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 4.4rem;
    margin-bottom: 2rem;
    color: #ffffff !important;
    line-height: 1.15;
    font-family: var(--font-serif, 'Source Serif 4', Georgia, serif);
    font-weight: 500;
}

.about-hero-subheadline {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 65rem;
    margin: 0 auto 2rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    line-height: 1.6;
}

/* ====== ABOUT STORY SECTION ====== */
.about-story {
    padding: 8rem 0;
    background: var(--about-bg-cream);
    position: relative;
}

.about-story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-story-content h2 {
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    color: var(--about-text-primary);
    position: relative;
    font-family: var(--font-serif, 'Source Serif 4', Georgia, serif);
    font-weight: 500;
}

.about-story-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--about-accent-color);
    border-radius: 2px;
}

.about-story-content p {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--about-text-secondary);
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.about-story-content p strong {
    color: var(--about-accent-color);
    font-weight: 600;
}

.about-story-image {
    position: relative;
    border-radius: var(--about-border-radius);
    overflow: hidden;
    box-shadow: var(--about-card-shadow-hover);
}

.about-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-story-image:hover img {
    transform: scale(1.03);
}

/* ====== CORE VALUES SECTION ====== */
.core-values {
    padding: 8rem 0;
    background-color: var(--about-bg-secondary);
    position: relative;
    overflow: hidden;
}

.core-values .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.core-values .section-header h2 {
    font-size: 3.2rem;
    color: var(--about-text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif, 'Source Serif 4', Georgia, serif);
    font-weight: 500;
}

.core-values .section-header p {
    color: var(--about-text-muted);
    font-size: 1.6rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-card {
    background-color: #ffffff;
    border-radius: var(--about-border-radius);
    padding: 3rem;
    box-shadow: var(--about-card-shadow);
    transition: var(--about-transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.value-card:hover {
    transform: var(--about-hover-transform);
    box-shadow: var(--about-card-shadow-hover);
}

/* Alternating colored accents on cards */
.value-card:nth-child(1) { border-top: 3px solid var(--about-accent-color); }
.value-card:nth-child(2) { border-top: 3px solid var(--about-card-sage); }
.value-card:nth-child(3) { border-top: 3px solid var(--about-card-lavender); }
.value-card:nth-child(4) { border-top: 3px solid var(--about-card-beige); }
.value-card:nth-child(5) { border-top: 3px solid var(--about-accent-color); }
.value-card:nth-child(6) { border-top: 3px solid var(--about-card-sage); }

.value-icon {
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--about-card-sage);
    border-radius: 12px;
    margin: 0 auto 2rem;
    transition: var(--about-transition);
}

.value-card:nth-child(1) .value-icon { background-color: rgba(204, 104, 72, 0.15); }
.value-card:nth-child(2) .value-icon { background-color: var(--about-card-sage); }
.value-card:nth-child(3) .value-icon { background-color: var(--about-card-lavender); }
.value-card:nth-child(4) .value-icon { background-color: var(--about-card-beige); }
.value-card:nth-child(5) .value-icon { background-color: rgba(204, 104, 72, 0.15); }
.value-card:nth-child(6) .value-icon { background-color: var(--about-card-sage); }

.value-card:hover .value-icon {
    background-color: var(--about-accent-color);
}

.value-icon i {
    font-size: 2.4rem;
    color: var(--about-text-primary);
    transition: var(--about-transition);
}

.value-card:hover .value-icon i {
    color: white;
}

.value-card h3 {
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
    color: var(--about-text-primary);
    transition: var(--about-transition);
    font-family: var(--font-serif, 'Source Serif 4', Georgia, serif);
    font-weight: 500;
}

.value-card:hover h3 {
    color: var(--about-accent-color);
}

.value-card p {
    color: var(--about-text-secondary);
    line-height: 1.7;
    font-size: 1.45rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

/* ====== TEAM SECTION ====== */
.team-section {
    padding: 8rem 0;
    background: var(--about-bg-cream);
}

.team-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.team-section .section-header h2 {
    font-size: 3.2rem;
    color: var(--about-text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif, 'Source Serif 4', Georgia, serif);
    font-weight: 500;
}

.team-section .section-header p {
    color: var(--about-text-muted);
    font-size: 1.6rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem 2.5rem;
    box-shadow: var(--about-card-shadow);
    text-align: center;
    position: relative;
    transition: var(--about-transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--about-card-shadow-hover);
}

.team-avatar {
    width: 130px;
    height: 130px;
    margin: -75px auto 1.5rem;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: linear-gradient(135deg, var(--about-card-beige), var(--about-card-sage));
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    font-size: 1.9rem;
    color: var(--about-accent-color);
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
    font-family: var(--font-serif, 'Source Serif 4', Georgia, serif);
    font-weight: 500;
}

.team-position {
    font-size: 1.4rem;
    color: var(--about-text-muted);
    margin-bottom: 1.5rem;
    min-height: 3.6rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.team-social .social-link {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(204, 104, 72, 0.1);
    border: 1px solid rgba(204, 104, 72, 0.2);
    transition: var(--about-transition);
}

.team-social .social-link i {
    font-size: 18px;
    color: var(--about-accent-color);
    transition: var(--about-transition);
}

.team-social .social-link:hover {
    background: var(--about-accent-color);
    border-color: var(--about-accent-color);
    transform: translateY(-3px);
}

.team-social .social-link:hover i {
    color: #fff;
}

/* ====== COMPANY STATS SECTION ====== */
.company-stats {
    padding: 8rem 0;
    background-color: var(--about-bg-secondary);
    position: relative;
    overflow: hidden;
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.stats-text h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: var(--about-text-primary);
    position: relative;
    font-family: var(--font-serif, 'Source Serif 4', Georgia, serif);
    font-weight: 500;
}

.stats-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--about-accent-color);
    border-radius: 2px;
}

.stats-text p {
    color: var(--about-text-secondary);
    font-size: 1.6rem;
    line-height: 1.7;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #ffffff;
    border-radius: var(--about-border-radius);
    box-shadow: var(--about-card-shadow);
    transition: var(--about-transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-item:hover {
    transform: var(--about-hover-transform);
    box-shadow: var(--about-card-shadow-hover);
}

/* Alternating accent colors */
.stat-item:nth-child(1) { border-bottom: 3px solid var(--about-accent-color); }
.stat-item:nth-child(2) { border-bottom: 3px solid var(--about-card-sage); }
.stat-item:nth-child(3) { border-bottom: 3px solid var(--about-card-lavender); }
.stat-item:nth-child(4) { border-bottom: 3px solid var(--about-card-beige); }

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--about-accent-color);
    margin-bottom: 0.5rem;
    display: block;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.stat-item p {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--about-text-secondary);
    font-family: var(--font-sans, 'Inter', sans-serif);
}

/* ====== SERVICE INQUIRY CTA SECTION ====== */
.service-inquiry-cta {
    padding: 6rem 0;
    background: var(--footer-bg, #191919) !important;
}

.service-inquiry-container {
    max-width: 110rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-inquiry-header {
    text-align: center;
    margin-bottom: 4rem;
}

.service-inquiry-headline {
    font-size: 3rem;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif, 'Source Serif 4', Georgia, serif);
    font-weight: 500;
}

.service-inquiry-description {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 60rem;
    margin: 0 auto;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.service-inquiry-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.service-inquiry-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--about-border-radius);
    padding: 3rem;
}

.service-inquiry-group {
    margin-bottom: 2rem;
}

.service-inquiry-label {
    display: block;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    font-weight: 500;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.service-inquiry-input,
.service-inquiry-textarea {
    width: 100%;
    padding: 1.4rem 1.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.5rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    transition: var(--about-transition);
}

.service-inquiry-input::placeholder,
.service-inquiry-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.service-inquiry-input:focus,
.service-inquiry-textarea:focus {
    outline: none;
    border-color: var(--about-accent-color);
    background: rgba(255, 255, 255, 0.12);
}

.service-inquiry-textarea {
    min-height: 12rem;
    resize: vertical;
}

.service-inquiry-submit {
    margin-top: 1rem;
}

.service-inquiry-contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-inquiry-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-inquiry-icon {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 104, 72, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.service-inquiry-icon i {
    font-size: 2rem;
    color: var(--about-accent-color);
}

.service-inquiry-info h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-weight: 600;
}

.service-inquiry-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    margin: 0;
}

/* ====== RESPONSIVE STYLES ====== */
@media screen and (max-width: 1024px) {
    .about-story-container,
    .stats-content,
    .service-inquiry-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-story-content,
    .about-hero-content,
    .section-header,
    .stats-text {
        text-align: center;
    }

    .about-story-image {
        max-width: 60rem;
        margin: 0 auto;
    }

    .about-story-content h2::after,
    .stats-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-inquiry-contact-details {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .service-inquiry-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 50rem;
        margin-left: auto;
        margin-right: auto;
    }

    .team-cards {
        grid-template-columns: 1fr;
        max-width: 40rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 32rem;
        margin: 0 auto;
    }

    .about-hero h1 {
        font-size: 3.2rem;
    }

    .team-avatar {
        width: 110px;
        height: 110px;
        margin-top: -60px;
    }

    .service-inquiry-form {
        padding: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .about-hero h1 {
        font-size: 2.8rem;
    }

    .about-hero {
        padding: 12rem 0 5rem;
    }

    .about-story-content h2,
    .core-values .section-header h2,
    .team-section .section-header h2,
    .stats-text h2,
    .service-inquiry-headline {
        font-size: 2.4rem;
    }

    .stat-number {
        font-size: 3.2rem;
    }

    .value-card,
    .team-card,
    .stat-item {
        padding: 2rem;
    }
}

/* ====== ENSURE VISIBILITY (Override AOS initial states) ====== */
.value-card,
.team-card,
.stat-item,
.about-story-content,
.about-story-image,
.stats-text,
.section-header {
    opacity: 1 !important;
    transform: none !important;
}
