﻿:root {
    /* Set the default direction to LTR */
    direction: rtl;
}

html[dir="rtl"],
body[dir="rtl"] {
    /* Set the direction to RTL for elements with the dir attribute set to "rtl" */
    direction: rtl;
}



body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

:root {
    --main-color: #EDF8FF;
    --button-color: #1b6eb3;
    --secondary-color: #1d4295;
    --buuton2-color: #1b6eb3;
    --white-color: white;
}

.fa-sharp {
    color: var(--button-color);
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}



.up {
    position: fixed;
    bottom: 50px;
    right: -60px;
    background-color: var(--white-color);
    color: var(--secondary-color);
    font-weight: bolder;
    font-size: 18px;
    padding-top: 30px;
    padding-right: 15px;
    border: var(--secondary-color) 1px solid;
    border-radius: 50px;
    font-family: Arial, Tahoma;
    cursor: pointer;
    transition: 0.2s;
    height: 100px;
    width: 60px;
    z-index: 10;
}

    .up.show {
        right: 20px;
    }

select:hover {
    outline: 2px var(--button-color) solid;
}

/*section 1 */

/*pop up*/



.btn-relative {
    position: relative;
}

    .btn-relative .close-button {
        position: absolute;
        top: -50px;
        right: -50px;
        height: 54px;
        width: 54px;
        border-radius: 100px;
        opacity: 1;
        box-sizing: content-box;
        padding: 0;
        border: 2px solid #ccd5dd;
        transition: all .15s;
        color: var(--secondary-color);
    }


        .btn-relative .close-button:hover {
            border: 2px solid var(--button-color);
            color: var(--button-color);
        }






#overlay {
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
    z-index: 500;
}

    #overlay.active {
        opacity: 1;
        pointer-events: all;
    }






/* end pop up*/


/* Style the active class (and li on mouse-over) */
.sec2 .color, .btn {
    outline: none;
/*    color: var(--white-color);*/
    border-bottom: 3px solid var(--button-color);
}

.sec2 .btn:hover {
    color: var(--buuton2-color);
    border-bottom: 3px solid var(--buuton2-color);
}


/*button bootstra*/

.sec2 .lar {
    background-color: var(--button-color);
    border: none;
}

    .sec2 .lar:hover {
        background-color: var(--buuton2-color);
        color: white;
        border: none;
    }

/*image in header*/
/* .sec2 .header{
    width: 100px;
    height: 100px;
  } */


/*fixed scroll*/

.sec1 .navbar .lar {
    height: 50px;
    width: 180px;
}

.form-control {
    text-align: center;
}

/* .sec2 .header{
  width: 164px;
  height: 40px;
} */



.navbar.container {
    text-align: center;
}

.sec1.fixed {
    background-color: white;
    position: fixed;
    top: -10px;
    left: 0;
    right: 0;
    z-index: 300;
    padding: 10px;
}


/* Add a box shadow to the navbar */
.sec1.fixed {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

    .sec1.fixed .nav-links li a {
        color: var(--secondary-color);
    }

.sec1 .container {
    text-align: center;
}



.sec1 .navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
}

    .sec1 .navbar h2 {
        display: inline-block;
        margin: 0;
        padding: 0;
        white-space: nowrap;
        color: var(--secondary-color);
    }



    .sec1 .navbar ul {
        display: flex;
        justify-content: space-around;
        list-style: none;
        width: 70%;
        margin-left: 20px;
        align-items: center;
        text-align: center;
        margin-top: 15px;
    }

        .sec1 .navbar ul li a {
            text-decoration: none;
            font-size: 20px;
/*            color: white;*/
        }
    /*
.sec1 .navbar ul li:first-child{
  color: greenyellow;
  border-bottom: solid 2px greenyellow;
}

.sec1 .navbar ul li:not(:first-child) a:hover{
  color: greenyellow;
  border-bottom: solid 2px greenyellow;
}
/*

/*resourese list*/


    /*resourses list*/


    .sec1 .navbar .res {
        position: relative;
    }


        .sec1 .navbar .res:hover .reso {
            display: block;
        }

    .sec1 .navbar .reso {
        position: absolute;
        background-color: #ffffff;
        display: none;
        width: 250px;
        padding: 10px;
        margin: 0;
        color: #24262b;
    }

        .sec1 .navbar .reso li {
            color: black;
            text-align: center;
            padding: 20px;
        }

            .sec1 .navbar .reso li .colr {
                text-decoration: none;
                color: black;
                padding: 20px;
            }

                .sec1 .navbar .reso li .colr:not(:last-child) {
                    color: black;
                    border-bottom: 1px black solid;
                }


                .sec1 .navbar .reso li .colr:hover {
                    color: var(--button-color);
                    border: none;
                }

