@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
:root{
    --dark-color: #282828;
    --light-color: #eeeeee;
    --primary-color: #db792e;
    --font-color-primary: #db792e;
    --p-color: #353535;
    --white-color: white;
    --font-color-ternary: #ebc93b;
    --font-size: 16px;
}
body{
    width: 100%;
    font-family: 'Cairo', sans-serif !important;
}
@media (max-width: 345px){
    html{
        font-size: 11px;
    }
}
/* Start Main Heading */
header{
    overflow-x: clip;
}
.main-heading{
    padding-top: 120px;
    padding-bottom: 80px;
    z-index: 3;
}
.main-heading p{
    padding-top: 60px;
    color: #797979;
    font-size: 1rem;
    line-height: 2;
}
.main-heading h1{
    position: relative;
    color: var(--font-color-primary);
}
.main-heading h1::before{
    content: "";
    position: absolute;
    height: 2px;
    background-color: var(--font-color-primary);
    width: 33vw;
    left: 50%;
    transform: translateX(-50%);
    bottom: -37px;
    z-index: 3;
}
.main-heading h1:after{
    content: "";
    height: 19px;
    width: 19px;
    left: 50%;
    border-radius: 50%;
    border: 2px solid var(--font-color-primary);
    position: absolute;
    bottom: -45px;
    transform:translateX(-50%);
    background-color: var(--white-color);
    z-index: 3;
}
/* End Main Heading */
/* Start header */
.navbar.bg-light {
    background-color: var(--white-color) !important;
    position: fixed;
}
.navbar{
    width: 100%;
    font-size: large;
    font-weight: 700;
}
.navbar-image{
    width: 80px;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 6vw;
    position: relative;
}
.nav-item {
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background-color 0.3s;
}
.nav-item:hover {
    background-color: hsl(0, 0%, 89%), 100%;
}
.nav-link.active ~ i + .nav-item::before {
    width: 100%;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--font-color-primary) !important;
}
.nav-item .nav-link {
    color: inherit; 
    transition: color 0.3s; 
}
.nav-item:hover .nav-link {
    color: var(--font-color-primary);
}
.nav-item::before {
    content: "";
    position: absolute;
    background-color: var(--font-color-primary);
    top: 0;
    right: 0;
    width: 0;
    height: 3px;
    transition: width 0.3s ease; 
}

.nav-item:hover::before {
    width: 100%; 
}
.nav-item:active::before {
    width: 100%; 
}
.nav-link.active ~ i + .nav-item::before {
    width: 100%;
}
@media (max-width: 281px) {
    .navbar-collapse{
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
        width: 100%;
        overflow-x: hidden;
    }
}
@media (max-width: 992px) {
    .about-us-icon{
        color: #db792e;
        font-size: 14px;
        padding-left: 14px; 
    }    
}
@media (max-width: 991px){
    .box-header .social{
        display: flex;
        justify-content: center;
        align-items: start;
        margin-top: 20px;
        margin-right: 15px;
        margin-left: 15px;
        flex-direction: row;
    }
    .navbar-nav{
        flex-direction: column-reverse;
        display: flex;
        justify-content: center;
        align-items: end;
        margin-left: -23px;
        margin-top: 10px;
    }
    .navbar-image{
        width: 100px;
    } 
    .navbar-brand{
        display: block;
        text-align: center;
        display: flex;
        flex-direction: row-reverse;
        margin-top: 20px;
    }
    .footer .copyright{
        font-size: 13px;
    }
    .main-heading p{
        font-size: 16px;
        padding: 60px 20px 0;
    }
    .btn{
        font-size: 11px;
    }
}

.navbar-brand {
    color: var(--font-color-primary) !important;
    font-weight: bolder;
}
.box-header .social{
    margin-bottom: 0;
}
.box-header .social li a{
    font-size: 20px;
    background-color: var(--white-color);
    padding: 10px 15px;
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    text-decoration: none;
}
.box-header .social li a i{
    color: var(--dark-color);
}
.box-header .social li:hover a i{
    color: var(--white-color);
}
.box-header .social .facebook:hover{
    background-color: #1877f2;
}
.box-header .social .twitter:hover {
    background-color: #1da1f2;
}
.box-header .social .youtube:hover {
    background-color: #ff0000;
}
.box-header .social .whatsapp:hover {
    background-color: #25D366;
}
.box-header .social .instagram:hover {
    background-color: #c13584;
}

