/* ========================================
   NEW HERO SECTION STYLES
   Horizontal Layout - Text Left, Search Right
   ======================================== */

/* Hero Section */
.hero-section-new {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
    padding: 6.5rem 0;
    border-radius: 30px;
    margin: 1rem;
    position: relative;
    overflow: hidden;


}

/* Ensure the active hero class has relative positioning for particles */
.hero {
    position: relative;
    z-index: 0;
    margin-top: 30px;
}

/* Background Particles Canvas */
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Above background, below content */
    pointer-events: none;
    /* Click-through */
    opacity: 0.8;
    /* Subtle visibility */
}

/* Container */
.hero-section-new .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 20px;
}

/* Hero Content - Horizontal Flex Layout */
.hero-content-new {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* Hero Text - Left Side */
.hero-text-new {
    flex: 1;
    max-width: 500px;
}

.hero-text-new h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Hero Search - Right Side */
.hero-search-new {
    flex: 0 0 auto;
    width: 650px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-search-input-new {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
}

.hero-search-input-new::placeholder {
    color: #9ca3af;
}

.hero-search-btn-new {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search-btn-new i {
    font-size: 1.125rem;
}

.hero-search-btn-new:hover {
    background: #1f2937;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content-new {
        gap: 2rem;
    }

    .hero-text-new h1 {
        font-size: 2.25rem;
    }

    .hero-search-new {
        width: 380px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section-new {
        padding: 2.5rem 0;
        margin: 0.5rem;
    }

    .hero-section-new .container {
        padding: 0 1.5rem;
        

    }

    .hero-content-new {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .hero-text-new {
        max-width: 100%;
    }

    .hero-text-new h1 {
        font-size: 1.875rem;
    }

    .hero-search-new {
        width: 100%;
    }

    .hero {
        margin-top: 80px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-section-new {
        padding: 2rem 0;

    }

    .hero-section-new .container {
        padding: 0 1rem;
    }

    .hero-text-new h1 {
        font-size: 1.625rem;
    }

    .hero-search-input-new {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }

    .hero-search-btn-new {
        padding: 0.875rem 1.25rem;
    }
}