*{
    margin: 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    scroll-padding-top: 3.5rem;
}
:root{
    --bg-color:#101010;
    --second-bg-color: #191919;
    --text-color:#fff;
    --second-color: #c6c9d8bf;
    --main-color: #f9004d;
    --big-font: 5.3rem;
    --h2-font: 4.2rem;
    --p-font:1.1rem;
}
body{
    background-color: var(--bg-color);
    color: var(--text-color);
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 25px 15%;
    transition-duration: .3s;
}
.logo{
    color: var(--text-color);
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;

}
.navbar{
    display: flex;
}
.navbar li{
    position: relative;
}
.navbar a{
    color: var(--text-color);
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 20px;
}
.navbar a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--main-color);
    left: 0;
    bottom: -4px;
    transition: ease .40s;

}
.navbar a:hover:after{
    width: 100%;
}
.menu-icon{
    font-size: 32px;
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
}
.h-btn{
    padding: 0 20px;
    height: 40px;
    display: inline-block;
    line-height: 42px;
    background: var(--main-color);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all .30s;
}
.h-btn:hover{
    transform: translateY(-5px);
}
section{
    padding: 60px 15%;
}
.home{
    height: 100vh;
    width: 100%;
    background: url(image/bg.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
}
.home-text h1{
    margin: 20px 0px 20px;
    font-size: var(--big-font);
}
span{
    color: var(--main-color);
}
.home-text h3{
    font-size: 25px;
    margin-bottom: 55px;
}
.home-text h4{
    color: #585c63;
    font-size: 20px;
    letter-spacing: 18px;
}
.newslatter form{
    width: 380px;
    max-width: 100%;
    position: relative;
}
.newslatter form input:first-child{
    display: inline-block;
    width: 100%;
    outline: none;
    padding: 16px 140px 16px 15px;
    border: 2px solid var(--main-color);
    border-radius: 30px;
}
.newslatter form input:last-child{
    position: absolute;
    display: inline-block;
    outline: none;
    border: none;
    background: var(--main-color);
    color:var(--text-color);
    padding: 12px 30px;
    border-radius: 30px;
    box-shadow: 0px 0px 6px #000, 0px 0px 14px #868686;
    cursor: pointer;
    top: 6px;
    right: 6px;
}
header.sticky{
    padding: 12px 15%;
    background: var(--main-color);
}
.sticky .navbar a::after{
    background: var(--text-color);
}
.sticky .h-btn{
    background: var(--text-color);
    color: #000;
}
.about{
    background: var(--second-bg-color);
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    align-items: center;
    grid-gap: 2rem;
}
.about-img img{
    max-width: 100%;
    width: 500px;
    height: auto;
    border-radius: 10px;
}
.about-text h2{
    font-size: var(--h2-font);
    margin-bottom: 20px;
    text-align: center;
}
.about-text h5{
    font-size: 28px;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-align: center;
}
.about-text p{
    color: var(--second-color);
    letter-spacing: 1px;
    line-height: 28px;
    max-width: 590px;
    font-size: var(--p-font);
    margin-bottom: 45px;
    text-align: justify;
}
.btn{
    display: inline-block;
    background:var(--main-color);
    color: var(--text-color);
    border: 2px solid transparent;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: 30px;
    transition: ease .35s;
}
.btn:hover{
    transform: translateY(-8px);
    border: 2px solid var(--main-color);
    background: transparent;
}
/***service***/
.services{
    background: var(--bg-color);
    

}
.center{
    text-align: center;
    
}
.center h2{
    font-size: var(--h2-font);
    margin-top: 5px;
}
.center p{
    color: var(--second-color);
    letter-spacing: 1px;
    line-height: 28px;
    font-size: var(--p-font);
}
.service-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, auto));
    grid-gap: 2rem;
    align-items: center;
    margin-top: 4.5rem;

}
.row{
    background: var(--second-bg-color);
    padding: 55px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .35s;
}
.row i{
    color: var(--main-color);
    margin-bottom: 20px;
    font-size: 2.7rem;
}
.row h3{
    color: var(--text-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}
.row p{
    color: var(--second-color);
    line-height: 30px;
    font-size: var(--p-font);
    text-align: justify;
}
.row:hover{
    transform: translateY(-8px);
}

/***PortFolio **/

.portfolio{
    background: var(--second-bg-color);
}
.portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, auto));
    grid-gap: 2rem;
    align-items: center;
    margin-top: 4.5rem;
    cursor: pointer;
}
.box img{
    max-width: 50%;
    width: 500px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all .30s;
}
.box p{
    color: var(--second-color);
    font-size: var(--p-font);
    margin-bottom: 15px;
}
.box h5{
    color: var(--text-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}
.box img:hover{
    transform: scale(1.1);
}

.contact{
    background: var(--bg-color);
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    align-items: center;
    grid-gap: 3rem;
}
.contact-img img{
    max-width: 100%;
    width: 700px;
    height: auto;
    border-radius: 10px;
}
.contact-form{
    font-size: var(--h2-font);
    margin-bottom: 15px;
}
.contact-form p{
    color: var(--second-color);
    letter-spacing: 1px;
    line-height: 28px;
    font-size: var(--p-font);
    margin-bottom: 4.1rem;
}
.contact-form form{
    position: relative;

}
.contact-form form input, 
form textarea {
    width: 100%;
    padding: 20px;
    border: none;
    outline: none;
    background: var(--second-bg-color);
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
}
.contact-form textarea{
    resize: none;
    height: 200px;
}
.contact-form form .send{
    display: inline-block;
    background: var(--main-color);
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    box-flex-group: 30px;
    width: 200px;
    transition: .30s;
    text-transform: uppercase;
}

.contact-form form .send:hover{
    transform: translateY(-8px);
    cursor: pointer;
}

.footer{
    width: 100%;
    margin-left: 100px;
}
.footer p{
    font-size: 15px;
    color: var(--text-color);
    letter-spacing: 1px;

}
/**************Branch Start************/
.wrappers{
	font-family: 'Raleway';
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background: var(--bg-color);
}
.wrappers h1{
	font-size: 3em;
	margin: 25px 0;
	text-align: center;
	font-weight: 500;
}
.content-boxs{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 1000px;
	margin-top: 30px;
}
.card1{
	min-height: 220px;
	width: 320px;
	padding: 30px;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background: var(--second-bg-color);
	margin: 10px 4px;
	box-shadow: 0px 15px 20px rgba(0,0,0,0.2);
	transition: 0.3s;
}
.card1 i{
	margin: 20px;
    font-size: 100px;
	color: #ff5724;
}
.card1 a h2{
    color: var(--text-color);
}
.card1 h2{
	margin-bottom: 12px;
	font-weight: 400;
	text-align: center;
}
.card1 p {
	color: #6c757d;
	text-align: center;
}

.card1:hover p{
	color: #fff;
}
.card1:hover h2{
	font-weight: 600;
	color: #f2f2f2;
}

.card1:nth-child(1):hover{
    transform: scale(1.1);
	background:linear-gradient(45deg,
							   rgba(255,28,8,0.8) 0%,
							   rgba(255,0,82,0.8) 100%),
							   url('images/b2.jpg');
                               
	background-size: cover;		
}

.card1:nth-child(2):hover{
    transform: scale(1.1);
	background:linear-gradient(45deg,
							   rgba(255,28,8,0.8) 0%,
							   rgba(255,0,82,0.8) 100%),
							   url('images/b2.jpg');
	background-size: cover;		
}

.card1:nth-child(3):hover{
    transform: scale(1.1);
	background:linear-gradient(45deg,
							   rgba(255,28,8,0.8) 0%,
							   rgba(255,0,82,0.8) 100%),
							   url('images/b1.jpg');
	background-size: cover;		
}
.card1:nth-child(4):hover{
    transform: scale(1.1);
	background:linear-gradient(45deg,
							   rgba(255,28,8,0.8) 0%,
							   rgba(255,0,82,0.8) 100%),
							   url('images/b1.jpg');
	background-size: cover;		
}

.card1:nth-child(5):hover{
    transform: scale(1.1);
	background:linear-gradient(45deg,
							   rgba(255,28,8,0.8) 0%,
							   rgba(255,0,82,0.8) 100%),
							   url('images/b2.jpg');
	background-size: cover;		
}

.card1:nth-child(6):hover{
    transform: scale(1.1);
	background:linear-gradient(45deg,
							   rgba(255,28,8,0.8) 0%,
							   rgba(255,0,82,0.8) 100%);
							   
	background-size: cover;		
}
.card1:nth-child(7):hover{
    transform: scale(1.1);
	background:linear-gradient(45deg,
							   rgba(255,28,8,0.8) 0%,
							   rgba(255,0,82,0.8) 100%);
							   
	background-size: cover;		
}
.card1:nth-child(8):hover{
    transform: scale(1.1);
	background:linear-gradient(45deg,
							   rgba(255,28,8,0.8) 0%,
							   rgba(255,0,82,0.8) 100%);
							   
	background-size: cover;		
}
.card1:nth-child(9):hover{
    transform: scale(1.1);
	background:linear-gradient(45deg,
							   rgba(255,28,8,0.8) 0%,
							   rgba(255,0,82,0.8) 100%);
							   
	background-size: cover;	
}

@media (max-width:1270px){
    header{
        padding: 18px 4%;
        transition: .2s;
    }
    header.sticky{
        padding: 10px 4%;
        transition: .2s;

    }
    section{
        padding: 80px 4%;
        transition: .2s;
    }
    :root{
        --big-font: 4.8rem;
        --h2-font: 3.8rem;
        --p-font:1rem;
        transition: .2s;
    }
}

@media (max-width:990px){
    .home{
        height: 85vh;
    }
    #menu-icon{
        display: initial;
    }
    .navbar{
        position: absolute;
        top: -700px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-color);
        text-align: left;
        transition: all .30s;
    }
    .navbar a{
        display: block;
        padding: 1.1rem;
        margin: 1.3rem;
        border-left: 2px solid var(--text-color);
    }
    .navbar a:hover{
        background: var(--main-color);
    }
    .navbar a::after{
        display: none; 
    }
    .navbar.active{
        top:100%;
    }
    .about{
        grid-template-columns: 1fr;
    }
    .about-img{
        text-align: center;
        margin-bottom: 30px;
    }
    .about-img img{
        max-width: 100%;
        width: 700px;
        height: auto;
    }
    .contact{
        grid-template-columns: 1fr;
    }
    .contact-img{
        text-align: center;
        margin-bottom: 25px;
    }
    .contact-form{
        order: 2;
    }
    .box img{
        max-width: 100%;
        width: 760px;
        height: auto;
    }
    .card1{
        max-width: 100%;
        width: 400px;
        height: auto;
        margin-left: 300px;
    }
   .footer{
    width: 100%;
    margin-left: 40px;
   }
}


