/* Container Formatting (Upgraded Specificity) */
html body .rt-euro-slider-wrapper {
    width: 100%; 
    height: 65vh !important; 
    font-family: 'Baloo Bhaijaan 2', sans-serif !important;
    position: relative; overflow: hidden; z-index: 1 !important; 
}

/* Strict Font Lock Override against Theme Interference */
html body .rt-euro-slider-wrapper *, html body .rt-euro-slider-wrapper .rt-sub-header, html body .rt-euro-slider-wrapper .rt-heading,
html body .rt-euro-slider-wrapper .rt-h1, html body .rt-euro-slider-wrapper .rt-h2, html body .rt-euro-slider-wrapper .rt-desc {
    font-family: 'Baloo Bhaijaan 2', sans-serif !important;
}

html body .rt-slider-container { width: 100%; height: 100%; position: relative; }

/* Base Slide Styles */
html body .rt-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1;
}
html body .rt-slide.active { opacity: 1; z-index: 2; }

/* BULLETPROOF DESKTOP OVERLAY (Large Screens) */
html body .rt-slide::before {
    content: '' !important; position: absolute !important;
    top: 0 !important; left: 20% !important; width: 70% !important; height: 180px !important; 
    background: radial-gradient(ellipse 65% 100% at 35% 0%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%) !important;
    z-index: 2 !important; pointer-events: none !important;
}

/* Layout Split & Radiuses (Large Screens) */
html body .rt-left-panel {
    width: calc(45% - 50px) !important; height: 100%;
    background-color: #333333 !important; border-bottom-right-radius: 120px !important; 
    position: relative; display: flex; 
    align-items: flex-end !important; /* Forces content to the bottom */
    padding-left: 330px !important; padding-right: 50px !important; 
    padding-bottom: 75px !important; /* 75px gap from the bottom */
    color: white !important; z-index: 3; box-shadow: 10px 0px 30px rgba(0,0,0,0.3);
}

/* Right panel matches 100% width background profile underneath */
html body .rt-right-panel {
    width: 100% !important; height: 100%; background-size: cover; background-position: center center;
    border-bottom-right-radius: 120px !important; position: absolute; left: 0 !important; top: 0;
    z-index: 1; image-rendering: high-quality; 
}

/* Typography & Content Animations */
html body .rt-content-wrapper {
    max-width: 100%; position: relative; z-index: 4;
    transform: translateY(30px); opacity: 0; transition: all 0.8s ease 0.4s;
}
html body .rt-slide.active .rt-content-wrapper { transform: translateY(0); opacity: 1; }

/* Subheading Layout */
html body .rt-sub-header {
    font-size: 16px !important; margin-bottom: 15px !important; display: flex !important;
    align-items: center !important; letter-spacing: 1px !important; color: #ffffff !important;
}
html body .rt-sub-header span {
    width: 70px !important; height: 2px !important; background-color: #BCA372 !important;
    margin-right: 12px !important; display: inline-block !important;
}

