/*****************************
* Template Name    : Bouda - Personal Portfolio Template
* Author           : BoudaThemes
* Created          : June 2021
* File Description : Main CSS file of the template

*******************************/

/* Table of contant
    1.Basics Rules
    2.Preloader
    3.Mobile-Header

    4.Desktop-Header
    - 4.1.Logo
    - 4.2.Navbar
    - 4.3.social-media
    - 4.4.copyright

    5.Main-content
    - 5.1.Home  
    - 5.2.About
    - 5.3.Services
    - 5.4.Expertise
    - 5.5.Portfolio
    - 5.6.Testimonial
    - 5.7.Blog
    - 5.8.Contact

    6.Responsive
***********/



/* 1 - Basics Rules */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
}
 
html{
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
    overflow: visible;
    letter-spacing: 0.5px;
    font-family: 'Jost', sans-serif;
    color:#f3f3f3;
}

h1,h2 ,h3 ,h4 ,h5 ,h6 ,a,input,textarea,button{
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #fff;
    font-weight: 600;
}

p{
    font-family: 'Playfair Display', sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color:#f3f3f3;
    margin: 0;
}

a,
a:hover,
a:focus,
button,
input,
textarea,
button:focus {
    text-decoration: none;
    outline: none ;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 14px;
    text-align: center;
    vertical-align: middle;
    font-size: 15px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid #ff6908;
    background: #ff6908;
    transition: all 500ms ease;
    cursor: pointer;
    color: #fff;
}

.button:hover {
	color: #000;
	background: #fff;
    border: 1px solid #000000;
}

.section {
    padding-bottom: 100px;
    position: relative;
    border-top: solid 1px #131e36;
}

.mt100{
    margin-top: 100px;
}

.title-center{
    text-align: center;
}

.title-head{
    border-bottom: 1px solid #131e36;
}
 
.title-head h1 {
    font-size: 70px;
    font-weight: 900;
    text-transform: uppercase;
    padding-top: 35px;
}
 
.title-head p {
    font-style: italic;
    padding-bottom: 35px;
}

.back-top {
    text-align: center;
    position: fixed;
    bottom: 15px;
    height: 35px;
    width: 35px;
    display: none;
    right: 20px;
    transition: all 0.5s;
    background-color:#fa893e;
    z-index: 10;
}

.back-top i {
    color: #fff;
    line-height: 35px;
    font-size: 15px;
    display: block;
}

.back-top:hover{
    background-color: #ff6908;
}


/* 2 - preloader */

.preloader {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #091633;
	z-index: 1000;
}

.preloader .middle {
	position: absolute;
	top: 50%;
	width: 100%;
}

.ellipsis {
	display: inline-block;
	position: relative;
	width: 60px;
	height: 60px;
}

