
/*** Spinner Start ***/
html,
body {
    overflow-x: hidden;
}

/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.form-control:focus {
    outline: 3px solid rgba(255, 193, 7, .65);
    outline-offset: 3px;
    box-shadow: none;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);
    border: none;
   
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary);
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top {
    transition: 1s;
    top: 0;
}

.navbar-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

.navbar {
    box-shadow: 0 12px 35px rgba(0, 18, 72, .08);
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    transition: .5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--bs-secondary);
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-secondary);
}

.nav-bar .navbar-toggler { 
    color: var(--bs-dark);
    box-shadow: none !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu {
    background: var(--bs-light);
    transition: 0.5s;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        margin-top: 15% !important;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        border: 0;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        position: relative;
        margin-top: 0;
        transition: 0.5s;
    }

    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }

    .navbar .navbar-nav .nav-item:hover::after,
    .navbar .navbar-nav .nav-item:hover::before,
    .navbar .navbar-nav .nav-item.active::after,
    .navbar .navbar-nav .nav-item.active::before {
        display: none;

    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .navbar-nav .nav-item.nav-link {
        padding: 12px 0;
    }
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 18, 72, 0.7), rgba(0, 18, 72, 0.7)), url(../img/projects/gallery/project-2-nesto-mbz-completed-3.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;   
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
    }
    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;    
    }
}

@media (max-width: 576px) {
    .carousel-item .carousel-caption h1 {
        font-size: 36px;
    }

    .carousel-item .carousel-caption p.fs-5 {
        font-size: 15px;
    }
}

.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 18, 72, .82) 0%, rgba(0, 18, 72, .58) 45%, rgba(0, 0, 0, .38) 100%);
    z-index: 1;
}

.carousel .carousel-inner .carousel-item .carousel-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.carousel-caption h1,
.carousel-caption h2 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 10px 35px rgba(0, 0, 0, .35);
}

.carousel-caption p.fs-5 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.carousel .carousel-indicators {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 5;
}

.carousel .carousel-indicators li,
.carousel .carousel-indicators li,
.carousel .carousel-indicators li {
    margin-right: 30px !important;
    width: 10px;
    height: 10px;
    border: 6px solid var(--bs-secondary);
    background: var(--bs-white);
    transition: 0.5s;
}

.carousel .carousel-indicators li.active {
    border: 10px solid var(--bs-primary);
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    background: transparent;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    left: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    right: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** Carousel End ***/


/*** About Start ***/
.about .about-item-content-img {
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-primary) var(--bs-primary) var(--bs-secondary);
    box-shadow: 0 20px 45px rgba(0, 18, 72, .12);
}

.about .about-item-image {
    position: relative;
    background: var(--bs-light);
    background-image: url(../img/about/about-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.about .about-item-image .img-1 {
    margin-bottom: 250px; 
    margin-right: 0;
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-light) var(--bs-light) var(--bs-secondary);
    z-index: 3;
}

.about .about-item-image .img-2 {
    margin-top: 250px; 
    margin-left: 0;
    border: 4px solid;
    border-color: var(--bs-light) var(--bs-secondary) var(--bs-secondary) var(--bs-light); 
    z-index: 3;
}

.about .about-item-image::before {
    width: 80%;
    height: 80%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-style: dotted;
    border-color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 2;
}

.about .about-item-image .about-item-image-content {
    width: 55%;
    height: 55%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bs-secondary);
    border: 4px solid var(--bs-primary);
    opacity: 0.9;
    z-index: 4;
}

.about .about-item-image .about-item-image-effect {
    position: absolute;
    top: 0;
    right: 0;
}
/*** About End ***/

/*** Features Start ***/
.feature .feature-item {
    position: relative;
    transition: 0.5s;
}
.feature .feature-item:hover {
    background: var(--bs-white);
    border: 1px solid transparent;
    box-shadow: 0 22px 55px rgba(0, 18, 72, .13);
    transform: translateY(-4px);
}

.feature .feature-item:hover a {
    transition: 0.5s;
}

.feature .feature-item:hover a:hover {
    color: var(--bs-secondary);
}

