/* Homepage-only styles — scoped to .tr-home so header/footer stay untouched */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.tr-home {
    --tr-green: #0B6623;
    --tr-green-dark: #064018;
    --tr-red: #E31837;
    --tr-gold: #C5A017;
    --tr-navy: #0F172A;
    --tr-gray-50: #F8FAFC;
    --tr-gray-100: #F1F5F9;
    --tr-gray-500: #64748B;
    --tr-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --tr-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --tr-radius: 12px;
    --tr-radius-lg: 20px;
    --tr-font: 'Plus Jakarta Sans', 'Noto Sans Bengali', sans-serif;
    font-family: var(--tr-font);
    color: var(--tr-navy);
}

/* ── Video Hero Slider (tariquerahman.info style) ── */
.tr-home .tr-video-hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    clear: both;
    z-index: 1;
}
.tr-home .tr-video-hero__inner {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 720px;
    max-height: 920px;
    overflow: hidden;
    background: #000;
}
.tr-home .tr-video-hero__video {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 1;
    display: block;
    background: #000;
}
.tr-home .tr-video-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(6,64,24,0.45) 0%, rgba(15,23,42,0.25) 100%);
    pointer-events: none;
}
.tr-home .tr-video-hero__content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 180px 15px 60px;
    pointer-events: none;
}
.tr-home .tr-video-hero__content .hero-actions,
.tr-home .tr-video-hero__content a {
    pointer-events: auto;
}
.tr-home .tr-video-hero__title {
    font-family: var(--tr-font);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.tr-home .tr-video-hero__mute {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.45);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.tr-home .tr-video-hero__mute:hover {
    background: var(--tr-green);
    border-color: var(--tr-green);
}

/* ── Hero Slider Enhancement ── */
.tr-home .main-slider.style-two { margin-bottom: 0; }
.tr-home .main-slider .slide {
    min-height: 560px;
    display: flex !important;
    align-items: center;
}
.tr-home .main-slider .content.alternate {
    max-width: 720px;
    padding: 40px 0;
}
.tr-home .main-slider .content.alternate h1 {
    font-family: var(--tr-font);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    margin-bottom: 16px;
}
.tr-home .hero-badge {
    display: inline-block;
    background: var(--tr-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.tr-home .hero-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: 1.125rem;
    margin-bottom: 28px;
    line-height: 1.7;
    text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.tr-home .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tr-home .tr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.tr-home .tr-btn--gold { background: var(--tr-gold); color: var(--tr-navy); }
.tr-home .tr-btn--gold:hover { background: #fff; color: var(--tr-green); transform: translateY(-2px); }
.tr-home .tr-btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.tr-home .tr-btn--outline:hover { background: #fff; color: var(--tr-green); }
.tr-home .tr-btn--primary { background: var(--tr-green); color: #fff; }
.tr-home .tr-btn--primary:hover { background: var(--tr-green-dark); color: #fff; transform: translateY(-2px); }
.tr-home .tr-btn--white { background: #fff; color: var(--tr-green); }
.tr-home .tr-btn--white:hover { background: var(--tr-gold); color: var(--tr-navy); }

/* ── Section Common ── */
.tr-home .tr-section { padding: 80px 0; }
.tr-home .tr-section--gray { background: var(--tr-gray-50); }
.tr-home .tr-section--green {
    background: linear-gradient(135deg, var(--tr-green-dark) 0%, var(--tr-green) 100%);
    color: #fff;
}
.tr-home .tr-section--spotlight {
    background: #fff;
    padding-top: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--tr-gray-100);
}
.tr-home .tr-section__header { text-align: center; margin-bottom: 48px; }
.tr-home .tr-section__header--left {
    text-align: left;
    margin-bottom: 28px;
}
.tr-home .tr-section__header--left .tr-section__subtitle {
    margin: 0;
    max-width: none;
}
.tr-home .tr-live-dot {
    font-size: 0.5rem;
    color: var(--tr-red);
    vertical-align: middle;
    margin-right: 6px;
    animation: tr-pulse 1.5s ease-in-out infinite;
}
@keyframes tr-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.tr-home .tr-section__label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tr-red);
    margin-bottom: 12px;
}
.tr-home .tr-section--green .tr-section__label { color: var(--tr-gold); }
.tr-home .tr-section__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}
.tr-home .tr-section__subtitle {
    font-size: 1.0625rem;
    color: var(--tr-gray-500);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}
.tr-home .tr-section--green .tr-section__subtitle { color: rgba(255,255,255,0.8); }

/* ── About Block ── */
.tr-home .tr-about-img {
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    box-shadow: var(--tr-shadow-lg);
    position: relative;
}
.tr-home .tr-about-img img { width: 100%; display: block; }
.tr-home .tr-about-img__badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--tr-red);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--tr-radius);
    font-weight: 700;
    font-size: 0.875rem;
}
.tr-home .tr-about-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--tr-navy);
}
.tr-home .tr-about-content p {
    color: var(--tr-gray-500);
    line-height: 1.8;
    margin-bottom: 24px;
}
.tr-home .tr-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.tr-home .tr-stat {
    background: #fff;
    border-radius: var(--tr-radius);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--tr-shadow);
}
.tr-home .tr-stat__num { font-size: 1.75rem; font-weight: 800; color: var(--tr-green); }
.tr-home .tr-stat__label { font-size: 0.8125rem; color: var(--tr-gray-500); margin-top: 4px; }

