@font-face {
    font-family: 'arabic';
    src: url('img&font/normal_arabic.woff2') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'arabic';
    src: url('img&font/bold_arabic.woff2') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Emoji';
    src: url('img&font/Noto_Emoji.woff2') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html {
    font-size: 24px;
}

body {
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    background-color: #0F1318;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
        url('img&font/body_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'arabic';
    font-display: swap;
    scroll-behavior: smooth; 
}

::-webkit-scrollbar {
  display: none;
}
/*
::-webkit-scrollbar-track {
  background-color: #0F1318;
}
::-webkit-scrollbar-thumb {
  background-color: #007063;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
      background-color: #3F908D;
}
*/
header {
    display: flex;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    padding: 10px;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 10px; 
}

.blocks {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.blocks i {
    font-family: 'Emoji';
    font-size: 1.4em;
    font-style: normal;
} 

.lt_block {
    color: beige;
    font-size: 1.4em;
    cursor:pointer;
    order: 3;
    transition: color 0.2s;

}

.rt_block {
    color: beige;
    font-size: 1.4em;
    cursor: pointer;
    order: 1;
    transition: color 0.2s;
}

.rt_block:hover, .lt_block:hover {
    color: #739A77;
} 

 
    
.logo {
    order: 2;
    flex: 0 0 250px;
}

.logo img {
    height: 75px;
}   


.main {
    display: flex;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0F1318;
    background: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)),url('img&font/main.avif') no-repeat;
    background-size: cover;
    background-position: center;
    font-weight: bold;
}

.main h1 {
    /*font-size: clamp(3rem, 10vw, 6rem);*/
    font-size: 3em;
    color: #ECF5CE;
    text-shadow: 0 0 10px #000, 0 0 20px rgba(0, 0, 0, 0.3);
    margin: -50px  0 0;
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
}

.main h2 {
    color: #C1D297;
    font-size: 2.5em;
    margin-top: 10px;
    text-shadow: 0 0 10px #A9AD9B, 0 0 10px rgba(0, 0, 0, 0.6);
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    animation: bounce 3s infinite;
    transition: 0.3s;
}

.arrow:hover {
    filter: drop-shadow(0 0 10px #fff);
}

.arrow svg {
    fill: #ECF5CE;
    width: 40px;
    height: 40px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.story {
    display: flex;
    width: 55%;
    padding: 25px;
    border-radius: 25px;
    margin: 10vh auto;
    background: linear-gradient(135deg, rgba(181, 170, 153, 0.1) 0%, rgba(255, 193, 7, 0.02) 100%);
        backdrop-filter: blur(8px);
    box-sizing: border-box;
    transition: all 0.3s;
}

.story_item {
    display: flex;
    align-items: center;
}


.pic {
    height: 300px;
    width: 300px;
    flex-shrink: 0;
    border-radius: 20px;
    background-color: transparent;
    box-shadow: 4px 1px 20px 1px rgba(252, 56, 56, 0.2);
    margin-right: -10%;
}


.pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.title {
    font-size: 1.2em;
    font-weight: bold;
    color: rgba(252, 56, 56, 0.75);
    margin-bottom: 20px;
/*    margin-right: -10%;*/
    text-align: center;
}

.text {
    font-size: 1em;
    color: white;
    text-align: justify;
    line-height: 2;
    padding: 0 22px;
    margin-bottom: 30px;
}


    
.frame {
    width: 68%;
    border: 3px double gray;
    margin: 40px auto;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.frame_title {
    position: relative;
    display: block;
    padding: 20px 50px;
    text-align: center;
    border-bottom: 2px solid #354B45;
}

.frame_title h3 {
    font-size: 1.8em;
    color: #5d4037;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.frame_title::after {
    position: absolute;
    content: '';
    width: 100%;
    right: 0;
    margin-top: 15px;
    border-bottom: 2px dashed #354B45;
}

.frame_item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px;
}

.frame_item:nth-child(even) {
    flex-direction: row-reverse;
}

.frame_text {
    flex: 1;
}

.frame_text h4 {
    font-size: 1.2em;
    line-height: 2.5;
    text-align: justify;
}


.frame_pic {
    flex: 1;
}

.frame_pic img {
    width: 100%;
    aspect-ratio: 4 / 2;
    object-fit: cover;
    border-radius: 10px;
}






:root {
      --plyr-color-main: #6366f1;
  }



  .video-container {
      width: 80%;
      max-width: 800px;
      margin: 40px auto;
      direction: ltr;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      position: relative; 
      z-index: 1;
  }









.services {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    padding: 20px;
}

.services_box {
    position: relative;
    display: flex;
    width: 460px;
    padding: 15px;
    border-radius: 4px;
    border-right: 5px solid #007BFF;
    box-sizing: border-box; 
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    gap: 10px; 
}

.services_box span {
    direction: ltr;
    position: absolute;
    top: -6px;
    left: -6px;
    background: #ff3b30;
    color: #fff;
    padding: 6px 14px;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 85% 100%, 0 100%);
}


.frame_text h5 {
    font-size: 1em;
    color: lemonchiffon;
    margin: 0 0 10px 0;
}

.frame_text h6 {
    font-size: 1em;
    color: goldenrod;
    line-height: 1.4;
    margin: 0;
}

.services_box img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.container-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}



    
    














  








    





















.form_cover {
    display: flex;
    width: 60%;
    height: 40vh;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url('img&font/login.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    border: 1px solid #3498db;
    border-radius: 12px;
    margin: 7vh auto 50px;
    transition: 0.7s ease;
}
.form_cover h1 {
    font-size: 2em;
    font-weight: bold;
    color: #CED9E5;
    text-shadow: 0 0 10px #000, 0 0 20px rgba(0, 0, 0, 0.3);
}
.form_cover:hover {
    transform: scale(1.05);
    opacity: 0.8;
}
.form_cover:hover h1 {
    color: #3498db;
}





































@media (max-width: 700px) {
    .blocks {
        margin: 0 5% 0;
    }
    .frontbar {
        width: 65%;
    }
}

@media (max-width: 475px) {
        header {
        flex-direction: column;
         height: auto;
        padding-bottom: 0;
    }
    .header_block {
        display: flex;
        width: 100%;
        order: 1;
        flex-direction: row;
          justify-content: center;
     }
    .logo {
        width: 100%;
        order: -1;
         flex: unset;
        margin-bottom: 0;
        padding-bottom: 0;
        margin: 10px 0 -10px;
    }
    .logo img {
        max-width: 100px;
        max-height: 75px;
    }
    .blocks {
        flex: unset;
         width: 30%;
         margin: 0px 0;
         order: 0;
    }
    .rtblock {
         font-size: 5.5vw;
    }
     .ltblock {
         font-size: 3vw;
    }
    .frontbar {
        width: 85%;
        font-size: 5vw;
        left: 55%;
    }
    .close_menu {
        font-size: 9vw;
    }
}





@media (max-width: 1300px) {
    .story {
        margin: 25vh auto 10vh;
    }
    .story_item {
        flex-direction: column;
    }
    
    .pic {
        margin: -180px 0 30px;
        padding: 0;
        width: 90%;
    }
    .text {
        margin: 0;
        padding-left: 20px;

    }
}


@media (max-width: 1000px) {
    .story {
        width: 70%;
    }

}








@media (max-width: 768px) {
    .frame_title {
        padding: 15px 30px;
    }
    .frame_title h3 {
        font-size: 2.2em;
    }

}