@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700;900&family=Plus+Jakarta+Sans:wght@300;400;600&display=swap');

:root {
    --theme-blue: #1c81c9;
    --theme-black: #000000;
    --theme-dark: #111111;
    --theme-white: #ffffff;
    --theme-gray: #f4f5f7;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--theme-black);
    background-color: var(--theme-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #000;
}

.text-justify {
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;

}

/* Typography & Utilities */
.text-blue {
    color: var(--theme-blue) !important;
}

.bg-blue {
    background-color: var(--theme-blue) !important;
}

.bg-black {
    background-color: var(--theme-black) !important;
}

.bg-dark {
    background-color: var(--theme-dark) !important;
}

.bg-gray {
    background-color: var(--theme-gray) !important;
}

/* Modern Navbar */
.navbar-custom {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1030;
    background: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.navbar-custom.scrolled {
    background: var(--theme-white);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: fixed;
}

.navbar-custom.scrolled .navbar-brand,
.navbar-custom.scrolled .nav-link {
    color: var(--theme-black) !important;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--theme-white) !important;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: var(--theme-blue);
}

.nav-link {
    color: var(--theme-white) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

/* .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--theme-blue);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
} */

/* Modern Buttons */
.btn-modern {
    background: var(--theme-blue);
    color: var(--theme-white);
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
    transition: 0.4s;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--theme-black);
    z-index: -1;
    transition: 0.4s;
}

.btn-modern:hover::before {
    width: 100%;
}

.btn-modern:hover {
    color: var(--theme-white);
}

/* Hero Slider with Slow Zoom Animation */
.hero-slider,
.carousel-item {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    animation: zoomInOut 20s infinite alternate linear;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 800px;
    z-index: 10;
}

.carousel-caption-custom h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--theme-white);
}

/* Modern Products Grid (Magazine Style) */
.product-box {
    position: relative;
    overflow: hidden;
    height: 500px;
    cursor: pointer;
}

.product-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-box:hover img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--theme-white);
    transition: 0.4s;
}

.product-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
    display: inline-block;
}

.product-box:hover .product-link {
    opacity: 1;
    transform: translateY(0);
}

/* Solutions / Icon Boxes */
.feature-box {
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    background: var(--theme-dark);
}

.feature-box:hover {
    background: var(--theme-blue);
    border-color: var(--theme-blue);
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--theme-white);
    margin-bottom: 20px;
    display: block;
}

/* Minimalist Form Inputs (Floating Labels) */
.form-floating .form-control,
.form-floating .form-select {
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    background: transparent;
    padding-left: 0;
}

.form-floating .form-control:focus,
.form-floating .form-select:focus {
    box-shadow: none;
    border-bottom-color: var(--theme-blue);
}

.form-floating label {
    padding-left: 0;
    color: #888;
}

/* =========================================
   TOP BAR & SOLID NAVBAR (AIS Windows Style)
   ========================================= */
.top-bar {
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid #eaeaea;
    background-color: #fafafa;
}

.top-bar a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.top-bar a:hover {
    color: var(--theme-blue);
}

.top-bar-icon {
    font-size: 1rem;
    vertical-align: middle;
    margin-right: 5px;
}

/* Navbar Overrides for Mega Menu */
.navbar-custom {
    /* background: var(--theme-white) !important; */
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-brand {
    color: var(--theme-black) !important;
}

.nav-link {
    /* color: var(--theme-black) !important; */
    color: #fff !important;
}

/* =========================================
   MEGA MENU STYLING
   ========================================= */
/* Ensure parent is static so mega menu can position absolute to the container */
.nav-item.dropdown {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 850px;
    max-width: 95vw;
    border: none;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block;
    /* Override bootstrap display none */
}

/* Show Menu on Hover */
.nav-item.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: -1px;
    /* Overlap slightly for seamless hover */
}

/* Spaces Menu (2 Column Dotted) */
.spaces-menu-wrapper {
    padding: 30px;
}

