body {
    margin: 0px;
    background-color:rgb(233, 232, 228);
    color:#92918F;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.navbar {
    position: absolute;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: black;
    width: 100%;
}
.navbar video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    object-fit: cover;
    z-index: -1;
}
.navbar img {
    height: 70px;
    width: 80px;
}
.navbar .brand {
    font-size: 20px;
}
.navbar ul {
    list-style-type: none;
    display: flex;
}
.navbar li {
    margin-right: 20px;
}
.navbar a {
    color: black !important;
    text-decoration: none;
}
li a {
    font-family: "Futura", Arial, Helvetica, sans-serif;
    color: black;
}
li a.active
{
    color:#D38C06 !important;
}
li a:hover:not(a.active) {
    color: #D38C06 !important;
}
.nowrap {
    white-space: nowrap;
    display: inline-block;
}
.li2 a {
    font-family: "Futura", Arial, Helvetica, sans-serif;
    color: black;
    font-weight: bold;
}
.li2 a:hover:not(a.active) {
    color: gray;
}
.Icons{
    display: flex;
    align-items: baseline;
    text-align: start;
    justify-content: center;
}
.Copyright{
    font-size: 10;
}
.selected-lang {
    margin-left: 10px;
    color: orange;
}

.dropdown-item.selected {
    color: orange;
}
.dropdown-menu {
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: -5%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}


.dropdown-menu.show {
    max-height: 500px; /* Adjust this value according to the height of your dropdown content */
    opacity: 1;
}