.feature .feature-item .feature-img img {
    border: transparent;
    transition: 0.5s;
} 

.feature .feature-item:hover .feature-img img {
    border: 1px solid var(--bs-secondary);
}  
/*** Features End ***/

/*** Content Enhancements Start ***/
.stat-item,
.detail-card,
.process-item,
.license-item,
.client-item {
    height: 100%;
    background: var(--bs-white);
    border: 1px solid rgba(0, 18, 72, .12);
    transition: .5s;
}

.stat-item:hover,
.detail-card:hover,
.process-item:hover,
.license-item:hover,
.client-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: translateY(-3px);
}

.stat-item .stat-number {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--bs-primary);
    line-height: 1;
}

.detail-card ul,
.process-item ul {
    padding-left: 0;
    list-style: none;
}

.detail-card li,
.process-item li {
    margin-bottom: 10px;
}

.detail-card li::before,
.process-item li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-secondary);
    margin-right: 10px;
}

.project-table {
    min-width: 900px;
}

.project-table th {
    color: var(--bs-white);
    background: var(--bs-primary);
    white-space: nowrap;
}

.project-table td {
    vertical-align: middle;
}

.badge-status {
    display: inline-block;
    padding: 6px 12px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    font-size: 13px;
    font-weight: 600;
}

.client-item {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bs-dark);
    font-weight: 600;
}

.contact-list a {
    display: block;
    color: var(--bs-dark);
    margin-bottom: 12px;
}
/*** Content Enhancements End ***/

/*** Services Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 1;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.08);
}

.service .service-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover:after {
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 18, 72, .18), rgba(0, 18, 72, .76));
}

.service .service-item .service-content {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%; 
    left: 0; 
    transform: translateY(-50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.service .service-item:hover .service-content {
    opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item:hover .service-content a.fs-4:hover {
    color: var(--bs-secondary);
}

.service .service-item .service-title {
    position: absolute;
    width: 100%;
    height: 80px; 
    bottom: 0; 
    right: 0;
    background: var(--bs-light);
    display: flex;
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-title {
    margin-right: -100%;
}

@media (hover: none), (max-width: 991px) {
    .service .service-item::after {
        height: 100%;
        background: rgba(0, 0, 0, .42);
    }

    .service .service-item .service-content {
        opacity: 1;
    }

    .service .service-item .service-title {
        display: none;
    }
}
/*** Services End ***/

/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.08);
}

.blog .blog-item .blog-content {
    background: var(--bs-white);
    box-shadow: 0 20px 55px rgba(0, 18, 72, .11);
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-secondary);
}
/*** Blog End ***/

/*** Contact Start ***/
.contact .contact-map {
    position: relative;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
}

.contact .contact-map::before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bs-primary);
    z-index: -1;
}