.ellipsis div {
	position: absolute;
	top: 27px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #ff6908;
    -webkit-animation-timing-function: cubic-bezier(0, 1, 1, 0);
    -moz-animation-timing-function: cubic-bezier(0, 1, 1, 0);
    -o-animation-timing-function: cubic-bezier(0, 1, 1, 0);
    -ms-animation-timing-function: cubic-bezier(0, 1, 1, 0);
	animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.ellipsis div:nth-child(1) {
	left: 6px;
    -webkit-animation: ellipsis1 0.6s infinite;
	animation: ellipsis1 0.6s infinite;
}

.ellipsis div:nth-child(2) {
	left: 6px;
    -webkit-animation: ellipsis2 0.6s infinite;
	animation: ellipsis2 0.6s infinite;
}

.ellipsis div:nth-child(3) {
	left: 26px;
    -webkit-animation: ellipsis2 0.6s infinite;
	animation: ellipsis2 0.6s infinite;
}

.ellipsis div:nth-child(4) {
	left: 45px;
    -webkit-animation: ellipsis3 0.6s infinite;
	animation: ellipsis3 0.6s infinite;
}

@keyframes ellipsis1 {
	0% {
        -webkit-transform: scale(0);
		transform: scale(0);
	}

	100% {
        -webkit-transform: scale(1);
		transform: scale(1);
	}
}

@keyframes ellipsis2 {
	0% {
        -webkit-transform: translate(0, 0);
		transform: translate(0, 0);
	}

	100% {
        -webkit-transform: translate(19px, 0);
		transform: translate(19px, 0);
	}
}

@keyframes ellipsis3 {
	0% {
        -webkit-transform: scale(1);
		transform: scale(1);
	}

	100% {
        -webkit-transform: scale(0);
		transform: scale(0);
	}
}


/* 3 - Mobile-Header */

header.header-mobile {
    background: #041230;
    display: none;
    padding: 10px 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

header.header-mobile.open {
    -webkit-transform: translateX(230px);
    -moz-transform: translateX(230px);
    -ms-transform: translateX(230px);
    -o-transform: translateX(230px);
    transform: translateX(230px);
}

.menu-icon button {
    background: transparent;
    border: 0;
    cursor: pointer;
    outline: 0;
}

.menu-icon button span{
    color: #fff;
    display: block;
    font-size: 24px;
    position: relative;
}


/* 4 - Desktop-Header */

header.header-desk{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    width: 230px;
    background-color: #041230;
    padding: 40px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

header.header-desk.open {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

/* 4 - Desktop-Header
    4.1.Logo
*/

.header-logo{
    padding: 30px 0 35px 0;
}

.header-logo .logo a{
    font-size: 35px;
    font-weight: 900;
    color: #ff6908;
    text-transform: uppercase;
}

/* 4 - Desktop-Header
    4.2.Navbar
*/

.navbar-nav li{
    padding: 8px 0;
}

.navbar-nav li a{
    font-size: 15px;
    line-height: 24px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.5s;
    color: #fff;
    text-transform: uppercase;
}

.navbar-nav li a:hover,
.navbar-nav li.active a {
    color: #ff6908 !important;
}

.navbar-nav li.active a {
    border-left:1px solid #ff6908;
    padding-left:10px;
}


/* 4 - Desktop-Header
    4.3.social-media
*/

.social-media{
    padding-top:22px;
}

.social-media ul li a {
    color: #fff;
    font-size: 15px;
    padding-right: 5px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
}

.social-media ul li a:hover{
    color: #ff6908;
}


/* 4 - Desktop-Header
    4.4.copyright
*/

.copyright{
    font-size: 14px;
    font-style: italic;
    color:#f3f3f3;
}


/* 5 - Main-content */

main.content{
    background: #091633;
    margin-left: 230px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

main.content.open {
    opacity: .4;
    -webkit-transform: translateX(230px);
    -moz-transform: translateX(230px);
    -ms-transform: translateX(230px);
    -o-transform: translateX(230px);
    transform: translateX(230px);
}

/* 5 - Main-content
    5.1.Home
*/

.home{
    position: relative;
    background-image:url("../images/home.jpg") ;
    -webkit-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-background-position: center;
    -ms-background-position: center;
    background-position: center;
    -webkit-background-attachment: fixed;
    -o-background-attachment: fixed;
    -ms-background-attachment: fixed;
    background-attachment: fixed;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 100;
}

.bg-overlay {
    background-color: hsla(0, 0%, 0%, 0.4); 
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.home-content h5 {
    font-size: 30px;
    margin-bottom: 15px;
    text-transform: capitalize;
    font-weight: 700;
}

.home-content{
    position: relative;
    z-index: 1;
}

.home-content h1 {
    font-size: 60px;
    margin-bottom: 25px;
    font-weight: 700;
}

.home-content h1 span {
    font-size: 60px;
    position: relative;
    
}

.home-content h1 span:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 20px;
    width: 100%;
    z-index: -1;
    background: #ff6908;
}

.home-content h3 {
    font-size: 20px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 3px;
}


/* 5 - Main-content
    5.2.About
*/

.about-img-content{
    display: flex;
    width: 100%;
    padding: 80px 0;
    position: relative;
}

.about-text{
    position: relative;
    right: -20px;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-name{
    width: 110%;
}

.about-name h2{
    font-size: 23px;
    font-weight: 700;

}

.about-image{
    position: relative;
    width: 60%;
    height: 450px;
    right: -50px;
    z-index: 10;
}

.about-image img{
    width: 110%;
    height: 100%;
    object-fit: cover;
}

.about-image:after{
    position: absolute;
    content: "";
    left: 15px;
    bottom: -15px;
    height: 20px;
    width: 100%;
    z-index: -1;
    background: #ff6908;
}

.back-col{
    background-color: #101e3d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 60px;
}

.about-detail{
    padding: 30px 40px 30px 40px;
}

.about-detail h3{
    font-size: 22px;
    padding-bottom: 20px;
}


/* 5 - Main-content
    5.2.Services
*/

.services-image{
    position: relative;
    width: 100%;
}

.services-image img{
    width: 100%;
}

.services-content{
    padding: 10px ;
}

.services-box{
    padding-top: 15px;
}

.services-content .services-icon{
    position: relative;
    width: 70px;
    height: 50px;
    background-color: #ff6908;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content .services-icon:before{
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left:35px solid  transparent;
    border-right: 35px solid transparent;
    border-bottom: 20px solid #ff6908;
    top: -20px;
}

.services-content .services-icon:after{
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left:35px solid  transparent;
    border-right: 35px solid transparent;
    border-top: 20px solid #ff6908;
    bottom: -20px;
}

.services-content .services-icon i{
    color: white;
    font-size: 35px;
}

.services-text{
    padding-top: 10px;
    padding-bottom: 30px;
}
.services-text h3{
    font-size: 18px;
    margin-bottom: 10px;
}


/* 5 - Main-content
    5.4.Expertise
*/

.expertise-title{
    display: flex;
    align-items: center;
    padding-left:40px ;
}

.expertise-title i{
    font-size: 32px;
    color: #fff;
}

.expertise-title h3{
    position: relative;
    font-size: 24px;
    padding: 12px 20px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1;
}

.expertise-title h3:after{
    content: "";
    position: absolute;
    left: 12px;
    right: 0;
    bottom: 12px;
    height: 10px;
    width: 100%;
    z-index: -1;
    background: #ff6908;
}

.expertise-detail{
    padding: 10px 0px 0px 60px;
    margin-top: 60px;
}

.expertise-detail-info{
    position: relative;
    padding: 0px 0px 0px 25px;
    border-left: 2px solid #fa893e;
}

.expertise-content{
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-bottom: 0;
}

.expertise-detail-info .expertise-content .year{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    left: -52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fa893e;
}

.expertise-detail-info .year span{
    color: #fff;
}

.expertise-text {
    padding-left: 35px;
}

.expertise-text h3{
    font-size: 20px;
    padding-bottom: 5px;
}


/* 5 - Main-content
    5.5.Portfolio
*/

.work-menu li a {
    cursor: pointer;
    display: block;
    color: #ffffff;
    letter-spacing: 0.03em;
    margin: 0 15px 20px;
    padding: 8px 15px;
    font-size: 14px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    text-transform:uppercase;
}

.work-menu a.active,
.work-menu a:hover {
    color: #ff6908;
}

.work-item {
    position: relative;
    padding: 20px; 
    overflow: hidden;
    width: 100%;
}

.hexagon{
    position: relative;
    width: 100%;
    height: 320px;
    text-align: center;
}

.portfolio-item{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%);
}

.portfolio-item .item-work {
    position: relative;
    width: 100%;
    height: 100%;
}

.portfolio-item .item-work .item-img {
    width: 100%;
    height: 100%;
}

.item-img img{
    width: 100%;
    height: 100%;
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    z-index: 2;
    clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%);
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    height: auto;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: all .5s;
    transition: all .5s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

.portfolio-item .portfolio-overlay .portfolio-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    z-index: 2;
    -webkit-transition: .5s;
    transition: .5s;
    overflow: hidden;
}

.portfolio-item .portfolio-overlay .portfolio-content h4 {
    color: #fff;
    font-size: 18px;
    position: relative;
    margin-bottom: 10px;
    text-transform: capitalize;
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
    opacity: 0;
    z-index: 7;
    -webkit-transition: all .6s;
    transition: all .6s;
}

.portfolio-item .portfolio-overlay .portfolio-content h6 {
    color: #ff6908;
    margin-top: 5px;
    font-size: 15px;
    letter-spacing: 0.9px;
    position: relative;
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
    opacity: 0;
    z-index: 7;
    -webkit-transition: all .6s;
    transition: all .6s;
}

.portfolio-item:hover .portfolio-overlay .portfolio-content h4,
.portfolio-item:hover .portfolio-overlay .portfolio-content h6 {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}


/* 5 - Main-content
    5.6.Testimonial
*/

.testimonial-content{
    margin-left: 15px;
}

.testimonial-image-box{
    position: relative;
    bottom: -40px;
    left: -15px;
    display: flex;
    z-index: 20;
}

.testimonial-image img{
    margin-left: 15px;
}

.testimonial-image img{
    margin-left: 15px;
}
.testimonial-image img,
.quote {
    object-fit: cover;
    border-radius: 50%;
    width: 90px !important;
    height: 90px;
}

.quote{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fa893e ;
    color:#fff;
}

.quote i{
    font-size: 50px;
    opacity: 0.9;
}

.testimonial-box{
    padding: 60px 25px 25px 25px;
    background: #17233f;
}

.testimonial-box .testimonial-client{
    width: 200px;
    margin-top: 30px;
    border-top: 2px solid #2b3c61;
}

.testimonial-client h3{
    font-size: 18px;
    padding-top: 12px;
}

#customers-testimonial.owl-carousel .owl-dots .owl-dot.active span,
#customers-testimonial.owl-carousel .owl-dots .owl-dot:hover span{
    background-color: #ff6908;
    transform: translate3d(0px,-50% ,0px) scale(0.7);
    -ms-transform: translate3d(0px,-50% ,0px) scale(0.7);
    -webkit-transform: translate3d(0px,-50% ,0px) scale(0.7);
}

#customers-testimonial.owl-carousel .owl-dots{
    display: inline-block;
    width: 100%;
    text-align: center;
}

#customers-testimonial.owl-carousel .owl-dots .owl-dot{
    display: inline-block;
}

#customers-testimonial.owl-carousel .owl-dots .owl-dot span{
    display: inline-block;
    background: #ff6908;
    display: inline-block;
    height: 20px;
    -webkit-transform: translate3d(0px, -50%, 0px) scale(0.3);
    -ms-transform: translate3d(0px, -50%, 0px) scale(0.3);
    transform: translate3d(0px, -50%, 0px) scale(0.3);
    -webkit-transform-origin: 50% 50% 0;
    -ms-transform-origin: 50% 50% 0;
    transform-origin: 50% 50% 0;
    transition: all 250ms ease-out 0s;
    -webkit-transition: all 250ms ease-out 0s;
    -moz-transition: all 250ms ease-out 0s;
    -ms-transition: all 250ms ease-out 0s;
    -o-transition: all 250ms ease-out 0s;
    width: 20px;
    margin-top: 35px;
}



