/********** Template CSS **********/
:root {
    --primary: #6222CC;
    --secondary: #0e0101;
    --light: #f9f4f4;
    --dark: #04000B;
    /* --custom: linear-gradient(135deg, #ab0303, #0a0101); */
    --custom: #ed011b;
    --clr-primary:#c4002b;   /* Vivid red */
    --clr-dark:#111;
}

/* ---------- Heading ---------- */
.heading{
    font-size:clamp(1.35rem,1.2vw+1.25rem,2rem);
    color:var(--clr-dark);
    position:relative;
    padding-left:.75rem;
    margin-bottom:1.25rem;
}
.heading::before{
    content:"•";
    position:absolute;
    left:0;
    color:var(--clr-primary);
    font-size:1.25em;
    line-height:1;
}

.contact-badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf8f8;
    border-radius: 0.5rem;
  }

/* ---------- Table ---------- */
.table thead th{
    background:var(--clr-primary);
    color:#ed011b;
    border-color:var(--clr-primary);
    white-space:nowrap;
}
.table-bordered>:not(caption)>*{
    border-color:var(--clr-primary);
}
.table tbody tr{
    transition:background .2s;
}
.table tbody tr:hover{
    background:rgba(196,0,43,.06);
}

.table tbody tr td{
    vertical-align:middle;
    color: #04000B;
}

/* ---------- Contact badges ---------- */
.contact-badge{
    width:46px;height:46px;
    display:flex;align-items:center;justify-content:center;
    border-radius:.5rem;background:var(--clr-primary);color:#fff;
    flex-shrink:0;box-shadow:0 4px 10px rgba(0,0,0,.15);
}
.contact-link:hover{color:var(--clr-primary)!important;}

/* ---------- Card look ---------- */
.service-card{
    background:#fff;border:0;border-radius:1rem;box-shadow:0 6px 20px rgba(0,0,0,.08);
    overflow:hidden;
}

.custom-color {
    /* background: linear-gradient(135deg, #ab0303, #0a0101); */
    background: #ed011b;
}
.border-bottom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-color: #ed011b;
    padding: 2px;
}
.contact{
    background: #4ebc7a;
}

.logo{
    /* background: #FFFFFF; */
    width: auto;
    height: auto;

}

.btn-custom {
    background: var(--custom);
    color: white;
    border: none;
}

.btn-custom:hover {
    opacity: 0.9;
    color: white;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.btn-imp{
    color: #ffffff;
    background: #090000;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.product-item{
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f067";
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 8px;

}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 20px 0;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark) !important;
    outline: none;

}

.heading   { font-size: clamp(1.25rem, 1vw + 1.25rem, 2rem); }
.table thead th { background: #f8f9fa; font-weight: 600; }
/* Icon badges */
.contact-badge {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: .5rem; color: #120101; background: #dc3545;
    flex-shrink: 0;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #ed011b !important;
}



.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--custom);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        height: 80px;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--custom);
    }

    .navbar-light .navbar-nav .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar-light .btn {
        color: #090000;
        background: var(--light);
    }

    .sticky-top.navbar-light .btn {
        color: var(--light);
        background: var(--secondary);
    }
}


/*** Hero Header ***/
/* .hero-header {
    margin-bottom: 6rem;
    padding: 18rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png),
        url(../img/bg-bottom.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center,
        center bottom;
    background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
    }
} */

/* application */
.transition-hover {
    transition: all 0.3s ease-in-out;
}
.transition-hover:hover {
    transform: scale(1.02);
    opacity: 0.9;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title span:first-child,
.section-title span:last-child {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 2px;
}

.section-title span:last-child {
    margin-right: 0;
    margin-left: 0;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
    position: absolute;
    display: inline;
    width: 15px;
    height: 2px;

}

.section-title span:last-child::after {
    right: auto;
    left: auto;
}

.section-title.text-custom span:first-child,
.section-title.text-custom span:last-child,
.section-title.text-custom span:first-child::after,
.section-title.text-custom span:last-child::after {
    background: var(--custom);
}

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child::after {
    background: var(--secondary);
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child::after {
    background: #FFFFFF;
}

.btn-send i{
    color: #ab0303;
}
/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
}


/*** About ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Fact ***/
.fact {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: var(--light);
    overflow: hidden;
    transition: .5s;
}

/* .service-item:hover {
    margin-top: -15px;
    padding-bottom: 60px;
    background: var(--custom);
} */

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--light);
    /* background: url(../img/blob-primary.png) center center no-repeat; */
    background: var(--custom);
    background-size: contain;
    transition: .5s;
}

/* .service-item:hover .service-icon {
    color: var(--dark);
    background: url(../img/blob-secondary.png) center center no-repeat;
    background-size: contain;
} */

.service-item h5,
.service-item p {
    transition: .5s;
}

/* .service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
} */

.service-item a.btn {
    position: relative; /* Remove absolute */
    bottom: auto;
    left: auto;
    transform: none;
    color: var(--custom);
    background: var(--secondary);
    border-radius: 40px;
    transition: 0.5s;
    z-index: 1;
    margin-top: 10px;
}

.service-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.service-item:hover a.btn {
    bottom: 0;
}


.img-fluid-team{
    width: 100px;
    height: 100px;

}
.img-fluid-service{
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.blog{
    box-shadow:  0 0 10px rgb(6, 0, 0);
    border-radius: 10px;
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--custom);
    border-color: var(--custom);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(71, 69, 69, 0.9);
    transition: .5s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}


/*** Newsletter ***/
.newsletter {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
    padding: 0 30px 30px 30px;
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--custom);
    background: var(--light);
    border-radius: 60px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--custom);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}


/*** Team ***/
.team-item .btn {
    color: var(--custom);
    background: #090000;
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--custom);
}


/*** Footer ***/
.footer {
    margin-top: 6rem;
    padding-top: 9rem;
    background:
        url(../img/bg-top.png),
        url(../img/map.png);
    background-position:
        center top,
        center center;
    background-repeat: no-repeat;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--dark);
}
.btn-social:hover i {
    color: #ab0303 !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    transition: .3s;
}

a{
    color: var(--light) !important;
}
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--secondary);
}
