/********** Template CSS **********/
:root {
    --primary: #800020;
    --primary-dark: #590016;
    --secondary: #5F5F5F;
    --light: #F8F8F8;
    --dark: #111111;
}

html {
    scroll-padding-top: 105px;
}

body {
    overflow-x: hidden;
    color: #5F5F5F;
}

::selection {
    color: #FFFFFF;
    background: var(--primary);
}

/*** EKLAAVYA Logo Theme ***/
a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-dark);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.btn-primary {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #FFFFFF;
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.spinner-border.text-primary {
    color: var(--primary) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** 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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.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;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #292929;
    font-weight: 600;
    outline: none;
    position: relative;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        right: 0;
        bottom: 14px;
        left: 0;
        height: 2px;
        background: var(--primary);
        transform: scaleX(0);
        transition: transform .3s ease;
    }

    .navbar .navbar-nav .nav-link:hover::after,
    .navbar .navbar-nav .nav-link.active::after {
        transform: scaleX(1);
    }
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    body.mobile-menu-open {
        overflow: hidden;
    }

    .navbar {
        z-index: 1090;
    }

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1080;
        visibility: hidden;
        opacity: 0;
        background: rgba(17, 12, 14, .58);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        transition: opacity .3s ease, visibility 0s linear .3s;
    }

    body.mobile-menu-open .mobile-menu-backdrop {
        visibility: visible;
        opacity: 1;
        transition-delay: 0s;
    }

    .navbar .navbar-collapse,
    .navbar .navbar-collapse.collapsing {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        display: block !important;
        width: min(84vw, 340px);
        height: 100vh !important;
        padding: 1.25rem 1.35rem 1.5rem;
        overflow-x: hidden;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateX(105%);
        border-left: 1px solid rgba(128, 0, 32, .12);
        background: linear-gradient(155deg, #fff 0%, #fff 68%, #f8eef1 100%);
        box-shadow: -22px 0 55px rgba(27, 8, 14, .22);
        transition: transform .35s ease, opacity .25s ease, visibility 0s linear .35s;
    }

    body.mobile-menu-open .navbar .navbar-collapse {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0s;
    }

    .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.25rem;
        padding-bottom: .9rem;
        border-bottom: 1px solid rgba(128, 0, 32, .1);
    }

    .mobile-menu-head span {
        color: var(--primary);
        font-size: .74rem;
        font-weight: 700;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .mobile-menu-close {
        width: 36px;
        height: 36px;
        padding: 0;
        color: #222;
        border: 0;
        border-radius: 50%;
        background: #f6eff1;
        font-size: 1.35rem;
        line-height: 1;
        transition: color .25s ease, background .25s ease, transform .25s ease;
    }

    .mobile-menu-close:hover {
        color: #fff;
        background: var(--primary);
        transform: rotate(90deg);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: .45rem .35rem .45rem .8rem;
        border-left: 3px solid transparent;
        font-size: .96rem;
        transition: color .25s ease, border-color .25s ease, padding-left .25s ease;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        padding-left: 1rem;
        border-left-color: var(--primary);
        color: var(--primary);
    }

    .navbar .navbar-nav {
        margin-top: 0;
        padding: 0 !important;
        border-top: 0;
    }

    .navbar .dropdown-menu {
        padding: .35rem 0 .35rem 1rem;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .mobile-menu-contact {
        margin-top: 1.6rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(128, 0, 32, .1);
    }

    .mobile-menu-contact h6 {
        margin-bottom: .75rem;
        color: #777;
        font-size: .7rem;
        letter-spacing: .15em;
        text-transform: uppercase;
    }

    .mobile-menu-contact > a {
        display: block;
        margin-bottom: .42rem;
        color: #343034;
        font-size: .82rem;
        overflow-wrap: anywhere;
    }

    .mobile-menu-contact > a i {
        width: 20px;
        color: var(--primary);
    }

    .mobile-menu-actions {
        display: flex;
        gap: .5rem;
        margin-top: .85rem;
    }

    .mobile-menu-actions a {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0 7px 16px rgba(128, 0, 32, .2);
    }
}

@media (min-width: 992px) {
    .mobile-menu-head,
    .mobile-menu-contact,
    .mobile-menu-backdrop {
        display: none;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(17, 17, 17, .78), rgba(17, 17, 17, .42));
    z-index: 1;
}

#header-carousel .carousel-item {
    height: clamp(560px, 78vh, 720px);
}

