/********** Template CSS **********/
:root {
    --primary: #ca3a31;
    --primary-rgb: 202, 58, 49;
    --secondary: #1f2937;
    --light: #f9fafb;
    --dark: #111729;
    --dark-alt: #0d1220;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Color Palette Overrides */
.text-primary {
    color: var(--primary) !important;
}

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

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

.btn-primary {
    color: #ffffff !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #ffffff !important;
    background-color: #b3322a !important;
    border-color: #b3322a !important;
}

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

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

.hover-primary {
    transition: color 0.2s ease-in-out;
}

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

body {
    font-family: var(--font-body) !important;
    color: #4b5563 !important;
    background-color: #ffffff !important;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading) !important;
    color: #121416;
    letter-spacing: -0.02em;
}

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

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

h5, h6, .h5, .h6, .fw-normal {
    font-weight: 500 !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;
}

.spinner-logo {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.navbar-brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}


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

.btn.btn-primary,
.btn.btn-secondary {
    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;
}

.btn-outline-body {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

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


/*** Topbar ***/
.container-fluid.bg-dark {
    background-color: var(--dark) !important;
}

.topbar-link {
    color: #e2e8f0 !important;
    transition: .3s;
}

.topbar-link:hover {
    color: #FFFFFF !important;
}

.topbar-link i {
    color: var(--primary) !important;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 24px;
    padding: 30px 4px;
    color: #334155;
    font-weight: 500;
    text-transform: capitalize;
    outline: none;
    position: relative;
    transition: .3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 22px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.navbar.sticky-top {
    transition: .4s ease;
    z-index: 1020;
}

@media (min-width: 992px) {
    .navbar.sticky-top {
        top: -100px;
    }
    .navbar.sticky-top.shadow-sm {
        top: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .navbar.sticky-top {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        background: #ffffff !important;
    }

    .navbar-brand-logo {
        height: 38px;
    }

    .navbar-brand h1 {
        font-size: 1.5rem !important;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .navbar .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}

@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;
    }
}


/*** Minimal Hero Header ***/
.hero-header-minimal {
    position: relative;
    background: #111729;
    overflow: hidden;
}

.hero-header-minimal .owl-carousel-item {
    position: relative;
    height: 75vh;
    min-height: 560px;
    max-height: 720px;
}

.hero-header-minimal .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(17, 23, 41, 0.92) 0%, rgba(17, 23, 41, 0.7) 50%, rgba(17, 23, 41, 0.35) 100%);
    z-index: 2;
    padding-bottom: 70px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800 !important;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    max-width: 580px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-btn {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(202, 58, 49, 0.35);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #b3322a !important;
    border-color: #b3322a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 58, 49, 0.5);
}

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hero-btn-outline:hover {
    background: #ffffff;
    color: #111729 !important;
    border-color: #ffffff !important;
}

/* Minimal Hero Dots (clean small pagination pills at bottom center) */
.hero-header-minimal .owl-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.hero-header-minimal .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.hero-header-minimal .owl-dots .owl-dot.active {
    width: 24px;
    border-radius: 12px;
    background: #ffffff;
}

.hero-header-minimal .owl-dots .owl-dot img {
    display: none !important;
}

/* Hero Floating Stats Strip (Overlaying bottom right as shown in reference) */
.hero-stats-strip {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 4;
    pointer-events: none;
}

.hero-stat-col {
    position: relative;
}

.hero-stat-col .stat-icon {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-stat-col .stat-number {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800 !important;
    display: inline-block;
    line-height: 1;
}

.hero-stat-col .stat-plus {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    display: inline-block;
    color: var(--primary);
    margin-left: 2px;
}

.hero-stat-col .stat-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

@media (max-width: 991.98px) {
    .hero-header-minimal .owl-carousel-item {
        height: auto;
        min-height: 520px;
    }
    .hero-overlay {
        padding-bottom: 120px;
    }
    .hero-stats-strip {
        bottom: 15px;
    }
}

@media (max-width: 575.98px) {
    .hero-header-minimal .owl-carousel-item {
        min-height: 540px;
    }
    .hero-overlay {
        padding-top: 40px;
        padding-bottom: 130px;
    }
    .hero-stats-strip .stat-label {
        font-size: 11px;
    }
}

/*** Front Floating Section (Core Service Pillars) ***/
.front-floating-section {
    position: relative;
    z-index: 5;
    background: #f9fafb;
    border-bottom: 1px solid rgba(17, 23, 41, 0.05);
}

.front-floating-badge {
    letter-spacing: 1.5px;
    display: inline-block;
}

.floating-pillar-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.25rem 2rem 2rem 2rem;
    box-shadow: 0 10px 30px rgba(17, 23, 41, 0.06);
    border: 1px solid rgba(17, 23, 41, 0.07);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.floating-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #e0534a 100%);
    opacity: 0.85;
    transition: all 0.35s ease;
}

.floating-pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(202, 58, 49, 0.14);
    border-color: rgba(202, 58, 49, 0.3);
}

.floating-pillar-card:hover::before {
    height: 6px;
    opacity: 1;
}

.floating-pillar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.floating-pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(202, 58, 49, 0.08);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.35s ease;
}

