/* Videos Hero Section */
.videos-hero {
    padding-top: 8rem; /* Adjust based on header height */
    padding-bottom: 4rem;
    background: linear-gradient(180deg, rgba(0, 196, 154, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    text-align: center;
}

.videos-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.videos-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.videos-badge i {
    font-size: 1.25rem;
}

.videos-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.videos-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Videos Section */
.videos-section {
    padding: 3rem 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-card {
    background-color: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeUp 0.6s ease forwards;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.video-card-header {
    background-color: var(--neutral-light);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.video-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.video-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.video-card-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.video-card-content {
    padding: 0;
}

.video-embed-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: var(--neutral-light);
    overflow: hidden;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card-cta {
    padding: 1rem;
    background: linear-gradient(to right, var(--primary-color-light), var(--accent-color-light));
    border-top: 1px solid var(--border-color);
}

.video-card-cta .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.video-card-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* Videos Resources Section */
.videos-resources {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color-light) 0%, var(--accent-color-light) 100%);
    text-align: center;
}

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

.videos-resources-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.videos-resources-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Loading and Info Messages */
.loading-spinner, .info-message {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.3s; }
.video-card:nth-child(3) { animation-delay: 0.5s; }
.video-card:nth-child(4) { animation-delay: 0.7s; }
.video-card:nth-child(5) { animation-delay: 0.9s; }
.video-card:nth-child(6) { animation-delay: 1.1s; }

/* Responsive Design */
@media (max-width: 768px) {
    .videos-hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .videos-title {
        font-size: 2.5rem;
    }

    .videos-description {
        font-size: 1.1rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .video-card-header {
        padding: 1.25rem;
    }

    .video-card-title {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .video-card-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .videos-resources-title {
        font-size: 1.75rem;
    }

    .videos-resources-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .videos-title {
        font-size: 2rem;
    }

    .videos-description {
        font-size: 1rem;
    }

    .video-card-header {
        padding: 1rem;
    }

    .video-card-title {
        font-size: 1rem;
    }

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

    .video-card-cta {
        padding: 0.75rem;
    }

    .video-card-cta .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}


