/* ==========================================
   GTEAN NEPAL - Custom Styles
   ========================================== */

/* ---------- Variables ---------- */
:root {
    --primary: #016ead;
    --primary-dark: #015382;
    --primary-light: #0ea5e9;
    --accent: #a5be0f;
    --accent-dark: #84980c;
    --dark: #1a2332;
    --dark-light: #243447;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #767676;
    --bg-light: #f8faf9;
    --bg-lighter: #eef5f0;
    --white: #ffffff;
    --border: #dee8e2;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

img {
    max-width: 100%;
    height: auto;
}

a { text-decoration: none; }

.section-padding {
    padding: 100px 0;
}

.membership-cta {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.membership-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,35,50,0.88) 0%, rgba(1,110,173,0.75) 100%);
}

.membership-cta > .container {
    position: relative;
    z-index: 1;
}

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 9px 0;
    font-size: 0.8rem;
    border-bottom: 2px solid var(--accent);
    letter-spacing: 0.2px;
}

.top-info {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.top-info span:not(:last-child) {
    padding-right: 20px;
    margin-right: 15px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.top-info i {
    color: var(--accent);
    font-size: 0.75rem;
}

.top-social {
    display: flex;
    gap: 12px;
}

.top-social a {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}

.top-social a:hover {
    color: var(--accent);
}

/* ---------- NAVBAR ---------- */
#mainNav {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 0;
    z-index: 9999;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

#mainNav.nav-scrolled {
    padding: 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-logo {
    height: 65px;
    width: auto;
    transition: var(--transition);
}

#mainNav.nav-scrolled .nav-logo {
    height: 60px;
}

.navbar-nav {
    gap: 2px;
}

.navbar-nav .nav-link {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    padding: 25px 15px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    /* background: var(--bg-lighter); */
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Chevron indicator for dropdown items (drawn with borders, not a font glyph) */
.navbar-nav .dropdown-toggle {
    padding-right: 30px !important;
}

.navbar-nav .dropdown-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease;
}

.navbar-nav .dropdown-toggle[aria-expanded="true"]::before {
    transform: translateY(-35%) rotate(225deg);
}

.navbar-toggler {
    border-color: var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(1,110,173,0.15);
}

.navbar-toggler:hover {
    border-color: var(--primary);
}

/* ---------- MOBILE OFFCANVAS MENU ---------- */
.navbar-offcanvas {
    --bs-offcanvas-width: min(320px, 86vw);
}

.navbar-offcanvas .offcanvas-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.navbar-offcanvas .nav-logo-offcanvas {
    height: 46px;
    width: auto;
}

.navbar-offcanvas .btn-close {
    width: 34px;
    height: 34px;
    padding: 0;
    background-color: var(--bg-lighter);
    background-size: 13px;
    border-radius: 50%;
    opacity: 1;
    transition: var(--transition);
}

.navbar-offcanvas .btn-close:hover {
    background-color: var(--border);
}

.navbar-offcanvas .offcanvas-body {
    padding: 8px 18px 28px;
}

.offcanvas-backdrop {
    backdrop-filter: blur(1px);
}

.offcanvas-backdrop.show {
    opacity: 0.55;
}

@media (max-width: 991.98px) {
    .navbar-offcanvas .navbar-nav {
        gap: 0;
    }

    .navbar-offcanvas .nav-link {
        padding: 14px 4px !important;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .navbar-offcanvas .nav-item:last-child > .nav-link {
        border-bottom: none;
    }

    .navbar-offcanvas .nav-link::after {
        display: none;
    }

    .navbar-offcanvas .nav-link:hover,
    .navbar-offcanvas .nav-link.active {
        background: var(--bg-lighter);
        padding-left: 12px !important;
    }

    .navbar-offcanvas .dropdown-toggle::before {
        right: 4px;
    }
}

/* ---------- HERO CAROUSEL ---------- */
.hero-slide {
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .hero-slide {
        min-height: 600px;
    }
}

/* Full-viewport hero on desktop/web only — mobile/tablet keep the fixed heights above. */
@media (min-width: 992px) {
    .hero-slide {
        /* --header-height is measured from the actual rendered top-bar + navbar
           (see setHeroOffset() in js/script.js) so top-bar + navbar + slider
           together always equal the window height. 110px is a no-JS fallback. */
        min-height: max(400px, calc(100vh - var(--header-height, 110px)));
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(1,110,173,0.7) 100%); */
}

.hero-overlay.overlay-green {
    background: linear-gradient(135deg, rgba(26,110,58,0.85) 0%, rgba(40,167,69,0.7) 100%);
}

.hero-overlay.overlay-blue {
    background: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(30,80,130,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(165,190,15,0.2);
    border: 1px solid rgba(165,190,15,0.4);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px #000000;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 auto 30px;
    max-width: 550px;
    line-height: 1.8;
    text-shadow: 2px 2px 4px #000000;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    opacity: 1;
}

.carousel-indicators .active {
    background: var(--accent);
    border-color: var(--accent);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    background-size: 50%;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(1,110,173,0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    border-color: white;
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(165,190,15,0.35);
}

/* #join sits on a light background, so btn-outline-light (white border/text)
   is invisible there — repaint it like btn-outline-primary in that context. */
#join .btn-outline-light {
    border-color: var(--primary);
    color: var(--primary);
}

#join .btn-outline-light:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(1, 110, 173, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(165, 190, 15, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
}

.stats-bar .stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 32px;
    color: white;
    flex: 1;
    justify-content: center;
}

.stat-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.stat-item:hover .stat-icon-wrap {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.08);
}

