/* ===== About Page Specific Styles ===== */

.page-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-purple);
    opacity: 0.98;
    z-index: -1;
}

.page-hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.page-title .gradient-text {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Story Section Image Grid - Refined Blob & Collapsed Design */
.story-image {
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.about-image-grid {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.grid-img {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: white;
}

.grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Organic Blob Shape for Primary Logo */
.img-1 {
    width: 500px;
    height: 400px;
    position: relative;
    margin: 0 auto;
    z-index: 3;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: aboutBlob 8s infinite ease-in-out;
    background: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 40px 80px rgba(124, 77, 255, 0.15);
}

.img-1 .blob-video,
.img-1 .blob-static-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    top: 0;
    left: 0;
    background: white;
}

.img-1 .blob-video {
    z-index: 2;
    object-fit: cover;
}

.img-1 .blob-static-logo {
    z-index: 1;
    padding: 60px;
}

.img-1 .blob-video.hidden,
.img-1 .blob-static-logo.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

@keyframes fadeInVideo {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes aboutBlob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: scale(1) rotate(0deg);
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: scale(1.05) rotate(2deg);
    }
}

.grid-img:hover {
    transform: scale(1.1) rotate(1deg) !important;
    box-shadow: 0 40px 80px rgba(124, 77, 255, 0.3);
}

.story-content {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.story-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Values Section */
.values-section {
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
}

.value-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.value-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.value-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-item[data-delay="100"] {
    animation-delay: 0.1s;
}

.timeline-item[data-delay="200"] {
    animation-delay: 0.2s;
}

.timeline-item[data-delay="300"] {
    animation-delay: 0.3s;
}

.timeline-item[data-delay="400"] {
    animation-delay: 0.4s;
}

.timeline-item[data-delay="500"] {
    animation-delay: 0.5s;
}

.timeline-marker {
    position: absolute;
    left: 8px;
    top: 0;
}

.timeline-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary);
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.1);
    transition: transform var(--transition-base);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
}

.timeline-content {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.timeline-year {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Team Section */
.team-section {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.team-card {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.team-card[data-delay="100"] {
    animation-delay: 0.1s;
}

.team-card[data-delay="200"] {
    animation-delay: 0.2s;
}

.team-card[data-delay="300"] {
    animation-delay: 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.team-avatar span {
    font-family: var(--font-display);
}

.team-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.team-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.team-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.stat-box {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
    opacity: 0;
    animation: zoomIn 0.6s ease-out forwards;
}

.stat-box[data-delay="100"] {
    animation-delay: 0.1s;
}

.stat-box[data-delay="200"] {
    animation-delay: 0.2s;
}

.stat-box[data-delay="300"] {
    animation-delay: 0.3s;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-box:hover {
    transform: translateY(-8px);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-value::after {
    content: '+';
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .page-title {
        font-size: 44px;
    }
    
    .story-image {
        height: 450px;
    }
    
    .img-1 {
        width: 100%;
        max-width: 400px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .timeline::before {
        left: 12px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 0;
    }

    .story-image {
        height: 350px;
    }

    .img-1 {
        max-width: 320px;
        height: 260px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
    
    .value-title {
        font-size: 22px;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 28px;
    }
    
    .stat-value {
        font-size: 42px;
    }
    
    .img-1 {
        max-width: 280px;
        height: 220px;
    }

    .values-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
}