/* ==========================================================================
   BENGALI REMIX MUSIC - HOMEPAGE STYLES (index.css)
   ========================================================================== */

/* ==========================================================================
   1. GLOBAL HOMEPAGE STYLES & FIXED SITE BACKGROUND
   ========================================================================== */
.fixed-site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background-color: #000000;
}

.fixed-site-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.18) 100%);
}

/* Foreground Content Layer (Scrolls over fixed background) */
.home-content-layer {
    position: relative;
    z-index: 5;
    width: 100%;
    background-color: transparent;
    background: transparent;
}


/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.home-hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 76px);
    min-height: calc(100dvh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(60px, 12vh, 140px) 24px;
    box-sizing: border-box;
    /* Hero background image from assets */
    background-image: url('../assets/home 1 new.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
}

/* Neutral Light Overlay without Blue Tint for Natural Colors */
.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.22) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Decorative Wave / Ripple Layer (Subtle) */
.home-hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.05;
    overflow: hidden;
}

.home-hero-waves svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Main Content Container */
.home-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1140px;
    width: 100%;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hero Large Display Typography */
.home-hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    user-select: none;
}

.home-title-bengali {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(48px, 8.5vw, 110px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #F8C300;
    background: linear-gradient(180deg, #FFE873 0%, #F5BA00 55%, #D49B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.8)) drop-shadow(0px 0px 24px rgba(245, 186, 0, 0.25));
}

.home-title-remix {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 6.2vw, 80px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #00E5FF;
    background: linear-gradient(180deg, #CEFAFE 0%, #22D3EE 50%, #0891B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.8)) drop-shadow(0px 0px 24px rgba(34, 211, 238, 0.3));
}

/* Decorative Line & Action Area */
.home-hero-action-bar {
    width: 100%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 12px 0 50px 0;
}

.home-hero-divider {
    position: absolute;
    align-items: center;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(248, 195, 0, 0.1) 0%, rgba(34, 211, 238, 0.5) 40%, rgba(255, 255, 255, 0.4) 75%, transparent 100%);
    pointer-events: none;
}

/* "LEARN MORE →" Button */
.home-learn-more {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px;
    background: rgba(14, 30, 58, 0.65);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.home-learn-more .arrow {
    transition: transform 0.25s ease;
    font-size: 14px;
}

.home-learn-more:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}

.home-learn-more:hover .arrow {
    transform: translateX(4px);
}

/* Promotional Bengali YouTube Subscribe Area */
.home-hero-bottom {
    width: 100%;
    max-width: 960px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 24px;
    background: rgba(4, 15, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    margin-top: 20px;
}

.home-promo-text {
    font-family: 'Hind Siliguri', 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.2px;
}

.home-promo-badge-yt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #FF0000;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.4);
}

.home-promo-subscribe {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #FED800;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px 14px;
    border: 1px solid rgba(254, 216, 0, 0.5);
    border-radius: 20px;
    background: rgba(254, 216, 0, 0.1);
    transition: all 0.25s ease;
}

.home-promo-subscribe:hover {
    background: #FED800;
    color: #061224;
    box-shadow: 0 0 15px rgba(254, 216, 0, 0.5);
}


/* ==========================================================================
   3. COMBINED "OUR STORY + FEATURED VIDEO + OUR SERVICES" SECTION (home 2.webp)
   ========================================================================== */
.home-story-services-wrap {
    position: relative;
    width: 100%;
    background-color: transparent;
    background-image: url('../assets/home 2.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 5;
    overflow: hidden;
}

/* Neutral Light Overlay without Blue Tint for High Background Image & Color Visibility */
.home-story-services-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Foreground Content inside Wrapper */
.home-story-services-wrap > section {
    position: relative;
    z-index: 2;
    background: transparent;
}

/* Our Story Section */
.our-story-section {
    width: 100%;
    padding: 100px 0 60px;
    background: transparent;
    position: relative;
    z-index: 5;
}

.our-story-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    padding-top: 12px;
}

.our-story-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.our-story-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.our-story-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(15px, 1.4vw, 16.5px);
    line-height: 1.85;
    color: #cbd5e1;
    margin: 0;
}

/* Director Photo & Caption Area */
.story-director {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.story-director-image {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #94a3b8;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.story-director-image span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-director-image img,
.story-director-image span img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.story-director-image:hover {
    border-color: #FED800;
    color: #FED800;
    background-color: rgba(255, 255, 255, 0.1);
}

.story-director-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.director-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #FED800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.director-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}


/* ==========================================================================
   4. FEATURED VIDEO SECTION
   ========================================================================== */
.video-section {
    width: 100%;
    padding: 40px 0 80px;
    background: transparent;
    position: relative;
    z-index: 5;
}

.youtube-video-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #020712;
}

.youtube-video-card iframe {
    border: 0;
    width: 100%;
    height: 100%;
}


/* ==========================================================================
   5. OUR SERVICES SECTION
   ========================================================================== */
.services-section {
    width: 100%;
    padding: 30px 0 110px;
    background: transparent;
    position: relative;
    z-index: 5;
}

.services-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    position: relative;
    padding-left: 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 2.2vw, 25px);
    font-weight: 700;
    color: #FED800; /* Signature yellow/golden styling */
    line-height: 1.4;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.service-item::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 30px;
    color: #FED800;
    line-height: 1;
}