/* ── Video Cards ── */
.tr-home .tr-video-card {
    background: #fff;
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    box-shadow: var(--tr-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.tr-home .tr-video-card:hover { transform: translateY(-6px); box-shadow: var(--tr-shadow-lg); }
.tr-home .tr-video-card__embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: var(--tr-navy);
}
.tr-home .tr-video-card__embed iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%; border: 0;
}
.tr-home .tr-video-card__body { padding: 24px; }
.tr-home .tr-video-card__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tr-green);
    background: rgba(11,102,35,0.08);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}
.tr-home .tr-video-card__title { font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
.tr-home .tr-video-card__external {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px;
    color: #fff;
    background: rgba(15, 23, 42, 0.85);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}
.tr-home .tr-video-card__external i { font-size: 3rem; color: var(--tr-green-light, #22c55e); }
.tr-home .tr-video-card__external:hover { background: rgba(11, 102, 35, 0.9); color: #fff; }
.tr-home .tr-videos-group { margin-bottom: 48px; }
.tr-home .tr-videos-group:last-child { margin-bottom: 0; }
.tr-home .tr-videos-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tr-home .tr-videos-group__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--tr-navy);
}

/* ── News Cards ── */
.tr-home .tr-news-card {
    background: #fff;
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    box-shadow: var(--tr-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tr-home .tr-news-card:hover { transform: translateY(-4px); box-shadow: var(--tr-shadow-lg); }
.tr-home .tr-news-card__img { height: 210px; overflow: hidden; position: relative; }
.tr-home .tr-news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tr-home .tr-news-card:hover .tr-news-card__img img { transform: scale(1.05); }
.tr-home .tr-news-card__date {
    position: absolute; bottom: 12px; left: 12px;
    background: var(--tr-red); color: #fff;
    font-size: 0.75rem; font-weight: 600;
    padding: 5px 14px; border-radius: 50px;
}
.tr-home .tr-news-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.tr-home .tr-news-card__title {
    font-size: 1.0625rem; font-weight: 700;
    line-height: 1.4; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.tr-home .tr-news-card__title a { color: var(--tr-navy); }
.tr-home .tr-news-card__title a:hover { color: var(--tr-green); }
.tr-home .tr-news-card__link {
    margin-top: auto; font-size: 0.875rem; font-weight: 700;
    color: var(--tr-green); display: inline-flex; align-items: center; gap: 6px;
}
.tr-home .tr-news-card__link:hover { color: var(--tr-red); }

/* ── Latest News List (homepage spotlight) ── */
.tr-home .tr-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--tr-gray-50);
    border-radius: var(--tr-radius-lg);
    border: 1px solid var(--tr-gray-100);
    overflow: hidden;
}
.tr-home .tr-news-list__item {
    padding: 18px 22px;
    border-bottom: 1px solid var(--tr-gray-100);
    transition: background 0.2s ease;
}
.tr-home .tr-news-list__item:last-child { border-bottom: 0; }
.tr-home .tr-news-list__item:hover { background: #fff; }
.tr-home .tr-news-list__date {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tr-red);
    margin-bottom: 6px;
}
.tr-home .tr-news-list__title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--tr-navy);
    text-decoration: none;
}
.tr-home .tr-news-list__title:hover { color: var(--tr-green); }
.tr-home .tr-empty-box {
    text-align: center;
    padding: 48px 24px;
    background: var(--tr-gray-50);
    border-radius: var(--tr-radius-lg);
    border: 1px dashed var(--tr-gray-100);
    color: var(--tr-gray-500);
}
.tr-home .tr-empty-box i {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--tr-gray-500);
    opacity: 0.6;
}
.tr-home .tr-empty-box p { margin: 0; }