#header-carousel .carousel-item > img {
    height: 100%;
    object-fit: cover;
}

#header-carousel .hero-title {
    max-width: 960px;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    font-weight: 700;
    line-height: 1.08;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .3);
}

#header-carousel .carousel-caption h4 {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.hero-actions .btn,
#header-carousel .carousel-caption > div > .btn {
    min-width: 150px;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        height: 520px;
        min-height: 520px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #header-carousel .hero-title {
        font-size: 2.15rem;
    }

    #header-carousel .carousel-caption h4 {
        font-size: .72rem;
        letter-spacing: .1em;
    }

    #header-carousel .carousel-indicators {
        display: none;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 44px;
    height: 44px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}


/*** Facts ***/
.fact-item {
    min-height: 108px;
    padding: .75rem !important;
    border-top: 2px solid var(--primary) !important;
    box-shadow: 0 7px 18px rgba(17, 17, 17, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

@media (min-width: 992px) {
    .about-section .img-border {
        height: 420px;
        min-height: 420px;
    }

    .about-section .img-border::before {
        right: 1.5rem;
        bottom: 1.5rem;
        border-width: 4px;
    }

    .about-section .img-border img {
        top: 1.5rem;
        left: 1.5rem;
        width: calc(100% - 1.5rem);
        height: calc(100% - 1.5rem);
    }

    .about-section h1 {
        font-size: 2.05rem;
        line-height: 1.2;
    }

    .about-section p {
        margin-bottom: .75rem;
        font-size: .95rem;
        line-height: 1.55;
    }
}

@media (max-width: 991.98px) {
    .about-section .img-border {
        height: 340px;
        min-height: 340px;
    }
}

@media (min-width: 992px) {
    .vision-section .img-border {
        height: 420px;
        min-height: 420px;
    }

    .vision-section .img-border::before {
        right: 1.5rem;
        bottom: 1.5rem;
        border-width: 4px;
    }

    .vision-section .img-border img {
        top: 1.5rem;
        left: 1.5rem;
        width: calc(100% - 1.5rem);
        height: calc(100% - 1.5rem);
    }

    .vision-section h1 {
        font-size: 2rem;
        line-height: 1.18;
    }

    .vision-section > .container > .row > div:first-child > div > p {
        font-size: .94rem;
        line-height: 1.5;
    }

    .vision-card h5 {
        margin-bottom: .45rem;
        font-size: 1.05rem;
    }

    .vision-card p {
        font-size: .88rem;
        line-height: 1.45;
    }
}

@media (max-width: 991.98px) {
    .vision-section .img-border {
        height: 340px;
        min-height: 340px;
    }
}

.fact-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(128, 0, 32, .12);
}

.fact-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(128, 0, 32, .08);
    border-radius: 50%;
    font-size: 16px;
    margin-bottom: .45rem !important;
}

.fact-value {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
}

.fact-item h6 {
    margin-bottom: .2rem !important;
    font-size: .86rem;
    line-height: 1.2;
}


/*** Service ***/
.service-item {
    padding: .85rem !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

#services .service-item::after {
    position: absolute;
    content: "";
    top: -35%;
    left: -70%;
    width: 38%;
    height: 170%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    animation: serviceCardShine 5.5s ease-in-out infinite;
}

#services .row > div:nth-child(2) .service-item::after { animation-delay: .45s; }
#services .row > div:nth-child(3) .service-item::after { animation-delay: .9s; }
#services .row > div:nth-child(4) .service-item::after { animation-delay: 1.35s; }
#services .row > div:nth-child(5) .service-item::after { animation-delay: 1.8s; }
#services .row > div:nth-child(6) .service-item::after { animation-delay: 2.25s; }

@keyframes serviceCardShine {
    0%, 68% {
        left: -70%;
        opacity: 0;
    }
    74% {
        opacity: .75;
    }
    88%, 100% {
        left: 135%;
        opacity: 0;
    }
}

.service-item:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 14px 30px rgba(128, 0, 32, .1);
    border-color: rgba(128, 0, 32, .2);
}

#services .service-item img {
    width: 100%;
    height: 105px;
    margin-bottom: .6rem !important;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

