/* Start Global Rule */
:root {
    --main-color:#062e6f;
    --secondary-color: #d3e3fd;
    --third-color: #FEA621;
    --gray-color: #f8fafd;
    --red-color: #9a2121;
    --transition-duration: 0.4s;
}
a {
    text-decoration: none;
}
::selection {
    background-color: var(--third-color);
}
small.help-block {
    color: red;
}
body {
    font-family: "Amiri", serif;;
    background-color: var(--gray-color);
}
/*Start DataTable Custom*/
div.dataTables_wrapper div.dataTables_filter input {
    width: 100%;
    display: block;
}
/*End DataTable Custom*/
/*End */
/* Start Custom classes */

/* End Custom classes */
/* Start Custom Component */
.main-title-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.main-title {
    position: relative;
    width: fit-content;
}
.main-title::after {
    content: "";
    position: absolute;
    width: 20%;
    height: 3px;
    background: var(--main-color);
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition-duration);
}
.main-title:hover::after {
    width: 100%;
}
.main-button {
    background: #21737d;
    padding: 10px 20px;
    color: white;
    font-size: 20px;
    border: none;
}
.overlay-blue {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    background-color: rgb(0, 120, 255, 70%);
}
/* End Custom Component */
/* ٍStart Navbar */
.navbar {
    background-color: var(--secondary-color);
    padding: 0 !important;
}
.navbar .logo {
    max-width: 230px;
    max-height: 60px;
}
.navbar .nav-link {
    font-size: 20px !important;
    position: relative;
    overflow: hidden;
    height: 75.36px !important;
    display: flex;
    align-items: center;
    color: var(--main-color) !important;
}
.navbar .nav-link::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: var(--main-color);
    top: 0;
    left: -100%;
    transition: var(--transition-duration);
}
.navbar .nav-link:hover {
    background-color: white;
}
.navbar .nav-link:hover::before {
    left: 0;
}
.navbar .dropdown-menu li a.dropdown-item {
    transition: var(--transition-duration);
    background-color: transparent;
}
.navbar .dropdown-menu li:hover a.dropdown-item {
    transform: translateX(-10px);
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar #selectLanguage {
    border: none;
    background-color:transparent;
}
.navbar #selectLanguage:focus {
    border: none;
    background-color:transparent;
}
/* End Navbar */
/* Start Testmanual */
.testmanual {
    max-height: 100vh;
}
.testmanual .text h1::before {
    content: "";
    position: absolute;
    background-color: #eeeeee6e;
    width: 70%;
    height: 70px;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    border-radius: 37px;
    z-index: -1;
}
.testmanual .text p {
    line-height: 2;
    font-size: 20px;
}
@media (max-width: 767px) {
    .testmanual .text {
        width: 80%;
    }
    .testmanual .text h1 {
        font-size: 16px;
    }
    .testmanual .text p {
        line-height: 1.6;
        font-size: 12px;
        margin-top: 20px;
    }
    .testmanual .text h1::before {
        height: 35px;
    }
}
.testmanual .carousel-item {
    /*max-height:  70vh;
    overflow: hidden;*/
}
.testmanual .carousel-item img {
    /*max-height: 70vh;
    height: 70vh;*/
    max-width: 100%;
}
/*@media (max-width: 991px) {
    .testmanual .carousel-item img { 
        height: 50vh;
    }
}
@media (max-width: 767px) {
    .testmanual .carousel-item img { 
        height: 25vh;
    }
}*/
/* End Testmanual */
/* Start About */
/* End About */
/* Start Welcome */
.welcome .box {
    text-align: center;
    border: 1px solid #27b3fd;
    padding: 20px 0px;
    background-color: white;
    /* width: 131px; */
    height: 160px;
    font-size: 20px;
    color: #27b3fd;
    border-radius: 8px;
    transition: 0.3s;
}
.welcome .box:hover {
    color: var(--red-color);
    border-color: var(--red-color);
    transform: translateY(-10px);
}
.welcome .box svg {
    font-size: 50px;
    margin-bottom: 25px;
}
.welcome .box h3 {
    font-size: 20px;
}
@media screen and (max-width: 576px) {
    .welcome .box {
        max-width: 175px;
        margin: auto;
    }
}
/* End Welcome */
/* Start Contact */
.contact-section {
    background-image: url('img/main/about.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}
/* End Contact */
/* Start News */
.news .card {
    box-shadow: 0px 0px 5px 0px #3f6f6f;
    transition: var(--transition-duration);
}
.news .card:hover {
    border-bottom: 5px solid var(--red-color) !important;
    transform: translateY(-15px);
}
.news .card img {
    max-width: 100%;
    height: 220px;
}
/* End News */
/* Start Footer */
/* End Footer */
/* Start Copyright */
.copyright {
    background-color: var(--main-color);
}
/* End Copyright */
/*Start Social Media*/
.social-media {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    margin-right: -123px;
}
.social-media .holder a {
    width: 170px;
    background: var(--main-color);
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 5px;
    padding: 5px 10px; 
    transition: 0.4s;
}
.social-media .holder a:hover {
    margin-right: 120px;
}
.social-media .holder span {
    flex: 1;
    padding-right: 20px;
    font-size: 20px;
}
@media (max-width:767px) {
    .social-media {
        display: none;
    }
}
/*End Social Media*/
/* Start Hotal Page */

/* Start hotal-content */
.hotal-content .card .card-footer {
    color: gold;
}
/* End hotal-content */

/* End Hotal Page */

/* Start AirLines Page */

/* Start Airline */
.airline .box {
    border: 1px solid #eee;
}
/*
.airline .box img {
    transition: var(--transition-duration);
}
.airline .box .overlay-blue {
    transition: var(--transition-duration);
    background-color: rgb(0, 120, 255, 0%);
    top: -100%;
}
.airline .box:hover img {
    transform: scale(1.1);
}
.airline .box:hover .overlay-blue {
    top: 0;
} */
/* End Airline */

/* End AirLines Page */
/* Start News */
.news-content .list-group a {
    position: relative;
    border-bottom: 1px solid #eee;
    padding: 10px ;
    cursor: pointer;
}
.news-content .list-group a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    border-style: solid;
    border-width: 10px;
    border-color: transparent var(--main-color) transparent transparent;
    transform: translateY(-50%);
    transition: var(--transition-duration);
}
.news-content .list-group a:hover::after {
    border-right-color: var(--third-color);
}
.news-content .news-card .news-time {
    background-color: #eee;
}
@media screen and (max-width: 768px) {
    .news-content .titles svg {
        transform: translateY(4px);
    }
    .news-content .news-card .card-body {
        padding: 0;
    }
    .news-content .news-card .card-body p {
        font-size: 16px;
    }
    .news-content .news-card .card-body .news-time {
        font-size: 0.5rem;
    }
}
/* End News */




/* Loader container */
#masterContent {
    display: none; /* تأكد من أن المحتوى مخفي */
}
#loader {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(39, 179, 253, 0.81);
    z-index: 9999;
}

/* Loader content */
.loader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loader animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

