@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #2A388F;
    --orange-accent: #F38118;
    --primary-green: #00A651;
    --nav-bg: #E3EFFF;
    --text-dark: #333333;
    --white: #ffffff;
}

header {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    position: relative;
    z-index: 1001;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.35s ease-out;
}

/* Mobile Sticky specific */
@media (max-width: 992px) {
    .main-header-row.sticky-header {
        padding: 10px 0;
    }

    .main-header-row.sticky-header .logo img {
        height: 40px;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* 1. TOP ANNOUNCEMENT BAR */
.announcement-bar {
    display: flex;
    background-color: var(--primary-blue);
    color: white;
    font-size: 13px;
    height: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ann-left,
.ann-right {
    background-color: var(--orange-accent);
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.ann-left {
    padding-right: 40px;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
}

.ann-right {
    padding-left: 40px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.ann-center {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    font-weight: 500;
}

/* 2. MAIN HEADER (Logo + Contacts + Btns) */
.main-header-row {
    background: white;
    padding: 24px 8px !important;
    border-bottom: 1px solid #eee;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 80px;
}

.contact-blocks {
    display: flex;
    gap: 30px;
}

.contact-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 30px;
    border-right: 1px solid #eee;
}

.contact-block:last-child {
    border-right: none;
}

.cb-icon {
    width: 45px;
    height: 45px;
    background: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cb-icon.call {
    color: #f44336;
    background: #fff1f0;
}

.cb-icon.chat {
    color: #4caf50;
    background: #f6ffed;
}

.cb-icon.mail {
    color: #2196f3;
    background: #e6f7ff;
}

.cb-text span {
    display: block;
    font-size: 11px;
    color: #888;
    line-height: 1.2;
}

.cb-text strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.header-btns {
    display: flex;
    gap: 15px;
}

.btn-pice {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.btn-brochure {
    background: linear-gradient(to bottom, #F38118, #d86d0b);
}

.btn-enquire {
    background: linear-gradient(to bottom, #3E5B99, #2c4170);
}

.btn-cutoff {
    background: linear-gradient(to bottom, #00A651, #008c44) !important;
}

.btn-pice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

/* 3. NAVBAR ROW */
.navbar-row {
    background-color: var(--nav-bg);
    padding: 10px 0;
}

.navbar-row .header-container {
    justify-content: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    gap: 30px;
}

.nav-links>li {
    position: relative;
    padding: 10px 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Dropdown Base */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #eee;
}

.nav-links>li:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu-custom li {
    padding: 0;
}

.dropdown-menu-custom a {
    padding: 10px 20px;
    display: block;
    font-weight: 500;
    font-size: 13px;
    color: #444;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-menu-custom a:hover {
    background: #f8fbff;
    color: var(--primary-blue);
    padding-left: 25px;
}

/* Multi-column / Grouped Dropdown */
.dropdown-wide {
    min-width: 500px;
    display: flex;
    padding: 20px;
    gap: 20px;
}

.dropdown-group {
    flex: 1;
}

.dropdown-group-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-left: 15px;
    display: block;
}

/* Icons in dropdown */
.dropdown-menu-custom i {
    width: 18px;
    font-size: 12px;
    color: var(--orange-accent);
}


/* MOBILE TOGGLE */
.mobile-trigger {
    display: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
    .contact-blocks {
        gap: 15px;
    }

    .contact-block {
        padding-right: 15px;
    }

    .btn-pice {
        padding: 8px 18px;
        font-size: 13px;
    }

    .header-btns {
        gap: 8px;
    }
}

@media (max-width: 992px) {
    .announcement-bar {
        font-size: 11px;
        height: auto;
        padding: 5px 0;
    }

    .ann-left,
    .ann-right {
        display: none;
    }

    .ann-center {
        padding: 0 10px;
    }

    .main-header-row {
        padding: 10px 0;
    }

    .header-container {
        padding: 0 20px;
    }

    .logo img {
        height: 60px;
    }

    .contact-blocks {
        display: none;
    }

    .navbar-row {
        display: none;
    }

    .mobile-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f8f8f8;
        border-radius: 8px;
    }
}

@media (max-width: 576px) {
    .header-btns {
        display: none;
    }

    .logo img {
        height: 50px;
    }

    .header-container {
        padding: 0 15px;
    }
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 16px;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    padding: 30px;
    overflow-y: auto;
    /* Enable scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-close {
    text-align: right;
    font-size: 24px;
    margin-bottom: 30px;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
}

.mobile-nav-list li {
    margin-bottom: 20px;
}

.mobile-nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}