#services .service-item:hover img {
    transform: scale(1.045);
    filter: saturate(1.12) contrast(1.04);
}

#services .service-item h4 {
    margin-bottom: .4rem !important;
    font-size: 1rem;
    line-height: 1.2;
}

#services .service-item li {
    font-size: .78rem;
    line-height: 1.3;
}

@media (min-width: 992px) {
    #services .service-item {
        padding: .85rem !important;
    }

    #services .service-item img {
        width: 100%;
        height: 105px;
        margin-bottom: .6rem !important;
        object-fit: cover;
    }

    #services .service-item h4 {
        margin-bottom: .4rem !important;
        font-size: 1rem;
    }

    #services .service-item li {
        font-size: .78rem;
        line-height: 1.3;
    }
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item {
    padding: .8rem !important;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(17, 17, 17, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(128, 0, 32, .1);
}

.project-item .position-relative {
    margin-bottom: .55rem !important;
}

.project-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.project-item h6 {
    margin-bottom: .25rem;
    font-size: .95rem;
}

.project-item span {
    display: block;
    font-size: .82rem;
    line-height: 1.4;
}

.portfolio-section,
.industries-section {
    border-radius: 24px;
}

.portfolio-section {
    background: linear-gradient(135deg, #FCF9F9, #F6EEEE);
}

.industries-section {
    background: #FCFAFA;
}

#industries .row > div > div {
    border: 1px solid rgba(128, 0, 32, .1);
    box-shadow: 0 8px 22px rgba(17, 17, 17, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    min-height: 96px;
    padding: .85rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#industries .row > div > div:hover {
    transform: translateY(-5px);
    border-color: rgba(128, 0, 32, .28);
    box-shadow: 0 14px 28px rgba(128, 0, 32, .1);
}

#industries .row > div > div i {
    transition: transform .3s ease;
    font-size: 1.55rem;
    margin-bottom: .45rem !important;
}

#industries .row > div > div h6 {
    margin-bottom: 0;
    font-size: .82rem;
    line-height: 1.2;
}

#industries .row > div > div:hover i {
    transform: scale(1.08);
}

.cta-panel {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 18px 40px rgba(128, 0, 32, .2);
}

.cta-panel > .row > div:first-child > span {
    color: rgba(255, 255, 255, .72);
    letter-spacing: .12em;
}

.cta-panel .btn-light {
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(17, 17, 17, .15);
}

.cta-panel .btn-light:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer-brand {
    color: #333333;
    background: #F7F3F3;
    border-top: 4px solid var(--primary);
}

.footer-brand h4,
.footer-brand strong {
    color: #111111 !important;
}

.footer-brand .btn.btn-link {
    color: #555555;
}

.footer-brand .btn.btn-link::before {
    color: var(--primary);
}

.footer-brand .copyright {
    color: #333333;
    border-top-color: rgba(17, 17, 17, .12);
}

.footer-brand .copyright a {
    color: var(--primary) !important;
    font-weight: 700;
}

.footer-brand .copyright a:hover {
    color: var(--primary-dark) !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
.navbar-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.footer-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .navbar-logo {
        max-width: 180px;
        max-height: 72px;
    }
}

/*** Glossy Premium Finish ***/
:root {
    --gloss-highlight: rgba(255, 255, 255, .78);
    --gloss-border: rgba(255, 255, 255, .72);
    --gloss-shadow: 0 18px 45px rgba(39, 7, 16, .12);
}

