*, ::before, ::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root{
    --primary-color: rgb(255, 166, 0);
    --transparent-overlay: rgba(0, 0, 0, 0.5);
}

a{
    text-decoration: none;
    color: #fff;
}

.accordion__content.active{
    display: block;
}

body{
    font-family: 'Roboto', sans-serif;
    background: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

.space{
    margin-bottom: 1rem;
}

.container{
    max-width: 90%;
    margin: 0 auto;
}

.button{
    border: none;
    font-weight: 700;
}

.decor{
    background: var(--primary-color);
    width: 50px;
    border-radius: 2px;
    height: 5px;
}
.primary{
    color: var(--primary-color);
}

/*navigation */
nav{
    background: var(--primary-color);
    display: flex;
    align-items: center;
    height: 48px;
}
.nav_bar{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}


.nav_bar span{
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    /*border-radius: 4px;*/
}

.nav{
    background: #dddddd;
    width: 20%;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 0;
    display:none;
    z-index: 1000;
}


.nav ul{
    list-style: none;
    font-size: 15px;
}
.nav div{
    width: 3rem;
    font-size: 2rem;
    color: white;
    text-align: center;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: rgb(3, 0, 29);
    transition-property: transform;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
    cursor: pointer;
    
}

.show{
    transform: translateX(0);
}
.hide{
    transform: translateX(400%);
}

.nav ul li{
    border-bottom: 2px solid #00000044;
    padding: .8rem .6rem;
}
.nav ul li a{
    color: rgb(3, 0, 29);
    transition: 0.3s ease-in-out
}

.nav ul li a:hover{
    color: var(--primary-color)
}

/*info container*/
.info__container{
    width: 100%;
    background: rgb(3, 0, 29);
    margin: 0;
}
.info{
    background-color: rgb(3, 0, 29);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location{
    color: #fff;
}

.location span i{
    margin-right: .5rem;
}
.s_media a{
    margin-left: 1rem;
}

/* 2 */
.slider{
	position: relative;
	width: 100%;
	background: #2c3e50; /* darckblue */
}
.myslide{
	height: 655px;
	display: none;
	overflow: hidden;
    object-fit: cover;
}

.myslide img{
    filter: brightness(40%);
}

.prev, .next{
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	font-size: 50px;
	padding: 15px;
	cursor: pointer;
	color: #fff;
	transition: 0.1s;
	user-select: none;
}
.prev:hover, .next:hover{
	color: #00a7ff; /* blue */
}
.next{
	right: 0;
}

.myslide .button__container button{
    background: var(--primary-color);
    padding: .9rem 1.2rem;
    font-weight: 700;
    color: rgb(3, 0, 29);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.myslide .button__container button:hover{
    background-color: rgba(0, 0, 0, .5);
    outline: 2px solid var(--primary-color);
    color: #fff;
}


.dotsbox{
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	bottom: 20px;
	cursor: pointer;
}
.dot{
	display: inline-block;
	width: 15px;
	height: 15px;
	border: 3px solid #fff;
	border-radius: 50%;
	margin: 0 10px;
	cursor: pointer;
}
/* /2 */

/* javascript */
.active, .dot:hover{
	border-color: #00a7ff; /* blue */
}
/* /javascript */

/* muslide add fade */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: 0.8}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: 0.8}
  to {opacity: 1}
}
/* /muslide add fade */

/* 3 */
.txt{
	position: absolute;
	color: #fff;
	letter-spacing: 2px;
	line-height: 35px;
	top: 40%;
	left: 15%;
	-webkit-animation-name: posi;
  	-webkit-animation-duration: 2s;
  	animation-name: posi;
  	animation-duration: 2s;
	z-index: 1;
}

/*.txt.drag{
	top: 30%;
}*/

@-webkit-keyframes posi {
  from {left: 25%;}
  to {left: 15%;}
}


@keyframes posi {
  from {left: 25%;}
  to {left: 15%;}
}

.txt h1.methods{
    width: 100%;
    line-height: 1;
	color: var(--primary-color);
	font-size: 50px;
	margin-bottom: 20px;
}

.txt h1{
	width: 70%;
	font-size: 0.5rem;
	color: var(--primary-color); 
	line-height: 1;
	font-size: 50px;
	margin-bottom: .5rem;
}
/* /3 */

/* 4 */
.myslide img{
	transform: scale(1.5, 1.5);
	-webkit-animation-name: zoomin;
  	-webkit-animation-duration: 40s;
  	animation-name: zoomin;
  	animation-duration: 40s;
}
@-webkit-keyframes zoomin {
  from {transform: scale(1, 1);}
  to {transform: scale(1.5, 1.5);}
}


@keyframes zoomin {
  from {transform: scale(1, 1);}
  to {transform: scale(1.5, 1.5);}
}
/* /4 */

/* //COMPONENENTS */

.service__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 
.service__header p {
    color: #808080;
}

.service__btn{
    background: var(--primary-color);
    padding: 0.8rem 1rem
}


.thumbnail__container{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    padding-block: 3rem;
}

.thumbnail{
    border-radius: 10px;
    width: 300px;
    height: auto;
    overflow-x: hidden;
    position: relative;
}

.content__container{
    background-color: var(--transparent-overlay);
    opacity: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 0;
    width: 100%;
    height: 97%;
    transition: all 0.5s ease-in-out;
}

.thumbnail__header{
    color: var(--primary-color);
}
.thumbnail__content{
    color: #fff;
}

/* QUOTE COMPONENT */
.quote__container{
    padding: 6rem 3.5rem;
    background: rgb(3, 0, 29);
    color: #fff;
}