.dropdown-menu a {
    color: black;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
    /* font-size: 11px; */
}
.dropdown-menu.arabic a {
    font-size: 12px; /* Adjust the font size as needed */
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.dropdown-item {
    font-weight: bold;
    font-size: 9px;
}

.dropdown-item:hover {
    color: #D38C06;
}
.head ,.head2 {
    background-repeat:no-repeat;
    background-size:cover;
    background-attachment: fixed;
    color:white;
    text-align: center;
    font-size: 50px;
    padding: 260px;
    margin: 0px;
    font-weight: bold;
}
.head{
    background-image:url(images/home.jpg);
}
.head2{
    background-image:url(images/About_us.jpg);
}
.head2mobile , .headmobile{
    display: none;
}   
.img1, .div1 {
        opacity: 0;
        transition: opacity 1s ease;
    }

    .img1.animated, .div1.animated {
        opacity: 1;
    }
    .section-wrapper {
max-width: 1200px;
margin: 0 auto;
display: flex;
}

.img1-wrapper {
flex: 1;
order: 1; /* Set the order to display the image on the right */
}

.img1 {
max-width: 100%;
height: auto;
border-radius: 10%;
padding-left: 0.8%;
position: relative;
animation: slideFromRight 4s ease forwards;
}

.div1 {
flex: 1;
padding: 20px;
box-sizing: border-box;
animation: slideFromLeft 4s ease forwards;
text-align:justify;
}

.NEXTORCHImg{
 margin-left: -10%;
}
@media (max-width: 768px) {

.NEXTORCHImg{
        margin-left: 0;
       }
.section-wrapper {
    flex-direction: column;
}

.img1-wrapper,
.div1 {
    max-width: 100%;
}

.img1-wrapper {
    margin-bottom: 20px;
}
}

@keyframes slideFromRight {
from {
    transform: translateX(100%);
    opacity: 0;
}
to {
    transform: translateX(0);
    opacity: 1;
}
}

@keyframes slideFromLeft {
from {
    transform: translateX(-100%);
    opacity: 0;
}
to {
    transform: translateX(0);
    opacity: 1;
}
}
.p1 {
    margin-left: 15%;
    color: white;
    background-color: #D38C06;
    width: 25%;
    text-align: center;
    border-radius: 50px;
    font-size: 80%;
    font-weight:bold;
}
.h_one {
    margin-left: 15%;
    font-weight: bold;
    color: #000;
}
.h_about_us {
    margin-left: 15%;
    font-weight: bold;
    color: #000;
    text-align: center;
}
.p2 
{
margin-left: 15%;
margin-top: -0.5%;
}
button:focus 
{
outline: none;
}
.btn1
{
margin-left: 15%;
}
.btn2,.btn3
{
margin-left: -10%;
}
.btn1,
.btn2,
.btn3
{
    border: none;
    outline: none;
    padding: 0.5% 0.5%;
    background-color: #D38C06;
    border-radius: 50px;
    color: white;
    cursor: pointer;
}
.btn1:hover,
.btn2:hover,
.btn3:hover 
{
    transition: 1s ease-in-out;
    background: wheat;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
hr {
    background-color:#D38C06;
    width: 95%;
    margin-left: 2.5%;
}
.h_two
{
    text-align: center;
    color:#000;
    font-weight: bold;
}
#scrollToTopBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    right: -70px;
    background-color: white;
    color: #D38C06;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    transition: right 0.5s ease;
    outline: none;
}
#scrollToTopBtn.show {
    right: 20px;
}
#scrollToTopBtn:hover {
    color: #5F5F5F;
}
.animate .img1,
.animate .div1
{
    animation: slideIn 1s forwards;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contenedor 
{
    height: 100%;
    padding: 2.5% 0%;
}
.container 
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.container_foto 
{
    background-color: rgba(57, 62, 93, 0.7);
    padding: 0 5px;
    overflow: hidden;
    max-width: 350px;
    margin: 5px;
    opacity: 0; /* Initially hide the elements */
    transform: translateY(20px); /* Initially move the elements down */
    transition: opacity 0.5s, transform 0.5s;
}
.container_foto2
{
    
    background-color: rgba(57, 62, 93, 0.7);
    padding: 0 5px;
    overflow: hidden;
    max-width: 350px;
    margin: 5px;
    opacity: 1; 
    transform: translateY(20px); /* Initially move the elements down */
    transition: opacity 0.5s, transform 0.5s;
    margin-bottom: 24px;
    
}
.container_foto.in-view 
{
    opacity: 1; /* Show the elements */
    transform: translateY(0); /* Move the elements to their original position */
}
.container_foto article ,.container_foto2 article
{
    padding: 10%;
    position: absolute;
    bottom: 0;
    z-index: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.container_foto h2 ,.container_foto2 h2
{
    color: black;
    font-weight: 800;
    font-size: 25px;
    border-bottom: #D38C06 solid 3px;
}
.container_foto img ,.container_foto2 img
{
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0.4;
    -webkit-transition: all 4s ease;
    -moz-transition: all 4s ease;
    -o-transition: all 4s ease;
    -ms-transition: all 4s ease;
    transition: all 4s ease;
}
.ver_mas 
{
    background-color: #D38C06;
    position: absolute;
    width: 100%;
    height: 70px;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    transform: translate(0px, 70px);
    -webkit-transform: translate(0px, 70px);
    -moz-transform: translate(0px, 70px);
    -o-transform: translate(0px, 70px);
    -ms-transform: translate(0px, 70px);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.ver_mas span 
{
    font-size: 40px;
    color: black;
    position: relative;
    margin: 0 auto;
    width: 100%;
    top: 13px;
}
/*hovers*/
.container_foto:hover ,.container_foto2:hover
{
    cursor: pointer;
}
.container_foto:hover img ,.container_foto2:hover img
{
    opacity: 0.1;
    transform: scale(1.5);
}
.container_foto:hover article ,.container_foto2:hover article
{
    transform: translate(2px, -69px);
    -webkit-transform: translate(2px, -69px);
    -moz-transform: translate(2px, -69px);
    -o-transform: translate(2px, -69px);
    -ms-transform: translate(2px, -69px);
}
.container_foto:hover .ver_mas ,.container_foto2:hover .ver_mas
{
    transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    opacity: 1;
}
    .section {
        width: calc(50% - 20px);
        padding: 20px;
        box-sizing: border-box;
        opacity: 0; /* Initially hide sections */
        transform: translateX(-50px); /* Initially translate left */
        transition: opacity 1s, transform 1s;
        
    }

    .reverse-section .section {
        transform: translateX(50px); /* Initially translate right */
    }

    .section.visible {
        opacity: 1; /* Show sections when visible */
        transform: translateX(0); /* Move sections to their original position */
    }

    .section img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .section h2 {
        border-bottom: #D38C06 solid 3px;
        display: inline-block;
        padding-bottom: 5px;
        margin-bottom: 10px;
        color: black;
        font-weight: bold;
        margin-left: -10%;
    }

    .section p {
        line-height: 1.2;
        margin-left: -10%;
        text-align:justify;
    }

    @media (max-width: 768px) {
        .container {
            flex-direction: column;
        }

        .section {
            width: 100%;
        }
    }
    .slider-container {
        width: 80%;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        opacity: 0; /* Initially hide the slider */
        transition: opacity 0.5s; /* Add a smooth transition effect */
    }
    .card-s {
        width: 20%; /* Adjust as needed */
        height: 17vw; /* Set height as a percentage of viewport width */
        background-color: white;
        border: 1px solid lightgray;
        position: relative;
        float: left; /* Make the cards float left to ensure they stack horizontally */
    }
    .card-s img {
        width: 100%;
    }
    .slick-prev1, .slick-next1 {
        font-size: 24px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #D38C06;
        background-color:unset;
        border: none;
        opacity: 0;
        transition: opacity 0.3s;
        outline: none;
    }
    .slick-prev1:focus, .slick-next1:focus {
outline: none; /* Remove the outline style when focused */
}

    .slick-prev1 {
        left: 10px;
    }

    .slick-next1 {
        right: 0px;
    }

    .slider-container:hover .slick-prev1, .slider-container:hover .slick-next1 {
        opacity: 1;
    }
    .slick-dots {
        display: flex;
        justify-content: center;
        margin: -1% 1%;
    }
    .slick-dots li button {
        background-color: #D38C06;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        height: 2%;
        outline: none;
        width: 2%;
    }
    .slick-dots li.slick-active button {
        background-color: #000;
        color: #fff;
    }
    .slick-dots li button:before {
        font-family: "slick";
        font-size: 2%;
        line-height: 1;
        opacity: .25;
        color: #D38C06;
    }
    .slick-dots li.slick-active button:before {
        opacity: .75;
        color: black;
    }

    /* Animation for showing the slider */
    .show-slider {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: opacity 1s, transform 1s;
    }
    footer,.footer-home
    {
        background-color: #25282B;
        color: #fff;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 2%;
        position: relative; /* Set footer to relative position */
    }
    .footer-home
    {
        margin-bottom: -5%;
    }

    .footer-section 
    {
        /* flex: 1; */
        margin-left: 4%;
        text-align: justify;
    }

    .footer-section h3 
    {
        font-size: 1.5em;
        color: #D38C06;
    }

    .footer-section ul {
        list-style-type: none;
        padding: 0;
        font-size: 0.9em;
        text-align:justify;
    }

    .footer-section a
    {
        color: #D38C06;
        text-decoration: none;
        font-size: 1.2em;
    }

    .footer-section img {
        width: 80%;
    }
    .footer-section ul i, ul i
    {
        color: #D38C06;
    }

    .copyright {
        color: #D38C06;
        position: absolute; /* Position the copyright notice absolutely */
        bottom: 10px; /* Adjust bottom spacing */
        left: 46%; /* Align to the center */
        transform: translateX(-50%); /* Center horizontally */
        font-size: 1.2em;
    }

    ul {
        list-style-type: none;
        padding: 1%;
        font-size: 1.1em;
        text-align:center;
    }

    .contact-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .form-container {
        flex: 0 0 350px;
        max-width: 350px;
        width: 100%;
        background: #fff;
        padding: 25px;
        border-radius: 5px;
        box-shadow: 4px 4px 2px rgba(254, 236, 164, 1);
    }

    .form-container h2 {
        text-align: center;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #332902;
    }

    .form-container .input_field {
        margin-bottom: 10px;
    }

    .form-container .input_field input[type="text"],
    .form-container textarea {
        border: 1px solid #e0e0e0;
        width: 100%;
        padding: 10px;
    }

    .form-container textarea {
        resize: none;
        height: 80px;
    }
    .form-container .btn input[type="submit"] {
        border: 0px;
        margin-top: 15px;
        padding: 10px;
        text-align: center;
        width: 100%;
        background: #D38C06;
        color: #fcfbf7;
        text-transform: uppercase;
        letter-spacing: 5px;
        font-weight: bold;
        border-radius: 25px;
        cursor: pointer;
    }
    .form-container .btn input[type="submit"][dir="rtl"] {
        border: 0px;
        margin-top: 15px;
        padding: 15px;
        text-align: center;
        width: 100%;
        background: #D38C06;
        letter-spacing: 0px; 
        color: #fcfbf7;
        text-transform: uppercase;
        font-weight: bold;
        border-radius: 25px;
        cursor: pointer;
    }

    #error_message {
        margin-bottom: 20px;
        background: rgb(233, 232, 228);
        padding: 0px;
        text-align: center;
        font-size: 14px;
        transition: all 0.5s ease;
    }

    .iframe-container {
        flex: 1;
        min-width: 300px; /* Adjust as needed */
    }

    .iframe-container iframe {
        width: 100%;
        height: 540px;
        border: 2%;
        border-color: #D38C06;
        border-style: solid;
    }
    .div1 ul li 
    {
        margin-left: 15%;
        margin-top: -0.5%;
        text-align: justify;
        list-style-type:disc;
    }
    .card-deck {
        padding: 1% 14%;
    }
    
    .card {
        height: auto;
    }
    
    .card:hover {
        box-shadow: 0px 0px 20px 0px rgba(211, 140, 6, 0.8);
    }
    
    .card-title {
        color: #000;
    }
    
    .card-title:hover {
        color: #D38C06;
    }
    
    .image-container {
        position: relative;
        width: 100%;
        height: 100%; 
    }
    
    .first-image,
    .second-image {
        width: 100%;
        height: 100%;
        object-fit:scale-down;
    }
    
    .first-image {
        display: block;
    }
    
    .second-image {
        display: none;
    }    
    .image-container:hover .first-image {
        display: none;
    }
    
    .image-container:hover .second-image {
        display: block;
    }
    
    .card-body {
        position: relative;
        z-index: 2;
    }
    .last_row
    {
        width: 53%;
        height: 37%;
    }
    .last_row .second-image
    {
        position: relative;
    }
    .custom2
    {
        width: 78%;
    }
    .displayss {
        text-align: left; /* Default text alignment for LTR */
    }
    
    /* Styles for RTL */
    .displayss[dir="rtl"] {
        text-align: right; /* Text alignment for RTL */
    }
    /* Ensure images are responsive */
    .hrdisgn{
        display: none;
    }

/* Mobile view for form container */
@media (max-width: 768px) {
    .p2 {
        margin-left: 0;
    }
    .div1 ul li {
        margin-left: 0;
    }

    .h_about_us {
        margin-left: 0;
    }

    .hrdisgn{
        display: flex;
    }
    .p1{
        width: 40%;
    }
    .footer-section img {
        width: 100%;
        height: auto;
        margin-bottom: -55px;
    }
    .copyright {
    color: #D38C06;
    position: relative;
    bottom: 11px;
    left: 46%;
    transform: translateX(-50%);
    font-size: 15px;
}
    .Icons[dir="rtl"]{
        justify-content: start;
        padding-right: 25px;
    }
    .Icons{
        justify-content: baseline;
        padding-left: 25px;
        justify-content: start;
    }
    .footer-section h3 {
        font-size: 1.5em;
        color: #D38C06;
        text-align: center;
    }
    .footer-section ul {
        list-style-type: none;
        padding: 0;
        font-size: 0.9em;
        text-align:center;
    }
    .buttonsubmit{
        display: block;
        margin-top: -10px;
    margin-bottom: 10px;
    }
    .form-container h2{
        padding-top: 12px;
    }
    .navbar ul{
        padding: 38px;
    }
    .navbar-brand{
        width:  75%;
    }
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .iframe-container,
    .form-container {
        width: 100%;
        margin: 0;
        padding: 0 10px;
    }

    .form-container {
        margin-top: 20px;
    }

    /* Adjust navbar for mobile */
    /* .nav-links {
        flex-direction: column;
        align-items: center;
    } */

    .nav-item {
        margin: 5px 0;
    }
    .container{
        width: 100%;
        padding-right: 15px;
        padding-left: 25px;
        margin-right: auto;
        margin-left: auto;
    }
   
    .head, .head2 {
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        color: white;
        text-align: center;
        font-size: 32px;
        padding: 170px;
        margin: 0px;
        font-weight: bold;
    }

    .last_row {
        width: 100%;
        height: 37%;
    }
    .h_two{
        font-size: 25px;
    }
    .custom2 {
        width: 100%;
    }
    .head ,.head2 {
        display: none;
    }
    .headmobile{
        /* display: flex; */
        width:auto ;
        /* height:500px; */
        position: relative;
    display: inline-block;
    } 
    .headmobile .img1 {
        display: block;
        width: 100%; /* Adjust as needed */
        height: auto; /* Adjust as needed */
        border-radius: 0;
    }
    
    .headmobile .headline {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white; /* Adjust as needed */
        font-size: 25px; /* Adjust as needed */
        text-align: center;
        font-weight: bold;
    } 

    .head2mobile{
        display: flex;
        width:auto ;
        height:400px
    }  
    .head2mobile .img1 {
        border-radius: 0%;
    } 
    .img1, .div1 {
        opacity: 1 !important;
        transition: none !important;
        animation: none !important;
    }

    .img1.animated, .div1.animated {
        opacity: unset !important;
    }
    .reverse-section .section , .container .section{
        transform: none !important;
    }
    /* .img1{
        width:353px ;
        height:338px
    } */
}

    