/* 5 - Main-content
    5.7.Blog
*/

.blog-content{
    width: 100%;
    height: auto;
}

.blog-image-text{
    position: relative;
    width: 100%;
    height: 100%;
}

.blog-image-text img{
    width: 100%;
    height: 100%;
}

.blog-image-text .blog-text{
    position: absolute;
    bottom: 0;
    background-color: #fff;
    opacity: 0.95;
    padding: 30px 25px;
    width: 65%;
    height: auto;
    border-left: 4px solid #ff6908;
}

.blog-text .date{
    font-size: 11px;
    font-weight: 700;
    color: #444444 !important;
    text-transform: uppercase;
}

.blog-text h3{
    font-size: 14px;
    padding-top: 10px;
}

.blog-text h3 a{
    color: #131313;
    transition: all 0.5s ;
    font-weight: 700;
}

.blog-text h3 a:hover{
    color: #ff6908;
}

.blog-text .text{
    font-size: 12px;
    color: #1a1919;
    font-weight: 500;
    padding-top: 10px;
}


/* 5 - Main-content
    5.8.Contact
*/

.contact-box{
    text-align: center;
    padding: 30px 0;
}

.contact-box,
.contact-social-media,
.contact .form{
    background: #17233f;
}


.icon i {
    font-size: 36px;
    color:#ff6908 ;
}