header ul li select{
    width: fit-content;
    height: 30px;
    border: 1px solid var(--dark-color);
}
header ul li select option img{
    width: 15px;
    height: 15px;
}
/* End header */
/* Start Carousel */
.row-first .carousel-control-prev-icon::after {
    content: '❮';
    font-size: 30px;
    color: rgb(255, 255, 255);
}
.row-first .carousel-control-next-icon::after {
    content: '❯';
    font-size: 30px;
    color: rgb(255, 255, 255);
}
.row img{
    height: 130px !important;
    /* width: 100% !important; */
}
.row .images-row a img{
    width: 150px !important;
    margin: 3.75rem
}
@media (max-width: 991px) {
    .row .images-row a img{
        width: 150px !important;
    }
}
.img-fluid {
    height: 100vh;
    position: relative;
}
.z-background::before{
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #2828289e; /* Corrected opacity value */
    z-index: 1;
}
/* Style The Dropdown Button */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.dropdown {
    position: relative;
    display: flex;
}
.dropdown-content-about-us {
    direction: rtl;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 7px;
    top: 40px;
}
  /* Links inside the dropdown */
.dropdown-content-about-us a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content-about-us a:hover{
    color: var(--font-color-primary);
    transition: 0.2s;
}
.dropdown:hover .dropdown-content-about-us {
    display: block;
}
@media (max-width: 420px) {
    .row-first{
        margin-top: 160px;
    }

}
@media (max-width: 720px) {
    .row-first{
        margin-top: 60px;
    }
    .img-fluid{
        height: 500px;
    }
}
@media (min-width: 722px) and (max-width: 970px) {
    .img-fluid{
        height: 600px;
    }
}
/* End Carousel */
/* Start About Us */
.about-us {
    padding: 0 15px;
}
.about-us-container{
    background-size: 200% 200%;
}
@keyframes gradient {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
}
.about-us h1 {
    font-weight: 700;
    color: var(--font-color-primary);
    margin-bottom: 20px;
}
.about-us .text-center > p {
    color: var();
    font-size: 1.2rem;
    line-height: 1.6; 
}
.about-us .about-box {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
    flex-wrap: wrap; 
}
.about-us .about-box div { 
    padding: 15px; 
    margin-top: 20px;
}
.about-us .about-box div span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--font-color-primary);
    margin-bottom: 10px;
}
.about-us .about-box p {
    font-size: 1rem;
    color: var(--p-color);
    margin-top: 10px;
    line-height: 2;
}
.about-us .about-box div {
    max-width: 35vw;
}
.btn{
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    color: var(--light-color);
}
.btn:hover{
    background-color: var(--white-color) !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}
