/* General Styles */
@font-face {
    font-family: 'Font2-Medium';
    src: url('../fonts/Dubai-Medium.ttf') format('truetype');
    font-weight: light;
    font-style: normal;
}
@font-face {
    font-family: 'Font2-Light';
    src: url('../fonts/Dubai-Light.ttf') format('truetype');
    font-weight: light;
    font-style: normal;
}
@font-face {
    font-family: 'Font2-Regular';
    src: url('../fonts/Dubai-Regular.ttf') format('truetype');
    font-weight: light;
    font-style: normal;
}
@font-face {
    font-family: 'Font2-Bold';
    src: url('../fonts/Dubai-Bold.ttf') format('truetype');
    font-weight: light;
    font-style: normal;
}


/* Define the animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hidden by default */
.card {
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
}

.card.visible {
    animation: fadeInUp 0.8s ease forwards;
}
/* Hidden by default */
.clipCard {
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
}

.clipCard.visible {
    animation: fadeInUp 0.8s ease forwards;
}


/* Initial hidden state */
[data-animate] {
    opacity: 0;
    transform: translateY(50px); /* Fade-up default */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fade-up animation */
[data-animate].visible[data-animate="fade-up"] {
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in animation */
[data-animate].visible[data-animate="fade-in"] {
    opacity: 1;
    transform: translateY(0);
}

/* Fade-left animation */
[data-animate].visible[data-animate="fade-left"] {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-left"] {
    transform: translateX(50px);
}

/* Apply the font to your elements */
* {
    font-family: 'Font2-Medium', Arial, sans-serif;
    padding: 0;
    margin: 0;
}
body {
    margin: 0;
    direction: rtl;
    text-align: right;
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    min-height: 100vh; /* Ensure body stretches to full viewport height */
    display: flex; /* Flexbox for structure */
    flex-direction: column; /* Arrange content vertically */
}
a, button {
    text-decoration: none;
    color: #000;
    font-family: Font2-Light;
}
/* General Reset */
body, h1, h2, h3, p, ul, li, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  /* Popup styling */
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.788); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 120;
  }
  
.popup {
    border-radius: 20px;
    direction: rtl;
    text-align: center;
    margin: auto;
  }
.popup video, .popup img {
    width: 100%;
    height: 100%;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 20px;
    margin: auto;
    display: block;
}
    /* Close button */
.close-btn {
    position: absolute;
    top: 35px;
    left: 55px;
    font-size: 45px;
    color: #6C63FF;
    font-weight: 700;
    cursor: pointer;
    transition: ease-in-out 0.5s all;
    border-radius: 12px;
    width: 60px;
    height: 60px;
    background-color: #f2f3f8;
    text-align: center;
    line-height: 1.3;
    pointer-events: auto;
    z-index: 1499;
    will-change: transform; /* Force a new rendering layer */
  }
.close-btn:hover {
    transform: scale(1.1);
    color: rgb(197, 37, 37);
  }



