* {
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
    color: #212529;
}

body {
    overflow-x: hidden !important;
}


/* ***************************** Global styling *************************** */

.theme-txt {
    color: #CE3841;
    font-weight: 400;
}

.theme-btn-1 {
    font-size: 18px;
    font-weight: 600;
    padding: 7px 20px;
    border: none;
    color: white;
    background-color: #CE3841;
    background-image: linear-gradient(to right, #212529 50%, #CE3841 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.5s, background-color 0.5s;
    position: relative;
    overflow: hidden;
}

.theme-btn-1:hover {
    background-position: left bottom;
    color: white;
}


.bullet-points ul li:before {
    content: "\f00c";
    color: #CE3841;
    position: absolute;
    font-size: 22px;
    font-family: "fontawesome" !important;
    left: 0;
    top: -2px;
}

.bullet-points ul li {
    position: relative;
    list-style: none;
    padding-left: 35px;
    font-size: 18px;
    margin-bottom: 9px;
}

.bullet-points ul {
    padding-left: 0;
}

/* Ensuring the text color stays white during the transition */
.theme-btn-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #D9666D;
    z-index: -1;
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.theme-btn-1:hover::after {
    transform: translateX(0);
}



/* ************************* Topbar Styling ********************************** */

.top-bar {
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.top-bar ul li a {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #162328;
    text-decoration: none;
}

.top-bar ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 3px;
    background-color: #D9666D;
    transition: width 0.3s ease-in-out;
    box-shadow: 1px 7px 17px #d9666d70;
}

.top-bar ul li a:hover::after {
    width: 100%;
}

.top-bar ul li a:hover,
.top-bar ul li a.active {
    color: #CE3841 !important;

}

.top-bar ul li a.active::after {
    width: 100%;
    color: #CE3841;
}

.top-bar ul li:not(:last-child) {
    margin-right: 25px;
}

/* ****************************** hero section ******************** */

.banner-bg {
    padding: 10% 0 6% 0;
}

.hero-section .static-txt {
    font-size: 50px;
    color: #212529;
    font-weight: bold;
}

/* animated text styling  */

.animatedText {
    color: #212529;
    text-align: center;
    font-size: 30px;
    display: inline-block;
    padding: 0;
    border-right: 1px solid #414141;
}

.text-wrapper {
    height: 110px !important;
}


/* ************************* Services sec Styling *************************  */

.top-services-sec {
    background-color: #F2F2F2;
    padding: 80px 0px;
}

.card.service-card {
    position: relative;
    border: none;
    height: 100%;
    padding: 7px;
    border-bottom: 3px solid #ce3841;
    box-shadow: 2px 6px 10px 0px lightgray;
    border-radius: 18px;
    background-color: white;
    color: black;
    overflow: hidden;
    transition: color 0.5s ease;
}


.card.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: #CE3841;
    z-index: 0;
    transition: height 0.5s ease;
}

.card.service-card:hover::before {
    height: 100%;
}

.card.service-card:hover {
    color: white;
}

.card.service-card * {
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}

.card.service-card:hover * {
    color: white;
}

.service-card.default-dark {
    background: #212529 !important;
}

.service-card.default-dark * {
    color: white !important;
}


/* images section styling  */

.img-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: #fff;
    /* Initial background color */
    color: #000;
    /* Initial text color */
    transition: background-color 0.5s ease, color 0.5s ease;
    position: relative;
    overflow: hidden;
}

.img-content * {
    transition: color 0.5s ease;
}

.img-content:hover {
    background-color: #ce3841;
    color: #fff;
    /* Change text color on hover */
}

.img-content:hover * {
    color: #fff;
    /* Change all child elements' text color on hover */
}

.img-content i {
    font-size: 40px;
    color: #ce3841;
    display: block;
    margin-bottom: 13px;
}

.img-content h3 {
    font-weight: 600;
    margin-bottom: 19px;
}

.img-content p {
    line-height: 1.8rem;
}



/********************* testi monial sec styling  *********************/


section.test-sec {
    padding: 80px 0px;
    background: #f2f2f2;
}

.carousel-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: none;
}

.carousel-control-prev-icon:before,
.carousel-control-next-icon:before {
    content: '';
    font-family: FontAwesome;
    font-size: 2rem;
}

.carousel-control-prev-icon:before {
    content: '\f053';
    /* FontAwesome left arrow icon */
}

.carousel-control-next-icon:before {
    content: '\f054';
    /* FontAwesome right arrow icon */
}

.test-sec .carousel-item h5 {
    font-size: 25px;
    font-weight: 600;
}

.carousel-item p.text-muted {
    font-size: 18px;
    line-height: 30px;
    padding: 0px 125px !important;
}

.test-sec .carousel-item i {
    font-size: 25px;
    color: #ce3841;
}



