html {
    scroll-padding-block: 40px;
}

body {
    background-color: #f5f5f5;
}

li {
    list-style-type: none;
}

/*********** scroll up  ***************/
.scroll-up {
    display: inline-block;
    position: fixed;
    right: 20px;
    top: 90%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/**************  ******************/

/************** start of Navbar ******************/

.menu {
    color: #fff;
    font-size: 2rem;
}

.navbar-toggler,
.navbar-toggler:focus {
    border: 0;
    box-shadow: 0 0 0 0;
}

nav {
    background-color: rgb(26, 26, 26, 0.5);
}

.hover a {
    color: #fff;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.drop ul li a {
    color: #4e4e4e;
}

.drop ul a:hover {
    color: #0d6efd;
}

.dropdown-item:active {
    background-color: white;
}


.item-in ul {
    visibility: hidden;
    transition: all 1s;
}


.item-in:hover .item-out {
    visibility: visible;
    transition: all 1s;
}

.hover-drop {
    position: relative;
}

.hover-drop .dropdown-menu {
    visibility: hidden;
    display: block;
    transition: all 1s;
    position: absolute;
}

.hover-drop:hover .dropdown-menu {
    visibility: visible;
}


.item-out {
    padding: 1.5rem 1rem;
    position: absolute;
    left: -100%;
    background-color: white;
    border-radius: 10px;
    display: block;
}

.item-out li {
    padding: 5px 0;
    font-weight: 400;
}

.item-out a {
    text-decoration: none;
}

.hover a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    background-color: white;
    transition: all 0.4s ease-in-out;
}

.hover a:hover::before {
    width: 80%;
}

.active {
    border-bottom: 2px solid white;
    transition: all 0.4s ease-in-out;
}

/************** end of Navbar ******************/



/************** start of Header sections ******************/

header {
    background-image: url(../images/hero-bg.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    position: relative;
    z-index: 222;
}

header .layer {
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
}

.header-content h1 {
    color: #fff;
    font-weight: 600;
    font-size: 4.5rem;
}

.header-content p {
    color: #fff;
    font-weight: 600;
    font-size: 2.5rem;
}

.animated::after {
    content: "";
    animation: typing 10s infinite ease-in-out;
}

/************** end of Header sections ******************/



/************** start of About sections ******************/

.box-shadow {
    background-color: #fff;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.progress {
    background-color: #cde1f8;
    height: 0.7rem;
    margin: 0.5rem 0 1.2rem;
    border-radius: 0;
}

.about-me {
    position: relative;
}

.about-me::before {
    content: "";
    position: absolute;
    bottom: -10px;
    width: 100px;
    height: 3px;
    background-color: #0078ff;
}

/************** end of About sections ******************/


/************** start of Services sections ******************/

.heading h3 {
    font-size: 3rem;
}

.heading p {
    position: relative;
}

.heading p::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 50px;
    height: 6px;
    background-color: #0078ff;
    transform: translate(-50%, -50%);
}

.box-services {
    box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    background-color: #fff;
}

.box-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100px;
    height: 100px;
    box-shadow: 0 0 0 10px #0078ff;
    margin: auto;
    transition: all 500ms ease;
}

.box-circle i {
    font-size: 2.5rem;
}

.box-services:hover .box-circle {
    color: #fff;
    background-color: #0078ff;
    box-shadow: 0 0 0 10px #cde1f8;
}

/************** end of Services sections ******************/


/************** start of Counter sections ******************/

.counter {
    background-image: url(../images/counters-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

.layer {
    background-color: rgb(0 120 255 / 70%);
    width: 100%;
    height: 100%;
}

.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 0 10px #cde1f8;
    margin: auto;
}

.circle i {
    color: #fff;
    font-size: 1.8rem;
    padding-top: 1rem;
}

/************** end of Counter sections ******************/



/************** start of Work sections ******************/

.card,
.card span {
    border: 0;
    font-size: 0.8rem;
    box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}

.card-img {
    overflow: hidden;
}

.icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #0078ff;
    margin: auto;
    position: relative;
    top: 8px;
    left: 19px;
}

.icon a {
    position: absolute;
    left: 4px;
    top: -7px;
}

.icon i {
    font-weight: 400;
    font-size: 1.875rem;
}

.card:hover img {
    transform: scale(1.3);
}

.card img {
    transition: all 1s;
}

/************** end of Work sections ******************/


/************** start of Testimonial sections ******************/

.testimonial {
    background-image: url(../images/overlay-bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

.testimonial .active {
    border-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
}

.carousel-item p {
    margin: auto;
    max-width: 55%;
}

/************** end of Testimonial sections ******************/



/************** start of Blog sections ******************/

.card-box {
    box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgb(0 0 0 / 18%);
    border-radius: 0.375rem;
}

.card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.175);
    padding: 0.5rem 1rem;
}

.card-footer a img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.card-box a {
    text-decoration: none;
}

.card-footer a {
    color: #1e1e1e;
}

.text-card {
    position: absolute;
    top: -12px;
    left: 40%;
}

.text-card span {
    padding: 8px 12px;
    text-transform: uppercase;
    font-weight: 400;
}

.content-card h3 a {
    color: #1e1e1e;
}

.card-box a,
small span {
    transition: all 0.5s ease-in-out;
}

.content-card h3 a:hover,
.card-footer a span:hover {
    color: #0078ff;
}

/************** end of Blog sections ******************/



/************** start of Contact sections ******************/

#contact {
    background-image: url(../images/overlay-bg.jpg);
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    margin-top: 4rem;

}

#contact .heading {
    position: relative;
}

#contact .heading::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50px;
    width: 100px;
    height: 3px;
    background-color: #0078ff;
    transform: translate(-50%, -50%);
}

#contact .box {
    margin: 6rem 0 3rem;
    background-color: #fff;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.form-control {
    padding: .625rem .9375rem;
    border-radius: 0;
}

.form-control:focus {
    border-color: #0078ff;
}

textarea {
    height: 9.375rem;
}

#contact {
    box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}

#contact button {
    transition: all 0.4s;
}

#contact button:hover {
    background-color: #3393ff;
    box-shadow: 0 0 0 4px #cde1f8;
}

.social a {
    color: black;
}

.circle-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #0078ff;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.circle-icon:hover {
    background-color: #0078ff;
    color: white;
    box-shadow: 0 0 0 3px #cde1f8;
}


/************** end of Contact sections ******************/


/************** start of Footer sections ******************/

.footer {
    background-color: #0062d3;
}

.footer a {
    color: white;
    text-decoration: none;
}

/************** end of Footer sections ******************/