/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES */
:root {
    --font-primary: 'Manrope', sans-serif;
    --font-secondary: 'Sora', sans-serif;

    --text-dark: #222;
    --text-light: #fff;

    --primary: #ff6600;
    --primary-dark: #ff3300;

    --gradient-primary: linear-gradient(90deg, #ff6600, #ff3300);
    --smooth: all 0.3s ease;
}

/* BODY */
body {
    font-family: var(--font-primary);
    padding-top: 120px;
    /* space for fixed header */
    color: var(--text-dark);
}

/* TOP BAR */
.top-bar {
    background: #f8f9fa;
    font-size: 14px;
}

.top-bar a {
    color: #000;
    text-decoration: none;
}

/* FIXED HEADER */
.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    transition: var(--smooth);
}

/* NAVBAR */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--smooth);
}

.navbar-nav .nav-item {
    margin: 0 12px;
    /* Increase or decrease spacing */
}

/* NAVBAR SHRINK EFFECT */
.fixed-header.shrink .navbar {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.fixed-header.shrink .navbar-brand img {
    height: 32px !important;
    transition: 0.3s ease;
}

/* NAV LINKS */
.nav-link {
    color: #000 !important;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

/* ACTIVE + HOVER */
.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark) !important;
}

/* UNDERLINE ANIMATION */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1.1px;
    background: linear-gradient(90deg, #ff6600, #ff3300);
    transition: width 0.35s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* BUTTON */
.btn-gradient {
    background: var(--gradient-primary);
    color: #fff !important;
    border-radius: 30px;
    padding: 10px 25px;
    transition: 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

/* =========================================================
   MOBILE RESPONSIVE FIXES (UPPROLIX HEADER)
   ========================================================= */
@media (max-width: 768px) {

    /* 🔥 1. Top bar hide on mobile */
    .top-bar {
        display: none !important;
    }

    /* 🔥 2. Request Quote button hide on mobile */
    .btn-gradient {
        display: none !important;
    }

    /* 🔥 3. Reduce top padding because top-bar hidden */
    body {
        padding-top: 90px !important;
    }

    /* 🔥 4. Navbar spacing adjust */
    .navbar {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    }

    /* 🔥 5. Mobile logo size reduce */
    .navbar-brand img {
        height: 36px !important;
    }

    /* 🔥 6. Shrink effect in mobile */
    .fixed-header.shrink .navbar {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .fixed-header.shrink .navbar-brand img {
        height: 28px !important;
    }

    /* 🔥 7. Mobile menu text spacing improve */
    .nav-link {
        padding: 10px 0 !important;
        text-align: center;
        font-size: 16px;
    }

    /* Underline animation off for mobile (optional) */
    .nav-link::after {
        display: none;
    }
}

/* =========================================================
   NAVBAR TOGGLER ICON RIGHT SIDE (MOBILE)
   ========================================================= */
@media (max-width: 768px) {

    .navbar-toggler {
        margin-left: auto !important;
        /* Move to right */
        border: none;
        /* Optional clean style */
    }

    .navbar-toggler:focus {
        outline: none !important;
        box-shadow: none !important;
    }
}

/* @media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin: 0 18px;
    }
} */

/* =========================================================
   RESPONSIVE TOP BAR FOR MOBILE
   ========================================================= */
@media (max-width: 768px) {

    .top-bar {
        padding: 8px 15px !important;
        display: flex;
        flex-direction: column;
        /* Stacked view */
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 6px;
        /* Space between lines */
    }

    /* Contact info center aligned */
    .top-bar .contact-info span {
        display: block;
        margin: 2px 0;
        font-size: 13px;
        /* Smaller clean text */
    }

    /* Follow us & icons center aligned */
    .social-icons {
        font-size: 12px;
    }

    .social-icons a {
        margin: 0 6px;
        font-size: 15px;
        /* Icon size */
    }

    /* Remove default spacing */
    .ms-4 {
        margin-left: 0 !important;
    }
}

/* MOBILE: hide top bar */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}