.stat-icon-wrap i {
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
    color: white;
}

.stat-suffix {
    color: var(--accent);
    font-weight: 700;
}

.stat-content p {
    font-size: 0.82rem;
    margin-bottom: 0;
    opacity: 0.65;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .nav-logo {
        height: 45px;
    }
	#mainNav.nav-scrolled .nav-logo {
		height: 45px;
	}
	.btn-accent {
		margin-bottom: 15px;
		margin-right: 0 !important;
	}
	.member-action {
		text-align: center;
	}
}

@media (max-width: 991.98px) {
    .stats-grid {
        flex-wrap: wrap;
    }
    .stats-bar .stat-item {
        flex: 0 0 50%;
        padding: 16px 20px;
    }
    .stat-divider {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .stats-bar .stat-item {
        flex: 0 0 100%;
        justify-content: flex-start;
        padding: 14px 24px;
    }
    .stats-bar {
        padding: 40px 0;
    }
}

/* ---------- SECTION COMMON ---------- */
.section-tag {
    display: inline-block;
    padding: 5px 16px;
    background: var(--bg-lighter);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.section-tag i {
    margin-right: 4px;
}

.section-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.25;
}

.section-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light-section {
    background: var(--bg-light);
}

/* ---------- ABOUT ---------- */
.about-img-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--primary);
    color: white;
    padding: 20px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.about-badge h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.about-highlights {
    margin-top: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-weight: 500;
    font-size: 0.92rem;
}

.highlight-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ---------- MISSION / VISION CARDS ---------- */
.mv-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mv-card.featured-card {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.mv-card.featured-card .mv-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.mv-card.featured-card p {
    color: rgba(255,255,255,0.85);
}

.mv-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.mv-card h4 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
}

.mv-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin: 0;
}

/* ---------- SERVICE CARDS ---------- */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(1,110,173,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-icon.icon-blue {
    background: rgba(30,80,180,0.1);
    color: #1e50b4;
}
.service-card:hover .icon-blue {
    background: #1e50b4;
    color: white;
}

.service-icon.icon-orange {
    background: rgba(165,190,15,0.15);
    color: var(--accent-dark);
}
.service-card:hover .icon-orange {
    background: var(--accent);
    color: white;
}

.service-icon.icon-red {
    background: rgba(220,53,69,0.1);
    color: #dc3545;
}
.service-card:hover .icon-red {
    background: #dc3545;
    color: white;
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    margin: 0;
}

/* ---------- EVENT CARDS ---------- */
.event-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-6px);
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    background: var(--primary);
    color: white;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.1;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.event-date .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

.event-body {
    padding: 20px;
}