.service-item:hover {
    color: #FFE55C;
    transform: translateX(4px);
}


/* ==========================================================================
   6. DISCOVER OUR VIDEOS / OUR PRODUCTS (home 3.webp)
   ========================================================================== */

/* Section Background */
.video-discover-section {
    position: relative;
    width: 100%;
    padding: 80px 0 120px;
    background-color: transparent;
    background-image: url('../assets/home 3.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 5;
    overflow: hidden;
}

/* Neutral Light Overlay without Blue Tint for High Background Visibility */
.video-discover-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.22) 100%);
    z-index: 1;
    pointer-events: none;
}

.video-discover-section .container {
    position: relative;
    z-index: 2;
}

/* Section Header */
.video-section-header {
    margin-bottom: 48px;
}

.video-section-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #FED800;
    text-transform: uppercase;
}

.video-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* Explore Button */
.explore-videos-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.explore-videos-button:hover {
    background: #FED800;
    color: #061224;
    border-color: #FED800;
    box-shadow: 0 0 20px rgba(254, 216, 0, 0.4);
    transform: translateY(-2px);
}

/* Video Grid & Rows */
.video-discover-section .videos-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.video-discover-section .video-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.video-discover-section .video-row-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

/* Video Card Styles */
.video-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: #020712;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(254, 216, 0, 0.25);
    border-color: rgba(254, 216, 0, 0.4);
}

.video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-row-separator {
    display: none;
}

/* Custom YouTube Unavailable Fallback Placeholder */
.video-unavailable-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px 20px;
    box-sizing: border-box;
    background: radial-gradient(
        circle at 70% 50%,
        rgba(100, 0, 130, 0.45) 0%,
        rgba(30, 0, 40, 0.25) 30%,
        #0d0d0d 70%
    );
    z-index: 2;
    user-select: none;
}

.video-card.is-unavailable .video-unavailable-card {
    display: flex;
}

.video-card.is-unavailable iframe {
    display: none !important;
}

.video-unavailable-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90%;
}

.video-unavailable-youtube {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-family: 'Poppins', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.video-unavailable-youtube i {
    color: #ff0000;
    font-size: 17px;
    line-height: 1;
}

.video-unavailable-title {
    font-family: 'Poppins', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.video-unavailable-description {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.4;
}


/* ==========================================================================
   7. CASE FILES & COURT ORDER SECTION (Premium Feature Card Architecture)
   ========================================================================== */
.case-files-section {
    width: 100%;
    background-color: #f7f6f2; /* Site off-white background */
    color: #111827;
    padding: 70px 0 85px;
    position: relative;
    z-index: 10;
}

.case-feature-card {
    max-width: 1100px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

/* Yellow Accent Header at Top */
.case-card-header {
    background-color: rgb(255, 252, 5);
    background: rgb(255, 252, 5) !important;
    padding: 26px 20px 22px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.case-files-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #111111;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.case-header-divider {
    width: 48px;
    height: 2.5px;
    background-color: #111111;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Card Body Content Area with Subtle Yellow Accent */
.case-card-body {
    padding: 48px 56px 52px;
    position: relative;
    border-left: 5px solid rgb(255, 252, 5);
}

/* Case Files List */
.case-files-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.case-file-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
}

.case-file-badge-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-number-badge {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #000000;
    background-color: rgb(255, 252, 5);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    display: inline-block;
}

.case-number-line {
    flex: 1;
    max-width: 60px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.15);
}

.case-file-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 4px 0;
}

.case-file-desc {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 500;
    color: #1e293b;
    line-height: 1.6;
    flex: 1;
}

.case-file-link {
    color: #2563eb;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.case-file-link:hover {
    color: #1d4ed8;
    transform: translateX(3px);
}

.case-item-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    margin: 12px 0;
}

