/* ============================================================
   NDM - Nationalist Democratic Movement | Custom Design System
   Merged: BNP (bnpbd.org) + NCP (nationalcitizenpartybd.com)
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary: #006a4e;
    /* Logo Green */
    --primary-dark: #00503b;
    --secondary: #0D1B2A;
    --accent: #FFD700;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f1f3f5;
    --border-light: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 10px 30px rgba(0, 106, 78, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-primary: 'Inter', 'Hind Siliguri', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-white);
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: var(--transition);
}

/* ===================== TOP BAR (BNP Style) ===================== */
.top-bar {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary);
    backdrop-filter: blur(5px);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--accent);
}

.top-social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-left: 6px;
    font-size: 0.75rem;
}

.top-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ===================== NAVBAR ===================== */
.main-navbar {
    background: var(--bg-white);
    padding: 0;
    box-shadow: var(--shadow-sm);
    z-index: 1050;
}

.main-navbar .navbar-brand img {
    height: 55px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.main-navbar .navbar-brand span {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary);
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 106, 78, 0.1);
}

.main-navbar .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark) !important;
    padding: 25px 18px !important;
    text-transform: capitalize;
    /* More modern than full uppercase */
    letter-spacing: 0.3px;
    position: relative;
    transition: var(--transition);
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
    border-radius: 10px;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-navbar .nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.main-navbar.navbar-scrolled {
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-navbar.navbar-scrolled .navbar-brand img {
    height: 48px;
}

.main-navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 15px;
    margin-top: 5px;
    border-top: 4px solid var(--primary);
    transform: translateY(15px);
    opacity: 0;
    visibility: hidden;
    display: block !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.main-navbar .nav-item.dropdown:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-navbar .dropdown-item {
    font-weight: 500;
    padding: 10px 24px;
    font-size: 0.88rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.main-navbar .dropdown-item:hover {
    background: var(--bg-lighter);
    color: var(--primary);
    padding-left: 30px;
}

.btn-join {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    border: none;
    padding: 10px 22px !important;
    border-radius: var(--radius-xl);
    font-weight: 800;
    font-size: 0.82rem !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 106, 78, 0.2);
    transition: var(--transition);
}

.btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.35);
    background: linear-gradient(135deg, var(--primary-dark), #00402f);
    color: #fff !important;
}

.btn-donate {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #FFD700, #FFC000);
    color: var(--text-dark) !important;
    border: none;
    padding: 10px 22px !important;
    border-radius: var(--radius-xl);
    font-weight: 800;
    font-size: 0.82rem !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFC000, #e6ac00);
}

/* ===================== NEWS TICKER ===================== */
.news-ticker {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.ticker-label {
    background: var(--accent);
    color: var(--text-dark);
    font-weight: 800;
    padding: 4px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.ticker-content {
    display: flex;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    color: #fff;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0 50px;
    white-space: nowrap;
}

.ticker-item::before {
    content: '•';
    margin-right: 12px;
    color: var(--accent);
    font-weight: 900;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===================== HERO SLIDER ===================== */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-section .carousel-item {
    height: 70vh;
    min-height: 500px;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}

.carousel-item.active .hero-slide-bg {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 27, 42, 0.8) 0%, rgba(13, 27, 42, 0.4) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 6px 22px;
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out both;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out both 0.2s;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out both 0.4s;
}

.hero-btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.hero-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
    color: #fff;
}

.hero-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 14px 40px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.hero-btn-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
}

.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

.carousel-indicators .active {
    background-color: var(--primary);
    width: 60px;
}

/* ===================== SECTION COMMON ===================== */
.section-padding {
    padding: 45px 0;
}

.section-header {
    margin-bottom: 35px;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 106, 78, 0.1);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
}

.section-desc.mx-auto {
    margin: 0 auto;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 20px;
}

.section-line-center {
    margin-left: auto;
    margin-right: auto;
}

/* ===================== STATS COUNTER ===================== */
.stats-section {
    background: var(--secondary);
    padding: 35px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 106, 78, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== ABOUT / FEATURES (NCP Style) ===================== */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.6rem;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-primary);
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ===================== LEADERSHIP (BNP Style) ===================== */
.leader-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.leader-img-wrap {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.leader-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.leader-card:hover .leader-img-wrap img {
    transform: scale(1.08);
}

.leader-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    transition: var(--transition);
}

