/* -----------------> Global <----------------->*/
*{
    font-family: 'Poppins', sans-serif;
}
a{
    text-decoration: none;
}


h1,h2,h3,h4,h5,h6{
    font-family: "Montserrat" !important ;
}

:root{
    --main-padding:80px;
    --main-color: #1C1C1C;
}


.head h2{
    font-size: 40px;
    font-weight: 900;
}

:has(header nav .nav-item .active:not(.home)) .navbar-expand-md{
    background-color: white !important;
    box-shadow: 2px 2px 30px 2px rgb(0, 0, 0 ,0.08);
    height:80px;
    animation-name: chaneHeight;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-timing-function: linear;
}

@keyframes chaneHeight {
    0%{
        height:0px;
    }
    50%{
        height:80px;
    }

    100%{
        height:60px;
    }
}

:has(header nav .nav-item .active:not(.home)) .navbar-expand-md a{
    color:black !important;
}

:has(header nav .nav-item .active:not(.home)) header nav .nav-item .active::after{
    background-color: black !important;
}
.head h2 {
    position: relative;
    display: inline-block;
    text-align: center;
    z-index: 4; 
}

.head h2::before {
    content: "";
    background-image: url(../img/dots.png);
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 80%;
    z-index: -1; 
}

/* -----------------> END global <----------------->*/


/* -----------------> HEADER <----------------->*/
header a{
    color:white !important ; 
    font-size: 14px;
    line-height: 20px;
}

.navbar-brand{
    font-family: "Montserrat" !important ;
    font-size: 18px;
    line-height: 28px;
}


header nav .nav-item .active{
    position: relative;
}

header nav .nav-item .active::after{
    content: "";
    position: absolute;
    bottom: 8px;
    left:7px !important;
    width:0%;
    height:2px;
    background-color:white;
    animation-name: width;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    animation-direction: alternate;
}

@keyframes width {
    0%{
        width:0%;
    }
    100%{
        width:80%;
    }

}

/* -----------------> END HEADER <----------------->*/  




/* ----------------->  HOME <----------------->*/
#home {
    background-image: linear-gradient(rgba(0, 0, 0, 0.648),rgba(0, 0, 0, 0.648)), url("../img/bg.jpg");
    background-size: cover;
    font-family: "Montserrat";
}

#home h2{
    font-size: 50px;
    font-weight: 800;
}

#home h1{
    font-size: 30px;
    padding: 20px 0px;
    font-weight: 200;
}


#home h1 span::after{
    content: "";
    animation-name: typingSkill;
    animation-duration: 15s;
    animation-iteration-count: infinite;
}


@keyframes typingSkill {
    0% { content: "|"; }
    1% { content: "D|"; }
    2% { content: "De|"; }
    3% { content: "Des|"; }
    4% { content: "Desi|"; }
    5% { content: "Desig|"; }
    6% { content: "Designe|"; }
    7% { content: "Designer|"; }
    8% { content: "Designer"; }
    9% { content: "Designer|"; }
    10% { content: "Designer"; }
    11% { content: "Designer|"; }
    12% { content: "Designer"; }
    13% { content: "Designer|"; }
    14% { content: "Designer"; }
    15% { content: "Designer|"; }
    16% { content: "Designer"; }
    17% { content: "Designe|"; }
    18% { content: "Design|"; }
    19% { content: "Desig|"; }
    20% { content: "Desi|"; }
    21% { content: "Des|"; }
    22% { content: "De|"; }
    23% { content: "D|"; }
    24% { content: "|"; }
    25% { content: "|"; }
    26% { content: "D|"; }
    27% { content: "De|"; }
    28% { content: "Dev|"; }
    29% { content: "Deve|"; }
    30% { content: "Devel|"; }
    31% { content: "Develo|"; }
    32% { content: "Develop|"; }
    33% { content: "Develope|"; }
    34% { content: "Developer|"; }
    35% { content: "Developer"; }
    36% { content: "Developer|"; }
    37% { content: "Developer"; }
    38% { content: "Developer|"; }
    39% { content: "Developer"; }
    40% { content: "Developer|"; }
    41% { content: "Developer"; }
    42% { content: "Developer|"; }
    43% { content: "Developer"; }
    44% { content: "Develope|"; }
    45% { content: "Develop|"; }
    46% { content: "Develo|"; }
    47% { content: "Devel|"; }
    48% { content: "Deve|"; }
    49% { content: "Dev|"; }
    50% { content: "De|"; }
    51% { content: "D|"; }
    52% { content: "|"; }
    53% { content: "|"; }
    54% { content: "L|"; }
    55% { content: "La|"; }
    56% { content: "Lar|"; }
    57% { content: "Larr|"; }
    58% { content: "Larry|"; }
    59% { content: "Larry |"; }
    60% { content: "Larry D|"; }
    61% { content: "Larry Da|"; }
    62% { content: "Larry Dan|"; }
    63% { content: "Larry Dani|"; }
    64% { content: "Larry Danie|"; }
    65% { content: "Larry Daniels|"; }
    66% { content: "Larry Daniels"; }
    67% { content: "Larry Daniels|"; }
    68% { content: "Larry Daniels"; }
    69% { content: "Larry Daniels|"; }
    70% { content: "Larry Daniels"; }
    71% { content: "Larry Daniels|"; }
    72% { content: "Larry Daniels"; }
    73% { content: "Larry Daniels|"; }
    74% { content: "Larry Daniels"; }
    75% { content: "Larry Dani|"; }
    76% { content: "Larry Dan|"; }
    77% { content: "Larry Da|"; }
    78% { content: "Larry D|"; }
    79% { content: "Larry |"; }
    80% { content: "Larry|"; }
    81% { content: "Larr|"; }
    82% { content: "Lar|"; }
    83% { content: "La|"; }
    84% { content: "L|"; }
    85% { content: "|"; }
    86%,100% { content: "|"; }
}