/* Center Ornamental Divider: ─────── ◆ ─────── */
.case-card-ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 40px auto 35px;
    width: 100%;
}

.ornament-line {
    flex: 1;
    max-width: 260px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.02));
}

.ornament-diamond {
    color: rgb(255, 230, 0);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    line-height: 1;
}

/* Court Order Subsection */
.court-order-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding-top: 5px;
}

.court-order-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 800;
    color: #111111;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.court-order-divider {
    width: 48px;
    height: 2px;
    background-color: #111111;
    margin: 8px auto 24px;
    border-radius: 2px;
}

.court-order-link-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    background-color: #faf9f6;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    transition: all 0.25s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.court-order-link-card:hover {
    background-color: #f2f0e8;
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.court-order-icon {
    font-size: 18px;
    color: #111111;
    flex-shrink: 0;
}

.court-order-link {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: clamp(14.5px, 1.6vw, 17px);
    font-weight: 700;
    color: #2563eb;
    text-decoration: underline;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.court-order-link:hover {
    color: #1d4ed8;
}

.court-order-arrow {
    font-size: 14px;
    color: #111111;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.court-order-link-card:hover .court-order-arrow {
    transform: translateX(4px);
    color: #2563eb;
}


/* ==========================================================================
   8. OUR TEAM SECTION (White Background)
   ========================================================================== */
.team-section {
    width: 100%;
    background-color: #ffffff;
    color: #111827;
    padding: 60px 0 120px;
    position: relative;
    z-index: 10;
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-member-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;

    border: 1px solid rgba(0, 0, 0, 0.25);
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 6px;

    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.team-member-image span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-image img,
.team-member-image span img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.team-member-image:hover {
    border-color: #0f172a;
    background-color: rgba(0, 0, 0, 0.06);
}

.team-member-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-member-name-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-member-line {
    width: 18px;
    height: 1.5px;
    background-color: #0f172a;
    display: inline-block;
    flex-shrink: 0;
}

.team-member-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.team-member-role {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    padding-left: 26px;
}

.team-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 250px;
}

.team-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(48px, 6.5vw, 84px);
    font-weight: 900;
    color: #000000;
    line-height: 0.95;
    letter-spacing: -1.5px;
    text-align: left;
}