/* footer styling  */

.footer-wrapper {
    min-height: 100%;
    margin-bottom: -60px;
    /* Height of the footer */
}

.footer {
    height: 60px;
    /* Height of the footer */
    background-color: #343a40;
    /* Dark background color */
    color: #ffffff;
    /* Text color */
}

.footer p {
    margin: 20px 0;
    /* Adjust top and bottom margin */
}

/* Social icons style */
.social-icons {
    margin-top: 10px;
    /* Adjust top margin */
}

.social-icons a {
    color: #ffffff;
    /* Social icon color */
    margin-right: 10px;
    /* Adjust space between icons */
}

.bottom-bar {
    background: #212529;
}

.bottom-bar div {
    color: white;
    line-height: 1;
}

.social-media-wrapper * {
    color: #CE3841;
}

.footer h4 {
    position: relative;
    margin-bottom: 35px !important;
}

.footer h4::after {
    width: 90px;
    height: 2px;
    content: "";
    background: #ce3841;
    position: absolute;
    bottom: -10px;
    box-shadow: 1px 7px 17px #d9666d70;
    left: 0;
}

.footer a {
    color: #212529 !important;
}

.footer a:hover {
    color: #CE3841 !important;
}


/* **************** Service Hero Section Styling ******************** */

.inner-hero {
    padding: 14% 0 9% 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../assets/images/banner.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.service-hero h1 {
    text-align: center;
    font-weight: 700;
    font-size: 50px;
    color: white;
}

.service-hero p {
    text-align: center;
    color: white;
    font-size: 25px;
    margin-top: 19px;
    line-height: 1.5;
}


section.services-info .service h2 {
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
}

section.services-info .service p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 29px;
}

section.services-info .service h2::after {
    width: 90px;
    height: 2px;
    content: "";
    background: #ce3841;
    position: absolute;
    bottom: -10px;
    box-shadow: 1px 7px 17px #d9666d70;
    left: 0;
}


section.services-info .service .service-img img {
    width: 90%;
}


/* ******************* about us page styling ********************* */


.about-info {
    padding: 80px 0px;
}

.about-info p {
    font-size: 18px;
}


/* ***************** Contact Page Styling ************************  */

.contact-form-sec {
    padding: 80px 0px;
    background: #f2f2f2;

}

.form-field input,
.form-field textarea {
    border: none;
    border-bottom: 2px solid #ce3841;
    border-radius: 0px;
    margin-bottom: 30px;
    padding-bottom: 11px;
    font-size: 18px;
    background-color: transparent;
}

.form-field input:focus,
.form-field textarea:focus {
    box-shadow: none;
    outline: none;
    border-bottom: 2px solid #212529;
    background-color: transparent;

}


.card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ce3841;
    border-radius: 100%;
    font-size: 40px;
}

.card-icon i {
    color: white;
}

.contact-card-sec .card-body {
    padding: 24px;
    box-shadow: 2px -2px 21px lightgray;
}


/* *************** services inner pages styling start ****************************** */


section.inner-hero .inner-service .row h1 {
    font-size: 45px !important;
}

section.inner-hero .inner-service .row p {
    font-size: 19px;
}

section.outline-sec {
    padding: 25px 0px;
    background-color: #CE3841;
}


/* portoflio section styling  */

.recent-projects {
    background-color: #333;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.recent-projects h2 {
    color: #ff5252;
    font-weight: bold;
}

.recent-projects h2 span {
    color: white;
}

.recent-projects p {
    color: #ccc;
    margin-bottom: 30px;
}

.owl-carousel .item img {
    width: 100%;
    border-radius: 5px;
}

.owl-theme .owl-controls .owl-page span {
    background: #ccc;
}

.owl-theme .owl-controls .active span {
    background: #ff5252;
}

.fancybox__thumbs {
    background-color: #000;
}

.fancybox__thumb {
    border: 2px solid transparent;
}

.fancybox__thumb--active {
    border-color: #ff5252;
}

.fancybox-toolbar *,
.fancybox-button * {
    color: white !important;
}

.owl-item {
    padding: 0 10px;
}


/* portfolio section  */

/* ********************* Portfolio Section **************************  */

.portfolio-sec {
    margin: 50px 0;
    padding: 70px 0;
    background-color: #fff;
}

/* Slider Styling */
.sliders .port-slider {
    display: none;
    /* Initially hide all sliders */
}

.port-slider img {
    width: 100%;
    border-radius: 10px;
}

/* Slick Slider Customization */
.portfolio-sec .slick-slide {
    padding: 0 10px;
    /* Small gaps between slides */
}

.portfolio-sec .slick-dots li button:before {
    font-size: 13px !important;
    margin-top: 30px;
}

.portfolio .nav.nav-tabs {
    border: 1px solid transparent;
    margin-bottom: 29px;
}