.title-text{
    padding-top: 15px;
}

.title-text h3{
    font-size: 18px;
    padding-bottom: 15px;
}

.contact-social-media{
    padding: 15px 20px;
}
.contact-me h3{
    font-size: 18px;
    padding-bottom: 25px;
}
.social-media-col{
    padding-top: 25px;
}

.social-media-col ul{
    list-style: none;
}

.social-media-col ul li{
    padding-bottom: 21px;
    
}


.social-media-col ul li a i{
    background-color: #ff6908;
    padding: 10px;
    color: #fff;
}

.social-name{
    font-size: 12px;
    padding-left: 20px;
    transition:all 0.3s ease-in-out;
    color:#f3f3f3;
}

.social-name:hover{
    color: #ff6908;
}

.contact .form{
    padding: 15px 20px;
}

.contact .form input,
.contact .form textarea {
    width: 100%;
    padding: 10px 20px;
    color: #fff;
    font-style: italic;
    font-size: 14px;
    padding-left: 20px;
    font-weight: 500;
    border-radius: 3px;
    background: none;
    text-transform: capitalize;
    border: 1px solid #24314d;
}

.contact .form input:focus, .contact .form textarea:focus{
    border: 2px solid #49556d;
}

.form-group{
    margin-bottom: 25px;
}