#home .container .icons span{
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.3);
    width:35px;
    height:35px;
    border-radius: 50%;
    position: relative;
    text-align: center;
}


#home .container .icons span i{
    transform: translate(-50% , -50%);
    font-size: 14px !important;
}

/* -----------------> END HOME <----------------->*/


/* -----------------> About <----------------->*/
#about{
    padding: var(--main-padding) 0px !important;
}


#about .img::before{
    content: "";
    background-image: url(../img/dots.png);
    position: absolute;
    bottom: -30px;
    left: 40px;
    width: 70%;
    height: 80%;
    z-index: -1; 
}

#about h2{
    font-weight: 800 !important;
    color:#343434 !important;
    font-size: 30px;
    line-height: 33px;
}


#about .progress{
    font-size: 13px !important;
    height:25px !important;
    background-color: #F7F7F7 !important;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.144) inset;
}


#about .progress-bar{
    background-color:var(--main-color) !important ;
}

#about .progress-bar  > div{
    position: relative;
    top:3px !important;
}


#about .col-lg-7 p{
    font-size: 15px !important;
    color:#748182;
    padding-top: 20px;
}


#about .about span {
    color:#999999;
    font-size: 14px;
}


#about .mt-4 button{
    font-size: 13px !important;
    font-weight: 400;
    line-height: 19px;
    padding: 10px 30px;
}

#about .mt-4 button:nth-child(1){
    background-color: var(--main-color) ;
    border: 1px solid var(--main-color) !important;
    transition: all 0.25s;
}

#about .btn-1:hover{
    background-color: white !important;
    color:black !important;
}


#about .btn-2{
    border: 1px solid white;
    transition: all 0.25s;
}

#about .btn-2:hover{
    background-color: var(--main-color) !important;
    color:white !important;
    border-color: var(--main-color);
}
/* -----------------> END About <----------------->*/



/* -----------------> Services <----------------->*/

#Services{
    background-color: #F7F7F7;
    padding: var(--main-padding) 0px;
}

#Services .row span{
    width: 65px;
    height:65px;
    background-color: #f4f4f4;
    transition: all 0.25s;
}

#Services .row span i{
    font-size: 30px !important;
    transform: translateY(-50%);
}

#Services .card p{
    font-size: 14px;
    color:#748182;
}

#Services .card h3{
    font-size: 18px;
    line-height: 20px;
    font-weight: 800;
    color: #343434 !important;
    padding: 20px 0px;
}  

#Services .card{
    box-shadow: 2px 2px 15px 2px rgb(0, 0, 0 ,0.08);
}



#Services .row .card:hover span{
    background-color: var(--main-color);
    color:white;
}
/* -----------------> END Services <----------------->*/




/* ----------------->  Services <----------------->*/
#Portfolio{
    padding: var(--main-padding) 0px;
}

#Portfolio ul{
    padding-bottom: 35px;
}
#Portfolio ul li{
    padding-left: 10px;
}

#Portfolio ul li button{
    color:#222222 !important;
    position: relative;
    font-weight: 700;
}

#Portfolio ul li button.active::after{ 
    content: "";
    width:70%;
    height:3px;
    position: absolute;
    background-color: black !important;
    bottom: 2px;
    left:50%;
    transform: translateX(-50%);
    animation-name: widthActive;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-direction: alternate;

}

@keyframes widthActive {
    0%{
        width:0%;
    }
    100%{
        width:70% !important;
    }
}


#Portfolio .row .img .layer{
    background-color: rgba(255, 255, 255, 0.95);
    width:91%;
    height:97%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    text-align: center;
}

#Portfolio .row  .img .layer .info{
    position: relative;
    top:50% !important;
    transform: translateY(-50%);
}