.menu-item-dotted {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px dotted #ccc;
    transition: 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.menu-item-dotted i {
    font-size: 1.2rem;
    margin-right: 15px;
    color: #555;
    transition: 0.3s ease;
}

.menu-item-dotted:hover {
    color: var(--theme-blue);
    background-color: rgba(28, 129, 201, 0.03);
    border-bottom-color: var(--theme-blue);
}

.menu-item-dotted:hover i {
    color: var(--theme-blue);
}

/* Products Menu (3 Column Cascading) */
.products-mega-row {
    display: flex;
    min-height: 380px;
}

.col-menu {
    flex: 1;
    border-right: 1px solid #eaeaea;
}

.col-menu:last-child {
    border-right: none;
}

.menu-tab {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #444;
    cursor: pointer;
    border-bottom: 1px dotted #eaeaea;
    transition: 0.2s;
    font-weight: 500;
    font-size: 0.95rem;
}

.menu-tab i {
    font-size: 1.2rem;
    margin-right: 12px;
    color: #666;
}

/* Active & Hover States for Tabbed Menu */
.menu-tab.active,
.menu-tab:hover {
    background-color: rgba(28, 129, 201, 0.05);
    /* Very light blue tint */
    color: var(--theme-blue);
}

.menu-tab.active i,
.menu-tab:hover i {
    color: var(--theme-blue);
}

/* Cascade Logic Panels */
.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   PRE-FOOTER & FOOTER STYLING
   ========================================= */
.pre-footer-cta {
    background-color: var(--theme-blue);
    position: relative;
    overflow: hidden;
}

.pre-footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.main-footer {
    background-color: #0a0a0a;
    /* Deep premium black */
    color: #a0a0a0;
    font-size: 0.9rem;
}

.main-footer h5 {
    color: var(--theme-white);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
}

/* Footer Links with Modern Underline Sweep */
.footer-link {
    color: #a0a0a0;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--theme-blue);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--theme-white);
    transform: translateX(5px);
    /* Slight nudge right */
}

.footer-link:hover::after {
    width: 100%;
}

/* Social Icons */
.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--theme-white);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.social-circle:hover {
    background-color: var(--theme-blue);
    border-color: var(--theme-blue);
    color: var(--theme-white);
    transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    font-size: 0.8rem;
}

.footer-bottom-link {
    color: #777;
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}

.footer-bottom-link:hover {
    color: var(--theme-blue);
}

/* Trust Badges */
.trust-badge {
    opacity: 0.6;
    transition: 0.3s;
    height: 40px;
    margin-right: 15px;
}

.trust-badge:hover {
    opacity: 1;
}

/* =========================================
   EXTENDED HOME PAGE SECTIONS
   ========================================= */

/* Trust Ribbon */
.trust-ribbon {
    background-color: var(--theme-blue);
    color: var(--theme-white);
    padding: 30px 0;
    border-bottom: 5px solid var(--theme-black);
}

.trust-stat h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0;
}

.trust-stat p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    opacity: 0.8;
}

/* Spaces Masonry Grid */
.space-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: 100%;
    min-height: 300px;
    display: block;
}

.space-card.large {
    min-height: 620px;
}

.space-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.space-card:hover img {
    transform: scale(1.1);
}

.space-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--theme-white);
}

