/* ==========================================================================
   AH Premium - About Page Styles
   ========================================================================== */

/* 1. Hero Banner */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1590487988256-9ed24133863e?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(14, 27, 19, 0.9) 0%, rgba(14, 27, 19, 0.6) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    max-width: 800px;
}

.breadcrumb-custom {
    display: flex;
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-custom li {
    display: flex;
    align-items: center;
}

.breadcrumb-custom li:not(:last-child)::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin: 0 0.75rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom a:hover {
    color: var(--color-white);
}

.breadcrumb-custom .active {
    color: var(--color-accent);
    font-weight: 500;
}

/* 2. Mission & Vision Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(43, 89, 63, 0.2);
}

.glass-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(43, 89, 63, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.glass-card:hover .icon-wrapper {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

/* 3. Team Section */
.team-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    height: 100%;
    text-align: center;
    padding-bottom: 2rem;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 1/1;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(14,27,19,0.8), transparent);
    transition: bottom 0.4s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 35px;
    height: 35px;
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.team-social a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* 4. Timeline */
.timeline-section {
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Vertical line for mobile */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(43, 89, 63, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-white);
    border: 4px solid var(--color-primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-fast);
}

.timeline-item:hover::after {
    background-color: var(--color-accent);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(186, 219, 107, 0.5);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--color-primary);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(43, 89, 63, 0.05);
}

.timeline-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--color-primary);
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(43, 89, 63, 0.05) transparent transparent;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 30px;
    background-color: rgba(43, 89, 63, 0.02);
    position: relative;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(43, 89, 63, 0.1);
    transition: var(--transition-medium);
}

.timeline-item:hover .timeline-content {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.timeline-year {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* 5. Our Commitment */
.commitment-section {
    background-image: linear-gradient(rgba(14, 27, 19, 0.85), rgba(14, 27, 19, 0.85)), url('https://images.unsplash.com/photo-1605000797499-95a51c5269ae?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
}

/* Media Queries for Timeline */
@media screen and (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    
    .timeline-left::after, .timeline-right::after {
        left: 21px;
    }
    
    .timeline-right {
        left: 0%;
    }
}
