/* ===========================
   Interactive Features Styles
   =========================== */

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #fff9f2 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 200px;
    color: rgba(255, 122, 0, 0.05);
    font-family: Georgia, serif;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 122, 0, 0.1);
    text-align: center;
    display: none;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: scale(1);
    animation: slideInUp 0.6s ease-out;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 4px solid var(--primary-orange);
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.testimonial-role {
    color: #888;
    font-size: 1rem;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 15px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-orange);
    transform: scale(1.3);
}

/* Interactive Achievements */
.achievements-section {
    background: linear-gradient(135deg, #ff7a00, #ff9933);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.achievements-section .section-title {
    color: white;
}

.achievements-section .title-line {
    background: linear-gradient(90deg, transparent, white, transparent);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.achievement-card:hover::before {
    transform: scale(1);
}

.achievement-card:hover {
    transform: translateY(-15px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.achievement-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.4s ease;
    color: white;
}

.achievement-card:hover .achievement-icon {
    transform: rotateY(360deg) scale(1.2);
}

.achievement-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    color: white;
}

.achievement-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
    color: white;
}

.achievement-description {
    margin-top: 15px;
    font-size: 0.95rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: white;
}

.achievement-card:hover .achievement-description {
    opacity: 0.85;
    max-height: 100px;
}

/* Video Section */
.video-section {
    background: #000;
    padding: 0;
    position: relative;
}

.video-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 100px;
    height: 100px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 122, 0, 0.5);
    animation: pulse 2s infinite;
}

.video-overlay:hover .video-play-btn {
    transform: scale(1.2);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.video-container:hover .video-info {
    transform: translateY(0);
}

.video-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.video-description {
    font-size: 1rem;
    opacity: 0.9;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 122, 0, 0.3);
}

.gallery-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

/* Interactive Timeline */
.timeline-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-item.expanded .timeline-content {
    max-height: 500px;
    padding-bottom: 30px;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.timeline-item.expanded .timeline-details {
    max-height: 300px;
}

.timeline-details ul {
    list-style: none;
    padding-left: 0;
}

.timeline-details li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.timeline-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* Progress Indicator */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--orange-light));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Tooltip */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 5px;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 20px;
    }

    .achievement-card {
        padding: 30px 20px;
    }

}
