@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============ Vimana Construction Chemicals Scoped CSS ============ */
:root {
    --vm-primary: #2F5AA8;
    --vm-primary-glow: #4C7BD1;
    --vm-accent: #18A85B;
    --vm-accent-glow: #2CC873;
    --vm-charcoal: #1A2238;
    --vm-charcoal-soft: #3C4666;
    --vm-muted: #6B7391;
    --vm-border: #E5E9F2;
    --vm-bg: #ffffff;
    --vm-soft: #F4F7FB;
    --vm-radius: 1rem;
    --vm-gradient-brand: linear-gradient(135deg, #2F5AA8 0%, #3F6BC0 45%, #18A85B 100%);
    --vm-gradient-cta: linear-gradient(135deg, #1E3A78 0%, #2F5AA8 50%, #18A85B 100%);
    --vm-shadow-card: 0 8px 30px -12px rgba(26, 34, 56, .12);
    --vm-shadow-card-hover: 0 24px 60px -20px rgba(26, 34, 56, .22);
    --vm-shadow-elegant: 0 20px 60px -20px rgba(47, 90, 168, .35);
    --vm-shadow-glow: 0 0 60px rgba(76, 123, 209, .45);
    --vm-shadow-accent: 0 20px 50px -20px rgba(24, 168, 91, .45);
    --font-family: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: 280ms ease;
    --nav-height: 5.25rem;
    --vmn-nav-height: 5.25rem;
}

/* Prevent global style bleeding */
.vm-header,
.vm-header *,
.vm-footer,
.vm-footer * {
    box-sizing: border-box;
    font-family: var(--font-family);
}

/* Shared Layout Containers & Buttons */
.vm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vm-btn-primary {
    background: var(--vm-primary);
    color: #ffffff;
    padding: 13px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}

.vm-btn-primary:hover {
    background: var(--vm-accent);
    color: #ffffff;
}

/*==========================
    NAVBAR
==========================*/
.vm-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: 0.35s ease;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}

.vm-nav-wrapper {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
}

/* was previously inert: only tightens the header once past a scroll
   threshold, using the existing card-hover shadow token */

.vm-header.vm-scrolled {
    box-shadow: var(--vm-shadow-card-hover);
}

.vm-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.vm-logo-img {
    height: 100px;
    width: auto;
}

/* FIX: .vm-nav-links is the <nav>, but its only direct child is the
   <ul class="nav-item">, so flex here never touched the actual <li>
   items — they were falling back to default block stacking. The
   flex + gap need to live on .nav-item itself. */
.vm-nav-links {
    display: flex;
    align-items: center;
}

.vm-nav-links .nav-item {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links {
    position: relative;
}

.vm-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vm-nav-link:hover {
    color: var(--vm-primary);
}

.vm-nav-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vm-phone-link {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
}

.vm-header.vm-scrolled .vm-phone-link {
    color: #222222;
}

.vm-menu-btn {
    display: none;
    font-size: 30px;
    border: none;
    background: #1c2e4e;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.vm-menu-btn:hover {
    background: var(--vm-accent);
}

.vm-header.vm-scrolled .vm-menu-btn {
    color: #ffffff;
}

/*==========================
    DESKTOP DROPDOWNS
==========================*/

.vm-dropdown-caret {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.vm-dropdown:hover .vm-dropdown-caret,
.vm-dropdown:focus-within .vm-dropdown-caret {
    transform: rotate(180deg);
}

.vm-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 14px 0 0;
    padding: 10px;
    min-width: 260px;
    list-style: none;
    background: var(--vm-bg);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    box-shadow: var(--vm-shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
}

.vm-dropdown-menu--wide {
    min-width: 560px;
    columns: 2;
    column-gap: 6px;
}

.vm-dropdown-menu li {
    margin: 0;
    break-inside: avoid;
}

.vm-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: calc(var(--vm-radius) - 6px);
    color: var(--vm-charcoal);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.vm-dropdown-menu a:hover,
.vm-dropdown-menu a:focus-visible {
    background: var(--vm-soft);
    color: var(--vm-primary);
    padding-left: 18px;
}

.vm-dropdown:hover .vm-dropdown-menu,
.vm-dropdown:focus-within .vm-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*==========================
    MOBILE MENU
==========================*/

.vm-mobile-menu {
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 20px;
    border-top: 1px solid var(--vm-border);
    max-height: calc(100dvh - 106px);
    overflow-y: auto;
}

.vm-mobile-menu.vm-open {
    display: flex;
}

.vm-mobile-menu .nav-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vm-mobile-link {
    display: block;
    padding: 15px 0;
    color: #222222;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.vm-mobile-dropdown {
    display: flex;
    flex-direction: column;
}

.vm-mobile-toggle {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0;
    color: #222222;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.vm-mobile-caret {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.vm-mobile-dropdown.vm-open-sub .vm-mobile-caret {
    transform: rotate(180deg);
}

.vm-mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.vm-mobile-dropdown.vm-open-sub .vm-mobile-submenu {
    max-height: 900px;
}

.vm-mobile-submenu li a {
    display: block;
    padding: 12px 0 12px 18px;
    color: #444444;
    font-weight: 500;
    font-size: 14.5px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.vm-mobile-submenu li a:hover {
    color: var(--vm-primary);
}

.vm-mobile-btn {
    text-align: center;
    margin-top: 15px;
    width: 100%;
}

@media(max-width: 991px) {

    .vm-nav-links,
    .vm-nav-right {
        display: none;
    }

    .vm-menu-btn {
        display: flex;
    }
    .vm-logo-img {
    height: 70px;
}
    
}


/*====================================
            FOOTER
====================================*/

.vm-footer {
    background: var(--vm-charcoal);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 25px;
}

/*========== GRID ==========*/

.vm-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.5fr 1.6fr 1.2fr;
    gap: 45px;
}

/*========== LOGO ==========*/

.vm-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 22px;
}

.vm-footer-logo-img {
    height: 109px;
    width: auto;
}

/*========== DESCRIPTION ==========*/

.vm-footer-desc {
    color: rgba(255, 255, 255, .70);
    font-size: 15px;
    line-height: 1.8;
    max-width: 320px;
    margin: 0 0 22px;
}

/*========== HEADINGS ==========*/

.vm-footer-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 22px;
}

/*========== MENU ==========*/

.vm-footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vm-footer-nav-item {
    margin-bottom: 12px;
}

.vm-footer-nav-link {
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
    transition: .3s ease;
    word-break: break-word;
}

.vm-footer-nav-link:hover {
    color: var(--vm-accent);
    transform: translateX(6px);
}

/*========== CONTACT ==========*/

.vm-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vm-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.vm-contact-icon {
    width: 18px;
    height: 18px;
    color: var(--vm-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.vm-contact-text,
.vm-contact-link {
    color: rgba(255, 255, 255, .72);
    line-height: 1.8;
    text-decoration: none;
    transition: .3s;
}

.vm-contact-link:hover {
    color: var(--vm-accent);
}

/*========== SOCIAL ==========*/

.vm-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.vm-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);

    display: flex;
    justify-content: center;
    align-items: center;

    color: rgba(255, 255, 255, .75);
    text-decoration: none;

    transition: .35s ease;
}

.vm-social-link svg {
    width: 18px;
    height: 18px;
}

.vm-social-link:hover {
    background: var(--vm-accent);
    border-color: var(--vm-accent);
    color: #fff;
    transform: translateY(-4px);
}

/*========== NEWSLETTER ==========*/

.vm-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vm-newsletter-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    outline: none;
    transition: .3s;
}

