/*         Importing font family                  */

@font-face {
    font-family: MuliLight-lg9VZ;
    src: url(../font/Muli/MuliLight-lg9VZ.ttf);
    font-weight: 200;
}

* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0e0e10;
    color: #fff;
    font-family: MuliLight-lg9VZ, 'sans-serif';
    font-size: 1.0rem;
    line-height: 1.4;
}

/*                      Global Classes                     */

.center { text-align: center; }

section { padding: 50px 0; }

.contact-container h2 { font-size: 120%; }

li { list-style: none; }

a { text-decoration: none; }

.btn {
    padding: 15px;
    cursor: pointer;
    border: none;
    font-family: inherit;
    color: #fff;
    border-radius: 34px;
    font-size: 90%;
    outline: none;
    position: relative;
    transition: all .2s;
}

.btn-blue {
    background: #4d4df9;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(55, 55, 55, 0.3);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(55, 55, 55, 0.3);
}

.btn:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 34px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .5s;
}

.btn-blue:after {
    background: #4d4df9;
}

.btn:hover:after {
    transform: scaleX(1.3) scaleY(1.5);
    opacity: 0;
}

/*                      Header/Navigation                 */

header form{
    direction: rtl;
}
.search{
    display: flex;
    position: relative;
    width:100%;
}
.search-icon{
    padding:10px;
    background: rgba(24, 24, 27, 0.5);
    text-align: center;
    font-size: 14px;
    border-radius: 8px 0px 0px 8px;
    outline: none;
    border:none;
}
#search-input{
    padding:10px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(24, 24, 27, 0.5);
    border-radius: 0px 8px 8px 0px;
    outline:none;
    border: none;
    display: block;
    direction: ltr;
    font-size: 14px;
}
header{
    height: 80px;
    /* border-bottom: 1px solid #444455; */
    display: none;
    /* background: red; */
}
li a{
    white-space: nowrap;
    margin:0px 20px;
    justify-content: space-evenly;
}
.icons .show-icon, #close-icon{
    display: none;
}

.icons{
    display: none;
}

/*                    Intro Section                           */

.hero-section {
    display: grid;
    grid-template-columns: 4fr 4fr 2fr;
    place-items: center;
    margin: 0 4%;
}

.contact-img { 
    margin-left: 35%; 
    position: relative;
}

.contact-img::after {
    display: block;
    content: url("../images/Path.png");
    position: absolute;
    left: -10%;
    bottom: -10%;
    z-index: -1;
}

.contact-img img {
    height: auto;
    width: 70%;
    border-radius: 10px;
}

.hero-section::before {
    display: block;
    content: url("../images/Path-2.png");
    position: absolute;
    left: 0%;
    top: 2%;
    z-index: -1;
}

.hero-section::after {
    display: block;
    content: url("../images/Shape.png");
    position: absolute;
    right: 0%;
    top: 7%;
    z-index: -1;
}

.hero-text { width: 80%; }

.hero-title {
    text-transform: capitalize;
    margin-bottom: 10px;
}

.hero-sub-text {font-size: 90%; }

/*                      Contact Form                         */

.form-container {
    margin-top: 60px;
}

.contact-container input,
select,
textarea,
option {
    display: block;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background: #18181b;
    margin: 15px 0;
    font-family: inherit;
    color: #fff;
    width: 60%;
    margin-left: 20%;
    outline: none;
}

select { cursor: pointer; }

option {
    min-height: 2em;
    white-space: normal;
}

.form-container .btn {
    width: 12%;
    margin-left: 45%;
    margin-top: 1%;
}

/*                   Footer                        */

footer {
    background: #0f0f11;
    padding: 25px 0px 15px;
    margin-top: 5%;
}

.footer-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: grid;
    place-items: center;
    margin-right: 30px;
}

.footer-list {
    margin: 10px 40px 20px;
}

.footer-list li {
    padding: 10px 0;
}

.footer-list a {
    color: #fff;
}

.copyright:before {
    height: 1px;
    display: block;
    content: "";
    width: 80%;
    margin-bottom: 20px;
    margin-left: 10%;
    background: #444455;
}

.copyright p {
    font-size: 85%;
    margin-left: 10%;
}

/*                               Media Queries                              */

@media all and (max-width: 768px) {

    .nav{
        top:180px;
        position: fixed;
        right:0;
        top:0;
        /* bottom: 0; */
        border-bottom: 1px solid #141425;
        width:25%;
        display: none;
        background: rgb(20, 20, 20);
        height: 100%;
    }
    .nav ul{
        margin-top:50px; 
        padding: 0;
        text-align: center;
    }
    nav ul li a{
        align-items: flex-start;
        line-height: 50px;
        padding:0;
        text-align: center;
    }
    header{
        bottom:0;
        border-bottom: none;
    }
    .icons{
        display: block;
    }
    .icons .show-icon{
        display: block;
    }

    .hero-section { grid-template-columns: 3fr 3fr 1fr; }
        
    .contact-img::after {
        left: -15%;
        bottom: -15%;
    }
    
    .contact-img img {
        width: 100%;
    }

    .form-container .btn {
        width: 20%;
        margin-left: 40%;
    }

    .footer-container{
        flex-wrap: wrap;
    }

    .footer-logo { margin-right: 15px; }

    .footer-list {
        margin: 10px 15px 20px;
    }

    .copyright:before {
        width: 95%;
        margin-left: 2.5%;
    }
    
    .copyright p { margin-left: 2.5%; }
}

@media all and (max-width: 425px) {

    .hero-section { 
        grid-template-columns: 3fr;
        margin: 0 1%;
    }

    .hero-section::after,
    .hero-section::before,
    .contact-img::after {
        display: none;
    }

    .hero-text { width: 90%; }

    .contact-img img { display: none; }

    input,
    select,
    textarea,
    option {
        width: 90%;
        margin-left: 5%;
    }
    .contact-container input, select, textarea, option{
        width: 100%;
        margin-left: 0px;
    }
    
    #form2{
        margin-left: 10px;
        margin-right: 10px;
    }

    .form-container .btn {
        width: 30%;
        margin-left: 35%;
    }

    .footer-container{
        flex-direction: column;
    }

    .footer-logo { margin-bottom: 20px; }
}