.btn:active{
    background-color: var(--white-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.video-iframe{
    width: 500px;
    height: 300px;
    border-radius: 10px;
}
@media (max-width: 600px){
    .video-iframe{
        width: 300px;
        height: 180px;
        border-radius: 10px;
    } 
}
@media (max-width: 400px){
    .video-iframe{
        width: 260px;
        height: 140px;
        border-radius: 10px;
    } 
}
.about-us .about-box img {
    width: 100%; 
    max-width: 300px; 
    height: auto; 
    border-radius: 6px;
}
.images-row{
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1223px) {
    .about-us .about-box {
        flex-direction: column; 
        align-items: center;
        text-align: center;
    }

    .about-us .about-box img {
        max-width: 100%; 
        height: auto; 
    }

    .about-us .about-box div {
        max-width: 100%;
        padding: 0;
    }

    .about-us h1 {
        font-size: 1.5rem; 
    }

    .about-us .text-center > p {
        font-size: 1rem; 
    }
}
@media (max-width: 1267px){
    .navbar-nav li{
        width: 100px;
        font-size: 13px;
    }
}
@media (min-width: 992px) and (max-width: 1150px) {
    .navbar-nav li{
        width: 86px;
        font-size: 11px;
        display: flex;
    }
    .navbar-nav li:last-child{
        width: 45px;
    }
    .nav-item .fa-solid{
        font-size: 10px !important;
    }
}
@media (max-width: 992px) {
    .navbar-nav .nav-item{
        font-size: 15px;
        display: flex;
        justify-content: space-between;
    }
}
@media (max-width: 576px) {
    .about-us {
        padding: 0 10px; 
    }

    .about-us h1 {
        font-size: 1.25rem; 
    }

    .about-us .text-center > p {
        font-size: 0.9rem; 
    }
}
/* End About Us */
/* Start News */
.card-body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-body button{
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
}
.card-body button:hover{
    background-color: var(--white-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.row-news{
    margin-top: 0px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none; 
}

/* Add custom black arrows */
.carousel-control-prev-icon::after {
    content: '❮'; /* Left arrow */
    font-size: 30px;
    color: black;
}

.carousel-control-next-icon::after {
    content: '❯'; /* Right arrow */
    font-size: 30px;
    color: black;
}
.card {
    margin: 15px auto;
    width: 250px; 
    min-height: 350px;
    max-height: 350px;
    height: 350px;
}
.card-title{
    font-weight: 900;
    color: var(--font-color-primary);
}
.card-img-top{
    max-height: 150px;
    max-height: 150px;
    height: 150px;
}
.card-text{
    color: #797979;
    min-height: 70px;
    max-height: 70px;
    height: 70px;
}
@media (max-width: 1200px) {
    .carousel-item .row {
        justify-content: center;
    }
    .carousel-item .row .card{
        width: 100%;
    }
}

@media (min-width: 768px) {
    .carousel-item .row {
        display: flex;
        justify-content: space-between;
    }
}
/* End News */
/* Start Our Partners */
.row-logos{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
}
.logo-img {
    width: 150px !important;
    margin: 3.75rem
}

@media (min-width: 768px) {
    .carousel-item .row {
        display: flex;
        justify-content: space-between;
    }
}
@media (max-width: 767px) {
    .carousel-item .row {
        display: flex;
        justify-content: center;
    }
    }
@media (max-width: 991px) {
    .logo-img{
        width: 150px;
        margin: 1.1rem;
    }
}
/* End Our Partners */
/* Start Contact Us */
.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 0px;
    text-align: center;
}

.contact .container {
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.contact .contact-form {
    text-align: right;
}

.contact .contact-map {
    min-height: 300px;
}

.contact .map {
    border: 0;
    height: 100%;
    width: 100%;
    border-radius: 15px;
}
.contact .container .contact-form .form-control:focus{
    border-color: #f767006e;
    box-shadow: none;
}
.contact .container .contact-form div input::placeholder{
    text-align: right;
}
.contact .container .contact-form .form-control{
direction: rtl;
}
.contact .container .contact-form .btn{
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
}
.contact .container .contact-form .btn:hover{
    background-color: var(--white-color);
    color: var(--font-color-primary);
    border: 2px solid var(--primary-color);
}
.contact .contact-form h1{
    color: var(--primary-color);
}
/* Responsive */
@media (max-width: 767px) {
    .contact .container {
        flex-direction: column;
        align-items: center;
    }
    .contact .contact-form {
        width: 100%;
        margin-bottom: 20px;
    }
    .contact .contact-map {
        width: 100%;
        height: 300px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .contact .contact-form, .contact .contact-map {
        width: 100%;
    }
    .contact .contact-map{
        height: 100px;
    }
    
}
@media (min-width: 992px) {
    .contact .contact-form {
        margin-right: 20px;
    }
    .contact .contact-map {
        height: 500px;
    }
}
/* End Contact Us */
/* Start footer */
.footer{
    background-color: var(--dark-color);
}
.box h3{
    color: var(--primary-color);
}
.box .social li a{
    font-size: 20px;
    background-color: var(--dark-color);
    padding: 10px 15px;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    text-decoration: none;
}
.box .social .facebook:hover{
    background-color: #1877f2;
}
.box .social .twitter:hover {
    background-color: #1da1f2;
}
.box .social .youtube:hover {
    background-color: #ff0000;
}
.box .social .whatsapp:hover {
    background-color: #25D366;
}
.box .social .instagram:hover {
    background-color: #c13584;
}

.text-footer{
    line-height: 2;
}
.footer .box .links li{
    padding: 5px 5px 5px 0;
    transition: 0.3s;
}
.footer .box .links li:not(:last-child){
    border-bottom: 1px solid var(--white-color);
}
.footer .box .links li:hover{
    padding-right: 9px;
}
.footer .box .links li:hover a{
    color: var(--primary-color) !important;
}

.footer .box .links li a{
    color: var(--light-color);
    transition: 0.3s;
}
.footer .box .links li a::before{
    content: "\f101";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
    color: var(--primary-color);
}
.footer .box .line{
    display: flex;
    align-items: center;
    color: var(--light-color);
    margin-bottom: 30px;
}
.footer .box .line i{
    font-size: 25px;
    color: var(--primary-color);
    margin-left: 10px;
    margin-bottom: 10px;
}
.footer .box .line .info{
    line-height: 1.7;
    flex: 1; 
}
.footer .box .line .info span{
    display: block;
}
/* end footer */
#scrollUpButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--primary-color) !important;
    color: white;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 4px;
    transition: 0.3s;
}
#scrollUpButton:hover{
    background-color: #d95e00 !important;
}
#scrollUpButton i{
    color: var(--dark-color);
}
/*Language Selector*/
.language-selector {
    position: relative;
    display: inline-block;
}
.language-dropdown-btn {
    background-color: #e5e5e5;
    border: none;
    box-shadow: 0 0 20px rgba(1, 0, 0, 0.15);
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 32px;
    gap: 8px;
    border-radius: 4px;
    margin-right: 4px;
}
.flag-icon {
    width: 20px;
    vertical-align: middle;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #e5e5e5;
    border: none;
    box-shadow: 0 0 20px rgba(1, 0, 0, 0.15);
    z-index: 1;
    border-radius: 4px;
    width: 20px;
    top: 100%;
    left: 0;
}
.dropdown-content:hover{
    background-color: #8e8e8e !important;
}
.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #333;
    background-color: #e5e5e5;

}
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
.language-selector:hover .dropdown-content {
    display: block;
}
/* Start Article */
.parent{
    background-color: var(--white-color);
}
.parent .container{

}
.article-title{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white-color);
}
.article-title h3{
    font-size: 40px;
    font-weight: 700;
    padding: 10px 0;
    color: var(--font-color-primary);
    padding: 0px 15px
    
}
.article{
    min-height: 700px;
    width: 90%;
    margin: 0px auto;
}
.article-content{
    padding: 30px 0;
    max-width: 800px !important;
}

