/* =========================================
   Roottx Multi Slider - Main Styles
   ========================================= */

/* Container */
.roottx-ms-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto; /* <--- এটা যোগ করো (সেন্টারে আনার জন্য) */
    margin-bottom: 30px;
}

/* Swiper Fixes */
.roottx-swiper {
    width: 100%;
    height: 100%;
    /* overflow: hidden; -- এটা বাদ দাও বা স্পেসিফিক লেআউটে দাও */
}

/* Swiper Wrapper (এটা মিসিং ছিল) */
.swiper-wrapper {
    display: flex; /* <--- এটা খুব জরুরি */
    align-items: center;
}

.roottx-slide-item {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex; 
    flex-shrink: 0; /* <--- স্লাইড যাতে চ্যাপ্টা না হয় */
}

/* Image Handling */
.roottx-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Background Image (Hero) */
.roottx-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Video Wrapper */
.roottx-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.roottx-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   Content Overlay (Text & Buttons)
   ========================================= */
.roottx-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    pointer-events: none; /* যাতে ইমেজে ক্লিক করা যায় */
}

.roottx-inner-content {
    max-width: 600px;
    pointer-events: auto; /* বাটনে ক্লিক করার জন্য */
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Typography */
.roottx-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.roottx-desc {
    font-size: 18px;
    margin: 0 0 30px 0;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.2s;
}

/* Button */
.roottx-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    text-shadow: none;
    transition: background 0.3s;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s, background 0.3s;
    transition-delay: 0.4s;
}
.roottx-btn:hover {
    background: #c0392b;
    color: #fff;
}