.event-body h5 {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.event-body p {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.event-meta i {
    color: var(--primary);
    margin-right: 3px;
}

.events-carousel {
    position: relative;
    padding: 0 44px;
}

.events-carousel .carousel-control-prev,
.events-carousel .carousel-control-next {
    position: absolute;
    top: 50%;
    bottom: auto;
    width: auto;
    transform: translateY(-50%);
    opacity: 1;
}

.events-carousel .carousel-control-prev {
    left: -6px;
}

.events-carousel .carousel-control-next {
    right: -6px;
}

.events-carousel .carousel-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-size: 1.25rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.events-carousel .carousel-control-prev:hover .carousel-nav-icon,
.events-carousel .carousel-control-next:hover .carousel-nav-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

/* ---------- NEWS CARDS ---------- */
.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-featured .news-image {
    height: 260px;
}

@media (max-width: 575.98px) {
    .news-featured .news-image {
        height: 180px;
    }

    .news-image {
        height: 180px;
    }
}

.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-body {
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-meta i {
    color: var(--primary);
    margin-right: 3px;
}

.news-body h4 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.news-body h5 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
}

.news-body p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--primary-dark);
}

.news-link i {
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(4px);
    display: inline-block;
}

/* Horizontal news */
.news-horizontal {
    display: flex;
    align-items: stretch;
    margin-bottom: 15px;
}

.news-horizontal:last-child {
    margin-bottom: 0;
}

.news-thumb {
    width: 140px;
    min-height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-horizontal .news-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 18px;
}

/* ---------- GALLERY ---------- */
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1,110,173,0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---------- MEMBERS ---------- */
.member-benefits {
    margin-top: 25px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-item h6 {
    font-weight: 700;
    margin-bottom: 3px;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.member-image-wrapper {
    position: relative;
}

.member-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ---------- PARTNERS ---------- */
.partners-section {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-section h5 {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-marquee {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

.marquee-track {
    display: flex;
    gap: 60px;
    align-items: center;
    /* animation: marquee 20s linear infinite; */
    width: max-content;
}

.partner-item {
    flex-shrink: 0;
}

.partner-item img {
    height: 45px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
    cursor: pointer;
}

.partner-item img:hover {
    opacity: 1;
    filter: grayscale(0);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- CONTACT ---------- */
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-lighter);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--primary);
    color: white;
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.contact-card p a {
    color: var(--text-light);
    transition: var(--transition);
}

.contact-card p a:hover {
    color: var(--primary);
}

.contact-form-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form-box h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
    height: auto !important;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(1,110,173,0.1);
}

.form-floating label {
    color: var(--text-muted);
}

.form-error {
    display: block;
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 4px;
}

#contact-response {
    margin-top: 0;
    font-weight: 600;
    font-size: 0.92rem;
}

#contact-response:not(:empty) {
    margin-top: 15px;
}

#contact-response.response-success {
    color: var(--primary);
}

#contact-response.response-error {
    color: #dc3545;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo {
    height: 45px;
    max-width: 100%;
}

.footer-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-heading {
    color: white;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-light);
    background: rgba(255,255,255,0.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    margin: 0;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(1,110,173,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    color: white;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .top-info {
        display: none;
    }

    .top-bar .container {
        justify-content: center !important;
    }

    .brand-tagline {
        display: none;
    }

    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        min-width: 0;
        border: none;
        box-shadow: none;
        padding-left: 15px;
        margin-top: 0;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 80px 0 40px;
        min-height: 200px;
    }

    .contact-form-box {
        padding: 30px 20px;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .stat-content h3 {
        font-size: 1.8rem;
    }

    .news-horizontal {
        flex-direction: column;
    }

    .news-thumb {
        width: 100%;
        height: 160px;
    }

    .contact-form-box {
        padding: 25px;
    }
}

@media (max-width: 575.98px) {
    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .about-badge {
        right: 10px;
        bottom: -10px;
    }
}

/* ---------- PAGE HEADER (Inner Pages) ---------- */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 60px 0 60px;
    background-size: cover;
    background-position: center;
    min-height: 210px;
    display: flex;
    align-items: flex-end;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,35,50,0.88) 0%, rgba(1,110,173,0.75) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: white;
}