#articleContainer {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word; 
    white-space: normal; 
}
.article-content h1{
    font-size: 25px;
}
.article-content h2{
    font-size: 20px;
}
.article-content p{
    font-size: 16px;
    margin-top: 25px;
}
.article-content ol{
    font-size: 16px;
    line-height: 2;
}
.article-content blockquote{
    font-size: 17px;
}
.article-image{
    max-width: 600px !important;    
    border-radius: 6px;
    margin-top: 70px;
}
@media (max-width: 800px) {
    .article-image{
        max-width: 300px !important;
    }
    .article-title h3{
        font-size: 20px;
    }
}
/* End Article */
/* Start About Us Page */
.services{
    background-image: url('../imags/our-work-pic.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.services::before{
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #282828df;
    z-index: 1;
} 
.services .container{
    padding: 40px 0px;
}
.services-container .row{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.services-container{
    counter-reset: card-counter;
}
.service-box{
    border-radius: 50%;
    border: 1px solid #ffffffcc;
    height: 210px;
    width: 210px;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}
.service-box::before{
    counter-increment: card-counter;
    content: counter(card-counter);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--white-color);
    font-size: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 10px solid var(--primary-color);
    transform: translateY(-50%);
    top: 0;
    width: 45px;
    height: 45px;
    z-index: 1;
    position: absolute;
}
.service-box h3{
    font-size: 15px;
    color: #ffff;
    line-height: 1.6;
}
.services-container .col-12{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.our-messsage{
    background-image: url('../imags/about-us-image-final.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}
.our-messsage::before{
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 101%;
    width: 100%;
    background-color: #282828df; 
    z-index: -1;
} 
/* End About Us Page */