.course-image-box * {
    transition: all 0.5s ease-in-out;
}

/* Meta Box: يظهر من اليمين */
.course-image-box .course-meta-box {
    right: -100%;
    position: absolute;
}

.course-image-box:hover .course-meta-box {
    right: 0;
}

/* Overlay: يتغير شفافيته عند Hover */
.course-image-box .course-image-overlay {
    opacity: 0;
}

.course-image-box:hover .course-image-overlay {
    opacity: 0.5;
}

.course-image-box .hidden-meta {
    display: none;
    opacity: 0;
    transition: width 0.5s ease, opacity 0.5s ease;
}

/* عند Hover */
.course-image-box:hover .hidden-meta {
    display: inline-block;
    width: max-content;
    opacity: 1;
}

/*btn*/
.btn-shine-effect {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-shine-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 35, 65, 0.35) !important;
}

.btn-shine-effect:hover::after {
    left: 200%;
}


@media (max-width: 768px) {
    .hero-home {
        min-height: 80vh;
    }

    .hero-home h1 {
        font-size: 2rem;
    }

    footer .footer-title::after {
        right: auto;
        left: 0;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
    color: white;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}