.floating-pillar-card:hover .floating-pillar-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 20px rgba(202, 58, 49, 0.3);
}

.floating-pillar-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: rgba(17, 23, 41, 0.14);
    letter-spacing: -0.02em;
    transition: color 0.35s ease;
}

.floating-pillar-card:hover .floating-pillar-num {
    color: rgba(202, 58, 49, 0.4);
}

.floating-pillar-title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    color: #111729;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    min-height: 3.3rem;
    display: flex;
    align-items: center;
}

.floating-pillar-desc {
    font-size: 0.925rem;
    color: #555e6d;
    line-height: 1.65;
    margin-bottom: 1.15rem;
    flex-grow: 1;
}

.floating-pillar-highlight {
    background: #f9fafb;
    border-left: 3px solid var(--primary);
    padding: 0.75rem 0.95rem;
    border-radius: 0 10px 10px 0;
    font-size: 0.84rem;
    font-weight: 500;
    color: #242c38;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
}

.floating-pillar-highlight i {
    margin-top: 3px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.floating-pillar-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
    margin-top: auto;
}

.floating-pillar-link i {
    transition: transform 0.25s ease;
}

.floating-pillar-link:hover {
    color: #b3322a;
}

.floating-pillar-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 991.98px) {
    .floating-pillar-title {
        min-height: auto;
    }
}

/*** Page Header (Subpages Hero) ***/
.page-header {
    position: relative;
    background: linear-gradient(rgba(17, 23, 41, 0.78), rgba(17, 23, 41, 0.88)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: scroll;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    margin-bottom: 3.5rem !important;
}

.page-header .display-1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.page-header .breadcrumb-item {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: 0.3s;
}

.page-header .breadcrumb-item a:hover {
    color: #ffffff !important;
}

.page-header .breadcrumb-item.active {
    color: var(--primary) !important;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "/";
    padding: 0 0.5rem;
}

/*** Minimal Section Heading & Layout ***/
.section-title-wrap {
    position: relative;
    display: inline-block;
}

.section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800 !important;
    color: #121416;
    letter-spacing: -0.02em;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 8px;
    border-radius: 2px;
}

.minimal-about-img-box {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.minimal-about-img-box img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.minimal-about-img-box:hover img {
    transform: scale(1.03);
}

.minimal-about-text {
    font-size: 15.5px;
    line-height: 1.75;
    color: #495057;
}

.about-portfolio-box {
    background: #f9fafb !important;
    border: 1px solid rgba(17, 23, 41, 0.08) !important;
    border-left: 3px solid var(--primary) !important;
    transition: all 0.3s ease;
}

.about-portfolio-box:hover {
    border-color: rgba(202, 58, 49, 0.25) !important;
    border-left-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(17, 23, 41, 0.04);
}

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

.btn-outline-secondary-custom {
    color: #343a40;
    border: 1px solid #dee2e6;
    background: #ffffff;
    font-weight: 600;
    font-size: 14.5px;
    transition: all 0.3s ease;
}

.minimal-stat-card {
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eef2f5 !important;
}

.minimal-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07) !important;
    border-color: rgba(202, 58, 49, 0.25) !important;
}