.page-header-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header .breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.page-header .breadcrumb-item a:hover {
    color: var(--accent);
}

.page-header .breadcrumb-item.active {
    color: var(--accent);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ---------- SINGLE ACTIVITY ---------- */
.activity-single-wrap {
    align-items: flex-start;
}

.activity-single-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.activity-featured-image {
    margin: 0 0 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.activity-featured-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.activity-title {
    margin-bottom: 14px;
    font-size: 2rem;
    line-height: 1.25;
    color: var(--dark);
}

.activity-description {
    color: var(--text-light);
}

.activity-description p:last-child {
    margin-bottom: 0;
}

.activity-gallery-section {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.activity-gallery-title {
    font-size: 1.45rem;
    margin: 0 0 14px;
    color: var(--dark);
}

.activity-image {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-light);
}

.activity-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.activity-image:hover img {
    transform: scale(1.04);
}

@media (max-width: 767.98px) {
    .activity-single-content {
        padding: 18px;
    }

    .activity-title {
        font-size: 1.6rem;
    }

    .activity-image img {
        height: 190px;
    }
}

/* ---------- ACTIVITIES SIDEBAR ---------- */
.activities-sidebar .sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 22px;
}

.activities-widget-title {
    font-size: 1.25rem;
    color: var(--dark);
    margin: 0 0 14px;
}

.activity-recent-post {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px;
    background: var(--bg-light);
    transition: var(--transition);
}

.activity-post-item:hover {
    border-color: rgba(1,110,173,0.35);
    box-shadow: 0 6px 16px rgba(1,110,173,0.12);
    transform: translateY(-2px);
}

.activity-post-img {
    width: 74px;
    height: 74px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #dfe9e3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-no-image {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.activity-post-text {
    min-width: 0;
}

.activity-post-link {
    display: block;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 5px;
}

.activity-post-link:hover {
    color: var(--primary);
}

.activity-post-date {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.activity-empty-post {
    color: var(--text-muted);
    margin: 0;
    padding: 8px 2px;
}

@media (max-width: 991.98px) {
    .activities-sidebar {
        margin-top: 6px;
    }
}

/* ---------- DROPDOWN STYLES ---------- */
.dropdown-menu {
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    margin-top: 12px;
    min-width: 240px;
    animation: fadeDropdown 0.25s ease;
}

@keyframes fadeDropdown {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.dropdown-item.active,
.dropdown-item:active {
    background: transparent;
    color: var(--text);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--bg-lighter);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 24px;
}

.dropdown-divider {
    margin: 5px 0;
    border-color: var(--border);
}

/* ---------- GALLERY PAGE ---------- */
.gallery-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-filter {
    padding: 8px 22px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,35,50,0.8), transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 0.92rem;
}

.gallery-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(26,35,50,0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
}

.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover .video-play-badge {
    background: var(--primary);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ---------- MEMBER CARDS ---------- */
.member-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.member-card-clickable {
    cursor: pointer;
}

.member-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0 auto 15px;
}

.member-card-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.member-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-card h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.member-card-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.team-photo {
    position: relative;
}

.team-view-more {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.team-view-more:hover,
.team-view-more:focus-visible {
    background: var(--primary);
    color: var(--white);
    outline: none;
}

/* Leader detail modal */
.leader-detail-modal .modal-content {
    position: relative;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.leader-detail-modal .leader-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.leader-detail-modal .leader-modal-close:hover,
.leader-detail-modal .leader-modal-close:focus-visible {
    background: var(--dark);
    outline: none;
}

.leader-detail-modal .modal-body {
    padding: 24px;
}

.leader-profile-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.leader-profile-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-lighter);
    flex-shrink: 0;
}

.leader-profile-heading {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.leader-profile-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0;
}

.leader-profile-designation {
    display: inline-block;
    width: fit-content;
    background: var(--bg-lighter);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    padding: 5px 14px;
    border-radius: 20px;
}

.leader-profile-org {
    font-size: 0.85rem;
    color: var(--dark);
    opacity: 0.8;
}

.leader-profile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.leader-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--bg-lighter);
    border-radius: 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.82rem;
    white-space: nowrap;
    transition: var(--transition);
}

