:root {
    --brand-blue: #0aa6df;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* GLOBAL CONTAINER */
.container {
    width: 95%;
    max-width: 1180px;
    margin: 0 auto;
}

.top-strip {
    width: 100%;
    background: #f5f5f5;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;

    position: relative;
    z-index: 1000;   /* keeps it above everything but below navbar menu */
} 



.top-strip-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* prevents text overflow */
}

.top-info {
    font-size: 13px;
    color: #444;
}

.btn-strip {
    padding: 6px 14px;
    border: 1px solid var(--brand-blue);
    color: var(--brand-blue);
    font-size: 13px;
    text-decoration: none;
    border-radius: 3px;
    transition: .3s;
}

.btn-strip:hover {
    background: var(--brand-blue);
    color: #fff;
}

.contact-btn {
    background: var(--brand-blue);
    color: #fff;
} 

/* MAIN HEADER */

/* ===== PREMIUM DROPDOWN (CORPORATE) ===== */
.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link .arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* Dropdown shell */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9999;
}

/* Inner padding wrapper */
.dropdown-inner {
    padding: 14px 0;
}

/* Links */
.dropdown-inner a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}



/* Products dropdown arrow (navbar level) */
.has-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Hover / open state */
.dropdown:hover .nav-arrow {
    transform: rotate(-135deg); /* arrow points up */
    border-color: var(--brand-blue);
}

@media (max-width: 900px) {
    .dropdown-menu.show + .nav-arrow,
    .dropdown.open .nav-arrow {
        transform: rotate(-135deg);
    }
}


/* Hover effect */
.dropdown-inner a:hover {
    background: linear-gradient(to right, #f0f7fc, #ffffff);
    color: var(--brand-blue);
    transform: translateX(4px);
}

.dropdown-inner a:hover .dot {
    transform: scale(1.4);
    opacity: 1;
}

/* Show dropdown */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: #f9f9f9;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-inner a {
        padding: 10px 16px;
        font-size: 14px;
    }
}



/* MAIN HEADER */
.main-header {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
    z-index: 999;
    position: relative;
}

/* Header container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    object-fit: contain;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    gap: 28px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    transition: .3s;
}

.nav-menu a.active {
    color: #0098db;
}

.nav-menu a:hover {
    color: var(--brand-blue);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: #000;
    user-select: none;
}

/* Mobile Menu Styling */
@media(max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 65px;
        right: 0;
        width: 240px;
        background: #fff;
        flex-direction: column;
        padding: 18px 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,.15);
        display: none;
        border-radius: 0 0 8px 8px;
        z-index: 1000;
    }

    .nav-menu a {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-menu a.active {
    color: #0098db;
}

    .nav-menu a:last-child {
        border-bottom: none;
    }

    /* Make sure menu does NOT hide behind hero section */
    .main-header {
        z-index: 1000;
    }
}

/* HERO */
.category-hero {
    background: linear-gradient(to right, #eef7fb, #ffffff);
    padding: 80px 0;
    text-align: center;
}

.category-hero h1 {
    font-size: 36px;
    color: var(--brand-blue);
}

.category-hero p {
    font-size: 18px;
    max-width: 750px;
    margin: 10px auto 0;
}

/* INTRO */
.category-intro {
    padding: 40px 0;
}

.category-intro p {
    max-width: 900px;
    margin: auto;
    font-size: 16px;
    line-height: 1.6;
}

/* PRODUCTS */
.products-section {
    padding: 60px 0;
    background: #fafafa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-card h3 {
    margin-top: 15px;
    font-size: 17px;
}

/* CTA */
.category-cta {
    background: var(--brand-blue);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.category-cta h2 {
    font-size: 28px;
}

.cta-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 28px;
    background: #fff;
    color: var(--brand-blue);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .category-hero h1 {
        font-size: 28px;
    }
}

/* ===== Footer ===== */
.footer {
    background: #f5f7fa;
    color: #2b2b2b;
    margin-top: 70px;
    border-top: 1px solid #e0e0e0;
}

.footer-top {
    max-width: 1300px;
    padding: 60px 30px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #003366;
}

.footer-logo {
    width: 180px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 280px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #2b2b2b;
    font-size: 14px;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #0078d4;
}

/* Contact Icons */
.footer-contact li i {
    margin-right: 8px;
    color: #0078d4;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8ecf1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0078d4;
    font-size: 18px;
    transition: 0.25s ease;
}

.social-icon:hover {
    background: #0078d4;
    color: #fff;
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    padding: 18px;
    background: #e7ecf5;
    font-size: 14px;
    color: #4d4d4d;
}

/* Responsive */
@media(max-width: 950px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-tagline {
        max-width: 100%;
    }
    .footer-social {
        justify-content: center;
    }
}
