/********** Template CSS **********/
:root {
    --primary: #F3525A;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg i {
    font-size: 14px;
}

.btn-lg-square {
    width: 35px;
    height: 35px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 26px 23px;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.col-lg-2 {
    flex: 0 0 auto;
    width: 19.667% !important;
    padding: 0 4px;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .carousel-caption h1 {
        font-size: 19px !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .trasparant-box {
        width: 95vw !important;
    }

    .inner-box h3 {
        font-size: 20px !important;
    }

    .team-item img {
        height: auto !important;
    }

    .col-lg-2 {
        flex: 0 0 auto;
        width: 100% !important;
        padding: 0 4px;
    }

    .team-item .team-text {
        left: 0 !important;
        transition: .5s;
    }
}

.inner-box h3 {
    font-size: 30px !important;
    color: #fff;
    font-weight: bold !important;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item h3 {
    font-size: 18px;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

p {
    font-size: 14px !important;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
    font-size: 14px;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
    height: 250px;
    width: 100%;
    object-fit: cover;
    object-position: 0 19px;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

.carousel-caption h1 {
    font-size: 35px;
}

#header-carousel img {
    height: 500px;
    object-fit: cover;
    object-position: top;
}

.custom-font {
    font-size: 23px;
}



.hero-section {
    background: url('../servises-bg-img/Book-Keeping.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.contact-us-bg {
    background: url('../servises-bg-img/contact-us.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}




.service-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.service-content {
    margin-top: 30px;
}

.features-section h5 {
    color: #007bff;
}


.mega-menu {
    background-color: #f8f9fa;
    /* Matches the navbar background */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Add a subtle shadow for better visibility */
}

.mega-menu .dropdown-item {
    padding: 8px 15px;
    /* Adjust spacing for a balanced look */
    font-size: 14px;
    /* Standard font size */
}

.mega-menu .dropdown-header {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
}



.clients-section {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    text-transform: uppercase;
}

.clients-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.clients-list li {
    background-color: #ffffff;
    padding: 15px 0;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    color: #000;
    transition: transform 0.3s, box-shadow 0.3s;
    transition: 0.2s ease-in-out !important;
}

.clients-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    background-color: #3babdb;
    color: #fff;
}


.display-4 {
    color: #fff !important;
}

.testimonial-item p {
    font-size: 14px !important;
}

.testimonial-item span {
    font-size: 14px !important;
}







.team-text h3 {
    font-size: 20px;
}

.team-text p {
    font-size: 14px !important;
    text-transform: capitalize !important;
}



.trasparant-box {
    background-color: #007bff70;

    padding: 14px 0;
    text-align: start;
    width: 52vw;
    border-radius: 4px;
}

.trasparant-box {
    margin: 0 auto;
}




.cst-btn {
    padding: 10px 20px;
    background-color: #f3525a;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 4px;
}

.cst-btn:hover {

    background-color: #04214d;
    color: #fff;

}