/* ── Latest News Detail ── */
.tr-home .tr-news-detail__img {
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    box-shadow: var(--tr-shadow);
}
.tr-home .tr-news-detail__img img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.tr-home .tr-news-detail__date {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tr-red);
    margin-bottom: 12px;
}
.tr-home .tr-news-detail__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}
.tr-home .tr-news-detail__body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--tr-gray-500);
    text-align: justify;
}

/* ── Gallery ── */
.tr-home .tr-gallery-card {
    position: relative;
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}
.tr-home .tr-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tr-home .tr-gallery-card:hover img { transform: scale(1.08); }
.tr-home .tr-gallery-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,64,24,0.9) 0%, transparent 60%);
    display: flex; align-items: flex-end; padding: 22px;
    opacity: 0; transition: opacity 0.3s;
}
.tr-home .tr-gallery-card:hover .tr-gallery-card__overlay { opacity: 1; }
.tr-home .tr-gallery-card__title { color: #fff; font-weight: 700; font-size: 0.9375rem; }

/* ── Leader Profiles ── */
.tr-home .tr-profile-card {
    position: relative;
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--tr-shadow);
    display: block;
    transition: all 0.3s ease;
}
.tr-home .tr-profile-card:hover { transform: translateY(-8px); box-shadow: var(--tr-shadow-lg); }
.tr-home .tr-profile-card img { width: 100%; height: 100%; object-fit: cover; }
.tr-home .tr-profile-card__info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 28px 22px;
    background: linear-gradient(to top, rgba(6,64,24,0.95) 0%, transparent 100%);
    color: #fff;
}
.tr-home .tr-profile-card__name { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.tr-home .tr-profile-card__role { font-size: 0.8125rem; opacity: 0.85; line-height: 1.4; }

/* ── Mission Banner ── */
.tr-home .tr-mission {
    background: #fff;
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    box-shadow: var(--tr-shadow-lg);
    display: flex;
    flex-wrap: wrap;
}
.tr-home .tr-mission__img { flex: 1 1 320px; min-height: 280px; }
.tr-home .tr-mission__img img { width: 100%; height: 100%; object-fit: cover; }
.tr-home .tr-mission__body {
    flex: 1 1 320px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tr-home .tr-mission__body h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 16px; color: var(--tr-green); }
.tr-home .tr-mission__body p { color: var(--tr-gray-500); line-height: 1.8; margin-bottom: 24px; }

/* ── CTA ── */
.tr-home .tr-cta {
    background: linear-gradient(135deg, var(--tr-red) 0%, #B8122E 100%);
    border-radius: var(--tr-radius-lg);
    padding: 56px 40px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tr-home .tr-cta__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.tr-home .tr-cta__text { opacity: 0.9; margin-bottom: 28px; font-size: 1.0625rem; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .tr-home .tr-video-hero__inner { height: 70vh; min-height: 520px; max-height: 720px; }
    .tr-home .tr-video-hero__content { padding: 160px 15px 50px; }
    .tr-home .main-slider .slide { min-height: 420px; }
    .tr-home .tr-section { padding: 56px 0; }
    .tr-home .tr-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .tr-home .tr-video-hero__inner { height: 60vh; min-height: 420px; max-height: 560px; }
    .tr-home .tr-video-hero__content { padding: 140px 15px 40px; }
    .tr-home .tr-mission__body { padding: 32px 24px; }
    .tr-home .tr-cta { padding: 40px 24px; }
}

/* ── Leader Profile Pages ── */
.tr-home .tr-page-hero {
    background: linear-gradient(135deg, var(--tr-green-dark) 0%, var(--tr-green) 100%);
    padding: 188px 0 48px;
    color: #fff;
}
.tr-home .tr-page-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin: 8px 0 16px;
    color: #fff;
}
.tr-home .tr-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    opacity: 0.9;
}
.tr-home .tr-breadcrumb a { color: var(--tr-gold); }
.tr-home .tr-breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: 0.6; }
.tr-home .tr-leader-photo {
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    box-shadow: var(--tr-shadow-lg);
}
.tr-home .tr-leader-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.tr-home .tr-leader-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--tr-navy);
    margin-bottom: 8px;
}
.tr-home .tr-leader-role {
    color: var(--tr-green);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 24px;
}
.tr-home .tr-leader-text {
    color: var(--tr-gray-500);
    line-height: 1.9;
    text-align: justify;
}
.tr-home .tr-leader-text p { margin-bottom: 16px; }
.tr-home .tr-leader-text img { max-width: 100%; height: auto; border-radius: var(--tr-radius); }

