/* Top Bar */
:root{
    --primary-blue: #006FB9FF;
}
.top-bar {
    background-color: #1f2937;
    padding: 8px 0;
    font-size: 13px;
}
.top-bar span {
    color: #fff;
}
.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    text-decoration: underline;
}

.navbar {
    background-color: #fff;
    padding: 0 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-brand img{
    height: 50px;
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 18px;
    padding: 1.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

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

.dropdown-toggle::after {
    border-top-color: #333;
    transition: transform 0.3s ease;
}

.dropdown-toggle:hover::after {
    border-top-color: var(--primary-blue);
}

.nav-icon {
    color: #333;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-icon:hover {
    color: var(--primary-blue);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
/*.navbar-nav .nav-link:hover {*/
/*    color: #1a8fc4;*/
/*}*/
/*.navbar-nav .nav-link.active {*/
/*    color: #1a8fc4;*/
/*}*/
/* Mega menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 30px 40px 40px;
    z-index: 1000;
    border-top: 1px solid #eee;
}

/* Small dropdown (Solutions / Cases) */
.dropdown-mini {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 8px 0;
    z-index: 1000;
}
.dropdown-mini a {
    display: block;
    padding: 12px 24px;
    color: #222;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.dropdown-mini a:last-child {
    border-bottom: none;
}
.dropdown-mini a:hover {
    background: #f7f7f7;
    color: #1a8fc4;
}
.mega-col {
    padding: 0 12px;
}
.mega-title {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #cfcfcf;
}
.mega-title a{
    color: #222;
    text-decoration: none;
}
.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-list li {
    margin-bottom: 10px;
}
.mega-list a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}
.mega-list a:hover {
    color: #1a8fc4;
}

/* Dropdown caret */
.nav-link.dropdown-toggle::after {
    display: none;
}
.caret-icon {
    font-size: 12px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Nav item wrapper for mega menu */
.nav-item{height: 100%;position: relative;}
.nav-item-mega {
    position: static;
}

/* Show dropdowns on hover */
.nav-item-mega:hover .mega-menu,
.nav-item-dropdown:hover .dropdown-mini {
    display: block;
}
.mega-menu,
.dropdown-mini {
    display: none;
}

@media (max-width: 991px) {
    .mega-menu,
    .dropdown-mini {
        position: static;
        transform: none;
        box-shadow: none;
        padding: 20px;
        min-width: 0;
    }
    .dropdown-mini a {
        padding: 10px 16px;
    }
}
/* Search Modal Styles */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal-overlay.show {
    display: flex;
    opacity: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 2.2rem 2rem;
    z-index: 10000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.search-modal.show {
    transform: translateY(0);
}

.search-input-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.5rem;
    font-size: 1.25rem;
    border: 2px solid #333;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-blue);
}

.search-icon-input {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 1.5rem;
}

.search-close {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.search-close:hover {
    color: var(--primary-blue);
}

.search-suggestions {
    max-width: 800px;
    margin: 1rem auto 0;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-title {
    font-size: 0.85rem;
    color: var(--tagline-gray);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.suggestion-tag:hover {
    background: var(--primary-blue);
    color: white;
}
@media (max-width: 1300px) {
    .nav-link{font-size: 16px;}
    .navbar-nav{gap:0;}
}
@media (max-width: 991px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo-company {
        font-size: 1.1rem;
    }

    .logo-tagline {
        font-size: 0.55rem;
    }

    .header-right {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem !important;
    }
}
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .navbar-brand img{
        height: 40px;
    }
}
/* ============== COOKIE BAR ============== */
.zd-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(28 48 76 / 95%);
    color: #f3f4f6;
    padding: 14px 0;
    z-index: 998;
    font-size: 13px;
    display: none;
}
.zd-cookie.show { display: block; }
.zd-cookie a { color: #93c5fd; text-decoration: underline; }
.zd-cookie button {
    background: #006fb9;
    color: #fff;
    border: none;
    padding: 6px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    margin-left: 12px;
}
.zd-cookie button:hover { background: #024d80; }

.zd-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 50px 0 0;
}
.zd-footer h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 18px;
    position: relative;
    padding-bottom: 8px;
}
.zd-footer h5::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 36px;
    height: 2px;
    background: #006fb9;
}
.zd-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.zd-footer ul li { padding: 4px 0; font-size: 13px; }
.zd-footer ul li a {color: #d1d5db;transition: all 0.3s;}
.zd-footer ul li a:hover { color: #fff; padding-left: 4px; }
.zd-footer ul li i { color: #006fb9; margin-right: 6px; }

.zd-footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 30px;
    padding: 18px 0;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}
.zd-footer-bottom a { color: #9ca3af; }
.zd-footer-bottom a:hover { color: #fff; }

/* ============== FLOATING WHATSAPP ============== */
.zd-whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zd-whatsapp-btn,
.zd-email-btn,
.zd-top-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}
.zd-whatsapp-btn { background: #25D366; }
.zd-email-btn { background: #006fb9; }
.zd-top-btn { background: #4b5563; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s; }
.zd-top-btn.show { opacity: 1; pointer-events: auto; }
.zd-whatsapp-btn:hover,
.zd-email-btn:hover,
.zd-top-btn:hover { transform: scale(1.1); color: #fff; }
/* ============== CONTACT MODAL ============== */
.zd-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.zd-modal-backdrop.show { display: flex; }
.zd-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: zdSlideUp 0.3s ease;
}
@keyframes zdSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.zd-modal-header {
    background: #006fb9;
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.zd-modal-header h5 { margin: 0; font-size: 17px; }
.zd-modal-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}
.zd-modal-body { padding: 22px 20px; }
.zd-modal-body .form-control {
    margin-bottom: 12px;
    border: 1px solid  #e5e7eb;
    border-radius: 4px;
    font-size: 14px;
}
.zd-modal-body .form-control:focus {
    border-color: #006fb9;
    box-shadow: 0 0 0 3px rgba(0,111,185,0.12);
}
.zd-modal-submit {
    background: #006fb9;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.zd-modal-submit:hover { background: #024d80; }