#Portfolio .row  .img .layer .info >*{
    padding-bottom: 30px;
    transition: all 0.5s;
}

#Portfolio .row  .img:hover .layer{
    padding: 0px !important;
    opacity: 1;
    visibility: visible;

}

#Portfolio .row  .img .layer h4{
    font-size: 12px;
    font-weight: 700;
}


#Portfolio .row  .img .layer span i{
    padding: 8px;
    background-color: var(--main-color);
    color:white;
    border-radius: 50%;
    font-size: 14px;
    border: 1px solid transparent;

}

#Portfolio .row  .img .layer span i:hover{
    color:black;
    background-color: white;
    border-color:var(--main-color) !important;
}

#Portfolio .row  .img:hover .info >*{
    padding: 0px;
}
/* -----------------> END Portfolio <----------------->*/





/* Testimonials */
/* -----------------> Testimonials <----------------->*/
#Testimonials {
    background-color: #F7F7F7;
    padding: var(--main-padding) 0px;
}



#Testimonials .carousel-inner img{ 
    width:90px !important;
}


#Testimonials .carousel-inner p{
    color:#748182;
    font-size: 15px !important;
    line-height: 24px;
}

#Testimonials .slide .carousel-indicators{
    position: relative;
    top: 300px !important;
}

#Testimonials .slide .carousel-indicators button{
    height:10px;
    width:10px;
    margin-right: 10px;
    background-color: #d6d6d6;
}

#Testimonials .slide .carousel-indicators .active{
    background-color: #869791 !important;
}

#Testimonials .slide h4{
    color:#343434 !important;
    line-height: 18px !important;
}

#Testimonials .slide .author p{
    font-size: 12px !important;
    line-height: 17px;
    font-weight: 600;
    color:#888888;
}
/* -----------------> END Testimonials <----------------->*/



/* -----------------> Clients <----------------->*/

#Clients{
    padding: var(--main-padding) 0px;
}

#Clients .row .icon i{
    font-size: 30px;
    color:#343434;
}

#Clients .row .icon #counter{
    font-weight: 900;
    font-size: 30px;
}

#Clients .row .icon p:last-child{
    font-size: 15px !important;
    font-weight: 600 !important;
    color:#748182;
}
/* -----------------> END Clients <----------------->*/






/* -----------------> Team <----------------->*/
#Team{
    background-color: #F7F7F7;
    padding: var(--main-padding) 0px;
}


#Team .row .card-body{
    background-color: #5B5B5B;
}

#Team .row .card-body h3{
    font-size: 25px !important;
    line-height: 28px !important;
    font-weight: 500 !important;
}


#Team .row .card-body h4{
    font-size: 20px !important;
    line-height: 22px !important;
    font-weight: 700 !important;
}

#Team .row img{
    transition: scale 0.5s;
}

#Team .row .img:hover img{
    scale: 1.18;
}


#Team .row .layer{
    background-color: rgba(255, 255, 255, 0.9);
    width:0%;
    height:0%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: rotateY(180deg);
    transition: all 0.5s;
}


#Team .row .layer span{
    width:40px;
    height:40px;
    background-color: black;
    border-radius: 50%;
    color:white;
    position: relative;
    margin-inline: 10px;
    visibility: hidden;
    opacity: 0;
}

#Team .row .layer span:hover{
    background-color: white;
    color:var(--main-color);
    border: 1px solid var(--main-color);
}

#Team .row .layer span i{
    transform: translateY(40%);
}

#Team .row .person:hover .layer{
    opacity: 1;
    visibility: visible;
    transform: rotateY(360deg);
    width:97%;
    height:97%;
}
#Team .row .person:hover span{
    visibility: visible;
    opacity: 1;
}
/* -----------------> END Team <----------------->*/




/* -----------------> Contact <----------------->*/
#Contact{
    padding: var(--main-padding) 0px !important;

}

#Contact span{
    font-size: 25px;
    line-height: 25px;
    width: 55px;
    height:55px;
    background-color: #eeeeee;
}

#Contact span i{
    transform: translateY(-50%);
}

#Contact .info p{
    font-size: 15px !important;
    color:#748182;

}

#Contact form input{
    background-color: #F4F4F4;
    border: none;
    height:40px;
    outline-color: transparent;
}

#Contact form textarea{
    background-color: #F4F4F4;
    border: none;
    height:160px;
    outline-color: transparent;
}

#Contact form button{
    background-color: var(--main-color);
    font-size: 13px !important;
    width:130px
}

#Contact .container .col-sm-12 span{
    transition: all 0.25s;
}

#Contact .container .col-sm-12:hover span{
    background-color: var(--main-color);
    color:white;
}
/* -----------------> END Contact <----------------->*/


#footer{
    background-color: var(--main-color);
}
#footer p{
    color:#748182;
    font-size: 13px;
    line-height: 21px;
}