/* Start custom CSS for html, class: .elementor-element-5b0a45f *//* Floating Header Styling */
:root {
    --primary-blue: #2563eb; /* Matches the blue in Webplat image */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #fafbfc;
    --header-bg: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    
    /* Grid background pattern */
    background-image: 
        linear-gradient(to right, rgba(200, 210, 225, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(200, 210, 225, 0.4) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

.floating-header {
   position: absolute;
  top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--header-bg);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-blue);
}

.header-logo {
    height: 40px!important;
    width: auto;
    object-fit: contain;
    display: block;
    /* Adding scale in case the image has a lot of transparent padding around it */
    transform: scale(1.4);
    transform-origin: left center;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--header-bg);
    min-width: 300px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    pointer-events: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
    pointer-events: auto;
}

/* Invisible bridge so mouse doesn't lose hover between nav link and menu */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px; 
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}

/* CTA Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

/* Mobile Toggle - Hidden by default */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
}

/* Responsive Mobile Header & Drawer */
@media (max-width: 992px) {
    .floating-header {
        width: 92%;
        top: 12px;
        left: 4%;
        transform: none;
    }

    .header-container {
        padding: 8px 16px;
        position: relative;
    }

    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f1f5f9;
        border-radius: 12px;
        border: 1px solid #cbd5e1;
        color: #0f172a;
        cursor: pointer;
        transition: all 0.2s ease;
        z-index: 1001;
    }

    .header-container.nav-active .mobile-toggle {
        background: #eff6ff;
        color: #2563eb;
        border-color: #93c5fd;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04);
        border: 1px solid #e2e8f0;
        padding: 16px 14px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        pointer-events: none;
        z-index: 1000;
        overflow: visible;
    }

    .header-container.nav-active .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links .nav-link {
        padding: 10px 14px;
        border-radius: 10px;
        text-align: left;
        font-weight: 600;
        font-size: 0.95rem;
        color: #1e293b;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nav-links .nav-link:hover,
    .nav-links .nav-link.active {
        background: #f1f5f9;
        color: #2563eb;
    }

    /* Accordion Dropdown on Mobile */
    .nav-links .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-links .dropdown-toggle {
        width: 100%;
    }

    .nav-links .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        width: 100%;
        padding: 4px 0 4px 12px;
        margin-top: 2px;
        display: none;
        flex-direction: column;
        gap: 2px;
        align-items: stretch;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Show dropdown when toggled open on mobile */
    .nav-links .dropdown.open .dropdown-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: #f8fafc !important;
        border-radius: 12px !important;
        padding: 8px 12px !important;
        margin: 6px 0 !important;
        border: 1px solid #e2e8f0 !important;
    }

    .nav-links .dropdown-item {
        padding: 8px 12px;
        font-size: 0.9rem;
        color: #334155 !important;
        text-align: left;
        width: 100%;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .nav-links .dropdown-item:hover {
        background: #e2e8f0 !important;
        color: #2563eb !important;
    }

    /* Mobile CTA Button */
    .mobile-menu-cta {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-top: 8px;
        padding: 12px 18px;
        border-radius: 50px;
        font-size: 0.92rem;
        font-weight: 700;
        text-align: center;
        background: #2563eb;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }
}

@media (min-width: 993px) {
    .mobile-menu-cta {
        display: none !important;
    }
}/* End custom CSS */