/* స్లైడర్ కంటైనర్ హైట్ ఫిక్స్ చేయడం */
    #overseasSlider {
        height: 90vh;
        min-height: 500px;
        max-height: 700px;
        margin-bottom: 0 !important;
    }
    #overseasSlider .carousel-inner,
    #overseasSlider .carousel-item {
        height: 100%;
    }
    #overseasSlider .slider-img {
        height: 100% !important;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* మొబైల్ ఫోన్ల కోసం హైట్ తగ్గించడం */
    @media (max-width: 768px) {
        #overseasSlider {
            height: 50vh;
            min-height: 300px;
            max-height: 400px;
        }
    }

    /* ఫోటో పైన టెక్స్ట్ బాగా కనిపించడానికి డార్క్ షేడ్ */
    .slider-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
        z-index: 1;
    }

    /* Caption positioning - compact & professional */
    .carousel-caption {
        z-index: 2;
        bottom: 18%;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
        padding: 18px 25px;
        background: rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(4px);
        border-radius: 16px;
        max-width: 750px;
        margin: 0 auto;
        left: 10%;
        right: 10%;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    /* Caption text spacing - compact */
    .carousel-caption .badge {
        margin-bottom: 6px !important;
        font-size: 0.9rem !important;
    }
    .carousel-caption h1 {
        margin-bottom: 6px !important;
        font-size: 2.2rem !important;
    }
    .carousel-caption p {
        margin-bottom: 10px !important;
        font-size: 1.1rem !important;
    }
    
    /* Ensure caption button is not cut off */
    .carousel-caption .btn {
        margin-bottom: 0;
        padding: 8px 25px !important;
        font-size: 0.95rem !important;
    }

    /* News Ticker - attached to slider bottom */
    .news-ticker-bar {
        margin-top: 0 !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* స్లైడ్ మారినప్పుడు టెక్స్ట్ యానిమేషన్ మళ్ళీ రావడానికి */
    .carousel-item.active .animate__animated {
        display: inline-block;
    }