.minimal-stat-num {
    font-size: 2.3rem;
    font-weight: 800 !important;
}

/*** Global Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13.5px;
}


/*** Facts & Feature Icons ***/
/* Unified Theme-tinted icons for images in facts, features & services */
.fact-item .fact-icon img,
.feature-icon-img,
.feature-img-icon,
.d-flex img[src*="img/icons/icon-"] {
    filter: invert(32%) sepia(65%) saturate(2200%) hue-rotate(340deg) brightness(90%) contrast(90%);
    transition: filter .5s ease;
}

/*** Feature Points List ***/
.feature-point-item {
    transition: transform 0.3s ease;
}

.feature-point-item:hover {
    transform: translateX(6px);
}

.feature-point-item .feature-point-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-point-item:hover .feature-point-icon {
    transform: scale(1.08);
}

.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    box-shadow: 0 4px 15px rgba(202, 58, 49, 0.12);
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--primary);
    box-shadow: 0 6px 20px rgba(202, 58, 49, 0.3);
}

.fact-item:hover .fact-icon img {
    filter: brightness(0) invert(1);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5s;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature Luxury Architectural Gallery Showcase ***/
.about-img,
.feature-img {
    position: relative;
    padding: 15px;
    z-index: 1;
}

.arch-showcase-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 16px;
    position: relative;
}

.arch-grid-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 23, 41, 0.12);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #f4f6f5;
}

.arch-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(202, 58, 49, 0.2);
}

.arch-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.arch-grid-item:hover img {
    transform: scale(1.05);
}

.arch-grid-item.item-tall {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.arch-grid-item.item-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.arch-grid-item.item-bottom {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.arch-floating-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: var(--dark);
    color: #ffffff;
    padding: 16px 22px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
}

.arch-floating-badge i {
    font-size: 28px;
    color: var(--primary);
}

.arch-floating-badge h6 {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.arch-floating-badge p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 12px;
}

@media (max-width: 576px) {
    .arch-showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 260px 180px 180px;
    }
    .arch-grid-item.item-tall {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .arch-grid-item.item-top {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .arch-grid-item.item-bottom {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .arch-floating-badge {
        position: static;
        margin-top: 15px;
    }
}




/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(15, 35, 28, .85);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
    background: var(--primary);
    color: #FFFFFF;
}

/*** Modern Service Overlay Cards ***/
.service-card-modern {
    position: relative;
    display: block;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #0d1220;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.service-card-modern .service-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: brightness(0.95);
}

.service-card-modern:hover .service-card-img {
    transform: scale(1.08);
    filter: brightness(1.02);
}

.service-card-modern .service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 18, 32, 0.02) 0%, rgba(13, 18, 32, 0.35) 45%, rgba(13, 18, 32, 0.92) 100%);
    transition: background 0.4s ease;
    z-index: 1;
}

.service-card-modern:hover .service-card-overlay {
    background: linear-gradient(180deg, rgba(13, 18, 32, 0.1) 0%, rgba(13, 18, 32, 0.48) 40%, rgba(13, 18, 32, 0.96) 100%);
}

