@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #004aad;
    --primary-light: #0066ff;
    --secondary: #00c2cb;
    --accent: #ff6b6b;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 60px;
}

header.scrolled .logo {
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

@media (min-width: 993px) {
    .nav-links li {
        padding: 10px 0;
    }

    .nav-links a {
        font-weight: 500;
        font-size: 0.95rem;
        color: var(--white);
    }

    header.scrolled .nav-links a {
        color: var(--dark);
    }

    .nav-links a:hover {
        color: var(--secondary);
    }

    header.scrolled .nav-links a:hover {
        color: var(--primary);
    }

    .nav-links a.active {
        color: var(--secondary);
        font-weight: 600;
    }

    header.scrolled .nav-links a.active {
        color: var(--primary);
    }

    /* Make injected drawer-body invisible/transparent on desktop */
    .drawer-body {
        display: contents;
        /* children participate in parent flex as if wrapper doesn't exist */
    }

    /* Hide mobile-only injected elements */
    .nav-icon,
    .drawer-close {
        display: none !important;
    }
}


/* Dropdown System */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 650px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1100;
}

.nav-links li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-col h4 {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light);
}

.dropdown-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-col ul li {
    padding: 0;
}

.dropdown-col ul li a {
    color: #555 !important;
    font-weight: 400;
    font-size: 0.88rem;
    transition: var(--transition);
    display: block;
}

.dropdown-col ul li a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
}

/* Standard Corporate Footer */
.main-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 80px 0 30px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-col p {
    color: #aaa;
    line-height: 1.7;
    margin: 20px 0;
    font-size: 0.95rem;
}

.brand-col .logo img {
    height: 60px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
}

.contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #aaa;
    font-size: 0.95rem;
}

.contact-info li i {
    color: var(--secondary);
    margin-top: 4px;
}

.btn-footer {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-footer:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    color: #fff;
}

.footer-bottom {
    text-align: center;
}

.divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    width: 100%;
}

.footer-bottom p {
    color: #555;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.btn-cta {
    background: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);
}

.btn-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 74, 173, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../assets/hero-bg.png') center/cover;
    color: var(--white);
    position: relative;
    padding-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 30px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-blue {
    background: #0047AB;
    /* Premium Blue */
    color: white !important;
    padding: 18px 45px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-white {
    background: white;
    color: #0047AB !important;
    padding: 18px 45px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-blue:hover,
.btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Category Sections */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-item {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    transition: var(--transition);
}

.category-item:hover img {
    transform: scale(1.1);
}

.category-item:hover .category-overlay {
    padding-bottom: 50px;
}

/* B2B Section */
.b2b-section {
    background: var(--light);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   Mobile Hamburger & App-Like Drawer
   ============================================= */

/* Hamburger toggle button */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 1200;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    font-size: 1.15rem;
    color: var(--white);
}

header.scrolled .menu-toggle {
    background: rgba(0, 74, 173, 0.08);
    border-color: rgba(0, 74, 173, 0.2);
    color: var(--dark);
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

/* Dark overlay (injected by JS) */
.nav-overlay {
    /* position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(3px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease; */
}

.nav-overlay.active {
    pointer-events: all;
}

/* =============================================
   @media: Drawer Panel (≤ 992px)
   ============================================= */
@media (max-width: 992px) {

    /* Show hamburger, hide desktop CTA */
    .menu-toggle {
        display: flex;
    }

    nav>.btn-cta {
        display: none;
    }

    /* Drawer slide-in panel */
    .nav-links {
        position: fixed;
        top: 0;
        right: -110%;
        width: min(85vw, 360px);
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1200;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    /* Floating close button — pinned to top-right of drawer */
    .drawer-close {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f0f0f0;
        color: var(--dark);
        font-size: 0.85rem;
        cursor: pointer;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        transition: background 0.2s ease, transform 0.3s ease;
        z-index: 10;
    }

    .drawer-close:hover {
        background: #e0e0e0;
        transform: rotate(90deg);
    }



    .drawer-body {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 0;
    }

    /* Nav list items */
    .nav-links .drawer-body>li {
        padding: 0;
        border-bottom: 1px solid #f2f2f2;
    }

    .nav-links .drawer-body>li:last-child {
        border-bottom: none;
    }

    .nav-links .drawer-body>li>a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        color: var(--dark) !important;
        font-size: 0.97rem;
        font-weight: 600;
        text-align: left;
        width: 100%;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-links .drawer-body>li>a:hover {
        background: #f5f8ff;
        color: var(--primary) !important;
    }

    /* Icon badge (injected by JS) */
    .nav-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: #eef2ff;
        color: var(--primary);
        font-size: 0.8rem;
        flex-shrink: 0;
        transition: var(--transition);
    }

    .nav-links .drawer-body>li>a:hover .nav-icon {
        background: var(--primary);
        color: #fff;
    }

    .nav-links .drawer-body>li>a.active {
        background: #f5f8ff;
        color: var(--primary) !important;
        border-right: 3px solid var(--primary);
    }

    .nav-links .drawer-body>li>a.active .nav-icon {
        background: var(--primary);
        color: #fff;
    }

    /* Chevron on the Products dropdown trigger */
    .has-dropdown>a>i.fa-chevron-down {
        margin-left: auto !important;
        font-size: 0.65rem !important;
        margin-right: 0 !important;
        color: #bbb;
        transition: transform 0.3s ease, color 0.3s ease;
        flex-shrink: 0;
    }

    .has-dropdown.active>a>i.fa-chevron-down {
        transform: rotate(180deg);
        color: var(--primary);
    }

    /* Accordion sub-menu */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        background: #f8faff;
        display: none;
        grid-template-columns: 1fr;
        gap: 0;
        min-width: unset;
        border-radius: 0;
        border-top: 1px solid #edf0f8;
        border-bottom: 1px solid #edf0f8;
    }

    .has-dropdown.active .dropdown {
        display: flex;
        flex-direction: column;
        animation: drawerSlideDown 0.25s ease-out;
    }

    @keyframes drawerSlideDown {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown-col {
        padding: 12px 22px 8px;
        margin-bottom: 0;
    }

    .dropdown-col h4 {
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--primary);
        margin-bottom: 6px;
        padding-bottom: 0;
        border-bottom: none;
        font-weight: 700;
    }

    .dropdown-col ul {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .dropdown-col ul li a {
        padding: 7px 10px;
        font-size: 0.87rem;
        color: #555 !important;
        border-radius: 6px;
        display: block;
        font-weight: 400;
        transition: background 0.18s ease, color 0.18s ease;
    }

    .dropdown-col ul li a:hover {
        background: #e6eeff;
        color: var(--primary) !important;
        transform: none;
    }


    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}




@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-blue,
    .btn-white {
        width: 100%;
        text-align: center;
        padding: 15px 30px;
    }
}