/* Image Styles */

/* Profile Image */
.profile-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Course Thumbnails */
.course-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    height: 180px;
}

.course-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-thumbnail {
    transform: scale(1.05);
}

.course-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

/* Video Thumbnails */
.video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb-img {
    transform: scale(1.05);
}

/* Decorative Corner Elements */
.app-like-section {
    position: relative;
}

.app-like-section::before,
.app-like-section::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) 1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.app-like-section::before {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.app-like-section::after {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.app-like-section:hover::before,
.app-like-section:hover::after {
    width: 30px;
    height: 30px;
    opacity: 0.8;
}

/* Animated Border Glow Effect */
@keyframes borderGlow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(0,0,0,0.1),
                   0 0 0 1px rgba(27, 60, 115, 0.1);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(0,0,0,0.15),
                   0 0 15px rgba(27, 60, 115, 0.2),
                   0 0 0 1px rgba(255, 167, 38, 0.2);
    }
}

.course-card, .test-card, .video-card, .performer-card, .batch-card, .webinar-card, .testimonial-card {
    animation: borderGlow 4s ease-in-out infinite;
}

/* WhatsApp Icon */
.whatsapp-float a {
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Images */
@media (max-width: 768px) {
    .course-image {
        height: 150px;
        margin: -1.5rem -1.5rem 1rem -1.5rem;
    }
    
    .profile-image {
        max-height: 300px;
    }
}