.leader-card:hover .leader-social {
    bottom: 0;
}

.leader-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    text-decoration: none;
}

.leader-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.leader-info {
    padding: 20px 25px;
    text-align: center;
}

.leader-info h5 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.leader-info p {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ===================== NEWS + BLOG (Merged Layout) ===================== */
/* ===================== IMPROVED NEWS SECTION ===================== */
.news-list-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item-mini {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    flex: 1;
    align-items: center;
}

.news-item-mini:last-child {
    border-bottom: none;
}

.news-item-mini:hover {
    transform: translateX(5px);
}

.news-item-mini h6 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
    flex: 1;
}

.news-item-mini h6 a {
    color: var(--text-dark);
    text-decoration: none;
}

.news-item-mini h6 a:hover {
    color: var(--primary);
}

.news-mini-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.news-featured-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    border-bottom: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    /* padding-bottom: 20px; */
}

.news-featured-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.news-featured-body {
    padding: 20px 0;
}

.news-featured-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.news-featured-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-section-more {
    background: #006a4e;
    /* Dark green like the image */
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
}

/* ===================== BLOG SLIDER (Programs style) ===================== */

.blog-slider-card {
    background: #d1d4d6;
    /* Light gray background like image */
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: none;
}

.blog-slider-img-wrap {
    position: relative;
    height: 200px;
}

.blog-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-slider-logo {
    position: absolute;
    bottom: -25px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    border: 2px solid var(--primary);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-slider-body {
    padding: 40px 20px 20px;
    background: #ffffff;
}

.blog-slider-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    height: 3em;
    overflow: hidden;
}

.blog-read-more {
    color: #3b5998 !important;
    /* Blue like the image */
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
}

.blog-slider-date {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.8rem;
    color: #666;
}

/* Slider Controls */
.slider-nav-btn {
    width: 45px;
    height: 45px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: var(--transition);
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: #fff;
}

.nav-prev {
    left: -22px;
}

.nav-next {
    right: -22px;
}


.blog-list-item {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.blog-list-item:hover {
    background: var(--bg-lighter);
    color: var(--primary);
    padding-left: 24px;
}

.blog-list-item h6 {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.blog-list-item .text-muted {
    font-size: 0.78rem;
}

/* ===================== PROGRAMS (BNP Policy Style) ===================== */
.program-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.program-icon-badge {
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-top: -28px;
    margin-left: 25px;
    position: relative;
    z-index: 2;
    font-size: 1.3rem;
    box-shadow: var(--shadow-primary);
}

/* ===================== VIDEO / PRESS ===================== */
.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.video-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    box-shadow: 0 0 0 10px rgba(0, 106, 78, 0.2), 0 0 0 20px rgba(0, 106, 78, 0.1);
    transition: var(--transition);
    z-index: 2;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 15px rgba(0, 106, 78, 0.2), 0 0 0 30px rgba(0, 106, 78, 0.1);
}

/* ===================== CTA BANNER (NCP Style) ===================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.btn-cta-white {
    background: #fff;
    color: var(--primary);
    padding: 16px 40px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
}

.btn-cta-white:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    padding: 14px 40px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-cta-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
}

/* ===================== GALLERY ===================== */
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 230px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 106, 78, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ===================== FOOTER (BNP Style Rich) ===================== */
.site-footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.75);
    padding: 50px 0 0;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.8;
}

.footer-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--primary);
    font-weight: 900;
    font-size: 1.2rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.92rem;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 1rem;
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.12);
}

.footer-newsletter .btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: var(--transition);
}

.footer-newsletter .btn:hover {
    background: var(--primary-dark);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    margin-right: 8px;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

/* ===================== PAGE HEADER (Inner Pages) ===================== */
.page-header {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.88) 0%, rgba(0, 106, 78, 0.4) 100%);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    position: relative;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    margin-top: 20px;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-custom a:hover {
    color: var(--accent);
}

.breadcrumb-custom span {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===================== CONTACT FORM ===================== */
.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact-card .form-control,
.contact-card .form-select {
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 106, 78, 0.1);
    background: var(--bg-white);
}

