.screen-title {
    padding: 15px;
    max-width: 95%; /* Adjusted width to be wider for mobile */
    margin: auto;
    background: #333;
    color: #FFF;
    font-size: 20px; /* Adjusted font size */
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    z-index: 5;
    position: relative;
    margin-bottom: 20px; /* Added space below */
    margin-top: 20px; /* Adjusted space above */
    width: fit-content; /* Adjusted width to fit content */
}

.main-image {
    background-image: url("1.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 650px; /* Adjust height */
    text-align: center;
    margin: auto;
    margin-top: -80px; /* Adjusted to move up */
    max-width: 100%;
    z-index: 0;
    position: relative;
}

.container {
    text-align: center;
    margin: auto;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-top: 50px; /* Ensure space between elements */
    position: relative; /* Ensure relative positioning */
}

.slider {
    background-color: #FAFAFA;
    margin-top: 20px; /* Adjusted to move down slightly */
    margin-left: auto; /* Center the slider */
    margin-right: auto; /* Center the slider */
    padding-top: 30px;
    padding-bottom: 35px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    box-shadow: #333 0px 0px 5px;
    position: relative; /* Ensure relative positioning */
    z-index: 1; /* Make sure slider is above background */
    width: 100%; /* Make slider wider */
    max-width: 600px; /* Limit width to a reasonable size */
}

.screen-title p {
    font-size: 15px;
    max-width: 100%; /* Adjusted width to be wider for mobile */
    margin: auto;
}

.volume {
    font-size: 18px; /* Reduced font size for mobile */
    padding-bottom: 10px;
    color: #000;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: bold;
}

.ui-slider-horizontal .ui-slider-handle {
    background: #f09948;
    border-radius: 100%;
    height: 1.8em;
    width: 1.8em;
    top: -0.6em;
}

.slider::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: 35px auto;
    width: 0;
    height: 0;
    border-top: 25px solid #f09948;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
}

/* Media Queries for Mobile Devices */
@media (max-width: 767px) {
    .screen-title {
        font-size: 18px;
        padding: 10px 65px;
        max-width: 100%; /* Adjusted width for mobile */
        margin-top: 10px; /* Adjusted for mobile */
    }
    .main-image {
        height: 500px; /* Adjust height for mobile */
        margin-top: -105px; /* Adjusted to move up */
    }
    .volume {
        font-size: 16px;
    }
    .slider {
        width: 95%; /* Make slider wider for mobile */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
        padding-left: 5px;
        padding-right: 10px;
        margin-top: 20px; /* Added space for mobile */
        font-size: 18px;
    }
    .slider p {
        font-size: 16px;
    }
    .ui-slider-handle {
        cursor: pointer;
    }
}