.space-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.space-overlay span {
    color: var(--theme-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s;
}

.space-card:hover .space-overlay span {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Video Experience Section */
.video-parallax {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat fixed;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.play-btn {
    font-size: 5rem;
    color: var(--theme-white);
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    margin-bottom: 20px;
}

.play-btn:hover {
    color: var(--theme-blue);
    transform: scale(1.1);
}

/* Knowledge Hub / Blog Cards */
.blog-card {
    border: none;
    border-radius: 0;
    background: transparent;
    transition: 0.3s;
}

.blog-card .img-wrapper {
    overflow: hidden;
    position: relative;
}

.blog-card img {
    transition: 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card .date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--theme-blue);
    color: var(--theme-white);
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.blog-card .card-body {
    padding: 25px 0;
}

.blog-card h5 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
    transition: 0.3s;
    cursor: pointer;
}

.blog-card h5:hover {
    color: var(--theme-blue);
}

.blog-read-more {
    color: var(--theme-black);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 2px solid var(--theme-blue);
    padding-bottom: 3px;
    transition: 0.3s;
}

.blog-read-more:hover {
    color: var(--theme-blue);
}

/* =========================================
   2026 REDESIGN UI ELEMENTS
   ========================================= */

/* Infinite Marquee */
.marquee-section {
    background-color: var(--theme-blue);
    color: var(--theme-white);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.marquee-content {
    display: flex;
    animation: scrollMarquee 20s linear infinite;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 50px;
    font-family: 'Outfit', sans-serif;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Interactive Product Tabs */
.product-tabs-section {
    padding: 0 0 50px 0;
    background-color: var(--theme-white);
}

.custom-nav-tabs {
    border-bottom: 2px solid #eaeaea;
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.custom-nav-tab {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: #999;
    cursor: pointer;
    padding-bottom: 15px;
    position: relative;
    transition: 0.3s;
}

.custom-nav-tab.active {
    color: var(--theme-black);
}

.custom-nav-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--theme-blue);
    transition: 0.3s ease;
}

.custom-nav-tab.active::after {
    width: 100%;
}

.tab-image-wrap img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 0;
}

/* Bento Box Grid (Spaces) */
.bento-section {
    background-color: var(--theme-gray);
    padding: 50px 0;
}

.bento-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    background: #000;
    transition: 0.4s;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.8s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
    opacity: 0.6;
}

.bento-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: var(--theme-white);
    z-index: 2;
}

.bento-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--theme-blue);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: 0;
    transform: scale(0.5);
}

.bento-item:hover .bento-link {
    opacity: 1;
    transform: scale(1);
    color: #fff;
}

/* Sticky Scroll Section (Engineering) */
.sticky-section {
    background-image: linear-gradient(to right, #000000, var(--theme-blue));
    color: var(--theme-white);
    padding: 50px 0;
}

.sticky-wrapper {
    position: sticky;
    top: 120px;
    height: 70vh;
}

.sticky-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-feature {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-feature:last-child {
    border-bottom: none;
}

.scroll-feature h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--theme-blue);
    margin-bottom: 20px;
}

.scroll-feature p {
    font-size: 1.2rem;
    color: #aaa;
    font-weight: 300;
    line-height: 1.8;
}

