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

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

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

/* Base Slide Styles */
.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;
}
.rt-slide.active {
    opacity: 1;
    z-index: 2;
}

/* BULLETPROOF DESKTOP OVERLAY (Large Screens) */
.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) */
.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: center;
    padding-left: 330px !important; /* Massive padding to accommodate the CSS effect */
    padding-right: 50px !important; 
    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 */
.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 */
.rt-content-wrapper {
    max-width: 100%;
    position: relative;
    z-index: 4;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.4s;
}
.rt-slide.active .rt-content-wrapper {
    transform: translateY(0);
    opacity: 1;
}

/* Subheading Layout */
.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;
}
.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) */
.rt-heading { margin: 0 !important; padding: 0 !important; }
.rt-h1 { color: #BCA372 !important; font-size: 65px !important; font-weight: 700 !important; line-height: 1.1 !important; }
.rt-h2 { color: #FFFFFF !important; font-size: 65px !important; font-weight: 700 !important; line-height: 1.1 !important; }

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

/* --- Premium CSS Design Effects --- */
.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;
}
.rt-slide.active .rt-css-effect {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1) !important;
    left: 110px !important; 
}

/* Precisely reduced sizes by 5% */
.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;
}

.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; 
}

.hollow-circle {
    width: 160px !important; 
    height: 160px !important; 
    border: 1px solid rgba(188, 163, 114, 0.4) !important;
    border-radius: 50% !important;
}
.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 */
.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;
}
.rt-slider-container button.rt-nav:hover { 
    background: rgba(255, 255, 255, 0.3) !important; 
}
.rt-prev { left: 30px !important; }
.rt-next { right: 30px !important; }

/* Pagination Dots */
.rt-dots-container {
    position: absolute;
    bottom: 40px;
    left: 45%; 
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.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;
}
/* Active dot color matched to brand palette #BCA372 */
.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) {
    /* Simple hide logic that worked previously */
    .rt-css-effect,
    .rt-slide.active .rt-css-effect {
        display: none !important;
    }

    /* Pull text exactly 130px from the left (Arrow Dist 30px + Arrow Width 50px + Gap 50px = 130px) */
    .rt-left-panel {
        width: 55% !important; 
        padding-left: 130px !important; 
        padding-right: 40px !important;
        border-bottom-right-radius: 80px !important; 
    }
    
    .rt-h1, .rt-h2 { 
        font-size: 42px !important; 
        line-height: 1.2 !important;
    }
    
    .rt-desc {
        font-size: 14px !important; 
        margin-top: 15px !important;
    }
    
    /* Adjust the shadow position slightly to account for the wider left panel */
    .rt-slide::before {
        left: 25% !important;
        width: 65% !important;
        background: radial-gradient(ellipse 70% 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) {
    .rt-euro-slider-wrapper {
        background-color: #333333 !important; 
        border-bottom-right-radius: 80px !important; 
        height: auto !important; 
    }
    
    .rt-slider-container {
        display: grid !important; 
        height: auto !important;
    }
    
    .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; 
    }
    
    /* STRICTLY DISABLES the white top shadow overlay for Tab & Mobile */
    .rt-slide::before {
        display: none !important; 
    }
    
    .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;
    }
    
    .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;
    }
    
    .rt-content-wrapper {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Mobile Typography Scaling */
    .rt-h1, .rt-h2 { font-size: 46px !important; }
    
    .rt-desc { 
        font-size: 15px !important; 
        margin-top: 15px !important; 
        margin-bottom: 20px !important; 
        line-height: 1.5 !important; 
    }
    
    /* Mobile Arrows */
    .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; 
    }
    .rt-prev { left: calc(8% + 10px) !important; } 
    .rt-next { right: calc(8% + 10px) !important; } 
    
    .rt-css-effect { display: none !important; } 
    
    .rt-dots-container { 
        left: 50% !important; 
        bottom: 25px !important;
    }
    .rt-dot {
        width: 8px !important; 
        height: 8px !important;
    }
}