/* =========================================
   ABOUT PAGE SPECIFIC STYLES (SCOPED)
   ========================================= */

#about-page .hero-slider-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 80px;
}

#about-page .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center; 
    justify-content: center; 
    z-index: 0;
}

#about-page .slide.active {
    opacity: 1;
    z-index: 1;
}

#about-page .slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1000px;
    padding: 0 25px;
    text-align: center; 
}

#about-page .slide-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

#about-page .slide-content h1 span {
    color: #f59e0b;
}

#about-page .slide-content p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0 auto; 
    max-width: 800px;
    font-weight: 400;
}

#about-page .slide-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}

#about-page .zoom-anim {
    animation: zoomIn 10s infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

#about-page .slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

#about-page .slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

#about-page .dot {
    width: 12px; height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

#about-page .dot.active {
    background: var(--maroon-light);
}

#about-page .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s;
    border-radius: 8px;
}

#about-page .slider-arrow:hover {
    background: var(--maroon);
}

#about-page .prev-arrow { left: 20px; }
#about-page .next-arrow { right: 20px; }

#about-page .cert-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

#about-page .cert-badge i {
    color: var(--primary-light);
}

#about-page .md-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: #000;
}

#about-page .md-frame-accent {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 2px solid var(--maroon);
    transform: translate(15px, 15px);
    border-radius: 12px;
    z-index: -1;
}

#about-page .md-image,
#about-page .virtual-video {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border);
}

#about-page .bar-row { margin-bottom: 20px; }

#about-page .bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

#about-page .text-maroon { color: var(--maroon-light); }

#about-page .bar-track {
    width: 100%; height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

#about-page .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--maroon), var(--maroon-light));
    width: 0;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

#about-page .goal-card {
    background: linear-gradient(145deg, #161616, #0a0a0a);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

#about-page .timeline-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

#about-page .timeline-grid::before {
    content: '';
    position: absolute;
    top: 24px; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--maroon), rgba(179, 27, 27, 0.2));
    z-index: 1;
    transition: width 2s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
}

#about-page .timeline-grid.active::before { width: 100%; }

#about-page .timeline-item {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%; 
}

#about-page .timeline-grid.active .timeline-item {
    opacity: 1;
    transform: translateY(0);
}

#about-page .timeline-grid .timeline-item:nth-child(1) { transition-delay: 0.4s; }
#about-page .timeline-grid .timeline-item:nth-child(2) { transition-delay: 0.8s; }
#about-page .timeline-grid .timeline-item:nth-child(3) { transition-delay: 1.2s; }
#about-page .timeline-grid .timeline-item:nth-child(4) { transition-delay: 1.6s; }

#about-page .timeline-icon {
    position: absolute;
    top: 0; left: 0; width: 48px; height: 48px;
    background: var(--maroon);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.2rem;
    border: 6px solid var(--bg2); 
    box-shadow: 0 0 0 1px rgba(179, 27, 27, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

#about-page .timeline-item:hover .timeline-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 20px var(--maroon-glow);
}

#about-page .timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 5px;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

#about-page .timeline-item:hover .timeline-year {
    color: var(--maroon-light);
    transform: scale(1.1) translateX(5px);
}

#about-page .timeline-title {
    color: var(--maroon-light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

#about-page .timeline-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

#about-page .timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 25px;
    border-radius: 16px;
    margin-top: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

#about-page .timeline-content::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    z-index: 0;
}

#about-page .timeline-item:hover .timeline-content {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(179, 27, 27, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(179, 27, 27, 0.15);
}

#about-page .timeline-item:hover .timeline-content::before { left: 150%; }

#about-page .premium-news-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.8), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--maroon);
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

#about-page .premium-news-banner::after {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 400px; height: 100%;
    background: radial-gradient(circle at right, rgba(179, 27, 27, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

#about-page .premium-news-banner:hover {
    transform: translateY(-5px);
    border-color: rgba(179, 27, 27, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(179, 27, 27, 0.1);
}

#about-page .news-banner-content {
    flex: 1;
    padding-right: 40px;
    position: relative;
    z-index: 2;
}

#about-page .news-banner-title {
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: -0.02em;
}

#about-page .news-banner-text {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

#about-page .news-banner-action {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

#about-page .btn-sleek-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 28px;
    border-radius: 30px; 
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s ease;
}

#about-page .btn-sleek-arrow:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--maroon-light);
    color: var(--maroon-light);
}

#about-page .btn-sleek-arrow i {
    background: var(--maroon);
    color: #fff;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

#about-page .btn-sleek-arrow:hover i {
    transform: translateX(5px);
    background: var(--maroon-light);
}

@media (max-width: 900px) {
    #about-page .premium-news-banner {
        flex-direction: column;
        padding: 35px 25px;
        align-items: flex-start;
    }
    #about-page .news-banner-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    #about-page .timeline-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    #about-page .timeline-grid::before {
        width: 2px;
        height: 0; 
        top: 0;
        left: 24px;
        background: linear-gradient(180deg, var(--maroon), rgba(179, 27, 27, 0.2));
        transition: height 2s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
    }
    #about-page .timeline-grid.active::before {
        height: 100%;
        width: 2px;
    }
    #about-page .timeline-item {
        padding-top: 0;
        padding-left: 70px;
        transform: translateX(-40px); 
    }
    #about-page .timeline-grid.active .timeline-item {
        transform: translateX(0);
    }
    #about-page .md-frame-accent {
        display: none;
    }
}