/* about.css - Premium Aesthetics for About Us */

.about-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #0a0f1d 0%, #1a162b 100%);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    background: linear-gradient(to right, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Glassmorphic Stats */
.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: 0 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    flex: 1;
    min-width: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.4);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e1b4b;
    /* If they are outside dark section and below it */
    margin-bottom: 8px;
    display: block;
}

/* Adjusting stat value color since it overlaps with white section */
.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-value {
    color: #0f172a;
    font-size: 2.2rem;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Story Section */
.our-story {
    padding: 100px 0;
    background-color: #f8fafc;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-content {
    flex: 1;
}

.story-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    position: relative;
}

.story-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #2563eb, #7c3aed);
    border-radius: 2px;
}

.story-text {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 24px;
    margin-top: 30px;
}

.story-image-wrapper {
    flex: 1;
    position: relative;
}

.story-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    z-index: 2;
    position: relative;
    max-height: 500px;
}

.story-image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #2563eb;
    border-radius: 24px;
    top: 20px;
    left: 20px;
    z-index: 1;
}

/* Values Section */
.core-values {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 1200px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.value-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.value-card:hover::before {
    background: linear-gradient(to right, #2563eb, #7c3aed);
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2563eb;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .story-container {
        flex-direction: column;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .stat-card {
        min-width: 100%;
        margin-bottom: 16px;
    }

    .about-stats {
        margin-top: 0px;
    }

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