.service-card-modern .service-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 26px 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card-modern .service-card-badge {
    align-self: flex-start;
    display: inline-block;
    background: rgba(202, 58, 49, 0.92);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.service-card-modern .service-card-title {
    color: #ffffff !important;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.01em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card-modern:hover .service-card-title {
    color: #ffffff !important;
    transform: translateX(2px);
}

.service-card-modern .service-card-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.service-card-modern .service-card-bar {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.35s ease, background-color 0.35s ease;
}

.service-card-modern:hover .service-card-bar {
    width: 52px;
    background: #ff574d;
}

.service-card-modern .service-card-arrow {
    color: #ffffff;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.service-card-modern:hover .service-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #ff574d;
}

@media (max-width: 767.98px) {
    .service-card-modern {
        height: 260px;
    }
    .service-card-modern .service-card-body {
        padding: 18px;
    }
    .service-card-modern .service-card-title {
        font-size: 1.18rem;
    }
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team & Founder ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.founder-card {
    border-radius: 12px;
    transition: all .4s ease;
    background: #FFFFFF;
    border: 1px solid #eef2f5;
}

.founder-card:hover {
    box-shadow: 0 12px 32px rgba(202, 58, 49, 0.12) !important;
    border-color: rgba(202, 58, 49, 0.25) !important;
    transform: translateY(-5px);
}

.founder-img-wrapper {
    overflow: hidden;
    position: relative;
    background: #f4f6f5;
    width: 100%;
    height: 270px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .6s ease;
}

.founder-card:hover .founder-img {
    transform: scale(1.04);
}



.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

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



/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 8px;
    transition: .5s;
    background: #f1f5f9;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    cursor: pointer;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 85px;
    height: 85px;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(202, 58, 49, 0.3);
}

.testimonial-carousel .owl-dots .owl-dot .testimonial-avatar-icon {
    font-size: 26px;
    color: var(--dark);
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active .testimonial-avatar-icon {
    font-size: 38px;
    color: #FFFFFF;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    display: none !important;
}


/*** Footer ***/
.footer {
    background-color: var(--dark) !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: #94a3b8;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

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

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 0.5px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}

.footer .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(202, 58, 49, 0.25);
}

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

.footer .copyright a {
    color: #94a3b8;
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/*** Clients & Sectors Section Styles ***/
.client-filter-btn {
    background: #ffffff;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.client-filter-btn:hover,
.client-filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(202, 58, 49, 0.25);
}

.client-box {
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
}

.client-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(202, 58, 49, 0.1) !important;
    border-color: rgba(202, 58, 49, 0.3) !important;
}

.client-avatar-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(202, 58, 49, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-location {
    font-size: 14px;
    font-weight: 700;
    color: #495057;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.client-firm-name {
    font-size: 1.25rem;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.client-sub-badge {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
}


.verified-tag {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
}

.footprint-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.footprint-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(202, 58, 49, 0.1);
    transform: translateY(-4px);
}

.proj-filter-btn {
    background: #ffffff;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.proj-filter-btn:hover,
.proj-filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(202, 58, 49, 0.25);
}

/* Dynamic Live Project Directory - Single Column Vertical Scroll */
.project-tabs-panel {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(17, 23, 41, 0.04);
}

.project-tabs-list {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    max-height: 520px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    gap: 10px !important;
    padding-right: 6px !important;
    padding-left: 2px !important;
}

/* Custom Sleek Scrollbar */
.project-tabs-list::-webkit-scrollbar {
    width: 6px;
}
.project-tabs-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.project-tabs-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.project-tabs-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.project-tab-btn {
    width: 100% !important;
    flex: 0 0 auto !important;
    text-align: left !important;
    background: #f8fafc !important;
    border: 1.5px solid #eef2f6 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    transition: all 0.25s ease !important;
    color: #1e293b !important;
    box-shadow: none !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.project-tab-btn:hover {
    background: #ffffff !important;
    border-color: rgba(202, 58, 49, 0.35) !important;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.project-tab-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(202, 58, 49, 0.28) !important;
}

.project-idx-badge {
    background: #e2e8f0;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    padding: 3px 8px;
    transition: all 0.2s ease;
}

.project-tab-btn.active .project-idx-badge {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.project-tab-status-text {
    font-size: 11.5px;
    font-weight: 700;
}
.project-tab-status-text.completed {
    color: #16a34a;
}
.project-tab-status-text.ongoing {
    color: #d97706;
}
.project-tab-status-text.upcoming {
    color: var(--primary);
}

.project-tab-btn.active .project-tab-status-text {
    color: rgba(255, 255, 255, 0.95) !important;
}

.project-tab-heading {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    transition: color 0.2s ease;
    line-height: 1.45;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.project-tab-btn.active .project-tab-heading {
    color: #ffffff !important;
}

.project-media-stage {
    position: relative;
    cursor: pointer;
}

.project-media-stage:hover .project-main-img {
    transform: scale(1.03);
}

.project-img-hover-overlay {
    position: absolute;
    bottom: 14px;
    right: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-media-stage:hover .project-img-hover-overlay {
    opacity: 1;
}

/* In-Page Project Image Lightbox Modal */
.project-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.project-lightbox-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.lightbox-open {
    overflow: hidden !important;
}

.lightbox-dialog {
    background: #ffffff;
    border-radius: 20px;
    max-width: 960px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.project-lightbox-modal.show .lightbox-dialog {
    transform: scale(1);
}

.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
}

.lightbox-close-btn {
    background: #f1f5f9;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(90deg);
}

.lightbox-image-wrap {
    flex: 1;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    max-height: 64vh;
}

.lightbox-image-wrap img {
    max-width: 100%;
    max-height: 64vh;
    object-fit: contain;
    display: block;
}

.lightbox-footer {
    padding: 14px 22px;
    border-top: 1px solid #edf2f7;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* Client Logo & Fallback Initial */
.client-avatar-badge img.client-logo-img {
    border-radius: 6px;
}

.client-avatar-badge .client-fallback-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients-marquee-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #ffffff 60%, #f8fafc 100%);
    padding: 55px 0 50px 0;
    border-top: 1px solid #e9edf2;
    border-bottom: 1px solid #e9edf2;
}

.clients-marquee-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(202, 58, 49, 0.35), var(--primary), rgba(202, 58, 49, 0.35), transparent);
}

.clients-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 15px 0;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.clients-marquee-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 26px;
    width: max-content !important;
    animation: clientsMarqueeScroll 85s linear infinite;
    will-change: transform;
}

.clients-marquee-track:hover {
    animation-play-state: paused;
}

.marquee-client-card {
    flex: 0 0 auto !important;
    width: 440px;
    min-height: 112px;
    padding: 16px 22px;
    background: #ffffff;
    border: 1.5px solid #e6eaf0;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(17, 23, 41, 0.05);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.marquee-client-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.35s ease;
}

.marquee-client-card:hover {
    transform: translateY(-6px);
    border-color: rgba(202, 58, 49, 0.4);
    box-shadow: 0 16px 36px rgba(202, 58, 49, 0.12) !important;
}

.marquee-client-card:hover::after {
    width: 100%;
}

/* High-Visibility Brand Logo Stage */
.marquee-logo-stage {
    width: 120px;
    height: 76px;
    min-width: 120px;
    margin-right: 18px;
    background: #ffffff;
    border: 1.5px solid #edf1f7;
    border-radius: 14px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.marquee-client-card:hover .marquee-logo-stage {
    transform: scale(1.04);
    border-color: rgba(202, 58, 49, 0.3);
    box-shadow: 0 6px 16px rgba(202, 58, 49, 0.1);
}

.marquee-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
    transition: transform 0.3s ease;
}

.marquee-fallback-badge {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(202, 58, 49, 0.1) 0%, rgba(202, 58, 49, 0.2) 100%);
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.5px;
}

.marquee-client-name {
    font-size: 1.16rem;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.marquee-location-badge {
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    color: #475569;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.marquee-client-service {
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b !important;
    line-height: 1.45;
}

@keyframes clientsMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hover-primary-btn:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Mobile Responsiveness for Marquee */
@media (max-width: 767.98px) {
    .clients-marquee-section {
        padding: 35px 0 30px 0;
    }

    .clients-marquee-track {
        gap: 14px !important;
        animation-duration: 70s;
    }

    .marquee-client-card {
        width: 320px !important;
        min-height: 88px !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
    }

    .marquee-logo-stage {
        width: 88px !important;
        height: 58px !important;
        min-width: 88px !important;
        margin-right: 12px !important;
        padding: 4px 8px !important;
        border-radius: 10px !important;
    }

    .marquee-client-card .marquee-client-name {
        font-size: 0.98rem !important;
    }

    .marquee-location-badge {
        font-size: 10.5px !important;
        padding: 2px 7px !important;
    }

    .marquee-client-card .marquee-client-service {
        font-size: 11.5px !important;
    }
}