/* Keep navbar inside the viewport */
.navbar,
.navbar>.container,
.navbar-brand-wrapper {
    max-width: 100%;
}

/* Mobile navbar */
@media (max-width: 991.98px) {
    .navbar>.container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .navbar-brand-wrapper {
        min-width: 0;
        max-width: calc(100% - 55px);
        overflow: hidden;
    }

    .navbar-brand {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar-logo-wrapper {
        flex-shrink: 0;
    }

    .navbar-logo {
        max-width: 100%;
        height: auto;
    }

    .navbar-toggler {
        flex-shrink: 0;
        margin-left: 8px;
    }

    .navbar-collapse {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* =========================
   Navbar
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #212d40;
    padding: 12px 0;
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.navbar-brand {
    color: #fff !important;
    font-size: 1.7rem;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: italic;
    margin-bottom: 0;
    white-space: nowrap;
}

.navbar-logo-wrapper {
    display: inline-flex;
    align-items: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.navbar-logo {
    max-height: 42px;
    width: auto;
    display: inline-block;
}

.nav-link {
    color: #fff !important;
    margin-left: 15px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #ffd54f !important;
}

.contact-btn {
    background-color: #ffd54f;
    color: #212d40 !important;
    font-weight: bold;
    padding: 8px 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-btn:hover {
    background-color: #ffca28;
    color: #212d40 !important;
    transform: translateY(-1px);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.navbar-toggler-icon {
    filter: invert(1);
}


/* =========================
   Tablet / Mobile
========================= */

@media (max-width: 991.98px) {

    .navbar>.container {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    /* Logo + brand stay on LEFT */
    .navbar-brand-wrapper {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
    }

    .navbar-brand {
        font-size: 1.35rem;
        white-space: nowrap;
    }

    .navbar-logo-wrapper {
        margin-right: 0.5rem;
    }

    .navbar-logo {
        max-height: 42px;
    }

    /* Toggle stays on RIGHT */
    .navbar-toggler {
        display: block;
        margin-left: auto;
        flex: 0 0 auto;
    }

    /* Menu goes to next row */
    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    .navbar-nav {
        padding-top: 0.75rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.65rem 0;
    }

    .contact-btn {
        display: inline-block;
    }
}

/* Hero Section */
.hero {
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%), url('/assets/images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    position: relative;
    height: 100vh; /* full viewport height */
    min-height: 100vh;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.45);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero .btn-cta {
    background: #06b6d4;
    color: #062024;
    border: none;
}
@media (max-width: 576px) {
    .hero {
        height: 100vh;
        min-height: 50vh;
        padding: 3rem 1rem;
    }
    .hero h1 {
                    font-size: 1.6rem;
    }
}

.company-logo{ 
    width:80px; 
    height:80px; 
    object-fit:contain; 
}
.clients-wrapper{
    overflow:hidden;
    width:100%;
    position:relative;
}

.clients-track{
    display:flex;
    align-items:center;
    gap:70px;
    width:max-content;
}

.client-item{
    flex-shrink:0;
}

/* Our Services Section Horizontal Scroll */
.services-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px 5px 20px;
    
    /* Optional: snap cards into position */
    scroll-snap-type: x mandatory;
}

/* Hide scrollbar */
.services-scroll::-webkit-scrollbar {
    height: 8px;
}

.services-scroll::-webkit-scrollbar-track {
    background: #d1d1d1;
    border-radius: 10px;
}

.services-scroll::-webkit-scrollbar-thumb {
    background: #212d40;
    border-radius: 10px;
}

.service-item {
    flex: 0 0 calc(33.333% - 1rem);
    scroll-snap-align: start;
}

.service-card {
    height: 100%;
}

/* Tablet */
@media (max-width: 992px) {
    .service-item {
        flex: 0 0 45%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .service-item {
        flex: 0 0 85%;
    }
}

/* Contact Section */
.contact-section{
    background:#fffdf6;
}
.contact-tag{
    display:inline-block;
    padding:8px 18px;
    background:#FFE082;
    color:#000;
    font-weight:600;
    letter-spacing:1px;
    font-size:13px;
}
.contact-title{
    font-size:42px;
    font-weight:700;
    color:#222;
}
.contact-subtitle{
    max-width:620px;
    margin:auto;
    color:#666;
}
.contact-wrapper{
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}
.contact-info{
    background:#FFD54F;
}
.contact-form{
    background:#fff;
    height:100%;
}
.contact-info h3,
.contact-form h3{
    font-weight:700;
    color:#222;
}
.info-box{
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:30px;
}
.info-box h6{
    font-weight:700;
    margin-bottom:5px;
}
.info-box p{
    margin:0;
    color:#444;
}
.icon{
    width:55px;
    height:55px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    color:#f4b400;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.form-control{
    border:none;
    border-bottom:2px solid #ddd;
    border-radius:0;
    padding:15px 5px;
    background:transparent;
    box-shadow:none !important;
}
.form-control:focus{
    border-color:#FFD54F;
}
.btn-send{
    background:#FFD54F;
    color:#222;
    padding:14px 40px;
    border:none;
    border-radius:0;
    font-weight:600;
    transition:.3s;
}
.btn-send:hover{
    background:#f4c430;
    color:#000;
}
.map-box{
    height:250px;
    overflow:hidden;
}
.map-box iframe{
    width:100%;
    height:100%;
    border:0;
}
            
/* Footer CSS */
.footer{
    background:#0f172a;
    color:#cbd5e1;
    padding:40px 0;
}
.footer .footer-brand{
    display:inline-block;
    font-size:1.25rem;
    font-weight:700;
    color:#ffffff;
    margin-bottom:0.5rem;
    text-decoration:none;
}
.footer .footer-brand span{
    color:#ffd54f;
}
.footer p{
    margin:0;
    color:#cbd5e1;
    opacity:.88;
}
.footer-nav{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: flex-start;
}
.footer-nav > li{
    display: flex;
    flex-direction: column;
}
.footer-nav > li > a{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 10px;
}
.footer-nav > li > a:hover{
    color: #ffd54f;
}

/* Footer Submenu */
.footer-submenu{
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-submenu li{
    margin-bottom: 8px;
}
.footer-submenu a{
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}
.footer-submenu a:hover{
    color: #ffd54f;
}
.footer-social{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:0.75rem;
}
.footer-social a{
    width:44px;
    height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#1e293b;
    color:#ffffff;
    border:1px solid rgba(255,255,255,.08);
    transition:transform .2s ease, background .2s ease, color .2s ease;
}
.footer-social a:hover{
    background:#ffd54f;
    color:#0f172a;
    transform:translateY(-2px);
    border-color:#ffd54f;
}
@media(max-width:991px){
.contact-info,
.contact-form{
    padding:35px 25px !important;
}
.contact-title{
    font-size:32px;
}
}
@media(max-width:767px){
    .footer .footer-nav,
    .footer .footer-social{
        justify-content:center;
    }
    .footer .footer-content{
        text-align:center;
    }
}
