/* Jobysthan - Compact Hero Section CSS */

.hero-section {
    background: var(--grad-dark);
    position: relative;
    padding: 4rem 0 3.5rem 0; /* Reduced height (kam height) */
    overflow: hidden;
}

/* Background glowing circles for rich design */
.hero-glow-1 {
    position: absolute;
    top: -250px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, rgba(0,0,0,0) 70%);
    border-radius: var(--radius-full);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -250px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, rgba(0,0,0,0) 70%);
    border-radius: var(--radius-full);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 2.2rem; /* More compact */
    font-weight: 700;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Pill-Shaped Unified Search Container Styling */
.search-container {
    width: 100%;
    max-width: 950px;
    background: #ffffff;
    border-radius: 9999px; /* Pill Shape */
    padding: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Input Fields styling */
.search-group {
    background: transparent;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.search-group:not(:last-child) {
    border-right: 1px solid var(--border-color); /* Separator Line */
}

/* Flex ratios for the inputs */
.search-group.keyword-group {
    flex: 1.5;
}

.search-group.location-group {
    flex: 1.2;
}

.search-group.experience-group {
    flex: 1;
}

.search-group i {
    color: var(--primary);
    font-size: 1rem;
    width: 18px;
    opacity: 0.75;
}

.search-input {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0;
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Select dropdown style */
.search-select {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 1.25rem;
}

/* Deep Purple Search button */
.btn-search {
    width: auto;
    min-height: 46px;
    padding: 0 2.25rem;
    border-radius: 9999px; /* Pill button */
    background: #1e1b4b; /* Deep Indigo/Purple */
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-search:hover {
    background: #12102f;
    transform: scale(1.02);
}

/* Browse jobs horizontal strip */
.hero-browse-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 1rem;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 950px;
    width: 100%;
}

.browse-label {
    background: #4f46e5;
    color: #ffffff;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.browse-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.5rem 1.25rem;
    overflow-x: auto;
    color: #cbd5e1;
    list-style: none;
    width: 100%;
}

.browse-links::-webkit-scrollbar {
    display: none; /* Hide scrollbar for clean strip look */
}

.browse-link-item a {
    color: #cbd5e1;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.browse-link-item a:hover {
    color: #ffffff;
}

/* Responsive constraints for Hero */
@media (max-width: 992px) {
    .search-container {
        border-radius: var(--radius-md);
        padding: 0.75rem;
    }
    
    .search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .search-group {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem;
    }
    
    .btn-search {
        border-radius: var(--radius-sm);
        min-height: 48px;
        width: 100%;
        margin-top: 0.25rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-section {
        padding: 3rem 0 2.5rem 0;
    }
}
