/* Header — professional polish */

.announcement-bar {
    background: linear-gradient(90deg, #001a4d, #002366 55%, #0a2f6e);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.announcement-bar__inner {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.45rem 0;
}

.announcement-text {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
}

.announcement-bar__links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.announcement-bar__links a {
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.22);
    padding: 0.25rem 0.7rem;
    font-size: 0.82rem;
}

.announcement-bar__links a:hover {
    background: rgba(0, 0, 0, 0.35);
}

.get-quotation {
    background: #ff7900 !important;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 35, 102, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header__inner {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-icon img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text__name {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    color: #002366;
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text__name span { color: #1a1a2e; }

.tagline {
    display: block;
    color: #ff7900;
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.tagline span { color: #1a1a2e; }

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.15rem;
}

.main-nav li { position: relative; }

.main-nav > ul > li > a {
    color: #1f2937;
    text-decoration: none;
    padding: 0.65rem 0.9rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    border-bottom: 2px solid transparent;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: #002366;
    border-bottom-color: #ff7900;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 210px;
    border: 1px solid rgba(0, 35, 102, 0.08);
    box-shadow: 0 10px 24px rgba(0, 35, 102, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.65rem 1.1rem;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.dropdown-menu a:hover {
    background: #002366;
    color: #fff;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-cta {
    background: #25D366;
    color: #fff;
    padding: 0.55rem 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.whatsapp-cta:hover {
    background: #128C7E;
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.4rem;
    color: #002366;
    cursor: pointer;
    padding: 0.35rem;
}

.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp:hover {
    background: #128C7E;
    color: #fff;
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid rgba(0, 35, 102, 0.08);
        padding: 0.75rem 1rem 1rem;
        z-index: 999;
    }

    .main-nav.nav-open { display: block; }

    .main-nav ul {
        flex-direction: column;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding-left: 0.75rem;
    }

    .mobile-menu-toggle { display: block; }
    .floating-whatsapp { display: flex; }
    .whatsapp-cta { display: none; }

    .main-header { position: relative; }
}

@media (max-width: 700px) {
    /* Compact single-row top bar on phones */
    .announcement-text {
        display: none;
    }

    .announcement-bar__inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.35rem 0;
    }

    .announcement-bar__links {
        display: flex;
        flex: 1;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .announcement-bar__links a[href^="mailto:"] {
        display: none;
    }

    .announcement-bar__links a {
        text-align: center;
        font-size: 0.78rem;
        padding: 0.3rem 0.65rem;
        white-space: nowrap;
    }

    .main-header__inner {
        padding: 0.55rem 0;
    }

    .logo-icon img {
        width: 40px;
        height: 40px;
    }

    .logo-text__name { font-size: 1.15rem; }

    .tagline { font-size: 0.68rem; }

    .floating-whatsapp {
        right: 0.85rem;
        width: 48px;
        height: 48px;
        font-size: 1.45rem;
        border-radius: 4px;
        bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    }
}