.leader-contact-item i {
    color: var(--primary);
}

.leader-contact-item:hover {
    background: var(--primary);
    color: var(--white);
}

.leader-contact-item:hover i {
    color: var(--white);
}

.leader-profile-bio-title {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.leader-profile-bio-content {
    color: var(--dark);
    line-height: 1.8;
}

.leader-profile-bio-content p:last-child {
    margin-bottom: 0;
}

.member-category-badge {
    display: inline-block;
    background: var(--bg-lighter);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 999px;
}

/* ---------- REGION CARDS ---------- */
.region-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.region-card-link:hover,
.region-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.region-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    transition: var(--transition);
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.region-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.region-card h5 {
    font-weight: 700;
    margin-bottom: 4px;
}

.region-card span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ---------- MEMBERSHIP BENEFITS ---------- */
.member-benefits {
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.benefit-item h6 {
    font-weight: 700;
    margin-bottom: 3px;
}

.benefit-item p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

.member-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.member-image {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ---------- CONTACT PAGE ---------- */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ---------- ABOUT PAGE TIMELINE ---------- */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.timeline-item .timeline-date {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

/* ---------- DEFAULT PAGE / POST CONTENT ---------- */
.single-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 30px;
}

.single-content > img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: block;
}

.single-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    line-height: 1.3;
}

.desc,
.entry-content {
    color: var(--text-light);
    line-height: 1.8;
}

.desc p,
.entry-content p {
    margin-bottom: 1.1em;
}

.desc h1, .desc h2, .desc h3, .desc h4, .desc h5, .desc h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    color: var(--dark);
    font-weight: 700;
    margin: 1.4em 0 0.6em;
    line-height: 1.35;
}

.desc ul, .desc ol,
.entry-content ul, .entry-content ol {
    margin: 0 0 1.1em 1.3em;
    padding-left: 1rem;
}

.desc li,
.entry-content li {
    margin-bottom: 0.4em;
}

.desc img,
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1em 0;
}

.desc a,
.entry-content a {
    color: var(--primary);
    text-decoration: underline;
}

.desc a:hover,
.entry-content a:hover {
    color: var(--primary-dark);
}

.desc blockquote,
.entry-content blockquote {
    border-left: 3px solid var(--primary);
    background: var(--bg-light);
    padding: 14px 20px;
    margin: 1.2em 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text);
    font-style: italic;
}

.desc table,
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
}

@media (max-width: 767.98px) {
    .desc table,
    .entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

.desc table th, .desc table td,
.entry-content table th, .entry-content table td {
    border: 1px solid var(--border);
    padding: 8px 12px;
    text-align: left;
}

/* ---------- SEARCH RESULTS ---------- */
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.page-title span {
    color: var(--primary);
}

.search-result-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.search-result-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.search-result-card h5 {
    margin-bottom: 8px;
    font-weight: 700;
}

.search-result-card h5 a {
    color: var(--dark);
}

.search-result-card h5 a:hover {
    color: var(--primary);
}

.search-result-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin: 0;
}

.search-empty {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

/* ---------- MEDIA COVERAGE ---------- */
.media-coverage-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.media-coverage-item:hover {
    box-shadow: var(--shadow-sm);
}

.media-coverage-item h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.media-coverage-item h4 a {
    color: var(--dark);
}

.media-coverage-item h4 a:hover {
    color: var(--primary);
}

.media-coverage-desc {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* ---------- PAGINATION ---------- */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--white);
    transition: var(--transition);
}

a.page-numbers:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.page-numbers.dots {
    border: none;
    background: none;
}

/* ---------- ANIMATION EXTRAS ---------- */
.feature-card,
.service-card,
.event-card,
.mv-card,
.contact-card,
.member-card,
.region-card,
.gallery-item {
    will-change: transform;
}