.portfolio .nav.nav-tabs .nav-link {
    border-radius: 7px !important;
    font-size: 18px;
    background-color: #CE3841 !important;
    color: #fff;
    font-weight: 600;
}

.portfolio .nav.nav-tabs .nav-link:hover {
    border: 1px solid transparent;
}

.portfolio .nav.nav-tabs .nav-link.active {
    background-color: #162328 !important;
    color: white;
    border: 1px solid transparent;
}

.portfolio-sec li.nav-item {
    margin: 0px 8px;
}





.port-slider {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
}

.port-slider.slick-initialized {
    visibility: visible;
    opacity: 1;
}


.fancybox__toolbar * {
    COLOR: WHITE !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

/* Responsive Styling  */

@media only screen and (max-width: 1366px) {
    .hero-section .bullet-points {
        margin-top: 63px !important;
    }
}

@media only screen and (max-width: 1280px) {
    section.hero-section {
        padding: 7% 0px;
    }

    section.hero-section h1 {
        font-size: 48px !important;
    }

    section.hero-section li {
        font-size: 17px !important;
    }

    br {
        display: none;
    }

}

@media only screen and (max-width: 1024px) {
    .card.service-card {
        padding: 0 !important;
    }

    .card.service-card h4 {
        font-size: 18px;
    }

    .card.service-card p {
        font-size: 14px !important;
    }

    .inner-hero h1 {
        font-size: 40px;
    }

    .inner-hero p {
        font-size: 16px;
    }

    .inner-hero {
        padding: 20% 0 9% 0;
    }

}


@media only screen and (max-width: 991px) {

    nav ul.navbar-nav li a {
        display: block;
        text-align: center;
        margin: 10px 0px;
    }

    .top-bar ul li a:hover::after {
        width: 0;
    }

    .top-bar ul li:not(:last-child) {
        margin-right: 0;
    }

    .services-info {
        padding: 80px 0;
    }

    .service-img {
        text-align: center !important;
    }

    .service {
        padding: 30px 0;
    }

    .about-info p {
        font-size: 16px;
        line-height: 29px;
    }

    .info-imgs {
        padding-top: 30px;
        justify-content: center !important;
    }

    section.contact-form-sec .row {
        flex-direction: column-reverse;
    }

    section.inner-hero .inner-service .row h1 {
        font-size: 35px !important;
    }

    .outline-sec img {
        padding-top: 33px;
    }
}

@media only screen and (max-width: 690px) {
    section.hero-section {
        padding: 10% 0px 7% 0px;
    }

    section.hero-section h1 {
        font-size: 36px !important;
    }

    section.hero-section li {
        font-size: 16px !important;
    }

    .text-wrapper {
        height: 90px !important;
    }

    .theme-btn-1 {
        font-size: 16px;
        padding: 5px 15px;
    }

    .animatedText {
        font-size: 20px;
    }

    .hero-img {
        margin-top: 50px;
    }

    a.navbar-brand img {
        width: 125px;
    }

    .carousel-item p.text-muted {
        padding: 0px 70px !important;
    }

    .footer .widget img {
        width: 150px;
    }

    section.inner-hero {
        padding: 33% 0 15% 0;
    }

    section.inner-hero p {
        font-size: 14px !important;
    }

    .services-info {
        padding: 50px 0;
    }

    .services-info p {
        font-size: 16px !important;
    }

    .hero-section .container ul {
        margin-top: 50px;
    }

    .contact-form {
        margin-top: 40px;
    }

    .portfolio .nav.nav-tabs {
        display: block;
    }

    .portfolio .nav.nav-tabs li {
        margin-bottom: 8px;
    }

    .portfolio-sec .service-para {
        font-size: 12px;
        line-height: 18px;
        padding: 0px 14px;
    }
}

@media only screen and (max-width: 480px) {
    section.hero-section {
        padding: 25% 20px 5% 20px;
    }

    section.hero-section h1 {
        font-size: 36px !important;
    }

    section.hero-section li {
        font-size: 15px !important;

    }

    section.hero-section li::before {
        top: -5px;

    }

    .text-wrapper {
        height: 90px !important;
    }

    .theme-btn-1 {
        font-size: 16px;
        padding: 5px 15px;
    }

    .info-content h2 {
        font-size: 22px;
    }

    .info-content p {
        font-size: 16px !important;
    }

    .info-content h3 {
        font-size: 18px !important;
    }
}

@media only screen and (max-width: 414px) {
    section.inner-hero h1 {
        font-size: 25px;
    }

    section.inner-hero p {
        font-size: 13px !important;
    }

    .carousel-item p.text-muted {
        padding: 0px 45px !important;
    }

    p.text-muted {
        font-size: 14px !important;
        line-height: 25px !important;
    }

}