.contact-info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 55px;
    height: 55px;
    background: rgba(0, 106, 78, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===================== UTILITIES ===================== */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 35px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.badge-primary {
    background: var(--primary);
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-accent {
    background: rgba(0, 106, 78, 0.1);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== ABOUT SECTION (Redesigned) ===================== */
.about-image-stack {
    position: relative;
    padding-bottom: 50px;
    padding-right: 50px;
}

.main-img-wrap {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition);
}

.secondary-img-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    z-index: 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: var(--shadow-lg);
}

.about-sub-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--accent);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    z-index: 4;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.year-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-dark);
}

.year-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.about-pillar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.pillar-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 106, 78, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pillar-info h6 {
    font-weight: 700;
    margin-bottom: 2px;
}

.founder-sign {
    border-left: 2px solid var(--border-light);
    padding-left: 20px;
}

.scale-8 {
    transform: scale(0.8);
}

.fw-500 {
    font-weight: 500;
}

@keyframes bounce-animate {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.bounce-animate {
    animation: bounce-animate 4s ease-in-out infinite;
}

/* ===================== CHAIRMAN ADVICE BANNER ===================== */
.chairman-advice-section {
    background: var(--primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    border-bottom: 5px solid var(--accent);
}

.advice-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}

.chairman-circle-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    z-index: 2;
}

.chairman-circle-wrap::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.chairman-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: var(--shadow-lg);
}

.advice-text-center {
    max-width: 500px;
}

.advice-role {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.advice-name {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.advice-slogan {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.btn-advice {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-advice:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

.advice-right-logo img {
    height: 160px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.advice-bottom-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.advice-badge-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.advice-badge-item img {
    height: 30px;
}

.advice-badge-item span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 106, 78, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.45);
    color: #fff;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .main-navbar .nav-link {
        padding: 12px 16px !important;
    }

    .main-navbar .nav-link::after {
        display: none;
    }

    .stat-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {

    .hero-section,
    .hero-section .carousel-item {
        height: 60vh;
        min-height: 450px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .leader-img-wrap {
        height: 260px;
    }
}

/* ===================== CORE PRINCIPLES ===================== */
.principle-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
    transition: width 0.35s ease;
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 106, 78, 0.2);
}

.principle-card:hover::before {
    width: 8px;
}

.principle-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.principle-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(0, 106, 78, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.principle-card:hover .principle-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08) rotate(4deg);
}

.principle-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.principle-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    display: inline-block;
}

.principle-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 20px;
    text-align: justify;
}

.principle-features {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
}

.principle-features li {
    font-size: 0.88rem;
    color: #495057;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.principle-features li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===================== LEADERSHIP INITIALS AVATAR ===================== */
.leader-initials-box {
    width: 100%;
    height: 100%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: var(--font-primary);
    user-select: none;
    text-transform: uppercase;
}

.leader-sub-designation {
    font-size: 0.78rem;
    color: #555;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.4;
    display: block;
}

/* ===================== AFFILIATED MOVEMENTS ===================== */
.movement-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.movement-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

/* ===================== WING DETAIL PAGES ===================== */
.wing-hero-banner {
    position: relative;
    padding: 90px 0 70px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.wing-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.94) 0%, rgba(0, 106, 78, 0.88) 100%);
}

.wing-hero-banner.student-theme::before {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.94) 0%, rgba(2, 132, 199, 0.88) 100%);
}

.wing-hero-banner.gpr-theme::before {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.96) 0%, rgba(180, 83, 9, 0.88) 100%);
}

.wing-hero-banner .container {
    position: relative;
    z-index: 2;
}

.wing-stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.wing-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.wing-stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 6px;
    color: var(--primary);
}

.wing-pillar-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    height: 100%;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.wing-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.wing-pillar-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 106, 78, 0.2);
}

.wing-pillar-card:hover::before {
    transform: scaleX(1);
}

.wing-pillar-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: rgba(0, 106, 78, 0.1);
    color: var(--primary);
    transition: var(--transition);
}

.wing-pillar-card:hover .wing-pillar-icon {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(5deg) scale(1.08);
}

.wing-program-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 24px;
    transition: var(--transition);
}

.wing-program-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.research-paper-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 24px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.research-paper-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #b45309;
}

.wing-cta-box {
    background: linear-gradient(135deg, #0D1B2A 0%, #006a4e 100%);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.wing-cta-box::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.18) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    border-radius: 50%;
}

.wing-nav-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.wing-nav-card:hover {
    transform: translateX(6px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}