/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
}

.hero-bg {
    background-image: url('https://images.unsplash.com/photo-1598327105923-c6e4b0d27a5b?crop=entropy&cs=tinysrgb&w=1200');
    background-size: cover;
    background-position: center;
}

/* Custom Hover Cards */
.card-hover:hover {
    transform: translateY(-8px);
    transition: all 0.3s ease-out;
    box-shadow: 0 15px 25px rgba(255, 149, 0, 0.2);
}

/* Lightbox Styling */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 50;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ff6b00;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    outline: none;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.lightbox-close:hover {
    background-color: #ff8533;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-bg h1 {
        font-size: 2xl !important;
    }
}

/* 🎉 طبقة القصاصات */
.confetti-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.confetti-piece {
    position: absolute;
    top: -20px;
    opacity: 0.7;
    transform: rotate(0deg);
    animation: fall linear forwards;
    border-radius: 0%;
    /* 0% = مربع، 50% = دائرة */
}



@keyframes fall {
    to {
        transform: translateY(60vh) rotate(720deg);
        /* دوران أثناء السقوط */
        opacity: 0;
    }
}