/* =====================================================
   MZANSI LOCATION
   HERO SECTION
   ===================================================== */

.ml-hero {
    position: relative;

    width: 100%;
    min-height: 720px;

    overflow: hidden;

    background: #0f172a;
}


/* =====================================================
   BACKGROUND
   ===================================================== */

.ml-hero-background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
}

.ml-hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition: opacity 1.5s ease;
}

.ml-hero-slide.active {
    opacity: 1;
}


/* =====================================================
   OVERLAY
   ===================================================== */

.ml-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.65),
            rgba(15, 23, 42, 0.45),
            rgba(15, 23, 42, 0.78)
        );

    z-index: 2;
}


/* =====================================================
   HERO CONTENT
   ===================================================== */

.ml-hero-content {
    position: relative;

    z-index: 3;

    width: 92%;
    max-width: 1200px;

    min-height: 720px;

    margin: 0 auto;

    padding-top: 110px;
    padding-bottom: 80px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}


/* =====================================================
   HEADING
   ===================================================== */

.ml-hero-heading {
    width: 100%;

    max-width: 850px;

    text-align: center;

    color: #ffffff;

    margin-bottom: 45px;
}

.ml-hero-heading h1 {
    margin: 0;

    font-size: clamp(42px, 6vw, 76px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.5px;
}

.ml-hero-heading p {
    margin: 20px 0 8px;

    font-size: clamp(24px, 3vw, 34px);

    font-weight: 600;

    color: #f59e0b;
}

.ml-hero-heading span {
    display: block;

    font-size: 18px;

    line-height: 1.6;

    color: rgba(255,255,255,0.9);
}


/* =====================================================
   SEARCH PANEL
   ===================================================== */

.ml-search {
    width: 100%;

    max-width: 1100px;

    padding: 30px;

    background: rgba(255,255,255,0.97);

    border-radius: 22px;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.3);

    backdrop-filter: blur(10px);
}


/* =====================================================
   SEARCH GRID
   ===================================================== */

.ml-search-grid {
    display: grid;

    grid-template-columns:
        1.2fr
        1.4fr
        1fr
        0.9fr
        0.9fr;

    gap: 14px;
}

.ml-search-field {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.ml-search-field label {
    font-size: 13px;

    font-weight: 600;

    color: #475569;
}


/* =====================================================
   INPUTS
   ===================================================== */

.ml-input {
    width: 100%;

    height: 56px;

    padding: 0 15px;

    border: 1px solid #dbe1e8;

    border-radius: 10px;

    background: #ffffff;

    color: #0f172a;

    font-size: 15px;

    outline: none;
}

.ml-input:focus {
    border-color: #f59e0b;

    box-shadow:
        0 0 0 3px rgba(245,158,11,0.15);
}


/* =====================================================
   SEARCH BUTTONS
   ===================================================== */

.ml-search-actions {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin-top: 22px;
}

.ml-search-button {
    min-width: 180px;

    height: 52px;

    padding: 0 28px;

    border: none;

    border-radius: 10px;

    background: #f59e0b;

    color: #ffffff;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;
}

.ml-search-button:hover {
    background: #d97706;
}

.ml-clear-button {
    height: 52px;

    padding: 0 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #cbd5e1;

    border-radius: 10px;

    color: #475569;

    background: #ffffff;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;
}

.ml-clear-button:hover {
    background: #f8fafc;

    color: #0f172a;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    .ml-hero {
        min-height: auto;
    }

    .ml-hero-content {
        min-height: auto;

        padding-top: 80px;
        padding-bottom: 70px;
    }

    .ml-search-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width: 600px) {

    .ml-hero {
        min-height: 760px;
    }

    .ml-hero-content {
        width: 92%;
        min-height: 760px;

        padding-top: 55px;
        padding-bottom: 45px;

        justify-content: center;
    }

    .ml-hero-heading {
        margin-bottom: 24px;
    }

    .ml-hero-heading h1 {
        font-size: 42px;
        line-height: 1.08;
        letter-spacing: -0.8px;
    }

    .ml-hero-heading p {
        font-size: 22px;
        margin: 12px 0 6px;
    }

    .ml-hero-heading span {
        font-size: 15px;
        line-height: 1.45;
    }

    .ml-search {
        padding: 18px;
        border-radius: 18px;
    }

    .ml-search-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .ml-search-field {
        gap: 5px;
    }

    .ml-search-field label {
        font-size: 12px;
    }

    .ml-input {
        height: 52px;
        font-size: 15px;
    }

    .ml-search-actions {
        flex-direction: row;
        gap: 10px;
        margin-top: 16px;
    }

    .ml-search-button,
    .ml-clear-button {
        width: 50%;
        height: 50px;
    }

}