.sec2 .burger {
    display: none;
}

/* 
.sec2{
  background-image: url(/image/main.jpg);
  height: 100vh;
  width: 100vw;
  background-size:cover;
  overflow: hidden;

} */

.sec2 .hcent {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: var(--white-color);
    font-size: 80px;
}



@media only screen and (max-width: 1444px) {

    body {
        overflow-x: hidden;
    }


    .nav-links {
        position: fixed;
        top: 100px;
        gap: 0;
        flex-direction: column;
        background-color: #fffefe;
        width: 100%;
        text-align: center;
        transform: translatey(-150%);
        transition: 0.3s ease-in-out;
        z-index: 20;
    }

        .nav-links li {
            margin: 16px 0;
            width: 100%;
        }

    .sec1 .navbar ul {
        width: 100%;
        margin-left: 0;
    }

        .sec1 .navbar ul li {
            border-bottom: rgba(89, 87, 87,0.2) 2px solid;
            width: 400px;
        }

            .sec1 .navbar ul li a {
                text-decoration: none;
                font-size: 20px;
                color: var(--secondary-color);
            }




    .nav-links.active {
        transform: translatey(0%);
    }

    .nav-links ul {
        opacity: 0;
    }

    .sec2 .burger {
        margin-left: 10px;
        display: block;
        cursor: pointer;
        color: rgb(9, 197, 235);
    }
}


/*end section 1 and 2*/








/*footer*/

.container2 {
    max-width: 1170px;
    margin: auto;
    margin-top: 50px;
    border-bottom: solid 2px rgb(43, 42, 42);
}

.row {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style: none;
    /* margin-right: -20px; */
}

footer::after {
    content: " ";
    position: absolute;
    /* background: linear-gradient(to right,green,rgb(3, 199, 3),rgb(74, 74, 186)); */
    width: 100%;
    height: 5px;
    left: 0;
    top: 5px;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
    margin-left: 50px;
}

.footer-block h4::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    color: #2b2a2a;
    display: block;
    transition: all 0.3s ease;
}

    .footer-col ul li a:hover {
        color: green;
        padding-left: 8px;
    }

.footer-col .social-links a {
    display: block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #2a19e9;
    transition: all 0.5s ease;
}

    .footer-col .social-links a:hover {
        color: #24262b;
        background-color: #ffffff;
    }

.flex {
    width: 1170px;
    margin: auto;
    margin-top: 50px;
    border-bottom: solid 2px rgb(43, 42, 42);
}

.boot2 {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 10px;
}

.boot .boot2 .but2 {
    display: inline-block;
    height: 50px;
}

    .boot .boot2 .but2 input {
        height: 50px;
        width: 400px;
    }

    .boot .boot2 .but2 button {
        margin-left: 0;
        margin-left: -4px;
        background-color: var(--buuton2-color);
        border: none;
        border-radius: 2px;
        height: 50px;
        position: relative;
        top: -2px;
    }

.copyrightlogo {
    text-align: left;
}

/*responsive*/
@media(max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }

    footer .boot .boot2 {
        display: block;
        width: 50%;
        margin: 0;
    }

        footer .boot .boot2 .but2 input {
            width: 300px;
        }
}

@media(max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}
