/* ========================================
   HEADER STYLES
   Mobile-First Design - Logo | Search | Sign Up
   ======================================== */

.header-new {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    margin-top: -40px;

}

.header-new .container {

    margin: 0 auto;
    padding: 0 1rem;


}

/* Flex Layout */
.header-content-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

/* Logo */
.logo-new {
    flex-shrink: 0;

}

.logo-new a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-icon {
    width: 200px;
    height: 50px;

}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

/* Mobile Search Form (Center) */
.mobile-search-form {
    flex: 1;
    display: flex;
    /* Visible by default on mobile */
    align-items: center;
    max-width: 400px;
    /* Limit width on larger screens if needed */
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-field {
    width: 100%;
    padding: 0.625rem 0.75rem 0.625rem 2.25rem;
    /* Space for icon */
    border: 1px solid #e5e7eb;
    border-radius: 99px;
    /* Pill shape like image */
    font-size: 0.875rem;
    color: #1f2937;
    background: #f9fafb;
    outline: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.search-input-field:focus {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input-field::placeholder {
    color: #c3c3c3;
}

.search-icon-input {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.875rem;
    pointer-events: none;
}

/* Desktop Navigation */
.nav-links-new {
    display: none;
    /* Hidden on mobile */
}

/* Header Actions */
.header-actions-new {
    flex-shrink: 0;
}

.btn-signup-new {
    background: #0A2E6E;
    /* Black for Mobile */
    color: #ffffff;
    padding: 0.625rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s ease;
    white-space: nowrap;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}



/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Desktop Styles (> 768px) */
@media (min-width: 769px) {
    .header-new {
        padding: 1rem 0;

    }

    .header-new .container {
        padding: 0 2rem;
        background-color: #ffffff;


    }

    .header-content-new {
        gap: 2rem;
    }

    /* Show Navigation */
    .nav-links-new {
        display: flex;
        align-items: center;
        gap: 2rem;
        flex: 1;
        /* Take center space */
        justify-content: center;
    }

    .nav-link-new {
        text-decoration: none;
        color: #4b5563;
        font-size: 0.9375rem;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .nav-link-new:hover {
        color: #1f2937;
    }

    /* Hide Mobile Search Form on Desktop (or keep it if you want search everywhere, but current design has nav in center) */
    /* If we want standard desktop nav, we hide the mobile search form here */
    .mobile-search-form {
        display: none;
    }

    /* Adjust Logo Text */
    .logo-title {
        font-size: 1.25rem;
    }

    .btn-signup-new {
        background: #0A2E6E;
        /* Dark Grey for Desktop standard? Or keep Blue? User said Dark. */
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        margin-top: 5px;
    }

    .btn-signup-new:hover {
        background: #317be8;
    }
}

/* Small Mobile Adjustments (< 480px) */
@media (max-width: 480px) {
    .logo-text {
        display: none;
        /* Hide logo text on very small screens to fit search bar */
    }

    .search-input-field {
        padding-left: 2rem;
        padding-right: 0.5rem;
        font-size: 0.8125rem;
        /* Smaller font */
    }

    .btn-signup-new {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    .header-new .container {
        padding: 0 0.75rem;
    }
}