/**
 * ABOUT PAGE - MODERN REDESIGN
 * Updated hero, sections, and gradients
 */

:root {
    --purple: #9333ea;
    --purple-light: #a855f7;
    --purple-dark: #7e22ce;
    --pink: #ec4899;
    --blue: #3b82f6;
    --teal: #14b8a6;
    --orange: #f97316;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
}

/* Hero Section - Animated Geometric Pattern Background */
.about-hero {
    position: relative;
    padding: 150px 20px 100px;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
    background: #ffffff;
}

/* Animated geometric shapes background - Purple */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    animation: float-shapes 20s ease-in-out infinite;
    z-index: 1;
}

/* Geometric pattern overlay - Purple */
.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(30deg, rgba(147, 51, 234, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(147, 51, 234, 0.03) 87.5%, rgba(147, 51, 234, 0.03)),
        linear-gradient(150deg, rgba(147, 51, 234, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(147, 51, 234, 0.03) 87.5%, rgba(147, 51, 234, 0.03)),
        linear-gradient(30deg, rgba(147, 51, 234, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(147, 51, 234, 0.03) 87.5%, rgba(147, 51, 234, 0.03)),
        linear-gradient(150deg, rgba(147, 51, 234, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(147, 51, 234, 0.03) 87.5%, rgba(147, 51, 234, 0.03));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 1;
    z-index: 1;
}

@keyframes float-shapes {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Times New Roman MT', 'Times New Roman', Times, serif !important;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-hero p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Alice', Georgia, serif;
}

/* Updated gradient styles for specific words - Purple */
.text-gradient {
    background: linear-gradient(135deg, #9333ea 0%, #a855f7 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 950;
    font-family: 'Times New Roman MT', 'Times New Roman', Times, serif !important;
    letter-spacing: -0.03em;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.15);
    border-color: var(--purple);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
}

.stat-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
}

/* Story Section */
.story-section {
    padding: 80px 20px;
    background: #ffffff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Times New Roman MT', 'Times New Roman', Times, serif !important;
}

.story-content p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.image-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.12);
    border-color: var(--purple);
}

.image-card:nth-child(3) {
    grid-column: 1 / -1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.card-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.image-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.image-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* Features Section - NEW DESIGN: Bento Box Layout */
.features-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

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

.section-header p {
    font-family: 'Georgia Pro', Georgia, 'Times New Roman', serif;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-top: 10px;
}

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

.feature-box {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Bento box featured items */
.feature-box:nth-child(1) {
    grid-column: 1 / 3;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), rgba(236, 72, 153, 0.05));
}

.feature-box:nth-child(4) {
    grid-column: 2 / 4;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.2);
    border-color: var(--purple);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: all 0.4s ease;
}

.feature-box:hover::before {
    transform: translate(30%, -30%) scale(1.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Values Section - NEW DESIGN: Card Stack with Color Accents */
.values-section {
    padding: 80px 20px;
    background: #ffffff;
}

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

.value-box {
    background: #ffffff;
    padding: 45px 40px;
    border-radius: 20px;
    border-left: 5px solid var(--purple);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

/* Different color accent for each value */
.value-box:nth-child(1) {
    border-left-color: #ec4899;
}

.value-box:nth-child(2) {
    border-left-color: #3b82f6;
}

.value-box:nth-child(3) {
    border-left-color: #14b8a6;
}

.value-box:nth-child(4) {
    border-left-color: #f59e0b;
}

.value-box:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.2);
}

.value-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.02), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-box:hover::before {
    opacity: 1;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-box:nth-child(1) .value-icon {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.value-box:nth-child(2) .value-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.value-box:nth-child(3) .value-icon {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
}

.value-box:nth-child(4) .value-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.value-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.value-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-box p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    padding: 80px 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-family: 'Georgia Pro', Georgia, serif !important;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #ffffff;
    color: var(--purple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-3px);
}

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

    .feature-box:nth-child(1),
    .feature-box:nth-child(4) {
        grid-column: auto;
    }

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

@media (max-width: 768px) {
    .about-hero {
        padding: 120px 20px 80px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
        font-family: 'Times New Roman MT', 'Times New Roman', Times, serif !important;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image {
        grid-template-columns: 1fr;
    }

    .image-card:nth-child(3) {
        grid-column: 1;
    }

    .section-header h2,
    .story-content h2,
    .cta-content h2 {
        font-size: 2rem;
        font-family: 'Times New Roman MT', 'Times New Roman', Times, serif !important;
    }

    /* Floating Glassmorphic Stats - Mobile */
    .stats-section {
        padding: 50px 0 !important;
        background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 100%) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .stats-section::before {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        right: -20% !important;
        width: 300px !important;
        height: 300px !important;
        background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%) !important;
        border-radius: 50% !important;
        animation: float 8s ease-in-out infinite !important;
    }

    @keyframes float {

        0%,
        100% {
            transform: translate(0, 0) scale(1);
        }

        50% {
            transform: translate(-20px, -20px) scale(1.1);
        }
    }

    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        padding: 0 20px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .stat-box {
        padding: 28px 20px !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.8) !important;
        box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
        text-align: center !important;
        position: relative !important;
        overflow: hidden !important;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        animation: fadeInUp 0.6s ease backwards, cardFloat 3s ease-in-out infinite !important;
    }

    .stat-box:nth-child(1) {
        animation-delay: 0.1s, 0s !important;
    }

    .stat-box:nth-child(2) {
        animation-delay: 0.2s, 0.5s !important;
    }

    .stat-box:nth-child(3) {
        animation-delay: 0.3s, 1s !important;
    }

    .stat-box:nth-child(4) {
        animation-delay: 0.4s, 1.5s !important;
    }

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

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

    @keyframes cardFloat {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-8px);
        }
    }

    .stat-box::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent) !important;
        transition: left 0.5s ease !important;
    }

    .stat-box:active::before {
        left: 100% !important;
    }

    .stat-box:active {
        transform: translateY(-4px) scale(1.02) !important;
        box-shadow: 0 12px 40px rgba(124, 58, 237, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    }

    .stat-icon {
        width: 56px !important;
        height: 56px !important;
        font-size: 26px !important;
        margin: 0 auto 14px auto !important;
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
        box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3) !important;
    }

    .stat-number {
        font-size: 36px !important;
        margin-bottom: 6px !important;
        font-weight: 900 !important;
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        letter-spacing: -1px !important;
        font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif !important;
    }

    .stat-box p {
        font-size: 13px !important;
        color: #6b7280 !important;
        font-weight: 600 !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        font-family: 'Georgia Pro', Georgia, 'Times New Roman', serif !important;
    }

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

    .feature-box:nth-child(1),
    .feature-box:nth-child(4) {
        grid-column: 1;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}