.contact .contact-map::after {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bs-secondary);
    z-index: -1;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(0, 18, 72, 0.9), rgba(0, 18, 72, 1)), url(../img/projects/photos/render-project-photos-p4.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-secondary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/

/*** Tirana-inspired homepage refresh ***/
.btn {
    border-radius: 0;
    letter-spacing: .01em;
}

.topbar {
    padding-top: 5px;
    padding-bottom: 5px;
}

.topbar a {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 14px;
}

.main-nav {
    min-height: 82px;
    border-bottom: 1px solid rgba(0, 18, 72, .08);
}

.main-nav .navbar-nav .nav-link {
    padding: 14px 12px;
    font-size: 18px;
}

.nav-cta {
    min-width: 138px;
}

.hero-wrap {
    position: relative;
    background: var(--bs-primary);
}

.hero-wrap .carousel .carousel-inner .carousel-item {
    height: 820px;
}

.hero-wrap .carousel .carousel-inner .carousel-item::after {
    background: linear-gradient(90deg, rgba(0, 18, 72, .92) 0%, rgba(0, 18, 72, .68) 42%, rgba(0, 0, 0, .22) 100%);
}

.hero-wrap .carousel .carousel-inner .carousel-item .carousel-caption {
    left: max(5%, calc((100vw - 1140px) / 2));
    right: auto;
    width: min(780px, 90vw);
    align-items: flex-start;
    text-align: left;
    padding-bottom: 125px;
}

.hero-wrap .carousel-caption h1,
.hero-wrap .carousel-caption h2 {
    max-width: 760px;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.02;
}

.hero-wrap .carousel-caption p.fs-5 {
    max-width: 670px;
    margin-left: 0;
    margin-right: 0;
}

.hero-actions {
    justify-content: flex-start;
}

.hero-wrap .carousel .carousel-indicators {
    margin-bottom: 150px;
}

.hero-wrap .carousel-control-prev .carousel-control-prev-icon,
.hero-wrap .carousel-control-next .carousel-control-next-icon {
    background: var(--bs-secondary);
}

.section-kicker {
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: .12em;
}

.section-kicker::after {
    content: "";
    display: inline-block;
    width: 46px;
    height: 2px;
    margin-left: 14px;
    vertical-align: middle;
    background: currentColor;
}

.hero-proof {
    position: relative;
    z-index: 8;
    margin-top: -98px;
}

.proof-card {
    min-height: 164px;
    padding: 30px 28px;
    color: var(--bs-primary);
    background: var(--bs-white);
    border-right: 1px solid rgba(0, 18, 72, .12);
    box-shadow: 0 28px 70px rgba(0, 18, 72, .18);
}

.proof-card i {
    color: var(--bs-secondary);
    font-size: 26px;
    margin-bottom: 14px;
}

.proof-card span {
    display: block;
    color: rgba(255, 255, 255, .82);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    font-size: 13px;
}

.proof-card strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 48px;
    line-height: 1;
}

.proof-card p {
    margin: 10px 0 0;
    color: #6f7587;
}

.proof-accent {
    color: var(--bs-white);
    background: var(--bs-secondary);
}

.proof-accent p {
    color: rgba(255, 255, 255, .88);
}

.home-section {
    position: relative;
}

.home-section h2 {
    line-height: 1.12;
}

.feature .feature-item,
.stat-item,
.detail-card,
.process-item,
.license-item,
.client-item,
.blog .blog-item {
    border-radius: 0;
}

.feature .feature-item {
    background: var(--bs-white);
}

.feature .feature-item:hover {
    transform: translateY(-8px);
}

.service .service-item {
    min-height: 420px;
    box-shadow: 0 24px 60px rgba(0, 18, 72, .12);
}

.service .service-item .service-img,
.service .service-item .service-img img {
    height: 420px;
}

.service .service-item .service-img img,
.blog .blog-item .blog-img img {
    object-fit: cover;
}

.service .service-item .service-title {
    background: var(--bs-white);
}

.blog .blog-item {
    background: var(--bs-white);
    box-shadow: 0 22px 60px rgba(0, 18, 72, .11);
}

.blog .blog-item .blog-img {
    height: 280px;
}

.blog .blog-item .blog-img img {
    width: 100%;
    height: 100%;
}

.blog .blog-item .blog-content {
    box-shadow: none;
}

