﻿/* Sticky Header - Add to your existing CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #f5f7fa;
}

.site-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
}

/* Desktop Top Bar */
.top-bar {
    background: #0b3c8a;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
}

    .top-bar-left span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .top-bar-left i {
        color: #fff;
        font-size: 0.9rem;
    }

.top-bar-right {
    display: flex;
    gap: 1.5rem;
}

    .top-bar-right a {
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .top-bar-right a:hover {
            color: #ffb800;
        }

/* Mobile Top Bar - Only Phone Number */
.mobile-top-bar {
    display: none;
    background: #0056b3;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    justify-content: center;
    align-items: center;
}

@media(max-width:991px) {
    .p-15 {
        padding: 15px !important;
    }
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .mobile-phone i {
        color: #FFF;
    }

/* Main Header */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #eef2f6;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Desktop Left Menu */
.left-menu {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
    justify-content: flex-end;
    padding-right: 20px;
}

/* Desktop Right Menu */
.right-menu {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
    justify-content: flex-start;
    padding-left: 20px;
}

/* Logo - Desktop centered, Mobile left */
.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2b3c;
    line-height: 1.2;
    text-decoration: none;
    display: block;
}

    .logo span {
        color: #0056b3;
    }

.logo-tagline {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #6c7a8a;
    text-transform: uppercase;
}

/* Desktop centered logo wrapper */
.logo-wrapper {
    background: white;
    padding: 0.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-bottom: 4px solid #0056b3;
    text-align: center;
    min-width: 280px;
    margin: 0 10px;
}

/* Desktop Navigation Items */
.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

    .nav-link i {
        font-size: 0.8rem;
        color: #8a9bb0;
    }

    .nav-link:hover {
        color: #0056b3;
        background: #f0f4fa;
    }

/* Desktop Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    display: none;
    z-index: 1000;
    border: 1px solid #eef2f6;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    position: relative;
    width: 100%;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.5rem;
    color: #4a5a6e;
    font-size: 0.9rem;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

    .dropdown-link.no-chevron {
        justify-content: flex-start;
    }

    .dropdown-link i {
        font-size: 0.8rem;
        color: #a0b3c9;
    }

    .dropdown-link:hover {
        background: #f0f4fa;
        color: #0056b3;
    }

.nested-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 240px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    list-style: none;
    display: none;
    border: 1px solid #eef2f6;
    z-index: 1001;
}

.dropdown-item:hover .nested-dropdown {
    display: block;
}

.nested-link {
    display: block;
    padding: 0.7rem 1.5rem;
    color: #4a5a6e;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
}

    .nested-link:hover {
        background: #f0f4fa;
        color: #0056b3;
    }

/* ===== MOBILE MENU STYLES ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    color: #1a2b3c;
}

/* Mobile Header - Logo Left, Toggle Right */
.mobile-header {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

    .mobile-header .logo {
        font-size: 1.5rem;
    }

    .mobile-header .logo-tagline {
        display: none;
    }

/* Mobile Offcanvas - Full height */
.offcanvas.offcanvas-start {
    width: 85%;
    max-width: 350px;
    border-right: none;
}

.offcanvas-header {
    background: #1a2b3c;
    color: white;
    padding: 1rem;
}

    .offcanvas-header .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%);
    }

.offcanvas-body {
    padding: 0;
    background: #ffffff;
}

/* Mobile Logo in Offcanvas */
.mobile-logo {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8faff;
    border-bottom: 1px solid #eef2f6;
}

    .mobile-logo .logo {
        font-size: 2rem;
    }

    .mobile-logo .logo-tagline {
        display: block;
        font-size: 0.7rem;
    }

/* Mobile Menu Items */
.mobile-menu-items {
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #eef2f6;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #ffffff;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    color: #2c3e50;
}

    .mobile-menu-header i {
        color: #a0b3c9;
        transition: transform 0.3s ease;
    }

    .mobile-menu-header.active i {
        transform: rotate(90deg);
        color: #0056b3;
    }

    .mobile-menu-header.active {
        color: #0056b3;
        background: #f8faff;
    }