/* 6 - Responsive */

@media (min-width: 1366px){
    
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        max-width: 1080px;
    }
}

@media only screen and (max-width: 1199px){
    body {
        width: 100%;
        overflow-x: hidden;
    }

    header.header-mobile {
        display: block;
    }

    header.header-desk {
        -webkit-transform: translateX(-230px);
        -moz-transform: translateX(-230px);
        -ms-transform: translateX(-230px);
        -o-transform: translateX(-230px);
        transform: translateX(-230px);
    }

    main.content{
        margin-left: 0;
    }

    
}

@media only screen and (max-width: 991px){
    
    body {
        width: 100%;
        overflow-x: hidden;
    }
    
    .title-head p {
        padding-left:10px;
        padding-right:10px;
    }
    .about-text{
        right: 0px;
    }

    .about-image{
        right: 0px;
    }

    .about-image img{
        width: 100%;
    }

    .about-image:after{
        left: 0px;
    }

    .mt-respo{
        margin-top: 40px;
    }
}

@media (min-width: 453px) and (max-width: 768px) {

    .home-content h1 {
        font-size: 38px;
    }

    .home-content h1 span {
        font-size: 38px;
    }

    .home-content h3 {
        font-size: 18px;
    }
}

@media (min-width: 200px) and (max-width: 453px) {

    .home-content h5{
        font-size:25px;
    }
    .home-content h1 {
        font-size: 28px;
    }
    
    
    .home-content h1 span {
        font-size: 28px;
    }
    
    .home-content h1 span:after {
    bottom: -8px;
    height: 18px;
    width: 100%;
    
    }

    .home-content h3 {
        font-size: 18px;
    }
}

@media (min-width: 200px) and (max-width: 768px) {

    .title-head h1 {
        font-size: 46px;
    }
     
    .title-head p {
        font-size: 12px;
    }

    .about-img-content{
        display:block;
    }
    .about-text{
        width:100%;
    }

    .about-image{
        width:100%;
    }

    .back-col {
        padding:0;
    }
    .work-menu li a{
        padding: 0;
    }
}