/* ── Album Gallery Pages ── */
.tr-home .tr-album-card {
    display: block;
    background: #fff;
    border-radius: var(--tr-radius-lg);
    overflow: hidden;
    box-shadow: var(--tr-shadow);
    transition: all 0.3s ease;
    height: 100%;
    color: inherit;
}
.tr-home .tr-album-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tr-shadow-lg);
    color: inherit;
}
.tr-home .tr-album-card__img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--tr-gray-100);
}
.tr-home .tr-album-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tr-home .tr-album-card:hover .tr-album-card__img img { transform: scale(1.06); }
.tr-home .tr-album-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--tr-gray-500);
}
.tr-home .tr-album-card__count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
}
.tr-home .tr-album-card__body { padding: 20px; }
.tr-home .tr-album-card__body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tr-navy);
    margin-bottom: 10px;
    line-height: 1.4;
}
.tr-home .tr-album-card__link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--tr-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tr-home .tr-album-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.tr-home .tr-album-toolbar__count {
    font-weight: 600;
    color: var(--tr-gray-500);
}
.tr-home .tr-btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.tr-home .tr-btn--outline.tr-btn--sm {
    background: transparent;
    color: var(--tr-green);
    border: 2px solid var(--tr-green);
}
.tr-home .tr-btn--outline.tr-btn--sm:hover {
    background: var(--tr-green);
    color: #fff;
}
.tr-home .tr-album-photo {
    position: relative;
    display: block;
    border-radius: var(--tr-radius);
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--tr-shadow);
    background: var(--tr-gray-100);
}
.tr-home .tr-album-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tr-home .tr-album-photo__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,64,24,0.55);
    color: #fff;
    font-size: 1.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tr-home .tr-album-photo:hover img { transform: scale(1.05); }
.tr-home .tr-album-photo:hover .tr-album-photo__zoom { opacity: 1; }