@media (max-width: 991px) {
    .main-nav {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .navbar .navbar-brand {
        max-width: calc(100% - 70px);
    }

    .navbar-logo {
        max-width: 160px;
    }

    .navbar .navbar-toggler {
        margin-left: auto;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item {
        height: 720px;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item img {
        height: 720px;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item .carousel-caption {
        padding-bottom: 80px;
    }

    .hero-wrap .carousel .carousel-indicators {
        margin-bottom: 40px;
    }

    .hero-proof {
        max-width: 100%;
        margin-top: 0;
        padding: 0;
    }

    .proof-card {
        box-shadow: none;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 18, 72, .1);
    }
}

@media (max-width: 576px) {
    .hero-wrap .carousel .carousel-inner .carousel-item .carousel-caption {
        left: 24px;
        right: auto !important;
        width: 315px;
        max-width: calc(100vw - 48px);
        padding-bottom: 70px;
    }

    .hero-wrap .carousel-caption h1,
    .hero-wrap .carousel-caption h2 {
        max-width: 315px;
        font-size: 30px;
        line-height: 1.08;
    }

    .hero-wrap .carousel-caption p.fs-5 {
        max-width: 315px;
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-wrap .carousel-control-prev,
    .hero-wrap .carousel-control-next {
        display: none;
    }

    .section-kicker {
        letter-spacing: .08em;
        font-size: 15px !important;
    }

    .section-kicker::after {
        width: 28px;
        margin-left: 10px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .btn.py-3 {
        padding-top: .75rem !important;
        padding-bottom: .75rem !important;
    }

    .carousel-caption .d-flex {
        flex-direction: column;
        gap: 12px;
    }

    .carousel-caption .btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: center;
    }
}

/*** UI/UX Pro Max restrained enhancement pass ***/
:root {
    --hariwar-ink: #111827;
    --hariwar-muted: #5f6675;
    --hariwar-line: rgba(0, 18, 72, .11);
    --hariwar-soft: #f7f8fb;
    --hariwar-shadow-sm: 0 12px 30px rgba(0, 18, 72, .08);
    --hariwar-shadow-md: 0 24px 60px rgba(0, 18, 72, .14);
    --hariwar-shadow-lg: 0 34px 90px rgba(0, 18, 72, .2);
    --hariwar-radius: 8px;
}

body {
    color: var(--hariwar-muted);
    background: #fff;
    text-rendering: optimizeLegibility;
}

p,
li,
.footer .footer-item a,
.contact-list a {
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4 {
    letter-spacing: 0;
}

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

.bg-light {
    background-color: var(--hariwar-soft) !important;
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 18, 72, .14);
}

.btn:active {
    transform: translateY(0);
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    border-radius: 4px;
}

.main-nav {
    background: rgba(255, 255, 255, .96) !important;
    backdrop-filter: blur(12px);
}

.sticky-top.shadow-sm .main-nav,
.sticky-top.shadow-sm {
    box-shadow: 0 16px 42px rgba(0, 18, 72, .1) !important;
}

.navbar .navbar-nav .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--hariwar-ink);
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.navbar .dropdown-menu {
    border: 1px solid var(--hariwar-line);
    box-shadow: var(--hariwar-shadow-sm);
}

.dropdown .dropdown-menu .dropdown-item {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.hero-wrap .carousel .carousel-inner .carousel-item {
    min-height: 680px;
    height: min(820px, calc(100dvh - 45px));
}

.hero-wrap .carousel .carousel-inner .carousel-item img {
    height: 100%;
    object-fit: cover;
}

.hero-wrap .carousel-caption h1,
.hero-wrap .carousel-caption h2 {
    max-width: 760px;
    font-size: clamp(2.25rem, 5vw, 4.35rem);
    line-height: 1.08;
}

.hero-wrap .carousel-caption p.fs-5 {
    color: rgba(255, 255, 255, .9);
    line-height: 1.75;
}

.hero-wrap .carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-width: 4px;
    border-radius: 999px;
}

.hero-wrap .carousel .carousel-indicators li.active {
    border-width: 6px;
}

.proof-card {
    border: 1px solid var(--hariwar-line);
    border-right: 0;
    box-shadow: var(--hariwar-shadow-md);
}

.proof-card span {
    color: var(--bs-secondary);
}

.proof-card strong {
    color: var(--bs-primary);
}

.proof-accent strong,
.proof-accent span {
    color: var(--bs-white);
}

.proof-accent span {
    opacity: .88;
}

.section-kicker {
    font-family: "Roboto", sans-serif;
}

.home-section h2,
.container > .text-center h2,
.about-item-content h2 {
    max-width: 900px;
}

.feature .feature-item,
.stat-item,
.detail-card,
.process-item,
.license-item,
.client-item,
.blog .blog-item,
.service .service-item {
    border: 1px solid var(--hariwar-line);
    border-radius: var(--hariwar-radius);
}

.feature .feature-item,
.stat-item,
.detail-card,
.process-item,
.license-item,
.client-item {
    box-shadow: var(--hariwar-shadow-sm);
}

.feature .feature-item:hover,
.stat-item:hover,
.detail-card:hover,
.process-item:hover,
.license-item:hover,
.client-item:hover,
.blog .blog-item:hover,
.service .service-item:hover {
    box-shadow: var(--hariwar-shadow-md);
}

.service .service-item,
.service .service-item .service-img,
.service .service-item .service-img img,
.blog .blog-item,
.blog .blog-item .blog-img,
.blog .blog-item .blog-img img,
.feature .feature-img,
.feature .feature-img img {
    overflow: hidden;
    border-radius: var(--hariwar-radius);
}

.service .service-item .service-title {
    min-height: 88px;
    border-top: 1px solid var(--hariwar-line);
}

.service .service-item .service-content {
    padding: 24px;
}

.blog .blog-content a.h4,
.feature .feature-item h4,
.service .service-title a {
    color: var(--hariwar-ink);
    line-height: 1.35;
}

.badge-status {
    border-radius: 999px;
}

.project-table {
    overflow: hidden;
    border-radius: var(--hariwar-radius);
}

.table-responsive {
    border-radius: var(--hariwar-radius);
}

.form-control {
    min-height: 52px;
    color: var(--hariwar-ink);
    border: 1px solid var(--hariwar-line);
    border-radius: 4px;
}

.form-floating {
    border-color: var(--hariwar-line) !important;
    border-radius: 4px;
    background: var(--bs-white);
}

.form-floating > label {
    color: var(--hariwar-muted);
}

.contact .contact-map {
    border-radius: var(--hariwar-radius);
}

.contact .contact-map > div {
    box-shadow: var(--hariwar-shadow-sm);
}

.contact-list a {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 18, 72, .08);
}

.footer {
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 18, 72, .18);
    pointer-events: none;
}

.footer > .container {
    position: relative;
}

.footer .footer-item p,
.footer .footer-item a,
.copyright .text-body {
    color: rgba(255, 255, 255, .78) !important;
}

.footer .footer-item a:hover {
    letter-spacing: 0;
    color: var(--bs-secondary) !important;
    transform: translateX(4px);
}

.back-to-top {
    right: 24px;
    bottom: 24px;
    box-shadow: var(--hariwar-shadow-md);
}

@media (max-width: 991px) {
    .main-nav {
        min-height: 72px;
    }

    .navbar .navbar-collapse {
        margin-top: 16px;
        padding-top: 12px;
        border-top: 1px solid var(--hariwar-line);
    }

    .navbar .navbar-nav .nav-link,
    .dropdown .dropdown-menu .dropdown-item {
        padding-left: 4px;
        padding-right: 4px;
    }

    .nav-cta {
        width: 100%;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item {
        min-height: 650px;
        height: 650px;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item img {
        height: 650px;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item::after {
        background: linear-gradient(90deg, rgba(0, 18, 72, .92), rgba(0, 18, 72, .72));
    }

    .hero-wrap .carousel .carousel-inner .carousel-item .carousel-caption {
        padding-top: 72px;
        padding-bottom: 84px;
        justify-content: center;
    }

    .proof-card {
        border-right: 1px solid var(--hariwar-line);
        box-shadow: none;
    }

    .about .about-item-image .img-1,
    .about .about-item-image .img-2 {
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .container,
    .container-fluid {
        --bs-gutter-x: 1.25rem;
    }

    .topbar + .sticky-top,
    .sticky-top {
        top: 0;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item {
        min-height: 620px;
        height: 620px;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item img {
        height: 620px;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item .carousel-caption {
        left: 20px;
        max-width: calc(100vw - 40px);
        padding-top: 34px;
        padding-bottom: 44px;
        justify-content: flex-start;
    }

    .hero-wrap .carousel-caption h1,
    .hero-wrap .carousel-caption h2 {
        max-width: 100%;
        margin-bottom: 1.25rem !important;
        font-size: clamp(1.95rem, 8.4vw, 2.35rem);
        line-height: 1.12;
    }

    .hero-wrap .carousel-caption p.fs-5 {
        max-width: 100%;
        margin-bottom: 1.5rem !important;
        font-size: 16px;
        line-height: 1.65;
    }

    .hero-wrap .carousel .carousel-indicators {
        display: none;
    }

    .hero-wrap .section-kicker {
        display: none;
    }

    .proof-card {
        min-height: 138px;
        padding: 24px 22px;
    }

    .proof-card strong {
        font-size: 38px;
    }

    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .contact .contact-map {
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/*** Hariwar logo-aligned UI/UX refresh ***/
:root {
    --bs-primary: #2f3033;
    --bs-secondary: #e4332d;
    --bs-dark: #171719;
    --bs-light: #f7f4ef;
    --hariwar-red: #e4332d;
    --hariwar-red-dark: #bd2622;
    --hariwar-charcoal: #2f3033;
    --hariwar-cream: #f7f4ef;
    --hariwar-paper: #fffdfa;
    --hariwar-muted: #62646a;
    --hariwar-line: rgba(47, 48, 51, .12);
    --hariwar-shadow-sm: 0 12px 28px rgba(47, 48, 51, .08);
    --hariwar-shadow-md: 0 24px 58px rgba(47, 48, 51, .14);
    --hariwar-shadow-lg: 0 34px 90px rgba(47, 48, 51, .2);
}

body {
    color: var(--hariwar-muted);
    background: var(--hariwar-paper);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4 {
    color: var(--hariwar-charcoal);
}

a,
.text-primary {
    color: var(--hariwar-charcoal) !important;
}

.text-secondary,
.section-kicker,
.contact-list a i,
.footer .footer-item a i {
    color: var(--hariwar-red) !important;
}

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

.bg-secondary,
.btn.btn-secondary,
.badge-status {
    background-color: var(--hariwar-red) !important;
}

.bg-light {
    background-color: var(--hariwar-cream) !important;
}

.btn.btn-primary {
    color: var(--bs-white) !important;
    background: var(--hariwar-charcoal);
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover {
    color: var(--bs-white) !important;
    background: var(--hariwar-red-dark) !important;
}

.btn.btn-secondary {
    color: var(--bs-white) !important;
    box-shadow: 0 12px 24px rgba(228, 51, 45, .24);
}

.topbar {
    background: var(--hariwar-charcoal);
}

.main-nav {
    min-height: 76px;
    background: rgba(255, 253, 250, .97) !important;
    border-bottom: 1px solid var(--hariwar-line);
}

.navbar-logo {
    max-height: 46px;
}

.navbar .navbar-toggler {
    color: var(--bs-white);
    background: var(--hariwar-red);
    border: 0;
}

.navbar .navbar-nav .nav-link {
    color: var(--hariwar-charcoal) !important;
    border-radius: 4px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--hariwar-red) !important;
    background: rgba(228, 51, 45, .07);
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    border-color: var(--hariwar-red);
}

.hero-wrap {
    background: var(--hariwar-charcoal);
}

.hero-wrap .carousel .carousel-inner .carousel-item::after {
    background:
        linear-gradient(90deg, rgba(23, 23, 25, .9) 0%, rgba(47, 48, 51, .7) 48%, rgba(228, 51, 45, .22) 100%),
        linear-gradient(0deg, rgba(23, 23, 25, .35), rgba(23, 23, 25, .08));
}

.hero-media-reel {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--hariwar-charcoal);
}

.hero-media-reel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    animation: heroMediaReel 24s infinite;
}

.hero-media-reel img:nth-child(1) {
    opacity: 1;
    animation-delay: 0s;
}

.hero-media-reel img:nth-child(2) {
    animation-delay: 6s;
}

.hero-media-reel img:nth-child(3) {
    animation-delay: 12s;
}

.hero-media-reel img:nth-child(4) {
    animation-delay: 18s;
}

.hero-fallback-image {
    opacity: 0;
}

@keyframes heroMediaReel {
    0% {
        opacity: 0;
        transform: scale(1.04);
    }

    5%,
    25% {
        opacity: 1;
    }

    32%,
    100% {
        opacity: 0;
        transform: scale(1.13);
    }
}

.hero-wrap .carousel .carousel-inner .carousel-item .carousel-caption {
    padding-bottom: 110px;
}

.hero-wrap .carousel-caption h1,
.hero-wrap .carousel-caption h2 {
    text-wrap: balance;
}

.hero-wrap .carousel .carousel-indicators li {
    border-color: var(--hariwar-red);
}

.hero-wrap .carousel .carousel-indicators li.active {
    border-color: var(--hariwar-paper);
    background: var(--hariwar-red);
}

.proof-card {
    color: var(--hariwar-charcoal);
    background: var(--hariwar-paper);
    border-color: var(--hariwar-line);
}

.proof-card strong {
    color: var(--hariwar-charcoal);
}

.proof-accent {
    background: var(--hariwar-red);
}

.proof-accent strong,
.proof-accent span,
.proof-accent p {
    color: var(--bs-white) !important;
}

.feature .feature-img,
.service .service-content .btn-xl-square {
    background: rgba(228, 51, 45, .1) !important;
}

.feature .feature-img i,
.service .service-content .btn-xl-square i,
.service .service-title i {
    color: var(--hariwar-red) !important;
}

.feature .feature-item,
.stat-item,
.detail-card,
.process-item,
.license-item,
.client-item,
.blog .blog-item,
.service .service-item {
    background: var(--hariwar-paper);
    border-color: var(--hariwar-line);
}

.service .service-item::after {
    height: 100%;
    background: linear-gradient(180deg, rgba(23, 23, 25, .06) 0%, rgba(23, 23, 25, .82) 100%);
}

.service .service-item .service-content {
    top: auto;
    bottom: 0;
    transform: none;
    opacity: 1;
    text-align: left !important;
}

.service .service-item .service-content .btn-xl-square {
    width: 72px !important;
    height: 72px !important;
    margin-left: 0 !important;
}

.service .service-item .service-content a.fs-4,
.service .service-item .service-content .d-block.fs-4 {
    margin-top: 18px !important;
    margin-bottom: 12px !important;
    color: var(--bs-white) !important;
    line-height: 1.25;
}

.service .service-item .service-title {
    display: none;
}

.service .service-item:hover:after {
    background: linear-gradient(180deg, rgba(47, 48, 51, .12) 0%, rgba(23, 23, 25, .88) 100%);
}

.blog .blog-content a.h4:hover,
.feature .feature-item a:hover,
.service .service-content a.fs-4:hover,
.service .service-content .d-block.fs-4:hover {
    color: var(--hariwar-red) !important;
}

.footer {
    background: linear-gradient(rgba(23, 23, 25, .92), rgba(23, 23, 25, .96)), url(../img/projects/photos/render-project-photos-p4.jpg);
}

.footer::before {
    background: linear-gradient(120deg, rgba(228, 51, 45, .2), transparent 42%);
}

.footer-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.footer-fact {
    padding: 12px;
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 6px;
}

.footer-fact strong {
    display: block;
    color: var(--bs-white);
    font-size: 18px;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .hero-wrap .carousel .carousel-inner .carousel-item,
    .hero-wrap .carousel .carousel-inner .carousel-item img {
        height: 610px;
        min-height: 610px;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item .carousel-caption {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .service .service-item,
    .service .service-item .service-img,
    .service .service-item .service-img img {
        min-height: 360px;
        height: 360px;
    }
}

@media (max-width: 576px) {
    .topbar {
        display: none !important;
    }

    .main-nav {
        min-height: 68px;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .navbar-logo {
        max-width: 148px;
        max-height: 42px;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item,
    .hero-wrap .carousel .carousel-inner .carousel-item img {
        height: 560px;
        min-height: 560px;
    }

    .hero-wrap .carousel .carousel-inner .carousel-item .carousel-caption {
        padding-top: 36px;
        padding-bottom: 38px;
    }

    .hero-wrap .carousel-caption h1,
    .hero-wrap .carousel-caption h2 {
        font-size: clamp(1.85rem, 8vw, 2.2rem);
    }

    .hero-wrap .carousel-caption p.fs-5 {
        font-size: 15px;
        line-height: 1.55;
    }

    .service .service-item,
    .service .service-item .service-img,
    .service .service-item .service-img img {
        min-height: 390px;
        height: 390px;
    }

    .service .service-item .service-content {
        padding: 20px !important;
    }

    .footer-facts {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media-reel img {
        animation: none !important;
    }

    .hero-media-reel img:first-child {
        opacity: 1;
        transform: none;
    }
}