.mobile-submenu {
    display: none;
    background: #f8faff;
    padding: 0.5rem 0;
}

    .mobile-submenu.show {
        display: block;
    }

.mobile-submenu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem 0.8rem 2.5rem;
    color: #4a5a6e;
    font-size: 0.95rem;
    border-bottom: 1px solid #eef2f6;
    cursor: pointer;
}

    .mobile-submenu-item i {
        color: #a0b3c9;
        font-size: 0.8rem;
    }

    .mobile-submenu-item:hover {
        background: #ffffff;
        color: #0056b3;
    }

    .mobile-submenu-item.no-chevron {
        justify-content: flex-start;
    }

.mobile-depth-3 {
    display: none;
    background: #ffffff;
    padding: 0.3rem 0;
}

    .mobile-depth-3.show {
        display: block;
    }

.mobile-depth-3-item {
    padding: 0.7rem 1.5rem 0.7rem 3.5rem;
    color: #6c7a8a;
    font-size: 0.9rem;
    border-bottom: 1px solid #eef2f6;
    cursor: pointer;
}

    .mobile-depth-3-item:hover {
        background: #f8faff;
        color: #0056b3;
    }

/* Mobile Footer */
.mobile-footer {
    padding: 1.5rem;
    border-top: 1px solid #eef2f6;
    margin-top: 1rem;
    background: #f8faff;
}

.mobile-contact-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: #2c3e50;
}

    .mobile-contact-info i {
        color: #ffb800;
        width: 20px;
    }

/* Responsive */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .mobile-top-bar {
        display: flex;
    }

    .desktop-nav-layout {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .logo-wrapper {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }

    .mobile-top-bar {
        display: none !important;
    }

    .mobile-header {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
}


/* Sticky Header - Appears when scrolling down */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: white;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}