/* Dual Color Heading System (Large Screens) */
html body .rt-heading { margin: 0 !important; padding: 0 !important; }
html body .rt-h1 { color: #BCA372 !important; font-size: 65px !important; font-weight: 700 !important; line-height: 1.1 !important; }
html body .rt-h2 { color: #FFFFFF !important; font-size: 65px !important; font-weight: 700 !important; line-height: 1.1 !important; }

html body .rt-desc { font-size: 16px !important; margin-top: 25px !important; line-height: 1.6 !important; color: #e0e0e0 !important; }

/* --- Premium CSS Design Effects --- */
html body .rt-css-effect {
    position: absolute !important; left: -40px !important; top: 50% !important;
    transform: translateY(-50%) scale(0.8) !important; opacity: 0; transition: all 1s ease 0.6s; z-index: 2;
}
html body .rt-slide.active .rt-css-effect { opacity: 1 !important; transform: translateY(-50%) scale(1) !important; left: 110px !important; }

/* Precisely reduced sizes by 5% */
html body .hashed-circle {
    width: 186px !important; height: 186px !important; border-radius: 50% !important;
    background: repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(188, 163, 114, 0.3) 18px, rgba(188, 163, 114, 0.3) 22px) !important;
}
html body .dotted-matrix {
    width: 160px !important; height: 160px !important; 
    background-image: radial-gradient(circle, rgba(188, 163, 114, 0.4) 4px, transparent 4px) !important; background-size: 32px 32px !important; 
}
html body .hollow-circle {
    width: 160px !important; height: 160px !important; 
    border: 1px solid rgba(188, 163, 114, 0.4) !important; border-radius: 50% !important;
}
html body .hollow-circle::after {
    content: '' !important; position: absolute !important; width: 16px !important; height: 16px !important;
    background-color: #BCA372 !important; border-radius: 50% !important; top: -8px !important; left: 60% !important;
}

/* Absolute Core Restructuring for Perfect Navigation UI Elements */
html body .rt-slider-container button.rt-nav {
    position: absolute !important; top: 50% !important; transform: translateY(-50%) !important;
    background: rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; 
    border: 1px solid rgba(255, 255, 255, 0.2) !important; border-radius: 50% !important;
    width: 50px !important; height: 50px !important; min-width: 50px !important; min-height: 50px !important;
    max-width: 50px !important; max-height: 50px !important; padding: 0 !important; margin: 0 !important;
    line-height: 48px !important; text-align: center !important; cursor: pointer !important; z-index: 10 !important;
    font-size: 18px !important; transition: background 0.3s !important; box-shadow: none !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
}
html body .rt-slider-container button.rt-nav:hover { background: rgba(255, 255, 255, 0.3) !important; }
html body .rt-prev { left: 30px !important; } html body .rt-next { right: 30px !important; }

/* Pagination Dots */
html body .rt-dots-container {
    position: absolute; bottom: 40px; left: 45%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10;
}
html body .rt-dot {
    width: 12px; height: 12px; background-color: rgba(255,255,255,0.4) !important;
    border-radius: 50% !important; cursor: pointer !important; transition: 0.3s !important;
}
html body .rt-dot.active { background-color: #BCA372 !important; transform: scale(1.3) !important; }

/* =========================================================
   LAPTOP REFACTORING (Screens between 1025px and 1450px) 
   ========================================================= */
@media (min-width: 1025px) and (max-width: 1450px) {
    html body .rt-euro-slider-wrapper .rt-css-effect, html body .rt-euro-slider-wrapper .rt-slide .rt-css-effect,
    html body .rt-euro-slider-wrapper .rt-slide.active .rt-css-effect {
        display: none !important; opacity: 0 !important; visibility: hidden !important;
        position: absolute !important; left: -9999px !important; z-index: -9999 !important;
    }
    html body .rt-euro-slider-wrapper .rt-left-panel {
        width: 35% !important; padding-left: 130px !important; padding-right: 40px !important; border-bottom-right-radius: 80px !important; 
    }
    html body .rt-euro-slider-wrapper .rt-h1, html body .rt-euro-slider-wrapper .rt-h2 { font-size: 40px !important; line-height: 1.2 !important; }
    html body .rt-euro-slider-wrapper .rt-desc { font-size: 14px !important; margin-top: 15px !important; }
    html body .rt-euro-slider-wrapper .rt-slide::before {
        left: 15% !important; width: 85% !important;
        background: radial-gradient(ellipse 75% 100% at 40% 0%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%) !important;
    }
}

/* =========================================================
   100% RESPONSIVE TAB & MOBILE REFACTORING (Max 1024px) 
   ========================================================= */
@media (max-width: 1024px) {
    /* STRICT RESET: Overrides desktop 65vh to ensure Mobile stays auto height */
    html body .rt-euro-slider-wrapper {
        background-color: #333333 !important; border-bottom-right-radius: 80px !important; 
        height: auto !important; min-height: 0 !important; max-height: none !important; 
    }
    html body .rt-slider-container { display: grid !important; height: auto !important; }
    html body .rt-slide { 
        position: relative !important; grid-area: 1 / 1 !important; height: auto !important;
        flex-direction: column !important; justify-content: flex-start !important; 
        padding: 180px 8% 60px 8% !important; box-sizing: border-box !important; 
    }
    html body .rt-slide::before { display: none !important; }
    
    html body .rt-euro-slider-wrapper .rt-left-panel { 
        width: 100% !important; height: auto !important; padding: 0 !important; 
        background-color: transparent !important; border-radius: 0 !important; order: 2 !important; 
        box-sizing: border-box !important; box-shadow: none !important; display: flex !important;
        flex-direction: column !important; justify-content: flex-start !important;
        align-items: flex-start !important; /* CRITICAL SHIELD: Overrides desktop bottom align */
    }
    
    html body .rt-euro-slider-wrapper .rt-right-panel { 
        width: 100% !important; height: 260px !important; min-height: 260px !important; max-height: 260px !important;
        position: relative !important; order: 1 !important; border-radius: 12px !important; 
        margin-bottom: 25px !important; left: 0 !important; top: 0 !important; flex-shrink: 0 !important; box-sizing: border-box !important;
    }
    
    html body .rt-euro-slider-wrapper .rt-content-wrapper { max-width: 100% !important; box-sizing: border-box !important; }
    
    html body .rt-euro-slider-wrapper .rt-h1, html body .rt-euro-slider-wrapper .rt-h2 { font-size: 46px !important; line-height: 1.2 !important; }
    html body .rt-euro-slider-wrapper .rt-desc { font-size: 15px !important; margin-top: 15px !important; margin-bottom: 20px !important; line-height: 1.5 !important; }
    
    html body .rt-slider-container button.rt-nav {
        display: flex !important; width: 36px !important; height: 36px !important;
        min-width: 36px !important; min-height: 36px !important; max-width: 36px !important; max-height: 36px !important;
        font-size: 14px !important; top: calc(180px + 130px) !important; background: rgba(0, 0, 0, 0.4) !important; 
        border: 1px solid rgba(255, 255, 255, 0.4) !important; z-index: 20 !important; 
    }
    html body .rt-prev { left: calc(8% + 10px) !important; } html body .rt-next { right: calc(8% + 10px) !important; } 
    
    html body .rt-euro-slider-wrapper .rt-css-effect, html body .rt-euro-slider-wrapper .rt-slide .rt-css-effect, html body .rt-euro-slider-wrapper .rt-slide.active .rt-css-effect { 
        display: none !important; opacity: 0 !important; visibility: hidden !important; position: absolute !important; left: -9999px !important; width: 0 !important; height: 0 !important;
    } 
    html body .rt-dots-container { left: 50% !important; bottom: 25px !important; }
    html body .rt-dot { width: 8px !important; height: 8px !important; }
}