/* Viducation Page Specific Styles - YELLOW THEME */
.viducation-header {
    background: rgba(255, 249, 196, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 193, 7, 0.2);
    padding: 15px 0;
    border-bottom: 2px solid #ffd54f;
}

.viducation-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.back-btn {
    background: linear-gradient(135deg, #ffb300, #ffd54f);
    color: #5d4037;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #ffb300;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

.back-btn:hover {
    background: linear-gradient(135deg, #ffa000, #ffb300);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    color: #5d4037;
}

.viducation-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.viducation-menu li a {
    text-decoration: none;
    color: #ff8f00;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.viducation-menu li a:hover,
.viducation-menu li a.active {
    background: #fffde7;
    color: #e65100;
    border-color: #ffd54f;
    box-shadow: 0 0 10px #ffecb3;
}

.viducation-content {
    margin-top: 100px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 100%);
    min-height: calc(100vh - 100px);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    background: #fffde7;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.15);
    border: 2px solid #ffecb3;
    display: none;
    position: relative;
    overflow: hidden;
}

.section-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd54f, #ffb300, #ffd54f);
}

.section-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.section-title {
    font-size: 2.5rem;
    color: #ff8f00;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5d4037;
    text-align: center;
    margin-bottom: 30px;
    background: #fff9c4;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #ffd54f;
}

/* Flexible Video Gallery Styles */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    padding: 20px 0;
}

.video-card {
    background: #fff9c4;
    border: 2px solid #ffecb3;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.1);
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.25);
    border-color: #ffd54f;
    background: #fff59d;
}

/* Enhanced Video Thumbnail Styles */
.video-thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #ffd54f, #ffb300);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: linear-gradient(135deg, #fff9c4, #ffed50);
}

.video-thumbnail.has-thumbnail {
    background-size: contain; 
    background-color: linear-gradient(135deg, #fff9c4, #ffed50);
    
}

.video-thumbnail.has-thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 213, 79, 0.2), rgba(255, 179, 0, 0.2));
    z-index: 1;
}

.video-thumbnail .play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.video-thumbnail .play-icon::before {
    content: "▶";
    color: #ff8f00;
    font-size: 1.5rem;
    margin-left: 3px;
}

.video-card:hover .play-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Thumbnail overlay effect */
.video-thumbnail::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-card:hover .video-thumbnail::after {
    opacity: 1;
}

/* Fallback for missing thumbnails */
.video-thumbnail.fallback-thumbnail {
    background: linear-gradient(135deg, #ffd54f, #ffb300) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 20px;
}

.fallback-thumbnail-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.fallback-thumbnail-text {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Thumbnail loading state */
.video-thumbnail.loading {
    background: linear-gradient(90deg, #ffecb3 25%, #ffd54f 50%, #ffecb3 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.video-info {
    padding: 20px;
    background: #fff9c4;
}

.video-title {
    font-size: 1rem;
    color: #ff8f00;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-duration {
    font-size: 0.85rem;
    color: #8d6e63;
    font-weight: 500;
    background: #ffecb3;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.video-description {
    font-size: 0.9rem;
    color: #5d4037;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ffd54f, #ffb300, #ffd54f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.video-card:hover::after {
    transform: scaleX(1);
}

/* Gallery Headers */
.gallery-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff9c4;
    border-radius: 16px;
    border: 2px solid #ffecb3;
}

.gallery-title {
    font-size: 2rem;
    color: #ff8f00;
    margin-bottom: 10px;
    font-weight: 700;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: #5d4037;
    margin: 0;
}

/* Empty State for Galleries */
.empty-gallery {
    text-align: center;
    padding: 60px 20px;
    background: #fff9c4;
    border-radius: 16px;
    border: 2px dashed #ffecb3;
    margin: 30px 0;
}

.empty-gallery-icon {
    font-size: 4rem;
    color: #ffd54f;
    margin-bottom: 20px;
}

.empty-gallery-title {
    font-size: 1.5rem;
    color: #ff8f00;
    margin-bottom: 10px;
}

.empty-gallery-text {
    color: #8d6e63;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff8f00, #ff6f00);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(255, 111, 0, 0.3);
}

/* Section-specific color accents */
#short-stories .video-card {
    border-color: #ffb74d;
}

#short-stories .video-card:hover {
    border-color: #ff9800;
    background: #ffe0b2;
}

#soft-skill .video-card {
    border-color: #ffd54f;
}

#soft-skill .video-card:hover {
    border-color: #ffb300;
    background: #fff59d;
}

#call-center .video-card {
    border-color: #ffa726;
}

#call-center .video-card:hover {
    border-color: #ff9800;
    background: #ffe0b2;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .video-gallery {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .video-gallery {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 18px;
    }
    
    .video-thumbnail {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .video-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .gallery-title {
        font-size: 1.7rem;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #fffde7;
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #ff8f00;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.close-modal:hover {
    background: #e65100;
    transform: scale(1.1);
}

.modal-video-container {
    width: 100%;
    height: 500px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.modal-video-info {
    padding: 0 10px;
}

.modal-video-title {
    font-size: 1.5rem;
    color: #ff8f00;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-video-description {
    color: #5d4037;
    line-height: 1.6;
    font-size: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Yellow-themed interactive background */
.yellow-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(3px);
    animation: floatYellow 18s infinite ease-in-out alternate;
    background: radial-gradient(circle at 60% 40%, #ffd54f 65%, transparent 100%);
    pointer-events: none;
}

.yellow-bg-circle1 {
    width: 120px; height: 120px;
    top: 10%; left: 8%;
    animation-delay: 0s;
}
.yellow-bg-circle2 {
    width: 80px; height: 80px;
    top: 72%; left: 78%;
    animation-delay: 2s;
}
.yellow-bg-circle3 {
    width: 100px; height: 100px;
    top: 52%; left: 17%;
    animation-delay: 4s;
}
.yellow-bg-circle4 {
    width: 64px; height: 64px;
    top: 82%; left: 32%;
    animation-delay: 6s;
}
.yellow-bg-circle5 {
    width: 90px; height: 90px;
    top: 22%; left: 83%;
    animation-delay: 8s;
}
.yellow-bg-circle6 {
    width: 70px; height: 70px;
    top: 62%; left: 52%;
    animation-delay: 10s;
}

@keyframes floatYellow {
    0% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-20px) scale(1.07); opacity: 0.2; }
    100% { transform: translateY(20px) scale(0.97); opacity: 0.15; }
}

/* Yellow theme for body background */
body.viducation-page {
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 50%, #fff59d 100%);
    color: #5d4037;
}

/* Yellow scrollbar */
body.viducation-page::-webkit-scrollbar {
    width: 8px;
    background: #fff9c4;
}

body.viducation-page::-webkit-scrollbar-thumb {
    background: #ffd54f;
    border-radius: 8px;
}

body.viducation-page::-webkit-scrollbar-thumb:hover {
    background: #ffb300;
}