body {
    background:
        radial-gradient(circle at 10% 5%, rgba(128, 0, 32, .045), transparent 24rem),
        linear-gradient(180deg, #ffffff 0%, #fffdfd 48%, #faf6f7 100%);
}

.navbar {
    background: rgba(255, 255, 255, .9) !important;
    border-bottom: 1px solid rgba(128, 0, 32, .1);
    box-shadow: 0 10px 30px rgba(39, 7, 16, .09);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
}

.btn-primary,
.back-to-top {
    overflow: hidden;
    isolation: isolate;
    border-color: rgba(255, 255, 255, .18) !important;
    background: linear-gradient(135deg, #aa123a 0%, var(--primary) 48%, var(--primary-dark) 100%) !important;
    box-shadow: 0 10px 24px rgba(128, 0, 32, .25), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.btn-primary {
    position: relative;
}

.back-to-top {
    position: fixed !important;
    right: 30px !important;
    bottom: 30px !important;
    left: auto !important;
}

.btn-primary::before,
.back-to-top::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: -80%;
    width: 48%;
    z-index: -1;
    transform: skewX(-22deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
    transition: left .55s ease;
}

.btn-primary:hover::before,
.back-to-top:hover::before {
    left: 135%;
}

.btn-primary:hover,
.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(128, 0, 32, .32), inset 0 1px 0 rgba(255, 255, 255, .36);
}

.section-title {
    border-radius: 999px;
    box-shadow: 0 7px 22px rgba(128, 0, 32, .07);
}

.fact-item,
.service-item,
.project-item,
#industries .row > div > div,
.testimonial-item {
    position: relative;
    overflow: hidden;
    border-color: rgba(128, 0, 32, .11) !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(249, 241, 243, .86)) !important;
    box-shadow: var(--gloss-shadow), inset 0 1px 0 var(--gloss-highlight) !important;
}

.fact-item::before,
.service-item::before,
.project-item::before,
#industries .row > div > div::before,
.testimonial-item::before {
    position: absolute;
    content: "";
    top: 0;
    left: 4%;
    width: 92%;
    height: 42%;
    pointer-events: none;
    border-radius: 0 0 50% 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0));
}

.fact-item > *,
.service-item > *,
.project-item > *,
#industries .row > div > div > *,
.testimonial-item > * {
    position: relative;
    z-index: 1;
}

.fact-item:hover,
.service-item:hover,
.project-item:hover,
#industries .row > div > div:hover {
    transform: translateY(-7px);
    border-color: rgba(128, 0, 32, .28) !important;
    box-shadow: 0 22px 46px rgba(128, 0, 32, .17), inset 0 1px 0 #fff !important;
}

.fact-icon,
#industries .row > div > div i {
    filter: drop-shadow(0 5px 8px rgba(128, 0, 32, .18));
}

.portfolio-section,
.industries-section {
    border: 1px solid rgba(255, 255, 255, .82);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(247, 237, 240, .78)),
        radial-gradient(circle at 90% 10%, rgba(128, 0, 32, .09), transparent 22rem);
    box-shadow: 0 24px 60px rgba(39, 7, 16, .08), inset 0 1px 0 #fff;
}

.project-item img,
.img-border img {
    filter: saturate(1.06) contrast(1.02);
}

.cta-panel {
    border: 1px solid rgba(255, 255, 255, .2);
    background: linear-gradient(125deg, #a60d35 0%, var(--primary) 42%, #3d000f 100%);
    box-shadow: 0 22px 48px rgba(128, 0, 32, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.cta-panel .btn-light {
    border: 1px solid rgba(255, 255, 255, .9);
    background: linear-gradient(145deg, #fff, #eee5e7);
    box-shadow: 0 10px 24px rgba(25, 0, 7, .2), inset 0 1px 0 #fff;
}

.footer-brand {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(239, 228, 231, .92)),
        radial-gradient(circle at 15% 0, rgba(128, 0, 32, .08), transparent 28rem);
    box-shadow: inset 0 1px 0 #fff;
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary::before,
    .back-to-top::before,
    #services .service-item::after {
        animation: none;
        transition: none;
    }
}

.fact-item {
    box-shadow: 0 10px 24px rgba(39, 7, 16, .09), inset 0 1px 0 rgba(255, 255, 255, .92) !important;
}

.fact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(128, 0, 32, .14), inset 0 1px 0 #fff !important;
}

/*** Mobile footer layout ***/
@media (max-width: 767.98px) {
    .footer .copyright {
        padding: .65rem 0 !important;
    }

    .footer .copyright .container {
        max-width: 100%;
        padding-right: 4px;
        padding-left: 4px;
    }

    .footer .copyright .row {
        --bs-gutter-x: 0;
    }

    .footer .copyright .col-md-6 {
        width: 100%;
        padding: 0 !important;
        margin-bottom: .25rem !important;
        white-space: nowrap;
        font-size: clamp(.56rem, 2.9vw, .68rem);
        line-height: 1.35;
    }

    .footer .copyright .col-md-6:last-child {
        margin-bottom: 0 !important;
    }

    .back-to-top {
        right: 12px !important;
        bottom: 70px !important;
        width: 40px;
        height: 40px;
    }
}
