/* ================================= Start  Global Rules ================================= */
:root {
    --main-color: #09c;
    --secand-color: #cde1f8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    font-family: "Roboto", sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.main-title h2 {
    font-weight: 900;
    font-size: 4rem;
}

.main-title p {
    font-size: 0.9rem;
}

.main-title::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 5px;
    background-color: var(--main-color);
}

.sup-title::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: 0%;
    background-color: var(--main-color);
    width: 6rem;
    height: 3px;
}

/* ================================= End  Global Rules ================================= */

/* ================================= Start Navbar ================================= */
.navbar {
    z-index: 33333;
}

.navbar .navbar-brand {
    color: white;
}

.navbar .nav-link,
.navbar .nav-link.active {
    color: white;
    font-weight: 600;
    position: relative;
}

.navbar .nav-link::before {
    content: "";
    position: absolute;
    bottom: -0.65rem;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: white;
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
}

.navbar .nav-link:hover::before {
    width: 80%;
}

.navbar .active::after {
    content: "";
    position: absolute;
    bottom: -0.65rem;
    left: 0;
    width: 80%;
    height: 3px;
    background-color: white;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media screen and (max-width: 992px) {
    .bg-sm-light {
        background-color: white !important;
    }

    .navbar .navbar-brand,
    .navbar .icon::before,
    .navbar .nav-link,
    .navbar .nav-link.active {
        color: black;
    }

    .navbar .nav-link:hover {
        color: var(--main-color);
    }
}

/* ================================= End Navbar ================================= */
/* ================================= Start header ================================= */
.home {
    background-image: url(../img/hero-bg.jpg);
    background-position: center center;
    background-size: cover;
}

.home .layer {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.home .home-content h2 {
    font-size: 4rem;
    font-weight: 600;
}

.dynamic-text {
    height: 50px;
}

.dynamic-text h3 {
    position: relative;
    top: 0px;
    color: white;
    height: 100%;
    animation: slide 25s steps(5) infinite;
    -webkit-animation: slide 15s steps(3) infinite;
}

.dynamic-text h3 span {
    border-right: 10px solid rgb(255, 255, 255);
    width: 0px;
    display: inline-flex;
    overflow: hidden;
    white-space: nowrap;
    animation: typeing 5s steps(13) infinite;
    -webkit-animation: typeing 5s steps(14) infinite;
    height: auto;
}

@keyframes slide {
    to {
        top: -180px;
    }
}

@keyframes typeing {
    to {
        width: 210px;
    }
}

@media screen and (max-width: 767px) {
    html {
        font-size: 14px;
    }
}

/* ================================= End header ================================= */

/* ================================= Start About ================================= */
.about .skill .progress {
    height: 0.7rem !important;
}

/* ================================= End About ================================= */

/* ================================= Start services ================================= */
.services .container .icon,
.services .counter .icon {
    width: 120px;
    height: 120px;
    margin: auto;
    border: 10px solid var(--main-color);
    display: grid;
    place-items: center;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

.services .card:hover .icon {
    border-color: var(--secand-color);
    background-color: var(--main-color);
    color: white;
}

.services .counter {
    background-image: url(../img/counters-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

.services .counter .layer {
    padding: 8rem 0;
}

.services .counter .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-color: var(--secand-color);
    margin-bottom: 1.5rem;
}

.services .counter h3 {
    font-size: 0.9rem;
}

/* ================================= End services ================================= */

/* ================================= End services ================================= */
.work .card img {
    transition: 0.7s transform ease-in-out;
    -webkit-transition: 0.7s transform ease-in-out;
    -moz-transition: 0.7s transform ease-in-out;
    -ms-transition: 0.7s transform ease-in-out;
    -o-transition: 0.7s transform ease-in-out;
}

.work .card:hover img {
    transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -ms-transform: scale(1.3);
    -o-transform: scale(1.3);
}

.work .card .icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.work .card .card-title p {
    font-size: 0.8rem;
}

.work .fedback {
    background-image: url(../img/overlay-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

.work .carousel-indicators {
    bottom: -50px;
}

.work .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

@media screen and (min-width: 576px) {
    .modal-dialog {
        max-width: 65% !important;
    }
}

/* ================================= End services ================================= */
/* ================================= Start contact ================================= */
.contcat {
    background-image: url(../img/overlay-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

.contcat ul.social li a {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 5px solid var(--main-color);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    color: black;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.contcat ul.social li a:hover {
    border-color: var(--secand-color);
    background-color: var(--main-color);
    color: white;

}

/* ================================= End contact ================================= */

/* ================================= Start Footer ================================= */
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background-color: var(--main-color);
    border-radius: 50%;
    z-index: 22222222222222222;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }
  
  .back-to-top i {
    font-size: 30px;
    color: white;
  }
  
/* ================================= End Footer ================================= */