/* Additional Styles for Activities Page */

/* Activities Hero */
.activities-hero {
    background: linear-gradient(rgba(26, 86, 219, 0.9), rgba(30, 58, 138, 0.9)), 
                url('https://images.unsplash.com/photo-1527525443983-6e60c75fff46?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.activities-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.activities-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.activities-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* FAST Bubbles Animation */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Bubble 1 - Very Fast */
.shape-1 {
    width: 250px;
    height: 250px;
    top: -125px;
    right: -125px;
    animation: floatUltraFast 6s infinite linear;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(26,86,219,0.1));
}

/* Bubble 2 - Super Fast */
.shape-2 {
    width: 180px;
    height: 180px;
    bottom: -90px;
    left: -90px;
    animation: floatUltraFast 5s infinite linear reverse;
    animation-delay: 1s;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(30,58,138,0.08));
}

/* Bubble 3 - Fast */
.shape-3 {
    width: 140px;
    height: 140px;
    top: 40%;
    left: 10%;
    animation: floatUltraFast 7s infinite linear;
    animation-delay: 0.5s;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(59,130,246,0.07));
}

/* Bubble 4 - Very Fast */
.shape-4 {
    width: 90px;
    height: 90px;
    bottom: 20%;
    right: 20%;
    animation: floatUltraFast 4s infinite linear reverse;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(16,185,129,0.06));
}

/* Bubble 5 - Super Fast */
.shape-5 {
    width: 70px;
    height: 70px;
    top: 20%;
    right: 40%;
    animation: floatUltraFast 5.5s infinite linear;
    animation-delay: 0.8s;
    background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(245,158,11,0.05));
}

/* Additional bubbles for more density */
.shape-6 {
    width: 50px;
    height: 50px;
    top: 30%;
    left: 30%;
    animation: floatUltraFast 3.5s infinite linear reverse;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(139,92,246,0.04));
}

.shape-7 {
    width: 120px;
    height: 120px;
    bottom: 40%;
    left: 20%;
    animation: floatUltraFast 8s infinite linear;
    animation-delay: 1.2s;
    background: linear-gradient(135deg, rgba(255,255,255,0.11), rgba(236,72,153,0.05));
}

.shape-8 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 30%;
    animation: floatUltraFast 6.5s infinite linear reverse;
    animation-delay: 0.3s;
    background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(14,165,233,0.05));
}

/* Ultra Fast Animation */
@keyframes floatUltraFast {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        opacity: 0.6;
        transform: translateY(-250px) rotate(90deg);
    }
    50% {
        opacity: 0.9;
        transform: translateY(-500px) rotate(180deg);
    }
    75% {
        opacity: 0.6;
        transform: translateY(-750px) rotate(270deg);
    }
    100% {
        transform: translateY(-1000px) rotate(360deg);
        opacity: 0.3;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Activities Grid Section */
.activities-grid-section {
    padding: 100px 0;
    background: var(--light);
}

.activities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.activity-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(50px);
}

.activity-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.activity-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.activity-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(26, 86, 219, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.activity-card:hover .activity-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.activity-card:hover .overlay-content {
    transform: translateY(0);
}

.activity-content {
    padding: 25px;
}

.activity-content h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.activity-card:hover .activity-content h3 {
    color: var(--primary);
}

.activity-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tag {
    padding: 5px 15px;
    background: var(--primary-light);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Impact Stats Section */
.impact-stats-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.impact-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.impact-stat {
    text-align: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s ease;
}

.impact-stat.animated {
    opacity: 1;
    transform: scale(1);
}

.stat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.impact-stat:nth-child(2) .stat-circle {
    animation-delay: 0.5s;
}

.impact-stat:nth-child(3) .stat-circle {
    animation-delay: 1s;
}

.impact-stat:nth-child(4) .stat-circle {
    animation-delay: 1.5s;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* Timeline Section */
.activity-timeline-section {
    padding: 100px 0;
    background: var(--light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.animated {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    transform: translateX(50px);
}

.timeline-item:nth-child(even).animated {
    transform: translateX(0);
}

.timeline-dot {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

.pulse-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
    opacity: 0.5;
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(0);
    box-shadow: var(--shadow-lg);
}

.timeline-month {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-light);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Testimonials */
.activity-testimonials {
    padding: 100px 0;
    background: white;
}

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

.testimonial-slide {
    display: none;
    animation: slideInLeft 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
    box-shadow: var(--shadow);
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.testimonial-author h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
}

/* CTA Section */
.activity-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 40px;
    animation: slideInRight 0.8s ease;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
    .activities-hero-title {
        font-size: 2.75rem;
    }
    
    .activities-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .impact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .activities-hero {
        padding: 120px 0 80px;
    }
    
    .activities-hero-title {
        font-size: 2.25rem;
    }
    
    .activities-container {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .timeline-dot {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .impact-stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust bubble sizes for mobile */
    .shape {
        animation-duration: 4s !important;
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .activities-hero-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    /* Further reduce bubbles for small screens */
    .shape {
        animation-duration: 3s !important;
    }
}