/* ==========================================================================
   9. HOMEPAGE RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 991.98px) {
    .home-hero-action-bar {
        justify-content: center;
        margin: 20px 0 40px 0;
    }

    .home-hero-divider {
        display: none;
    }

    .our-story-section {
        padding: 60px 0 40px;
    }

    .services-section {
        padding: 20px 0 80px;
    }

    .video-discover-section {
        padding: 40px 0 80px;
    }

    .video-discover-section .video-row-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .video-discover-section .videos-grid {
        gap: 20px;
    }

    .team-title-wrap {
        min-height: auto;
        justify-content: flex-start;
        margin-top: 30px;
    }

    .team-title {
        text-align: left;
    }
}

@media (max-width: 991.98px) {
    .case-card-body {
        padding: 38px 32px 42px;
    }

    .case-files-section {
        padding: 55px 0 65px;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        background-image: url('../assets/home mobile_result.webp');
    }

    .case-files-section {
        padding: 40px 0 50px;
    }

    .case-feature-card {
        width: 94%;
        border-radius: 14px;
    }

    .case-card-header {
        padding: 20px 16px 18px;
    }

    .case-card-body {
        padding: 28px 18px 32px;
        border-left-width: 4px;
    }

    .case-file-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .case-file-desc {
        font-size: 14.5px;
    }

    .court-order-link-card {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .court-order-link {
        font-size: 14px;
    }

    .case-card-ornament-divider {
        margin: 30px auto 25px;
    }

    .ornament-line {
        max-width: 120px;
    }

    .video-discover-section {
        padding: 40px 0 60px;
        overflow-x: hidden;
    }

    .video-discover-section .container,
    .video-discover-container {
        overflow: hidden;
        padding-left: 16px;
        padding-right: 16px;
    }

    .video-discover-section .videos-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        width: 100%;
        position: relative;
        touch-action: pan-y;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        will-change: transform;
    }

    .video-discover-section .video-row {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        width: calc(100% - 44px);
        max-width: calc(100% - 44px);
        margin-right: 16px;
        gap: 14px;
        box-sizing: border-box;
    }

    .video-discover-section .video-row:last-child {
        margin-right: 0;
    }

    .video-discover-section .video-row-items {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .video-discover-section .video-row-separator {
        display: none !important;
    }

    .video-discover-section .video-card {
        width: 100%;
        position: relative;
    }

    .video-discover-section .video-touch-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 3;
        touch-action: pan-y;
        background: transparent;
        cursor: pointer;
    }

    .video-discover-section .video-touch-overlay.is-playing {
        pointer-events: none;
        opacity: 0;
    }

    .video-discover-section .video-card.anim-enter-up {
        animation: videoFadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .video-discover-section .video-card.anim-enter-left {
        animation: videoFadeInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .video-discover-section .video-card.anim-enter-right {
        animation: videoFadeInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .video-discover-section .video-card.stagger-0 {
        animation-delay: 0ms;
    }
    .video-discover-section .video-card.stagger-1 {
        animation-delay: 100ms;
    }
    .video-discover-section .video-card.stagger-2 {
        animation-delay: 200ms;
    }

    /* Swipe Left Direction Hint (Mobile Only) */
    .video-swipe-hint {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        padding: 8px 16px;
        background: rgba(254, 216, 0, 0.1);
        border: 1px solid rgba(254, 216, 0, 0.35);
        border-radius: 20px;
        color: #FED800;
        font-family: 'Poppins', 'Montserrat', sans-serif;
        font-size: 12.5px;
        font-weight: 600;
        letter-spacing: 0.3px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    }

    .video-swipe-hint i {
        font-size: 13px;
        animation: swipeHintBounce 1.5s infinite ease-in-out;
    }

    .team-section {
        padding: 40px 0 60px;
        overflow-x: hidden;
    }

    .team-title-wrap {
        order: -1;
        width: 100%;
        margin-top: 0;
        margin-bottom: 40px;
        justify-content: center;
        text-align: center;
    }

    .team-title {
        text-align: center;
        font-size: clamp(38px, 9vw, 54px);
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .team-title br {
        display: none;
    }

    .team-member {
        width: 100%;
        max-width: 330px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 45px;
        gap: 14px;
        opacity: 0;
        transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform, opacity;
    }

    /* 1st & 3rd Team Members: Slide in from RIGHT */
    .team-member:nth-child(odd) {
        transform: translateX(80px);
    }

    /* 2nd & 4th Team Members: Slide in from LEFT */
    .team-member:nth-child(even) {
        transform: translateX(-80px);
    }

    /* Scroll triggered visible state */
    .team-member.is-visible {
        transform: translateX(0);
        opacity: 1;
    }

    .team-member:last-child {
        margin-bottom: 0;
    }

    .team-member-image {
        width: 100%;
        max-width: 330px;
        height: auto;
        aspect-ratio: 3 / 4;
        margin: 0 auto;
    }

    .team-member-info {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .home-hero {
        min-height: calc(100vh - 76px);
        min-height: calc(100dvh - 76px);
        height: auto;
        padding: 50px 16px;
    }

    .home-hero-content {
        padding: 20px 16px;
    }

    .home-title-bengali,
    .home-title-remix {
        letter-spacing: 2px;
    }

    .home-learn-more {
        padding: 8px 20px;
        font-size: 12px;
    }

    .home-hero-bottom {
        flex-direction: column;
        border-radius: 16px;
        padding: 16px;
        gap: 10px;
    }

    .home-promo-text {
        font-size: 14px;
        text-align: center;
    }
}

/* ==========================================================================
   HEADER SOCIAL MEDIA ICONS (Small, Colorful, No Surrounding Shapes)
   ========================================================================== */
.home-social-links {
    gap: 16px;
}

.home-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0;
    width: auto;
    height: auto;
    box-shadow: none !important;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.home-social-icon.facebook,
.home-social-icon .fa-facebook-f,
.home-social-icon .fa-facebook {
    color: #1877F2;
}

.home-social-icon.twitter,
.home-social-icon .fa-x-twitter,
.home-social-icon .fa-twitter {
    color: #000000;
}

.home-social-icon.instagram,
.home-social-icon .fa-instagram {
    color: #E4405F;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-social-icon.youtube,
.home-social-icon .fa-youtube {
    color: #FF0000;
}

.home-social-icon:hover {
    transform: scale(1.18);
    opacity: 0.85;
}

/* Keyframes for Mobile Video Carousel Animations */
@keyframes videoFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes videoFadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes videoFadeInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes swipeHintBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-5px);
    }
}

