/**
 * ==========================================
 * ABOUT PAGE STYLES
 * ==========================================
 */

.about-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed;
}

.about-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.7));
    z-index: 1;
}

.about-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.story-section .story-images {
    position: relative;
}

.story-section .story-images img {
    transition: transform var(--transition-normal);
}

.story-section .story-images img:hover {
    transform: scale(1.05);
}

.principles-section {
    position: relative;
    overflow: hidden;
}

.principles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 30m-2 0a2 2 0 1 0 4 0 2 2 0 1 0-4 0" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.principle-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-card {
    transition: transform var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    transition: transform var(--transition-slow);
}

.team-card:hover img {
    transform: scale(1.1);
}

/* SCROLL ANIMATIONS */
.fade-in-section {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2.5rem !important;
    }
    
    .story-section > div > div {
        grid-template-columns: 1fr !important;
    }
    
    .story-images {
        order: 2;
    }
    
    .story-content {
        order: 1;
    }
    
    .story-content .section-title {
        text-align: center !important;
    }
    
    .story-content > div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .about-header {
        height: 40vh;
        min-height: 350px;
        background-attachment: scroll;
    }
    
    .about-header h1 {
        font-size: 2rem !important;
    }
    
    .about-header p:first-of-type {
        font-size: 0.75rem !important;
    }
    
    .about-header p:last-of-type {
        font-size: 1rem !important;
    }
    
    .principles-section > div > div {
        grid-template-columns: 1fr !important;
    }
}
