/* -------------------------------------- */
/* 1. SLIDER CONTAINER & TRACK (BASE: Desktop/Large Screens) */
/* -------------------------------------- */

.unique-slider-container {
    max-width: 100%;
    /* Desktop Header కింద నుండి మొదలవడానికి స్పేస్ */
    margin-top: 120px; 
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    /* Desktop లో మొత్తం స్క్రీన్ height లో 75% (vh) తీసుకుంటుంది */
    height: 75vh; 
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Track should cover the entire container height */
.unique-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; 
}

/* -------------------------------------- */
/* 2. INDIVIDUAL SLIDE ITEMS & CAPTION STYLES */
/* -------------------------------------- */

.unique-slider-item {
    min-width: 100%;
    box-sizing: border-box;
    background-size: cover; /* Ensures image covers the area without stretching */
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: flex-start; /* Align content to the left */
    color: white; 
    padding: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    opacity: 0;
    transition: opacity 0.6s ease-in-out; 
}

.unique-slider-item.active {
    opacity: 1;
    position: relative;
}

/* Caption Styles */
.unique-slider-caption {
    max-width: 50%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}
.unique-slider-caption h2 { font-size: 2.5em; margin-top: 0; }
.unique-slider-caption p { font-size: 1.1em; }

/* Button Styles (kept same for consistency) */
.unique-slider-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    text-decoration: none;
    background-color: #ff5722;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.unique-slider-button:hover { background-color: #e64a19; }


/* -------------------------------------- */
/* 3. MEDIA QUERY: LAPTOP/TABLET (769px to 1300px) */
/* -------------------------------------- */

@media (min-width: 769px) and (max-width: 1300px) {
    .unique-slider-container {
        /* Laptop screen size కి height ని 65vh కి తగ్గిస్తున్నాం */
        height: 50vh; 
        /* Header margin ని కొద్దిగా తగ్గిస్తున్నాం */
        margin-top: 120px; 
    }
    
    /* Caption content ను laptop లో కొద్దిగా చిన్నదిగా చేయవచ్చు */
    .unique-slider-caption h2 {
        font-size: 2em;
    }
    .unique-slider-caption p {
        font-size: 1em;
    }
}


/* -------------------------------------- */
/* 4. MEDIA QUERY: MOBILE (Max 768px) */
/* -------------------------------------- */

@media (max-width: 768px) {
    .unique-slider-container {
        /* Mobile లో header margin ని ఇంకా తగ్గిస్తున్నాం */
        margin-top: 80px; 
        /* Mobile లో height ని 40vh కి సెట్ చేస్తున్నాం */
        height: 20vh; 
        border-radius: 0;
    }

    /* Track height should be 100% of the container */
    .unique-slider-track {
        height: 100%; 
    }
    
    /* Center and push caption content towards the bottom on mobile */
    .unique-slider-item {
        justify-content: center;
        align-items: flex-end; 
        padding: 15px;
    }
    
    .unique-slider-caption {
        max-width: 100%; 
        text-align: center;
        padding: 10px;
    }

    .unique-slider-caption h2 {
        font-size: 1.5em;
    }
    
    .unique-slider-caption p {
        /* Description ని mobile లో దాచడం మంచిది */
        display: none; 
    }
    
    /* Navigation arrows can be hidden or minimized */
    .unique-slider-nav {
        display: none; 
    }
    
    .unique-slider-dots {
        bottom: 10px;
    }
}