.vm-newsletter-input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.vm-newsletter-input:focus {
    border-color: var(--vm-accent);
}

.vm-newsletter-btn {
    width: 100%;
}

/*========== FOOTER BOTTOM ==========*/

.vm-footer-bottom {

    margin-top: 60px;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, .12);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.vm-footer-copyright {
    margin: 0;
    font-size: 14px;
}

.vm-footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.vm-footer-bottom-link {
    text-decoration: none;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    transition: .3s;
}

.vm-footer-bottom-link:hover {
    color: var(--vm-accent);
}

/*====================================
        RESPONSIVE
====================================*/

/* Large Laptop */

@media(max-width:1200px) {

    .vm-footer-grid {

        grid-template-columns:
            repeat(2, minmax(280px, 1fr));

        gap: 40px;

    }

}

/* Tablet */

@media(max-width:768px) {

    .vm-footer {

        padding: 60px 0 25px;

    }

    .vm-footer-grid {

        grid-template-columns: 1fr;

        gap: 40px;

        text-align: center;

    }

    .vm-footer-desc {

        margin-inline: auto;

    }

    .vm-footer-logo {

        margin: 0 auto 20px;

    }

    .vm-socials {

        justify-content: center;

    }

    .vm-contact-item {

        justify-content: center;
        text-align: left;

    }

    .vm-newsletter-form {

        max-width: 420px;
        margin: auto;

    }

    .vm-footer-bottom {

        flex-direction: column;
        text-align: center;

    }

    .vm-footer-bottom-links {

        justify-content: center;

    }

}

