
/* =========================================
   STAR INDIA CONSTRUCTION - HEADER
========================================= */

:root {
    --sic-green: #176b29;
    --sic-green-dark: #104d20;
    --sic-green-light: #edf7ef;
    --sic-header-text: #193521;
    --sic-header-muted: #68756b;
    --sic-header-border: #e7eee8;
    --sic-header-white: #ffffff;
}

.sic-header,
.sic-header * {
    box-sizing: border-box;
}

.sic-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #000;
    border-bottom: 1px solid var(--sic-header-border);
    transition: box-shadow 0.25s ease;
}

.sic-header.sic-header-scrolled {
    box-shadow: 0 8px 28px rgba(18, 55, 27, 0.09);
}

.sic-header .sic-navbar {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* Logo */

.sic-header .sic-brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    text-decoration: none;
}

.sic-header .sic-brand img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: 65px;
    object-fit: contain;
    object-position: left center;
}

/* Navigation */

.sic-header .sic-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.sic-header .sic-nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sic-header .sic-nav-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.sic-header .sic-nav-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.sic-header .sic-nav-link:hover,
.sic-header .sic-nav-link:focus-visible,
.sic-header .sic-nav-link.sic-active {
    background: var(--sic-green-light);
    color: var(--sic-green);
}

.sic-header .sic-dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.sic-header .sic-has-dropdown.sic-dropdown-open
.sic-dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown */

.sic-header .sic-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1002;
    display: none;
    width: 235px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid var(--sic-header-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(18, 55, 27, 0.12);
}

.sic-header .sic-has-dropdown.sic-dropdown-open
.sic-dropdown-menu {
    display: block;
    animation: sicDropdownEnter 0.18s ease both;
}

.sic-header .sic-dropdown-menu li {
    margin: 0;
    padding: 0;
}

.sic-header .sic-dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 6px;
    color: var(--sic-header-text);
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.sic-header .sic-dropdown-menu a:hover,
.sic-header .sic-dropdown-menu a:focus-visible {
    background: var(--sic-green-light);
    color: var(--sic-green);
}

/* Enquiry Button */

.sic-header .sic-nav-action {
    flex-shrink: 0;
}
.sic-header .sic-header-cta {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 19px;
    border: 1px solid var(--sic-green);
    border-radius: 6px;
    background: var(--sic-green);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sic-header .sic-header-cta:hover {
    transform: translateY(-1px);
    background: var(--sic-green-dark);
    color: #fff;
}

.sic-header .sic-header-cta i {
    font-size: 12px;
}

/* Mobile Menu Toggle */

.sic-header .sic-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid var(--sic-header-border);
    border-radius: 6px;
    background: #fff;
    color: var(--sic-green);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
}

.sic-header .sic-menu-lines {
    display: flex;
    width: 19px;
    flex-direction: column;
    gap: 5px;
}

.sic-header .sic-menu-lines span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease;
}

.sic-header .sic-menu-toggle[aria-expanded="true"]
.sic-menu-lines span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.sic-header .sic-menu-toggle[aria-expanded="true"]
.sic-menu-lines span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

@keyframes sicDropdownEnter {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet and Mobile */

@media (max-width: 991.98px) {
    .sic-header .sic-navbar {
        min-height: 76px;
        gap: 15px;
    }

    .sic-header .sic-brand img {
        width: 165px;
        height: 58px;
    }

    .sic-header .sic-menu-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .sic-header .sic-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        gap: 15px;
        padding: 18px 20px 24px;
        border-top: 1px solid var(--sic-header-border);
        background:#080808;
        box-shadow: 0 16px 25px rgba(18, 55, 27, 0.09);
    }

    .sic-header .sic-navigation.sic-menu-open {
        display: flex;
        animation: sicDropdownEnter 0.2s ease both;
    }

    .sic-header .sic-nav-list {
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
    }

    .sic-header .sic-nav-item {
        width: 100%;
    }

    .sic-header .sic-nav-link {
        display: flex;
        width: 100%;
        min-height: 46px;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        text-align: left;
        white-space: normal;
    }

    .sic-header .sic-dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 4px;
        padding: 5px 8px 5px 15px;
        border: 0;
        border-left: 2px solid #d5ead8;
        border-radius: 0;
        background: #f8fbf8;
        box-shadow: none;
        animation: none;
    }

    .sic-header .sic-dropdown-menu a {
        padding: 11px 12px;
    }

    .sic-header .sic-nav-action {
        width: 100%;
    }

    .sic-header .sic-header-cta {
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 380px) {
    .sic-header .sic-brand img {
        width: 135px;
        height: 52px;
    }

    .sic-header .sic-menu-toggle {
        gap: 7px;
        padding: 10px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sic-header *,
    .sic-header *::before,
    .sic-header *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Sticky WhatsApp Icon */
.sic-whatsapp-sticky {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;

    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #fff !important;
    font-size: 35px;
    text-decoration: none !important;

    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);

    animation: sicWhatsappPulse 2s infinite;
    transition: transform 0.3s ease, background 0.3s ease;
}

.sic-whatsapp-sticky:hover {
    background: #128C7E;
    color: #fff !important;
    transform: scale(1.1);
}

.sic-whatsapp-sticky i {
    line-height: 1;
}

@keyframes sicWhatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5),
                    0 5px 20px rgba(0, 0, 0, 0.18);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0),
                    0 5px 20px rgba(0, 0, 0, 0.18);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0),
                    0 5px 20px rgba(0, 0, 0, 0.18);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .sic-whatsapp-sticky {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 16px;
        font-size: 30px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .sic-whatsapp-sticky {
        animation: none;
    }
}