/* Active Slide Animation (Text Fade In) */
.swiper-slide-active .roottx-title,
.swiper-slide-active .roottx-desc,
.swiper-slide-active .roottx-btn {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Alignment Helpers
   ========================================= */
/* Horizontal */
.roottx-content-overlay.left { justify-content: flex-start; text-align: left; }
.roottx-content-overlay.center { justify-content: center; text-align: center; }
.roottx-content-overlay.right { justify-content: flex-end; text-align: right; }

/* Vertical */
.roottx-content-overlay.top { align-items: flex-start; }
.roottx-content-overlay.middle { align-items: center; }
.roottx-content-overlay.bottom { align-items: flex-end; }

/* =========================================
   Specific Layouts
   ========================================= */

/* Hero: Vertical Tabs Menu */
.roottx-layout-hero-tabs .roottx-swiper {
    display: flex; /* Side by side layout needs custom CSS later */
}
/* Note: Tabs layout needs complex grid, adding basic support */
.roottx-hero-tabs-menu {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 200px;
}
.roottx-hero-tabs-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.roottx-hero-tabs-menu li {
    color: rgba(255,255,255,0.5);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}
.roottx-hero-tabs-menu li.active {
    color: #fff;
    padding-left: 20px;
    border-left: 4px solid #e74c3c;
}

/* Full Screen Helper */
.roottx-fullscreen {
    height: 100vh !important;
}

/* =========================================
   2. LAYOUT 1: RING SLIDER (Space Travel)
   ========================================= */

/* ১. রিং স্টেজ */
.roottx-ring-stage {
    position: absolute; top: 0; left: 0;
    width: 100vw !important; height: 650px !important;
    left: 50% !important; margin-left: -50vw !important;
    perspective: 2500px; perspective-origin: 50% 50%;
    overflow: hidden; background: #000;
    display: flex; align-items: center; justify-content: center;
    z-index: 0;
    user-select: none; /* সিলেকশন বন্ধ */
}
.roottx-layout-ring-full { position: static !important; }

/* ২. ব্যাকগ্রাউন্ড */
.roottx-solar-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background: radial-gradient(circle at center, #0b1021 0%, #000 90%);
    pointer-events: none;
}

/* ৩. তারা */
.roottx-stars {
    position: absolute; width: 100%; height: 100%; opacity: 1;
    background-image: 
        radial-gradient(2px 2px at 50px 50px, #fff, transparent),
        radial-gradient(1px 1px at 100px 200px, #fff, transparent),
        radial-gradient(2px 2px at 300px 400px, #fff, transparent);
    background-size: 500px 500px;
}

/* ৪. প্ল্যানেট ট্র্যাক (অনুভূমিক লাইন) */
.roottx-planet-track {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    /* width JS দিয়ে সেট হবে */
    display: block; 
}

/* ৫. গ্রহ */
.roottx-planet {
    position: absolute;
    border-radius: 50%; 
    background-size: cover; background-position: center;
    box-shadow: inset -20px -20px 80px rgba(0,0,0,0.8); 
    transform: translate(-50%, -50%); /* সেন্টার */
}

/* শনির বলয় */
.roottx-planet.has-ring::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 160%; height: 40%;
    border: 30px solid rgba(200, 180, 150, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    box-shadow: 0 0 20px rgba(200, 180, 150, 0.2);
    z-index: -1;
}

/* ৬. রিং কন্টেইনার */
.roottx-ring-container {
    position: relative; width: 350px; height: 450px; 
    transform-style: preserve-3d; transition: transform 0.1s ease-out; 
    cursor: grab; user-select: none; z-index: 10;
}
.roottx-ring-container:active { cursor: grabbing; }

.roottx-ring-item {
    position: absolute; width: 100%; height: 100%; left: 0; top: 0;
    transform-style: preserve-3d; backface-visibility: hidden;
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1); background: #000;
}
/* ইমেজ ফিক্স (ড্র্যাগ বন্ধ) */
.roottx-ring-item img {
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important;
    display: block;
    margin: 0; 
    padding: 0;
    
    /* মাউস ইভেন্ট বন্ধ (যাতে 🚫 চিহ্ন না আসে) */
    pointer-events: none; 
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* =========================================
 Layout 2: Cascading Arc 
 ========================================= */

.roottx-arc-stage {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.roottx-arc-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.roottx-arc-card {
    position: absolute;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden;
    cursor: pointer;
    transform-origin: center bottom; /* নিচ থেকে ঘুরবে (ফ্যানের মতো) */
    user-select: none;
    -webkit-user-select: none;
}
.roottx-arc-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* =========================================
   Layout 3: Center Mode (3D + Fixed Title)
   ========================================= */

.roottx-layout-center-mode {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    box-sizing: border-box;
    overflow: visible !important;
}

.roottx-layout-center-mode .roottx-swiper {
    padding: 50px 0;
    width: 100%;
    overflow: visible !important;
    perspective: 1000px;
}

/* Card Style */
.roottx-layout-center-mode .roottx-slide-item {
    width: 300px;
    height: 400px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    user-select: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.roottx-layout-center-mode .roottx-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Visibility Logic */
.roottx-layout-center-mode .swiper-slide-active,
.roottx-layout-center-mode .swiper-slide-prev,
.roottx-layout-center-mode .swiper-slide-next,
.roottx-layout-center-mode .swiper-slide-visible {
    opacity: 1 !important;
}

.roottx-layout-center-mode .swiper-slide-active {
    z-index: 50;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Title (Bottom & Visible on All) */
.roottx-layout-center-mode .roottx-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    z-index: 20;
    opacity: 1 !important;
    transform: none !important;
}

/* Navigation Arrows (Outside) */
.roottx-layout-center-mode .swiper-button-next,
.roottx-layout-center-mode .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 50%;
    color: #fff;
    z-index: 999;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.roottx-layout-center-mode .swiper-button-next {
    right: -200px !important;
    left: auto;
}

.roottx-layout-center-mode .swiper-button-prev {
    left: -200px !important;
    right: auto;
}

.roottx-layout-center-mode .swiper-button-next:hover,
.roottx-layout-center-mode .swiper-button-prev:hover {
    background: #333;
    transform: translateY(-50%) scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .roottx-layout-center-mode { padding: 0 40px; }
    .roottx-layout-center-mode .roottx-slide-item { width: 220px; height: 300px; }
    .roottx-layout-center-mode .swiper-button-next { right: 0 !important; width: 40px; height: 40px; }
    .roottx-layout-center-mode .swiper-button-prev { left: 0 !important; width: 40px; height: 40px; }
}


/* =========================================
   Layout 4: Perspective Carousel
   ========================================= */
.roottx-layout-perspective {
    overflow: visible !important; /* মেইন কন্টেইনার */
    padding: 0 50px; /* সাইডে জায়গা দিলাম */
}

.roottx-layout-perspective .roottx-swiper {
    padding: 60px 0; /* উপরে-নিচে জায়গা (শ্যাডোর জন্য) */
    overflow: visible !important; /* <--- ফিক্স: ভিজিবল */
}

/* কার্ড স্টাইল */
.roottx-layout-perspective .roottx-slide-item {
    width: 60%; /* মাঝখানেরটা বড় হবে (রেসপন্সিভ) */
    max-width: 500px;
    height: 400px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    user-select: none;
}

/* টাইটেল (আগের স্টাইলের মতোই) */
.roottx-layout-perspective .roottx-title {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff; font-size: 22px; text-align: center; margin: 0;
}

/* Layout 4 Arrow Buttons (Outside & Clean) */
.roottx-layout-perspective .swiper-button-next,
.roottx-layout-perspective .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: #b9b7b7; /* সলিড সাদা */
    border-radius: 50%;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* সফট শ্যাডো */
    transition: all 0.3s ease;
    z-index: 100;
}

/* পজিশন: একদম কিনারায় নিয়ে গেলাম */
.roottx-layout-perspective .swiper-button-next {
    right: -200px !important; /* কন্টেইনারের বাইরে */
}
.roottx-layout-perspective .swiper-button-prev {
    left: -200px !important; /* কন্টেইনারের বাইরে */
}

/* হোভার ইফেক্ট */
.roottx-layout-perspective .swiper-button-next:hover,
.roottx-layout-perspective .swiper-button-prev:hover {
    background: #222;
    color: #fff;
    transform: scale(1.1);
}

/* রেসপন্সিভ */
@media (max-width: 768px) {
    .roottx-layout-perspective .roottx-slide-item {
        width: 80%; /* মোবাইলে একটু চওড়া */
        height: 300px;
    }
}

/* =========================================
   Layout 5: Thumbnail Gallery (Fixed)
   ========================================= */

/* মেইন কন্টেইনার (অটো হাইট যাতে থাম্বনেইল না কাটে) */
.roottx-layout-thumbnail {
    height: auto !important; 
    padding-bottom: 20px;
}

/* মেইন স্লাইডার (বড় ছবি) */
.roottx-layout-thumbnail .roottx-swiper {
    width: 100%;
    height: 500px; /* হাইট ফিক্সড */
    margin-bottom: 15px;
    background: #000; /* কালো ব্যাকগ্রাউন্ড (ফুল ইমেজের জন্য) */
    border-radius: 8px;
}

/* ইমেজ স্টাইল (ফুল ছবি দেখাবে) */
.roottx-layout-thumbnail .roottx-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* <--- এটাই পুরো ছবি দেখাবে, কাটবে না */
    background: #000;
}

/* টাইটেল (বামে এবং নিচে) */
.roottx-layout-thumbnail .roottx-title {
    position: absolute;
    bottom: 20px; /* নিচ থেকে একটু উপরে */
    left: 20px;   /* বামে */
    margin: 0;
    padding: 10px 20px;
    background: rgba(0,0,0,0.6); /* হালকা কালো ব্যাকগ্রাউন্ড */
    color: #fff;
    font-size: 24px;
    text-align: left; /* বামে এলাইন */
    border-radius: 4px;
    width: auto; /* ফুল উইডথ হবে না */
    z-index: 20;
}

/* থাম্বনেইল স্লাইডার (ছোট ইমেজ) */
.roottx-thumbs-swiper {
    height: 80px; /* হাইট কমানো হলো */
    box-sizing: border-box;
    padding: 0;
}

.roottx-thumbs-swiper .roottx-slide-item {
    width: 25%;
    height: 100%;
    opacity: 1;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid transparent;
}

/* থাম্বনেইল ইমেজ (ক্রপ করে ফিট হবে) */
.roottx-thumbs-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* থাম্বনেইলে পুরোটা দেখানোর দরকার নেই, সুন্দর লাগা জরুরি */
}

/* অ্যাক্টিভ থাম্বনেইল */
.roottx-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #46e931; /* একটিভ বর্ডার */
}

/* অ্যারো (মেইন ইমেজের উপর) */
.roottx-layout-thumbnail .swiper-button-next,
.roottx-layout-thumbnail .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 40px; height: 40px;
    border-radius: 50%;
}
.roottx-layout-thumbnail .swiper-button-next:hover,
.roottx-layout-thumbnail .swiper-button-prev:hover {
    background: rgba(0,0,0,0.8);
}


/* =========================================
   7. LAYOUT 6: CUSTOM HERO (Full Screen Fixed)
   ========================================= */

/* ১. মেইন কন্টেইনার (Force Full Width & Reset Global) */
.roottx-layout-hero-thumb {
    /* গ্লোবাল কন্টেইনারের স্টাইল ভাঙার জন্য */
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ২. স্লাইডার এরিয়া */
.roottx-custom-hero {
    width: 100% !important;
    height: 820px !important;
    background: #000;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

/* ব্যাকগ্রাউন্ড */
.hero-bg-layer { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1; }
.bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: brightness(0.6); transition: opacity 1s ease-in-out;
}

/* ৩. কন্টেন্ট লেয়ার */
.hero-content-layer {
    position: absolute; 
    top: 35%; 
    left: 10%; 
    z-index: 10; max-width: 600px; color: #fff;
}
.hero-title { font-size: 50px; font-weight: bold; margin-bottom: 20px; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero-desc { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

/* ৪. বাটন (Text Center Fix) */
.hero-btn {
    position: relative; 
    display: inline-flex; /* ফ্লেক্স দিয়ে সেন্টার করবো */
    align-items: center;
    justify-content: center;
    
    /* সাইজ */
    width: 180px; 
    height: 50px; /* ফিক্সড হাইট */
    
    color: #fff; text-transform: uppercase; letter-spacing: 2px;
    text-decoration: none; font-size: 14px; /* ফন্ট সাইজ একটু কমালাম */
    font-weight: 600;
    overflow: hidden;
    transition: 0.5s;
    
    /* বর্ডার ও ব্যাকগ্রাউন্ড */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px; /* রাউন্ড */
    padding: 0; /* প্যাডিং ০, কারণ ফ্লেক্স দিয়ে সেন্টার করেছি */
}

.hero-btn:hover {
    background: #03e9f4; color: #000; box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4;
}

/* বাটন এনিমেশন লাইন (আগের মতো) */
.hero-btn span { position: absolute; display: block; }
.hero-btn span:nth-child(1) { top: 0; left: -100%; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, #03e9f4); animation: btn-anim1 1s linear infinite; } @keyframes btn-anim1 { 0% { left: -100%; } 50%,100% { left: 100%; } }
.hero-btn span:nth-child(2) { top: -100%; right: 0; width: 2px; height: 100%; background: linear-gradient(180deg, transparent, #03e9f4); animation: btn-anim2 1s linear infinite; animation-delay: 0.25s; } @keyframes btn-anim2 { 0% { top: -100%; } 50%,100% { top: 100%; } }
.hero-btn span:nth-child(3) { bottom: 0; right: -100%; width: 100%; height: 2px; background: linear-gradient(270deg, transparent, #03e9f4); animation: btn-anim3 1s linear infinite; animation-delay: 0.5s; } @keyframes btn-anim3 { 0% { right: -100%; } 50%,100% { right: 100%; } }
.hero-btn span:nth-child(4) { bottom: -100%; left: 0; width: 2px; height: 100%; background: linear-gradient(360deg, transparent, #03e9f4); animation: btn-anim4 1s linear infinite; animation-delay: 0.75s; } @keyframes btn-anim4 { 0% { bottom: -100%; } 50%,100% { bottom: 100%; } }

/* ৫. থাম্বনেইল কন্টেইনার */
.hero-thumbs-wrapper {
    position: absolute;
    bottom: 50px;
    right: -60px; /* স্ক্রিনের ডান পাশে */
    width: 600px; 
    height: 350px;
    z-index: 20;
    overflow: hidden;
}

/* থাম্বনেইল ট্র্যাক */
.hero-thumbs-track {
    display: flex; gap: 20px; transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* থাম্বনেইল কার্ড */
.thumb-item {
    width: 140px; height: 250px; flex-shrink: 0;
    border-radius: 15px; overflow: hidden; cursor: pointer;
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(-10deg) scale(0.95);
    box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.3);
}
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

/* অ্যাক্টিভ কার্ড */
.thumb-item.active {
    transform: perspective(1000px) rotateY(0deg) scale(1);
    border: 3px solid #fff; z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

/* সোশ্যাল আইকন (ডায়নামিক পজিশন) */
.hero-social {
    position: absolute;
    bottom: 50px; /* সবসময় নিচেই থাকবে */
    z-index: 20;
    display: flex;
    gap: 20px;
    width: auto;
}

/* লেফট */
.hero-social.social-pos-left {
    left: 150px;
    right: auto;
    transform: none;
}

/* সেন্টার */
.hero-social.social-pos-center {
    left: 0; 
    right: 0; 
    margin: 0 auto; /* হরাইজন্টাল সেন্টার */
    width: fit-content; /* কন্টেন্ট অনুযায়ী উইডথ */
    justify-content: center; /* ফ্লেক্স সেন্টার */
}

/* রাইট  */
.hero-social.social-pos-right {
    right: 150px; /* থাম্বনেইলের বাম পাশে */
    left: auto;
    transform: none;
}

/* আইকন স্টাইল (Updated Style) */
.hero-social a {
    color: #fff;
    font-size: 30px; /* সাইজ বাড়ালাম */
    text-decoration: none;
    transition: 0.3s;
    
    /* লেআউট ৭ এর মতো সার্কেল এবং ব্যাকগ্রাউন্ড */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1); /* গ্লাস ইফেক্ট */
    backdrop-filter: blur(5px);
}

/* হোভার ইফেক্ট */
.hero-social a:hover {
    background: #fff; /* ব্যাকগ্রাউন্ড সাদা */
    color: #000;      /* আইকন কালো */
    transform: translateY(-5px); /* উপরে উঠবে */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ড্যাশআইকন সাইজ ফিক্স */
.hero-social .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}


/* =========================================
   8. LAYOUT 7: HERO CLASSIC (Dynamic)
   ========================================= */

/* ১. মেইন কন্টেইনার (ফুল স্ক্রিন) */
.roottx-layout-hero-classic {
    position: static !important; width: 100%;
}
.roottx-layout-hero-classic .roottx-swiper {
    position: absolute; top: 0; left: 0;
    width: 100vw !important; height: 100vh;
    margin-left: calc(-50vw + 50%);
    background: #000;
}

/* ইমেজ/ভিডিও */
.roottx-layout-hero-classic .roottx-slide-item img,
.roottx-layout-hero-classic .roottx-slide-item video {
    width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6);
}

/* ২. কন্টেন্ট পজিশনিং (Flexbox Magic) */
.roottx-layout-hero-classic .roottx-content-overlay {
    display: flex;
    flex-direction: column;
    padding: 80px; /* সাইডে গ্যাপ */
}

/* Horizontal Align */
.roottx-layout-hero-classic .roottx-content-overlay.left { align-items: flex-start; text-align: left; }
.roottx-layout-hero-classic .roottx-content-overlay.center { align-items: center; text-align: center; }
.roottx-layout-hero-classic .roottx-content-overlay.right { align-items: flex-end; text-align: right; }

/* Vertical Align */
.roottx-layout-hero-classic .roottx-content-overlay.top { justify-content: flex-start; }
.roottx-layout-hero-classic .roottx-content-overlay.middle { justify-content: center; }
.roottx-layout-hero-classic .roottx-content-overlay.bottom { justify-content: flex-end; }

/* টেক্সট স্টাইল */
.roottx-layout-hero-classic .roottx-title {
    font-size: 60px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px;
}
.roottx-layout-hero-classic .roottx-desc {
    font-size: 20px; margin-bottom: 40px; font-weight: 300; max-width: 700px;
}

/* ৩. বাটন (Snake Border Animation) */
.roottx-layout-hero-classic .roottx-btn {
    position: relative;
    padding: 15px 50px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    overflow: hidden;
    transition: 0.5s;
    /* বর্ডার নেই, স্প্যান দিয়ে হবে */
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 4px; /* রাউন্ড কম রাখলাম অ্যানিমেশন ভালো দেখার জন্য, চাইলে বাড়াতে পারো */
}

.roottx-layout-hero-classic .roottx-btn span {
    position: absolute;
    display: block;
}

/* টপ লাইন */
.roottx-layout-hero-classic .roottx-btn span:nth-child(1) {
    top: 0; left: -100%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, #03e9f4);
    animation: btn-anim1 1s linear infinite;
}
@keyframes btn-anim1 {
    0% { left: -100%; } 50%,100% { left: 100%; }
}

/* রাইট লাইন */
.roottx-layout-hero-classic .roottx-btn span:nth-child(2) {
    top: -100%; right: 0;
    width: 2px; height: 100%;
    background: linear-gradient(180deg, transparent, #03e9f4);
    animation: btn-anim2 1s linear infinite;
    animation-delay: 0.25s;
}
@keyframes btn-anim2 {
    0% { top: -100%; } 50%,100% { top: 100%; }
}

/* বটম লাইন */
.roottx-layout-hero-classic .roottx-btn span:nth-child(3) {
    bottom: 0; right: -100%;
    width: 100%; height: 2px;
    background: linear-gradient(270deg, transparent, #03e9f4);
    animation: btn-anim3 1s linear infinite;
    animation-delay: 0.5s;
}
@keyframes btn-anim3 {
    0% { right: -100%; } 50%,100% { right: 100%; }
}

/* লেফট লাইন */
.roottx-layout-hero-classic .roottx-btn span:nth-child(4) {
    bottom: -100%; left: 0;
    width: 2px; height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: btn-anim4 1s linear infinite;
    animation-delay: 0.75s;
}
@keyframes btn-anim4 {
    0% { bottom: -100%; } 50%,100% { bottom: 100%; }
}

/* হোভার ইফেক্ট */
.roottx-layout-hero-classic .roottx-btn:hover {
    background: #03e9f4;
    color: #000;
    box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4;
    border-radius: 4px;
}

/* ৪. সোশ্যাল আইকন (Classic) */
.hero-social-classic {
    position: absolute; z-index: 20; display: flex; gap: 20px; padding: 30px;
}

.hero-social-classic a {
    color: #fff;
    font-size: 30px; /* <--- সাইজ বাড়ালাম (আগে ২৪ ছিল) */
    text-decoration: none;
    transition: 0.3s;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1); /* ব্যাকগ্রাউন্ড সার্কেল */
}

.hero-social-classic a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
}

.hero-social-classic .dashicons {
    font-size: 30px; width: 30px; height: 30px; /* আইকন সাইজ ফিক্স */
}

/* পজিশন */
.hero-social-classic.social-pos-left { left: 0; bottom: 50px; }
.hero-social-classic.social-pos-right { right: 0; bottom: 50px; }
.hero-social-classic.social-pos-bottom { bottom: 30px; left: 50%; transform: translateX(-50%); }

/* ওরিয়েন্টেশন (Vertical) */
.hero-social-classic.social-orient-vertical { flex-direction: column; top: 50%; bottom: auto; transform: translateY(-50%); }
.hero-social-classic.social-pos-left.social-orient-vertical { left: -300px; }
.hero-social-classic.social-pos-right.social-orient-vertical { right: -350px; }

/* ৬. অ্যারো */
.roottx-layout-hero-classic .swiper-button-next,
.roottx-layout-hero-classic .swiper-button-prev {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.1); /* গ্লাস */
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.roottx-layout-hero-classic .swiper-button-next:after,
.roottx-layout-hero-classic .swiper-button-prev:after {
    font-size: 24px; font-weight: bold;
}

.roottx-layout-hero-classic .swiper-button-next:hover,
.roottx-layout-hero-classic .swiper-button-prev:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}


/* =========================================
   9. LAYOUT 8: HERO VERTICAL TABS (Final)
   ========================================= */

/* ১. মেইন কন্টেইনার (ফুল স্ক্রিন ফিক্স) */
.roottx-layout-hero-tabs {
    position: static !important; width: 100%;
}
.roottx-layout-hero-tabs .roottx-swiper {
    position: absolute; top: 0; left: 0;
    width: 100vw !important; height: 100vh;
    margin-left: calc(-50vw + 50%);
    background: #000;
}

/* ইমেজ */
.roottx-layout-hero-tabs .roottx-slide-item img {
    width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6);
}

/* ২. ট্যাব মেনু (বাম পাশে সেন্টার) */
.roottx-hero-tabs-menu {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    left: 50px; z-index: 20;
}
.roottx-hero-tabs-menu ul { list-style: none; padding: 0; margin: 0; }
.roottx-hero-tabs-menu li {
    font-size: 18px; font-weight: 700; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px; cursor: pointer;
    transition: all 0.3s ease; position: relative;
    padding-left: 0; white-space: nowrap; /* এক লাইন ফিক্স */
}
.roottx-hero-tabs-menu li.active {
    color: #fff; font-size: 24px; padding-left: 20px;
}
.roottx-hero-tabs-menu li.active::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 40px; height: 3px; background: #03e9f4; box-shadow: 0 0 10px #03e9f4;
}

/* ৩. কন্টেন্ট পজিশন */
.roottx-layout-hero-tabs .roottx-content-overlay {
    padding-left: 250px; display: flex; flex-direction: column;
}
.roottx-layout-hero-tabs .roottx-content-overlay.left { align-items: flex-start; text-align: left; }
.roottx-layout-hero-tabs .roottx-content-overlay.center { align-items: center; text-align: center; padding-left: 0; }
.roottx-layout-hero-tabs .roottx-content-overlay.right { align-items: flex-end; text-align: right; padding-left: 0; padding-right: 80px; }
.roottx-layout-hero-tabs .roottx-content-overlay.top { justify-content: flex-start; padding-top: 100px; }
.roottx-layout-hero-tabs .roottx-content-overlay.middle { justify-content: center; }
.roottx-layout-hero-tabs .roottx-content-overlay.bottom { justify-content: flex-end; padding-bottom: 100px; }

/* ৪. বাটন (Snake Border) */
.roottx-layout-hero-tabs .roottx-btn {
    position: relative; padding: 15px 50px;
    color: #fff; font-weight: 600; text-transform: uppercase; text-decoration: none;
    background: rgba(255, 255, 255, 0.1); border-radius: 4px; transition: 0.5s; overflow: hidden;
}
.roottx-layout-hero-tabs .roottx-btn span { position: absolute; display: block; }
.roottx-layout-hero-tabs .roottx-btn span:nth-child(1) { top: 0; left: -100%; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, #03e9f4); animation: btn-anim1 1s linear infinite; }
.roottx-layout-hero-tabs .roottx-btn span:nth-child(2) { top: -100%; right: 0; width: 2px; height: 100%; background: linear-gradient(180deg, transparent, #03e9f4); animation: btn-anim2 1s linear infinite; animation-delay: 0.25s; }
.roottx-layout-hero-tabs .roottx-btn span:nth-child(3) { bottom: 0; right: -100%; width: 100%; height: 2px; background: linear-gradient(270deg, transparent, #03e9f4); animation: btn-anim3 1s linear infinite; animation-delay: 0.5s; }
.roottx-layout-hero-tabs .roottx-btn span:nth-child(4) { bottom: -100%; left: 0; width: 2px; height: 100%; background: linear-gradient(360deg, transparent, #03e9f4); animation: btn-anim4 1s linear infinite; animation-delay: 0.75s; }
.roottx-layout-hero-tabs .roottx-btn:hover { background: #03e9f4; color: #000; box-shadow: 0 0 5px #03e9f4; }

/* ৫. সোশ্যাল আইকন (Perfect Center inside 820px) */
.roottx-layout-hero-tabs .hero-social-classic {
    width: 100vw !important; /* ফুল উইডথ */
    height: 100% !important; /* <--- প্যারেন্টের সমান (820px) */
    
    position: absolute !important;
    top: 0;
    left: 50% !important;
    transform: translateX(-50%) !important;
    
    pointer-events: none;
    z-index: 100;
    
    /* কন্টেন্ট সাজানো */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* ভার্টিক্যাল সেন্টার */
    align-items: flex-end !important;   /* ডান পাশে */
    padding-right: 30px !important;     /* ডান থেকে গ্যাপ */
}

/* ৬. অ্যারো হাইড */
.roottx-layout-hero-tabs .swiper-button-next,
.roottx-layout-hero-tabs .swiper-button-prev {
    display: none !important;
}

/* রেসপন্সিভ */
@media (max-width: 768px) {
    .roottx-hero-tabs-menu { display: none; } /* মোবাইলে মেনু হাইড */
    .roottx-layout-hero-tabs .hero-social-classic { display: none; } /* মোবাইলে সোশ্যাল হাইড */
    .roottx-layout-hero-tabs .roottx-content-overlay { padding: 0 20px; text-align: center; align-items: center; }
}


/* =========================================
   RESPONSIVE FIXES (Final)
   ========================================= */

/* 1. TABLET & SMALL LAPTOP (iPad Pro, Air, 1366px) */
@media (max-width: 1366px) {
    
    /* গ্লোবাল কন্টেইনার ফুল উইডথ */
    .roottx-ms-container,
    .roottx-swiper {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        padding: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }

    /* Layout 1, 2, 3 সেন্টার ফিক্স */
    .roottx-ring-stage,
    .roottx-arc-stage,
    .roottx-layout-center-mode {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        overflow: visible !important;
    }

    /* Hero Slider Full Width Fix (Breakout) */
    .roottx-custom-hero, 
    .roottx-layout-hero-thumb, 
    .roottx-layout-hero-classic {
        width: 100vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: -50vw !important;
        position: relative !important;
    }
}

/* 2. MOBILE VIEW (Phone) */
@media (max-width: 768px) {
    
    /* বডি স্ক্রল ফিক্স */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* কন্টেইনার ফিক্স */
    .roottx-ms-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important; /* সাইড ড্র্যাগ বন্ধ */
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Hero Reset (মোবাইলে ব্রেকআউট দরকার নেই) */
    .roottx-custom-hero, 
    .roottx-layout-hero-thumb,
    .roottx-layout-hero-classic {
        width: 100% !important;
        margin-left: 0 !important;
        left: 0 !important;
        transform: none !important;
    }
}