/* Mobile */

@media(max-width:480px) {

    .vm-footer {

        padding: 50px 0 20px;

    }

    .vm-footer-grid {

        gap: 35px;

    }

    .vm-footer-heading {

        font-size: 17px;

    }

    .vm-footer-desc {

        font-size: 14px;

    }

    .vm-footer-nav-link {

        font-size: 14px;

    }

    .vm-contact-text,
    .vm-contact-link {

        font-size: 14px;

    }

    .vm-social-link {

        width: 42px;
        height: 42px;

    }

    .vm-footer-bottom {

        margin-top: 40px;
        padding-top: 20px;

    }

    .vm-footer-bottom-links {

        gap: 15px;

    }

}

/* Rebuild overrides: compact, keyboard-friendly navigation and safe mobile layout. */
:root {
    --vm-focus: 0 0 0 3px rgba(24, 168, 91, .35);
}

.vm-header {
    isolation: isolate;
}

.vm-logo-img {
    max-width: min(13rem, 42vw);
    height: clamp(3.25rem, 7vw, 5.5rem);
    object-fit: contain;
}

.vm-nav-link,
.vm-mobile-link,
.vm-mobile-toggle,
.vm-menu-btn,
.vm-btn-primary,
.vm-footer a {
    -webkit-tap-highlight-color: transparent;
}

.vm-nav-link:focus-visible,
.vm-mobile-link:focus-visible,
.vm-mobile-toggle:focus-visible,
.vm-menu-btn:focus-visible,
.vm-btn-primary:focus-visible,
.vm-footer a:focus-visible {
    outline: none;
    box-shadow: var(--vm-focus);
}

.vm-menu-btn {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: .65rem;
}

.vm-menu-btn svg {
    width: 1.4rem;
    height: 1.4rem;
}

.vm-mobile-menu {
    position: absolute;
    inset: 100% 0 auto;
    width: 100%;
    max-height: calc(100dvh - 4.5rem);
    box-shadow: 0 1rem 2rem rgba(26, 34, 56, .12);
}

.vm-mobile-menu.vm-open {
    display: flex;
}

.vm-mobile-toggle,
.vm-mobile-link {
    min-height: 2.75rem;
}

body.vm-menu-open {
    overflow: hidden;
}

.vm-footer-nav-link,
.vm-contact-link,
.vm-social-link {
    min-height: 2.75rem;
}

@media (max-width: 991px) {
    .vm-nav-wrapper {
        padding: .65rem max(1rem, env(safe-area-inset-left));
        min-height: 4.5rem;
    }

    .vm-logo-img {
        height: 3.75rem;
    }
}

@media (min-width: 992px) {
    .vm-nav-wrapper {
        min-height: 5.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vm-header,
    .vm-dropdown-menu,
    .vm-mobile-submenu,
    .vm-mobile-caret,
    .vm-social-link,
    .vm-footer-nav-link {
        transition: none;
    }
}