/* Hero Slider Styles */
.hero-slider {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.slide-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-heading {
    font-size: 1.2rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 300;
    opacity: 0.9;
    animation: fadeInLeft 1s ease;
}

.main-heading {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInLeft 1s ease 0.2s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* White Pagination Dots */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white !important;
    opacity: 0.5;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: white !important;
    transform: scale(1.2);
}

/* White Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px;
        font-weight: bold;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: rgba(255,255,255,0.4);
        transform: scale(1.1);
    }

/* Responsive */
@media (max-width: 1200px) {
    .main-heading {
        font-size: 4rem;
    }
}

@media (max-width: 991px) {
    .hero-slider {
        height: 80vh;
    }

    .main-heading {
        font-size: 3rem;
    }

    .small-heading {
        font-size: 1rem;
        letter-spacing: 6px;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

    .main-heading {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .small-heading {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 16px;
        }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .main-heading {
        font-size: 1.8rem;
    }

    .small-heading {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    .slide-text {
        text-align: center;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}
/*About Introduction*/



/* image box exactly like reference */
.img-box {
    border: 10px solid #fff;
    padding: 10px;
    background: #fff;
}

.img-box-2 {
    border: 10px solid #fff;
    padding: 10px;
    background: #fff;
}

    .img-box-2 img {
        width: 100%;
        height: auto;
        display: block;
    }
/* prevent oversized feel */


/* move right top image up */
@media (min-width: 992px) {
    .right-top {
        margin-top: -40px;
    }
}

/* text styling (kept from yours, cleaned) */
.know-more-text {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 6px;
}

h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 16px;
}

.description-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

.company-highlight {
    font-weight: 600;
}

.compliance-link {
    color: #2563eb;
    text-decoration: underline;
}

.factory-list {
    margin-top: 16px;
}

.btn-know-more {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 28px;
    background: #0056b3;
    border: 1px solid #0056b3;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* spacing */
.middle-col {
    padding: 0 20px;
}

@media (max-width: 991px) {
    .right-top {
        margin-top: 0;
    }

    .middle-col {
        margin: 24px 0;
        padding: 0;
    }
}

.about-header {
    color: #0056b3;
}

.tk-mosaic .tile {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    background: #0056b3;
}

.tile-lg {
    min-height: 520px;
}

.tile img {
    width: 100%;
    object-fit: cover;
}

.tile-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}

    .tile-overlay h2,
    .tile-overlay h5 {
        margin: 0;
    }

.tile-dark {
    background: #000;
    color: #fff;
    padding: 30px;
}

.tile-purple {
    background: #6a00cc;
    padding: 30px;
}

    .tile-purple a {
        color: #fff;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
    }

/* Responsive fixes */
@media (max-width: 991px) {
    .tile-lg {
        min-height: 360px;
    }
}

@media (max-width: 767px) {
    .tile,
    .tile-lg {
        min-height: auto;
    }
}

.equal-f-col-height {
    height: 430px;
}

.equal-s-col-height {
    height: 240px;
}

/*How it works section*/
.process-section {
    background: #fff;
}

.process-title {
    font-weight: 600;
    color: #1f3fb7;
}

.process-item {
    padding: 40px 0;
    border-bottom: 1px solid #bfbfbf;
}

.step-title {
    display: flex;
    align-items: center; /* vertical alignment */
    gap: 12px; /* space between 01. and title */
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

.step-no {
    font-size: 14px;
    font-weight: 600;
    color: #0056b3;
    line-height: 1; /* critical for alignment */
}

.step-text {
    line-height: 1; /* keeps baseline clean */
}

.process-item p {
    line-height: 1.8;
    color: #555;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .step-title {
        font-size: 30px;
        margin-bottom: 10px;
    }
}



/*Category Slider*/
/* SLIDER */
.app-swiper {
    width: 100%;
    height: 520px;
}

.app-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .app-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* BLACK TEXT NAV BAR */
.app-nav-wrapper {
    background: #0056b3;
    padding: 18px 0;
}

.app-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    overflow-x: auto;
    white-space: nowrap;
}

    .app-nav span {
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        position: relative;
        padding-bottom: 6px;
    }

        .app-nav span.active {
            color: #fff;
        }

            .app-nav span.active::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 2px;
                background: #fff;
            }

/* RESPONSIVE */
@media (max-width: 991px) {
    .app-swiper {
        height: 380px;
    }

    .app-nav {
        justify-content: flex-start;
        padding: 0 16px;
    }
}


/*-----Footer Control-----*/
/* dummy content to show footer at bottom */
.content-spacer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a5b82;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 2rem;
    text-align: center;
}
/* main footer - elevator company theme */
.footer-elevator {
    background: #0b3c8a;
    color: #fff;
    padding: 3.5rem 0 2rem 0;
    border-top: 6px solid #0056b3;
}

.footer-heading {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
    border-left: 4px solid #fff;
    padding-left: 12px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.7rem;
    transition: all 0.2s;
    font-size: 1rem;
}

    .footer-link:hover {
        color: white;
        transform: translateX(5px);
    }

    .footer-link i {
        margin-right: 8px;
        color: #fff;
        font-size: 0.9rem;
    }

.company-name-footer {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

    .company-name-footer span {
        color: #80b9f0;
        font-weight: 400;
        font-size: 1.3rem;
    }

.footer-tagline {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #315a82;
    padding-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e3b5c;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.2s;
    text-decoration: none;
}

    .social-icon:hover {
        background: #3471b1;
        transform: translateY(-3px);
    }

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

    .contact-item i {
        font-size: 1.3rem;
        color: #fff;
        width: 25px;
    }

.copyright {
    border-top: 1px solid #fff;
    margin-top: 2.5rem;
    padding-top: 1.8rem;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
}

    .copyright a {
        color: #fff;
        text-decoration: none;
    }

        .copyright a:hover {
            text-decoration: underline;
        }
/* quick links list */
.list-unstyled li {
    margin-bottom: 0.5rem;
}
/* responsive spacing */
@media (max-width: 768px) {
    .footer-elevator {
        padding: 2.5rem 0 1.5rem 0;
    }

    .footer-heading {
        margin-top: 1.5rem;
    }
}