.info{
    margin-block-start: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.avatar{
    border-radius: 50%;
}

.name__title h3{
    color: var(--primary-color);
}

/* OFFER */
.offer__section{
    margin-top: 4rem;
    display: flex;
    gap: 4rem;
    justify-content: space-between;
}
.offer__info{
    width: 100%;
}

.offer__info p{
    margin-block: 1rem;
}
.offer__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: .7fr .7fr .7fr;
    column-gap: 4rem;
    row-gap: 1rem;
}

.offer p{
    margin-block: .6rem;
}

.details{
    font-weight: 700;
    color: var(--primary-color);
}

/* ABOUT SECTION */
.about__container{
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 9rem;
    margin-block-start: 6rem;
}

.mini__info p {
    margin-top: 1.5rem;
}

.main__info p{
    margin-bottom: 1rem;
}
.accordion__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #808080;
    border-bottom: none;
    margin-top: 0rem;
    background: var(--primary-color);
    padding: 1rem 2rem;
}

.accordion__header span{
    font-size: 2rem;
    cursor: pointer;
    transition: .3s ease-in-out;
}
.accordion__header span:hover{
    color:rgba(0, 0, 0, .5);
}
.accordion__content{
    padding: 2rem;
    display: none;
    border: 1px solid #80808055;
    line-height: 2.0;
}

.display{
    display: block;
}

/* CONTACT CONTAINER */
.contact__container{
    background-color: rgb(3, 0, 29);
    padding: 5rem 8rem;
    margin-top: 1rem;
}

.contact{
    width: 40%;
    padding: 4rem;
    color: white;
    border: 1px solid var(--primary-color);
}

.div__details div{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.div__details div span{
    color: var(--primary-color);
}

.div__details p{
    margin-block: 1.4rem;
    display: inline;
    color: #fff;
}

.addition_container{
    background-color: rgb(3, 0, 29);
    width: 100%;
    margin-top: 1rem;
    
}

.addition{
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    padding-block: 4rem;
}
.info__box{
    color: #fff;  
}

.company__info div{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: .3rem;
}

.company__info div span{
    color: var(--primary-color);
}

.services__info{
    width: 100%;
}
.service{
    display: flex;
    gap: .3rem;
    align-items: center;
    margin-left: 1rem;
}

.service span{
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.5rem;
}

.site__info ul{
    list-style: none;
    margin-left: 2rem;
    line-height: 2.5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.site__info ul li a:hover{
    color: var(--primary-color);
}

.flex-gap{
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact__form form{
    display: flex;
    flex-direction: column;
}

.contact__form form input{
    width: 50%;
    padding: .5rem .2rem;
    border: none;
    border-radius: 4px;
    margin-bottom: .5rem;
}

.contact__form form input[type=submit]{
    box-sizing: content-box;
    width: 10%;
    font-weight: 700;
    background-color: var(--primary-color);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.contact__form form input[type=submit]:hover{
    color: white;
    background: rgba(0, 0, 0, .5);
    outline: 2px solid var(--primary-color);
}
.contact__form form textarea{
    width: 50%;
    margin-bottom: .5rem;
}


@media (max-width:620px){
    .container{
        max-width: 95%;
    }

    .nav{
        width: 40%;
    }

    .container.info{
        flex-direction: column;
    }

    .prev, .next{
        font-size: 20px;
    }

    .myslide .txt{
        width: 80%;   
    }

    .txt h1.methods{
        font-size: 2.8rem;
    }
	.txt .txt_header{
        width: 100%;
		font-size: 2rem;
		margin-bottom: 20px;
	}
	.sign{
		margin-right: 20px;
	}
	.sign a{
		font-size: 12px;
	}
    
    .service__header{
        align-items: flex-start;
        flex-direction: column;
    }
    .decor{
        display: none;
    }
    .thumbnail__container{
        flex-direction: column;
        width: 100%;
    }
    .thumbnail{
        width: 100%;
    }
    .avatar{
        width: 20%;
    }
    .quote__container{
        padding: 1rem;
    }

    .offer__section{
        flex-direction: column;
        gap: 1rem;
    }
    .offer__info{
        width: 100%;
    }
    .offer__container{
        display: flex;
        flex-direction: column;
        margin-left: 2rem;
        /* grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 1.5rem;
        margin-top: 1rem;
        margin-left:3rem; */
    }

    .contact__container{
        opacity: 1;
        padding: 1rem;
    }

    .about__container{
        grid-template-columns: 1fr;
        gap: 4rem;
        margin-block-start: 3rem;
    }

    .contact{
        padding: 1rem;
        width: 100%;
    }

    .small{
        font-size: .86rem;
    }

    .addition{
        width: 90%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 0.5fr 1fr 1fr;
        padding-block: 4rem;
    }

    .contact__form{
        margin-top: 3rem;
    }

    .contact__form form input{
        width: 90%;
    }
    
    .contact__form form textarea{
        width: 90%;
    }
    .contact__form form input[type=submit]{
        width: 20%;
    }

 }

 footer{
    background-color: rgba(3, 0, 29, 0.9);
    text-align: center;
    line-height: 1.2;
    color: #a7a0a0;
    font-size: 14px;
    padding-block: 0.8rem;
 }

 @media screen and (max-width: 800px){
	.myslide{
		height: 500px;
	}
	.txt{
		letter-spacing: 2px;
		line-height: 25px;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		-webkit-animation-name: posi2;
		-webkit-animation-duration: 2s;
		animation-name: posi2;
		animation-duration: 2s;
	}

	@-webkit-keyframes posi2 {
	  from {top: 35%;}
	  to {top: 50%;}
	}


	@keyframes posi2 {
	  from {top: 35%;}
	  to {top: 50%;}
	}

	.txt h1{
		font-size: 40px;
	}
	.txt p{
		font-size: 13px;
	}

}
/* /5 */

/* 6 */