/* ---------- FOCUS STATES ---------- */
.btn-filter:focus-visible,
.gallery-item:focus-visible,
.member-card-clickable:focus-visible,
.navbar-nav .nav-link:focus-visible,
.footer-links a:focus-visible,
.footer-social a:focus-visible,
.top-social a:focus-visible,
.news-link:focus-visible,
.activity-post-link:focus-visible,
.region-card-link:focus-visible,
.events-carousel .carousel-control-prev:focus-visible .carousel-nav-icon,
.events-carousel .carousel-control-next:focus-visible .carousel-nav-icon,
.back-to-top:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ---------- DONATE PAGE ---------- */
.donate-header .page-header-overlay {
    background: linear-gradient(135deg, rgba(16, 31, 45, 0.9) 0%, rgba(12, 80, 45, 0.72) 100%);
}

.donate-page {
    background: radial-gradient(circle at 0% 0%, rgba(1, 110, 173, 0.08) 0%, transparent 35%),
                radial-gradient(circle at 100% 100%, rgba(165, 190, 15, 0.12) 0%, transparent 45%),
                var(--bg-light);
}

.donate-form-card,
.donate-side-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.donate-form-card {
    padding: 34px;
}

.donate-side-card {
    padding: 30px;
    position: sticky;
    top: 110px;
}

.donate-form-head {
    margin-bottom: 24px;
}

.donate-form .donate-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.currency-switch {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(180deg, #f4f7f5 0%, #edf3ef 100%);
}

.currency-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.currency-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-input:checked + .currency-pill {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 8px 18px rgba(1, 110, 173, 0.2);
    transform: translateY(-1px);
}

.currency-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.currency-input:checked + .currency-pill:hover {
    color: var(--white);
}

.donate-input {
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.92rem;
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.payment-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.payment-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: grid;
    gap: 2px;
}

.payment-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.payment-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.35;
}

.payment-card:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.payment-input:checked + .payment-card {
    border-color: var(--primary);
    background: rgba(1, 110, 173, 0.08);
    box-shadow: 0 8px 18px rgba(1, 110, 173, 0.16);
}

.payment-input:checked + .payment-card .payment-title {
    color: var(--primary);
}

.payment-input:focus-visible + .payment-card {
    outline: 2px solid rgba(1, 110, 173, 0.36);
    outline-offset: 2px;
}

.amount-pill {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 12px;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.15px;
    line-height: 1.2;
    padding: 10px 12px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
}

.amount-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.amount-pill.active {
    border-color: var(--primary);
    background: rgba(1, 110, 173, 0.1);
    color: var(--primary);
    box-shadow: 0 8px 18px rgba(1, 110, 173, 0.18);
}

.amount-pill:not(.active):hover {
    background: #f8fbf9;
}

.amount-custom-toggle.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.amount-pill:focus-visible,
.currency-input:focus-visible + .currency-pill {
    outline: 2px solid rgba(1, 110, 173, 0.36);
    outline-offset: 2px;
}

.donate-subtitle {
    margin: 24px 0 14px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.donate-note {
    margin: 18px 0 16px;
    padding: 12px 14px;
    border-left: 3px solid var(--primary);
    background: rgba(1, 110, 173, 0.08);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.86rem;
}

.donate-submit-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
}

.donate-side-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.donate-side-card p {
    color: var(--text-light);
}

.donate-benefits {
    list-style: none;
    padding: 0;
    margin: 18px 0 22px;
    display: grid;
    gap: 10px;
}

.donate-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 600;
}

.donate-benefits li i {
    color: var(--primary);
    font-size: 1rem;
}

.donate-help-box {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.donate-help-box h6 {
    margin-bottom: 8px;
    font-weight: 700;
}

.donate-help-box a {
    color: var(--primary);
    font-weight: 700;
}

.donate-help-box a:hover {
    color: var(--primary-dark);
}

@media (max-width: 991.98px) {
    .donate-form-card,
    .donate-side-card {
        padding: 24px;
    }

    .donate-side-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .currency-switch {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .payment-switch {
        grid-template-columns: 1fr;
    }

    .amount-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .amount-pill,
    .currency-pill {
        justify-content: center;
    }

    .amount-custom-toggle {
        grid-column: 1 / -1;
    }
}