@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,600;0,700;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

/*variables*/
:root{
    --main-color: #ea9423;
    --dark: #0c1023;
    --dark-light: #191f3a;
    --white: #ffffff;
    --white-light: #c8c8c8;
    --shadow: 0 0 15px rgba(0,0,0,0.25);
    --cursive-font: 'Dancing Script', cursive;
    scroll-behavior: smooth;
}

/*Global settings*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

::before,
::after{
    box-sizing: border-box;
}

body{
    font-size: 16px;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: var(--white-light);
}

.img{
    vertical-align: middle;
    max-width: 100%;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

h1{
    font-weight: 700;
    color:var(--white);
}

h2{
    font-weight: 600;
    color: var(--white);
}

h3,
h4,
h5,
h6{
    font-weight: 500;
    color: var(--white);
}

p{
    font-size:"16px";

}

.container{
    max-width: 1170px;
   margin: auto auto;
    line-height: 1.5;
}

.row{
    display: flex;
    flex-wrap: wrap;
}

.min-vh-100{
    min-height: 100vh;

}

.sec-padding{
    padding: 80px 0;
}

/*--Section title--*/
.section-title{
    width: 100%;
    padding: 0 15px;
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2{
    font-size: 35px;
    text-transform: capitalize;
}

.section-title h2::before{
    content: attr(data-title);
    display: block;
    font-size: 24px;
    color: var(--main-color);
    font-family: var(--cursive-font);
    font-weight: 400;
    text-transform: capitalize;
}

.justify-content-between{
    justify-content: space-between;
}

.align-items-center{
    align-items: center;
}

.btn{
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    border-radius: 30px;
    text-transform: capitalize;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
    color: var(--main-color);
    line-height: 1.5;
    user-select: none;
    border: none;
    box-shadow: none !important;
    width: 70%;
    margin-top: 10px;
}
.btn:hover{
    background-color: var(--main-color) !important;
}
.btn-default{
    border: 2px solid var(--main-color);
}

.btn-default:hover{
    color: var(--white);
    background-color: var(--main-color) !important;
}

/*------------animation keyframes-------------*/
@keyframes zoomInOut{
    0%,100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.1);
    }
}