/* Giant Typography */
.text-huge {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* =========================================
   2026 PREMIUM HEADER & NAVBAR
   ========================================= */
.top-bar-modern {
    background-color: var(--theme-dark);
    color: #ccc;
    font-size: 0.75rem;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top-bar-modern a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.top-bar-modern a:hover {
    color: var(--theme-blue);
}

.top-bar-icon {
    font-size: 0.9rem;
    margin-right: 6px;
    color: var(--theme-blue);
}

/* Glassmorphism Sticky Navbar */
.navbar-custom {
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
}

.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    /* Frosted Glass Effect */
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eaeaea;
}

.navbar-custom.scrolled .nav-link,
.navbar-custom.scrolled .navbar-brand {
    color: var(--theme-black) !important;
}

/* Navbar Links */
.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 10px;
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
    line-height: 3;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--theme-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover .nav-link::before {
    width: 100%;
}

/* Mega Menu Enhancements */
.mega-menu {
    border-top: 3px solid var(--theme-blue);
    border-radius: 0 0 8px 8px;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item.dropdown:hover .mega-menu {
    transform: translateY(0);
}

/* =========================================
   2026 ARCHITECTURAL FOOTER
   ========================================= */
.footer-modern {
    background-image: linear-gradient(to right, #000000, var(--theme-blue));
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-top-grid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
}

.footer-col {
    padding: 0 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col:last-child {
    border-right: none;
}

@media (max-width: 991px) {
    .footer-col {
        border-right: none;
        padding: 0 15px;
        margin-bottom: 40px;
    }
}

.footer-modern h5 {
    color: var(--theme-white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.footer-link-modern {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-link-modern:hover {
    color: var(--theme-blue);
    transform: translateX(5px);
}

/* Minimalist Newsletter */
.newsletter-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 0;
    padding-left: 0;
    box-shadow: none !important;
}

.newsletter-input::placeholder {
    color: #eaeaea;
}

.newsletter-input:focus {
    border-bottom-color: var(--theme-blue);
    background: transparent;
    color: #fff;
}

.newsletter-btn {
    background: transparent;
    border: none;
    color: var(--theme-blue);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-btn:hover {
    transform: translateX(5px);
}

/* Giant Footer Typography */
.footer-giant-text {
    font-size: clamp(4rem, 12vw, 15rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    color: rgb(248 248 248 / 61%);
    text-align: center;
    line-height: 0.8;
    margin-top: 40px;
    user-select: none;
}

/* Bottom Legal Bar */
.footer-legal {
    padding: 20px 0;
    background-color: #050505;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================================
   MEGA MENU STYLING (FIXED CENTERING)
   ========================================= */

/* 1. Force static on parent so mega menu positions relative to the entire Navbar Container */
.navbar-custom .nav-item.dropdown {
    position: static !important;
}

/* 2. Center the Mega Menu perfectly on the screen */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 850px;
    max-width: 95vw;
    background: #ffffff;
    border: none;
    border-top: 3px solid var(--theme-blue);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    /* Adds a little drop effect */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    z-index: 9999;
}

/* Show Menu on Hover */
.navbar-custom .nav-item.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0px;
    /* Slides up smoothly */
}


/* =========================================
   INNER PAGE HERO & ABOUT SECTION
   ========================================= */
.page-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
}

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--theme-blue);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.breadcrumb-item.active {
    color: var(--theme-white);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
}

/* Vision & Mission Cards */
.vision-box {
    background-color: var(--theme-gray);
    padding: 50px;
    height: 100%;
    position: relative;
    transition: 0.4s ease;
    border-top: 4px solid transparent;
}

.vision-box:hover {
    background-color: var(--theme-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--theme-blue);
    transform: translateY(-10px);
}

.vision-box i {
    font-size: 3rem;
    color: var(--theme-blue);
    margin-bottom: 20px;
    display: inline-block;
}

/* Manufacturing Infrastructure Grid */
.infra-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.infra-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s ease;
}

.infra-img-wrapper:hover img {
    transform: scale(1.1);
}

.infra-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--theme-blue);
    color: var(--theme-white);
    padding: 15px 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Core Values (Dark) */
.core-value-item {
    padding: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.core-value-item:hover {
    background: rgba(28, 129, 201, 0.1);
    /* Subtle blue tint */
    border-left-color: var(--theme-blue);
}

.core-value-item h4 {
    font-size: 1.5rem;
    color: var(--theme-white);
    margin-top: 20px;
    margin-bottom: 15px;
}

/* =========================================
   ESTIMATE PAGE STYLING
   ========================================= */
.estimate-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* Overlapping the Hero Section */
.estimate-content-wrapper {
    margin-top: 50px;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

.estimate-info-card {
    background-color: var(--theme-black);
    color: var(--theme-white);
    padding: 50px;
    height: 100%;
    border-radius: 0;
}

.estimate-info-card i {
    color: var(--theme-blue);
    font-size: 1.5rem;
    margin-right: 15px;
}

.estimate-form-card {
    background-color: var(--theme-white);
    padding: 50px;
    height: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Form Styling Refinements */
.estimate-form-card .form-control,
.estimate-form-card .form-select {
    background-color: #f8f9fa;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 15px;
}

.estimate-form-card .form-control:focus,
.estimate-form-card .form-select:focus {
    background-color: #fff;
    border-color: var(--theme-blue);
    box-shadow: 0 0 0 0.25rem rgba(28, 129, 201, 0.1);
}

.estimate-form-card .form-floating label {
    padding-left: 15px;
    color: #888;
}

textarea.form-control {
    min-height: 120px;
}

/* =========================================
   SPACES & INNER PAGES STYLING
   ========================================= */
.space-hero-dynamic {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
}

.space-hero-dynamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.benefit-card-minimal {
    padding: 40px;
    background: var(--theme-gray);
    border-top: 3px solid transparent;
    transition: 0.4s ease;
    height: 100%;
}

.benefit-card-minimal:hover {
    background: var(--theme-white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-top-color: var(--theme-blue);
    transform: translateY(-5px);
}

.benefit-card-minimal i {
    font-size: 2.5rem;
    color: var(--theme-blue);
    margin-bottom: 20px;
    display: block;
}

/* Image Composition */
.img-composition {
    position: relative;
    width: 100%;
    height: 600px;
}

.img-comp-main {
    width: 80%;
    height: 80%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    border: 10px solid #fff;
}

.img-comp-sub {
    width: 55%;
    height: 50%;
    object-fit: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 10px solid var(--theme-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media(max-width:768px) {
    #brandText {
        display: none;
    }

    #navbar {
        top: 0 !important;
    }

    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
        background: #000000;
        z-index: 88888;
    }

    .fixed-top.scrolled .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
        background: #fff;
        z-index: 88888;
    }
}



.creative-wcu-section {
    background-color: #111;
    /* Dark premium background */
    color: #fff;
    padding: 100px 0;
    overflow: visible;
}

/* Sticky Left Side */
.sticky-header-box {
    position: sticky;
    top: 120px;
    /* Keeps it pinned while scrolling */
}

/* The Cards */
.stack-card {
    position: sticky;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

/* Giant Hollow Numbers in the Background */
.stack-card::before {
    content: attr(data-number);
    position: absolute;
    right: 20px;
    bottom: -10px;
    font-size: 140px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.05);
    z-index: 0;
    transition: 0.5s ease;
}

.stack-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.stack-card:hover::before {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Make sure text stays above the giant number */
.stack-content {
    position: relative;
    z-index: 1;
}

.stack-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 25px;
}

.stack-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.stack-card p {
    color: #aaaaaa;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* The Grand Finale Card (Last Card Pops in Brand Color) */
.stack-card.finale-card {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border: none;
}

.stack-card.finale-card::before {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
}

.stack-card.finale-card .stack-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
}

.stack-card.finale-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* --- Stacking Logic (Desktop Only) --- */
@media (min-width: 992px) {
    .stack-1 {
        top: 100px;
        z-index: 1;
    }

    .stack-2 {
        top: 130px;
        z-index: 2;
    }

    .stack-3 {
        top: 160px;
        z-index: 3;
    }

    .stack-4 {
        top: 190px;
        z-index: 4;
    }

    .stack-5 {
        top: 220px;
        z-index: 5;
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .stack-card {
        position: relative;
        top: auto !important;
        margin-bottom: 20px;
    }

    .sticky-header-box {
        position: relative;
        top: auto;
        margin-bottom: 40px;
        text-align: center;
    }
}


/* --- "Sliding Doors" Core Values Section --- */
.core-values-section {

    padding: 100px 0;
    color: #000;
    overflow: hidden;
}

.sliding-door-container {
    display: flex;
    gap: 15px;
    height: 550px;
    width: 100%;
}

.sliding-pane {
    position: relative;
    flex: 1;
    /* All panes start at equal width */
    border-radius: 20px;
    overflow: hidden;
    background: #1a1a1a;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth, heavy sliding feel */
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Subtle glass edge */
}

/* The Magic "Slide Open" Effect */
.sliding-pane:hover {
    flex: 3.5;
    /* Expands to take up most of the space */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 2px var(--accent-color);
}

/* Background Images for Panes */
.pane-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: all 0.7s ease;
    /* filter: grayscale(100%); */
}

.sliding-pane:hover .pane-bg {
    opacity: 0.4;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Gradient Overlay to ensure text is always readable */
.pane-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%); */
}

/* Content Positioning */
.pane-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

/* Large Background Numbers */
.pane-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
    transition: 0.5s ease;
}

.sliding-pane:hover .pane-number {
    -webkit-text-stroke: 1.5px var(--accent-color);
    transform: translateX(-10px);
}

/* Icons */
.pane-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.sliding-pane:hover .pane-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Titles */
.pane-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 0;
    white-space: nowrap;
    /* Keeps title on one line even when squished */
    transition: 0.4s ease;
    color: #fff;
}

.sliding-pane:hover .pane-title {
    color: #fff;
    margin-bottom: 15px;
}

/* Descriptions (Hidden by default) */
.pane-desc {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* Set a fixed width so text doesn't reflow awkwardly during animation */
    min-width: 300px;
}

.sliding-pane:hover .pane-desc {
    opacity: 1;
    max-height: 150px;
    /* Enough space for paragraph */
}

/* --- Mobile Responsiveness (Turns into vertical sliding windows) --- */
@media (max-width: 991px) {
    .sliding-door-container {
        flex-direction: column;
        /* Stack vertically on mobile */
        height: 800px;
    }

    .pane-title {
        white-space: normal;
        font-size: 20px;
    }

    .pane-desc {
        min-width: 100%;
    }

    .pane-content {
        padding: 30px 20px;
    }

    .pane-number {
        font-size: 60px;
    }
}

/* product section start */
/* --- UNIQUE CREATIVE PRODUCT CARDS --- */
.creative-product-card {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Added for a subtle 3D space effect */
    perspective: 1000px;
}

.creative-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Smooth, premium timing curve */
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* The Unique Image Animation: Slight zoom + micro-rotation */
.creative-product-card:hover img {
    transform: scale(1.1) rotate(1.5deg);
}

/* Smooth Gradient instead of a solid black block */
.creative-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.creative-product-card:hover .creative-card-overlay {
    opacity: 1;
}

/* Content wrapper that slides up on hover */
.creative-card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-product-card:hover .creative-card-content {
    transform: translateY(0);
}

.creative-card-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.5px;
}

/* Floating Arrow Icon (Glassmorphism) */
.creative-card-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    /* Starts pushed to the left */
    transform: translateX(-15px) rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-product-card:hover .creative-card-icon {
    opacity: 1;
    /* Shoots into place and straightens out */
    transform: translateX(0) rotate(0deg);
    background: var(--accent-color, #0056b3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animated Drawing Line */
.creative-card-line {
    height: 2px;
    width: 0;
    background-color: var(--accent-color, #0056b3);
    margin-top: 10px;
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-product-card:hover .creative-card-line {
    width: 50px;
}

/* --- VERTICAL TABS STYLING --- */
.custom-vertical-tabs .nav-link {
    text-align: left;
    padding: 16px 25px;
    margin-bottom: 12px;
    color: #666;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
}

.custom-vertical-tabs .nav-link i {
    font-size: 1.3rem;
    transition: transform 0.4s ease;
}

.custom-vertical-tabs .nav-link:hover {
    color: var(--accent-color, #0056b3);
    background: #f8f9fa;
    transform: translateX(8px);
    border-color: rgba(0, 86, 179, 0.2);
}

.custom-vertical-tabs .nav-link.active {
    background: var(--accent-color, #0056b3);
    color: #fff;
    border-color: var(--accent-color, #0056b3);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.3);
    transform: translateX(12px);
    /* Pops out significantly */
}

.custom-vertical-tabs .nav-link.active i {
    transform: scale(1.2);
}

/* Tab Switch Animation */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: slideFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- CREATIVE PRODUCT CARDS (No Black Background) --- */
.creative-product-card {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    perspective: 1000px;
}

.creative-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-product-card:hover img {
    transform: scale(1.12) rotate(1.5deg);
    /* Dynamic zoom and tilt */
}

/* Invisible Gradient Overlay (No solid blocks) */
.creative-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.creative-product-card:hover .creative-card-overlay {
    opacity: 1;
}

/* Floating Title Content */
.creative-card-content {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-product-card:hover .creative-card-content {
    transform: translateY(0);
}

.creative-card-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
}

/* Frosted Glass Arrow Icon */
.creative-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: translateX(-15px) rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-product-card:hover .creative-card-icon {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    background: var(--accent-color, #0056b3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Animated Gold/Accent Line */
.creative-card-line {
    height: 3px;
    width: 0;
    background-color: var(--accent-color, #0056b3);
    margin-top: 12px;
    transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

.creative-product-card:hover .creative-card-line {
    width: 60px;
}

/* Mobile adjustments for the vertical menu */
@media (max-width: 991px) {
    .custom-vertical-tabs {
        flex-direction: row !important;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .custom-vertical-tabs .nav-link {
        white-space: nowrap;
        margin-right: 10px;
        transform: none !important;
    }
}

/* --- HORIZONTAL FLOATING GLASS DOCK (TABS) --- */
.creative-tab-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}

.creative-tab-dock {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: inline-flex;
}

.creative-tab-dock .nav-pills {
    gap: 10px;
}

.creative-tab-dock .nav-pills .nav-link {
    border-radius: 40px;
    padding: 12px 30px;
    color: #666 !important;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    background: transparent;
}

/* Expanding Radial Background for Active Tab */
.creative-tab-dock .nav-pills .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-color, #0056b3);
    z-index: -1;
    border-radius: 40px;
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-tab-dock .nav-pills .nav-link.active {
    color: #fff;
}

.creative-tab-dock .nav-pills .nav-link.active::before {
    transform: scale(1);
    opacity: 1;
}

.creative-tab-dock .nav-link:hover:not(.active) {
    color: var(--accent-color, #0056b3);
    transform: translateY(-2px);
}

/* Mobile: Swipable Horizontal App Menu */
@media (max-width: 991px) {
    .creative-tab-dock {
        border-radius: 20px;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 15px;
        /* Hide scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .creative-tab-dock::-webkit-scrollbar {
        display: none;
    }

    .creative-tab-dock .nav-pills {
        flex-wrap: nowrap;
    }

    .creative-tab-dock .nav-pills .nav-link {
        white-space: nowrap;
    }
}

/* --- STAGGERED 3D POP-IN ANIMATION FOR PRODUCTS --- */
@keyframes productPopIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Apply animation to cards only when the tab becomes active */
.tab-pane.active .creative-product-card {
    animation: productPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.27) forwards;
    opacity: 0;
}

/* Stagger the timing so they cascade beautifully */
.tab-pane.active .col-lg-3:nth-child(1) .creative-product-card {
    animation-delay: 0.05s;
}

.tab-pane.active .col-lg-3:nth-child(2) .creative-product-card {
    animation-delay: 0.15s;
}

.tab-pane.active .col-lg-3:nth-child(3) .creative-product-card {
    animation-delay: 0.25s;
}

.tab-pane.active .col-lg-3:nth-child(4) .creative-product-card {
    animation-delay: 0.35s;
}

.tab-pane.active .col-lg-3:nth-child(5) .creative-product-card {
    animation-delay: 0.45s;
}

.tab-pane.active .col-lg-3:nth-child(6) .creative-product-card {
    animation-delay: 0.55s;
}

.tab-pane.active .col-lg-3:nth-child(7) .creative-product-card {
    animation-delay: 0.65s;
}

.tab-pane.active .col-lg-3:nth-child(8) .creative-product-card {
    animation-delay: 0.75s;
}

/* Keep previous creative-product-card CSS (zooming, overlay, line drawing, arrow shooting) */
.creative-product-card {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    perspective: 1000px;
}

.creative-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-product-card:hover img {
    transform: scale(1.12) rotate(1.5deg);
}

.creative-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.creative-product-card:hover .creative-card-overlay {
    opacity: 1;
}

.creative-card-content {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-product-card:hover .creative-card-content {
    transform: translateY(0);
}

.creative-card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
}

.creative-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: translateX(-15px) rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.creative-product-card:hover .creative-card-icon {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    background: var(--accent-color, #0056b3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.creative-card-line {
    height: 3px;
    width: 0;
    background-color: var(--accent-color, #0056b3);
    margin-top: 12px;
    transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

.creative-product-card:hover .creative-card-line {
    width: 60px;
}

/* --- HORIZONTAL FLOATING GLASS DOCK (TABS) --- */
.creative-tab-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}

.creative-tab-dock {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: inline-flex;
}

.creative-tab-dock .nav-pills {
    gap: 10px;
}

.creative-tab-dock .nav-pills .nav-link {
    border-radius: 40px;
    padding: 12px 30px;
    color: #666;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    background: transparent;
}

/* --- THE BLUE ACTIVE BACKGROUND --- */
.creative-tab-dock .nav-pills .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0056b3;
    /* Rich Royal Blue */
    z-index: -2;
    border-radius: 40px;
    transform: scale(0.5);
    /* Starts small */
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.27);
}

.creative-tab-dock .nav-pills .nav-link.active {
    color: #fff;
    /* box-shadow: 0 8px 20px rgba(0, 86, 179, 0.4); */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /* Blue glowing shadow */
}

.creative-tab-dock .nav-pills .nav-link.active::before {
    transform: scale(1);
    /* Expands to fill */
    opacity: 1;
}

/* --- CREATIVE HOVER ANIMATION (Liquid Fill & Glow) --- */
/* The "Liquid" that slides up from the bottom */
.creative-tab-dock .nav-pills .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* Starts empty at the bottom */
    background: rgba(0, 86, 179, 0.08);
    /* Soft blue wash */
    z-index: -1;
    transition: height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
}

.creative-tab-dock .nav-pills .nav-link:hover:not(.active)::after {
    height: 100%;
    /* Fills the button upward on hover */
}

/* Button Lift & Text Color Change */
.creative-tab-dock .nav-pills .nav-link:hover:not(.active) {
    color: #0056b3;
    /* Changes text to blue */
    transform: translateY(-4px);
    /* Lifts the button up */
    box-shadow: 0 8px 15px rgba(0, 86, 179, 0.15);
    /* Soft blue glow underneath */
}

/* Icon Bounce Animation */
.creative-tab-dock .nav-pills .nav-link i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
}

.creative-tab-dock .nav-pills .nav-link:hover:not(.active) i {
    transform: scale(1.2) translateY(-2px);
    /* Icon grows and jumps up */
}

/* Mobile: Swipable Horizontal App Menu */
@media (max-width: 991px) {
    .creative-tab-dock {
        border-radius: 20px;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .creative-tab-dock::-webkit-scrollbar {
        display: none;
    }

    .creative-tab-dock .nav-pills {
        flex-wrap: nowrap;
    }

    .creative-tab-dock .nav-pills .nav-link {
        white-space: nowrap;
    }
}

/* product section end */


/* new section start */
/* --- CREATIVE BEAUTIFY SECTION (PARALLAX + GLASSMORPHISM) --- */
.beautify-section.living-room {
    position: relative;
    /* High-quality living room background image with fixed parallax effect */
    background: url('../image/living-room/6.webp') center/cover fixed no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.beautify-section.bedroom {
    position: relative;
    /* High-quality living room background image with fixed parallax effect */
    background: url('../image/bedroom/1.webp') center/cover fixed no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.beautify-section.kitchen {
    position: relative;
    /* High-quality living room background image with fixed parallax effect */
    background: url('../image/kitchen/4.webp') center/cover fixed no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.beautify-section.balcony {
    position: relative;
    /* High-quality living room background image with fixed parallax effect */
    background: url('../image/balcony/3.png') center/cover fixed no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.beautify-section.bathroom {
    position: relative;
    /* High-quality living room background image with fixed parallax effect */
    background: url('../image/bathroom/4.jpg') center/cover fixed no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.beautify-section.studyroom {
    position: relative;
    /* High-quality living room background image with fixed parallax effect */
    background: url('../image/studyroom/1.jpg') center/cover fixed no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

/* Dark gradient overlay to ensure text is readable over the image */
.beautify-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.52) 0%, rgba(15, 15, 15, 0.6) 100%);
    z-index: 1;
}

.beautify-content {
    position: relative;
    z-index: 2;
    /* Keeps content above the overlay */
}

/* Frosted Glass Cards */
.benefit-card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* The 'Glass Shine' Sweep Animation */
.benefit-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.7s ease;
    pointer-events: none;
}

/* Hover States for the Card */
.benefit-card-glass:hover {
    transform: translateY(-12px);
    border-color: var(--accent-color, #0056b3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 86, 179, 0.2);
}

.benefit-card-glass:hover::before {
    left: 150%;
    /* Triggers the light sweep */
}

/* Floating Icon Container */
.glass-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
}

.benefit-card-glass:hover .glass-icon-wrapper {
    background: var(--accent-color, #0056b3);
    color: #fff;
    border-color: var(--accent-color, #0056b3);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* new section end */


.bg-custom-blue {
    background: #0056b3;
}