
nav{
    display: none;
}
nav.active{
    position: fixed;
    padding: 0px;
    top:0;
    background: url('../svg/Colored\ Shapes\ \(1\).svg');
    background-size: contain;
    display: block;
}
nav .navigation{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:0px;
    top:0;
}

nav select{
    color:#fff;
}
nav option{
    background-color: #000;
}
nav select{
    background: transparent;
    border:0px;
    outline: none;
    font-size: 18px;
}
nav .menu_links{
    width: calc(100% - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap:20px;
}
nav .menu_links p{
    margin-inline:5px;
    margin-block: 5px;
    font-size: 20px;
}

nav .menu_links,nav .language{
    display: none;
}
nav .navigation{
    justify-content: flex-end;
    padding:10px;
}
nav.active .navigation{
    padding: 0px;
}
nav .logo{
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: space-between;
}
nav{
    width: 100%;
    height: fit-content;
    left: 0;
    z-index: 999;
}

nav.active .menu_links {
    flex-direction: column;
    align-items:baseline;
    justify-content: flex-start;
    display: flex;
    position: relative;
    z-index: 2;
}
nav .menu_links li p{
    opacity: 0;
    transition: opacity 5s ease;
}
nav.active .menu_links li p{
    animation: reveal 1s;
    opacity: 1;
        transform: scale(1.2);
}
nav.active .menu_links li p{
    transition: all 0.3s ease;
}
nav.active .menu_links li:hover p{
    transform: scale(1.1);
    color:crimson !important;
}
nav.active .logo{
    height: 30px;
}
nav.active .navigation{
    background:linear-gradient(210deg, #000, rgb(0 0 0 / 95%));
    color:#fff;
    display: block;
    padding: 20px;
    height: 100vh;
    position: relative;
    z-index: 2;
}


.div_main{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap:20px;
    width:90%;
    margin:10px auto;
    height: fit-content;
    z-index: 999;
}
.menu_icon{
    display: grid;
    background-color: var(--color-bg-light);
    padding:10px;
    place-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.menu_icon.active{
    z-index: 999;
    transform:scale(1.1) translateY(10px);
}
.menu_icon.active .open{
    display: none;
}
.menu_icon.active .close{
    display: block;
}
.menu_icon .open{
display: block;
}
.menu_icon .close{
display: none;
}

.scene_kep{
    position: absolute;
   right: 0;
   bottom:8%;
    width:300px;
    height: 400px;
    animation:bounce 3s infinite;
}

.scene-container {
    position: relative;
    width: 100%; 
    height: 400px;
}

.video-card {
    border-radius: 20px;
    width: 90%;
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    padding: 10px;
}

.video-content {
    height: 100%;
    background: url('../images/missions/partner.png'); 
    object-fit: cover;
    background-size:cover;
    background-repeat:no-repeat;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}


.video-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-bubble {
    position: absolute;
    top: 15%;
    left: 10%;
    background-color: var(--bubble-green);
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 5px 15px var(--shadow-light);
    transform: rotate(-3deg);
    z-index:9;
}

.floating-circle {
    position: absolute;
    top: 25%;
    right: 0%; 
    background-color: #ff8c42; 
    color: var(--card-white);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9em;
    line-height: 1.2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index:9;
}
.floating-circle span {
    font-size: 1.2em;
    font-weight: bold;
}
.animate_x {   
  transition: opacity 0.5s ease, transform 0.5s ease !important ;
  opacity: 1 !important ;
  transform: translateY(0) !important ;
}

.animate_x.hide {
  opacity: 0 !important ;
  transform: translateY(-10px) !important ;
}

.lang-switcher-container {
    position: relative;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    user-select: none;
    z-index: 1000;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.lang-current:hover {
    background: #f9f9f9;
    border-color: #bbb;
}

.lang-current img {
    width: 20px !important;
    height: auto !important;
    border-radius: 2px;
}

.arrow-down {
    border: solid #555;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 5px;
}

/* Pop-up Box */
.lang-popup {
    position: absolute;
    top: -100px;
    right: 0;
    min-width: 160px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none; /* Hidden by default */
    overflow: hidden;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-option {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: background 0.2s;
    color:#000;

}

.lang-option:hover {
    background: #f0f0f05e;
}

.lang-option img {
    width: 20px !important;
    border-radius: 2px !important;
}
[lang="ar"] {
    direction: rtl;
    text-align: right;
}
@keyframes reveal {
    0%{
        opacity: 0;
        transform: translateY(-20px) scale(1.2);
    }
    100%{
        opacity: 1;
        transform: translateY(0px) scale(1.2); 
    }
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }   
    100% {
        transform: translateY(0);
    }
}
@media screen and (max-width:500px) {
    .donate-button{
        display: none;
    }
    .scene_kep{
        display: none;
    }
}