@keyframes spin01{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
form{
    background-color: transparent;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
label{
    margin-left: 30% !important;
}
form input{
    width: 90% !important;
}
textarea{
    width: 90% !important;
}
/* header */

.header{
    padding: 0px 0px !important;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
    width: 100%;
}

.header::before{
    content: '';
    position: absolute;
    left:0;
    top:0;
    height: 100%;
    width:100%;
    background-color: var(--dark-light);
    box-shadow: var(--shadow);
    z-index: -1;
    transition: transform 0.5s ease;
    transform: translateY(-100%);
}

.header.sticky::before{
    transform: translateY(0%);
}

.header .logo{
    
    min-height: 34px;
   display: flex;
    align-items: center;
}

.header .logo img{
    width: 200px;
    height: 100px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    padding: 10px 20px;
    margin-left: 20px;
    margin-right: 10px;
 }


.logo span{
    color: white;
    font-size: 20px;
}

.header .nav-toggler{
    height: 34px;
    width: 44px;
    cursor: pointer;
    border: none;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    display: flex;
    padding-right: 15px;
}

.header .nav-toggler.active{
    position: absolute;
    right: 0;
    z-index: 1;
    transition: all 0.5s ease;
    transform: translateX(-200px);
}

.header .nav-toggler span{
    height: 2px;
    width: 30px;
    display: block;
    background-color: white;
    position: relative;
}

.header .nav-toggler.active span{
    background-color: transparent;
    transition: background-color 0.5s ease;
}

.header .nav-toggler span::before,
.header .nav-toggler span::after{
    content:'';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--white);
}

.header .nav-toggler span::before{
    transform: translateY(-8px);
}

.header .nav-toggler.active span::before{
    transform: rotate(45deg);
    transition: transform 0.5s ease;
}

.header .nav-toggler span::after{
    transform: translateY(8px);
}

.header .nav-toggler.active span::after{
    transform: rotate(-45deg);
    transition: transform 0.5s ease;
}

.header .nav{
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 280px;
    /* background-color: #2c2c2c; */
    background-color: var(--dark);
    box-shadow: var(--shadow);
    overflow-y: auto;
    padding: 80px 0 40px;
    transition: transform 0.5s ease;
    transform: translateX(100%);
}

.header .nav.open{
    transform: translateX(0%);
}

.header .nav ul li a{
    display: block;
    font-size: 25px;
    color: var(--white);
    padding: 10px 30px;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.header .nav ul li a:hover{
    color: var(--main-color)
}


/*-----------Home section-----------------*/
.home-section{
  position: relative;
  overflow: hidden;
}

.home-section::before{
    content:'';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    opacity: 0.6;
    z-index: -1;
}

.home-section .home-bg{
    position: absolute;
    left: 0;
    top:0;
    height: 100%;
    width: 100%;
    background-image: url('images/bg3.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    animation: zoomInOut 20s ease infinite;
    z-index: -2;
}

.home-section .min-vh-100{
    padding: 100px 0;
}

.home-text{
    padding: 0 15px;
    max-width: 700px;
    width: 100%;
    margin: auto;
    text-align: center;
}

.home-text h1{
    font-family: var(--cursive-font);
    font-size: 60px;
    line-height: 75px;
    margin: 0 0 5px;
}

.home-text p{
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.8);
}

/*------------About section----------*/
.about-section{
    background-color: var(--dark);
    padding-left: 25px;
    padding-right: 25px;
}

.about-img img{
    height: 250px;
    width: 250px;
}

.about-text,
.about-img{
    width: 50%;
    padding: 20px 15px 0 0;
    margin-right:auto ;
}

.about-text h3{
    font-size: 30px;
    text-transform: capitalize;
    margin: 0 0 15px;
}

.about-text p{
    margin: 0 0 15px;
}
.text{
    font-size: 1.3rem;
}

.about-text .btn{
    margin: 15px 0 0;
}

.about-img .img-box{
    position: relative;
}


/*-------------Testimonials section-----------------*/
.testimonials-section{
    background-color: var(--dark);
    padding-bottom: 50px;
}

.testi-item{
    width: calc((100% - 3) - 30px);
    margin: 0 15px 30px;
    border: 2px solid var(--dark-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 350px;
}

.testi-author{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testi-author h3{
    font-size: 16px;
    text-transform: capitalize;
    margin: 0 0 3px;
}
.testi-author span{
    display: block;
    font-size: 14px;
    text-transform: capitalize;
}
.testi-author img{
    max-width: 70px;
    border-radius: 50%;
    border: 3px solid var(--dark-light);
    box-shadow: var(--shadow);
    height: 75px;
    width: 70px;
    transition: border-color 0.5s ease;
}

.testi-item:hover .testi-author img{
    border-color: var(--main-color);
}

.testi-item p{
    margin: 15px 0;
}

.testi-item .ratings{
    font-size: 16px;
    color: var(--main-color);
}

/*--------------team section--------------*/
.team-section{
    background-color: var(--dark);
    padding-bottom: 125px;
}

.team-item img{
    width: 300px;
    height: 420px;
    width: 100%;
    border-radius: 8px;
    transition: trasform 0.3s ease;
}


.team-item{
    width: calc(100% / 3);
    padding: 0 15px;
    position: relative;
}

.team-item-info{
    background-color: var(--dark-light);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    transform: translateY(50%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.team-item:hover .team-item-info{
    transform: translateY(-15px);
    background-color: var(--main-color);
}

.team-item-info h3{
    font-size: 18px;
    text-transform: capitalize;
    margin: 0 0 10px;
}
.team-item-info p{
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.team-item:hover .team-item-info p{
    color: var(--white);
}

/*----------------Footer section--------------*/
.footer{
    padding: 80px 0 0;
    background-image:url('./images/bg3.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    z-index: 1;
}

.footer::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: -1;
}

.footer-item{
    width: calc(100% / 3);
    padding: 0 15px;
    text-align: center;
}

.footer-item h3{
    margin: 0 0 15px;
    font-size: 22px;
    text-transform: capitalize ;
}

.footer-item p{
    line-height: 30px;
}

.footer-item .social-links a{
    display: inline-flex;
    height: 40px;
    width: 40px;
    color: var(--white-light);
    font-size: 22px;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.footer-item .social-links a:hover{
   color: var(--main-color);
}

.footer-item .social-links{
    margin-top: 15px;
}

.footer .copyright{
    margin: 80px 0 0 ;
    width: 100%;
    text-align: center;
    padding: 25px 15px;
    font-size: 14px;
    border-top: 1px solid var(--white-light);
}


.form{
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.204);
    padding: 35px 30px 20px 30px;    
}
.form p{
    margin-top: 5px;
    font-size: 1.4rem;
}


/*----------------Responsive----------------*/

@media(max-width:991px){
    .testi-item{
        width: calc(50% - 30px);
    }
    .team-item{
        width: 50%;
    }
    .team-item:not(:last-child){
        margin-bottom: 75px;
    }
}

@media (max-width:767px){
    .home-text h1{
        font-size: 50px;
        line-height: 65px;
    }
    .menu-item,
    .about-text,
    .about-img{
        width: 100%;
    }
    .menu-item:nth-last-of-type(2):after{
        border-bottom: 2px dashed var(--dark-light);
    }
    .about-img{
        margin-top: 40px;
    }
    .about-text h3{
        font-size: 24px;
    }
    .footer-item{
        width: 100%;
    }
    .footer-item:not(:last-child){
        margin-bottom: 30px
    }
    .testi-item{
        width: calc(100% - 30px);
    }
}

@media(max-width: 575px){
    .team-item{
        width: 100%;
    }
}