/*! ═══════════════════════════════════════════════════════════════
    Ajay Kumar Jha — Political Blog | Design System & Styles
    Framework: Mobile-First | Vanilla CSS | CSS Variables
    Psychology: F-pattern reading, progressive disclosure, 
    curiosity gaps, social proof, micro-interactions
═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Noto+Sans+Devanagari:wght@400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
    /* Brand Colors — PSP Nepal inspired */
    --primary:        #E8450E;
    --primary-light:  #FF6B35;
    --primary-dark:   #C23A0A;
    --primary-glow:   rgba(232, 69, 14, 0.15);

    --secondary:      #1E3A5F;
    --secondary-light:#2B5A8F;
    --secondary-dark: #0F2644;

    --gold:           #D4A017;
    --gold-light:     #F0C040;
    --gold-dark:      #B08A12;
    --gold-glow:      rgba(212, 160, 23, 0.12);

    --green:          #228B22;
    --green-light:    #2BA42B;
    
    --accent:         #7C3AED;

    /* Neutrals */
    --dark:           #0F172A;
    --dark-2:         #1E293B;
    --dark-3:         #334155;
    --text:           #1E293B;
    --text-secondary: #64748B;
    --text-muted:     #94A3B8;
    --border:         rgba(0, 0, 0, 0.08);
    --border-hover:   rgba(0, 0, 0, 0.15);
    --light:          #FAFAF9;
    --light-2:        #F5F3EF;
    --light-3:        #E7E5E0;
    --white:          #FFFFFF;

    /* Glass */
    --glass:          rgba(255, 255, 255, 0.06);
    --glass-border:   rgba(255, 255, 255, 0.1);
    --glass-2:        rgba(255, 255, 255, 0.03);

    /* Typography */
    --font-heading:   'Playfair Display', Georgia, serif;
    --font-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-nepali:    'Noto Sans Devanagari', sans-serif;

    /* Spacing */
    --nav-height:     72px;
    --section-pad:    80px;
    --container-max:  1200px;

    /* Radius */
    --radius-xs:      4px;
    --radius-sm:      8px;
    --radius-md:      14px;
    --radius-lg:      22px;
    --radius-xl:      32px;
    --radius-full:    9999px;

    /* Shadows */
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:      0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl:      0 20px 60px rgba(0,0,0,0.16);
    --shadow-glow:    0 0 40px rgba(232, 69, 14, 0.15);
    --shadow-card:    0 2px 12px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 16px 48px rgba(0,0,0,0.13);

    /* Transitions */
    --ease:           cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition:     all 0.3s var(--ease);
    --transition-fast:all 0.15s var(--ease);
    --transition-slow:all 0.5s var(--ease);

    /* Reading */
    --reading-width:  720px;
    --reading-line-height: 1.85;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --dark:       #FAFAF9;
    --text:       #E2E8F0;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --light:      #0F172A;
    --light-2:    #1E293B;
    --light-3:    #334155;
    --white:      #0F172A;
    --border:     rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.2);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.4);
    --shadow-card: 0 2px 12px rgba(0,0,0,0.2);
    --shadow-card-hover: 0 16px 48px rgba(0,0,0,0.35);
}

[data-theme="dark"] body {
    background: #0B0F1A;
    color: #E2E8F0;
}

[data-theme="dark"] .navbar {
    background: rgba(11, 15, 26, 0.92);
    border-bottom-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .blog-card,
[data-theme="dark"] .achievement-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .edu-card,
[data-theme="dark"] .contact-info-item,
[data-theme="dark"] .award-card {
    background: #1E293B;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .footer {
    background: #070A12;
}

[data-theme="dark"] .section.bg-alt {
    background: #111827;
}

/* ── 1. RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* ── 2. UTILITY CLASSES ───────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.section {
    padding: 60px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-glow);
    border: 1px solid rgba(232, 69, 14, 0.15);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 12px;
    line-height: 1.15;
}

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

.divider {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: var(--radius-full);
    margin: 14px auto 18px;
}

.divider-left {
    margin-left: 0;
}

.section-subtitle {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 18px rgba(232, 69, 14, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232, 69, 14, 0.45);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 18px rgba(30, 58, 95, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30, 58, 95, 0.45);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    box-shadow: 0 4px 18px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 160, 23, 0.5);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-primary   { background: rgba(232, 69, 14, 0.1);  color: var(--primary); }
.badge-secondary { background: rgba(30, 58, 95, 0.1);   color: var(--secondary); }
.badge-gold      { background: rgba(212, 160, 23, 0.1); color: var(--gold-dark); }
.badge-green     { background: rgba(34, 139, 34, 0.1);  color: var(--green); }
.badge-accent    { background: rgba(124, 58, 237, 0.1); color: var(--accent); }

/* ── 3. READING PROGRESS BAR ─────────────────────────────── */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    z-index: 10001;
    transition: width 0.1s linear;
    will-change: width;
}

/* ── 4. NAVBAR ────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    height: 64px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}

.logo-role {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Nav Links (Desktop) */
.nav-links {
    display: none;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: var(--radius-full);
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Theme Toggle */
.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    color: #fff;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    gap: 5px;
    transition: var(--transition-fast);
    padding: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: var(--radius-full);
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 999;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s var(--ease);
}

.mobile-nav.open {
    max-height: 600px;
}

.mobile-nav-inner {
    padding: 20px 28px 32px;
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-fast);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: #fff; padding-left: 8px; }
.mobile-nav a.active { color: var(--gold); }

/* ── 5. HERO ──────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #0B0F1A 0%, #1A1F35 30%, #0F172A 70%, #0D1117 100%);
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(232, 69, 14, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(212, 160, 23, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(232, 69, 14, 0.12);
    border: 1px solid rgba(232, 69, 14, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 8px;
}

.hero-name-deva {
    font-family: var(--font-nepali);
    font-size: clamp(1rem, 3.5vw, 1.8rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 32px;
}

.hero-tagline strong {
    color: var(--gold);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-cta .btn {
    width: 100%;
    max-width: 280px;
}

/* Hero Stats Bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.hero-stat {
    text-align: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Hero Photo */
.hero-photo {
    display: flex;
    justify-content: center;
}

.hero-photo-frame {
    position: relative;
    width: 260px;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid rgba(232, 69, 14, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(232, 69, 14, 0.1);
}

.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.6) 100%);
    pointer-events: none;
}

/* ── 6. PAGE HERO (Inner pages) ───────────────────────────── */
.page-hero {
    position: relative;
    padding: 120px 0 50px;
    background: linear-gradient(160deg, #0B0F1A 0%, #1A1F35 40%, var(--secondary-dark) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(232, 69, 14, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 8px auto 0;
    font-size: 1rem;
    line-height: 1.7;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 14px;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.6); }
.breadcrumb a:hover { color: var(--gold); }

/* ── 7. BLOG CARDS ────────────────────────────────────────── */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.06);
}

.blog-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.blog-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-glow), var(--gold-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-thumb .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.blog-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-meta svg {
    flex-shrink: 0;
}

.blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-title:hover {
    color: var(--primary);
}

.blog-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition-fast);
}

.blog-read-more:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.blog-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Featured Blog Card */
.blog-card-featured {
    border: 2px solid rgba(232, 69, 14, 0.15);
    box-shadow: 0 4px 20px rgba(232, 69, 14, 0.08);
}

.blog-card-featured .blog-thumb { height: 260px; }
.blog-card-featured .blog-title { font-size: 1.3rem; }

/* ── 8. BLOG ARTICLE (Reading View) ───────────────────────── */
.article-header {
    padding: 120px 0 40px;
    background: linear-gradient(160deg, #0B0F1A, #1A1F35);
}

.article-header .container {
    max-width: var(--reading-width);
}

.article-category {
    margin-bottom: 16px;
}

.article-title {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-cover {
    max-width: var(--reading-width);
    margin: -20px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.article-cover img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.article-content {
    max-width: var(--reading-width);
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* ── Article Typography (Psychology: readable, scannable) ─── */
.article-content p {
    font-size: 1.08rem;
    line-height: var(--reading-line-height);
    color: var(--text);
    margin-bottom: 1.6em;
    max-width: 70ch; /* Optimal reading width */
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2.5em 0 0.8em;
    color: var(--dark);
    position: relative;
    padding-left: 18px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary), var(--gold));
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2em 0 0.6em;
    color: var(--dark);
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    margin: 2em 0;
    background: var(--primary-glow);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    font-size: 1.08rem;
    color: var(--text);
    line-height: 1.75;
}

.article-content ul, 
.article-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.article-content li {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 0.6em;
    position: relative;
    list-style: disc;
    color: var(--text);
}

.article-content ol li { list-style: decimal; }

.article-content strong {
    font-weight: 700;
    color: var(--dark);
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover {
    color: var(--primary-dark);
}

/* Article Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.share-btn:hover { transform: translateY(-3px); }
.share-fb  { background: #1877F2; }
.share-tw  { background: #000; }
.share-wa  { background: #25D366; }
.share-li  { background: #0077B5; }
.share-cp  { background: var(--text-secondary); }

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.article-tag {
    padding: 5px 14px;
    background: var(--light-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.article-tag:hover {
    background: var(--primary-glow);
    border-color: var(--primary);
    color: var(--primary);
}

/* Related Posts */
.related-posts {
    background: var(--light-2);
    padding: 60px 0;
}

/* Post Navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.post-nav-item {
    padding: 18px 20px;
    background: var(--light-2);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.post-nav-item:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.post-nav-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.post-nav-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

/* ── 9. BLOG SIDEBAR ──────────────────────────────────────── */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-glow);
}

/* Popular Posts Widget */
.popular-post {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.popular-post:last-child { border-bottom: none; }

.popular-post-rank {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--light-3);
    min-width: 28px;
    line-height: 1;
}

.popular-post-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    transition: var(--transition-fast);
}

.popular-post:hover .popular-post-title { color: var(--primary); }

.popular-post-views {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Category Filter Widget */
.cat-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition-fast);
}

.cat-list-item:last-child { border-bottom: none; }
.cat-list-item:hover { color: var(--primary); padding-left: 6px; }

.cat-count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 10px;
    background: var(--light-2);
    border-radius: var(--radius-full);
    color: var(--text-muted);
}

/* Search Widget */
.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.88rem;
    background: var(--light);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 36px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-btn:hover { background: var(--primary-dark); }

/* ── 10. NEWSLETTER CTA ──────────────────────────────────── */
.newsletter-cta {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary), #2B4A7F);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-cta::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(232, 69, 14, 0.08), transparent 70%);
    pointer-events: none;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
}

.newsletter-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
    position: relative;
}

.newsletter-input {
    padding: 14px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2); }

/* ── 11. ABOUT PAGE ───────────────────────────────────────── */
.about-photo-wrapper {
    position: relative;
    padding: 16px;
}

.about-photo-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(232, 69, 14, 0.15);
}

.about-photo-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 36px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--gold), var(--green));
    border-radius: 2px;
}

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

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--light);
    box-shadow: 0 0 0 2px var(--primary);
    z-index: 1;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Education Cards */
.edu-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.edu-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.edu-year {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1.5px;
}

.edu-degree {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2px 0;
}

.edu-institute {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Value Cards */
.value-card {
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    opacity: 0;
    transition: var(--transition);
}

.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.value-card:hover::before { opacity: 1; }

.value-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ── 12. ACHIEVEMENT CARDS ────────────────────────────────── */
.achievement-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    opacity: 0;
    transition: var(--transition);
}

.achievement-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.achievement-card:hover::before { opacity: 1; }

.achievement-icon { font-size: 2.8rem; margin-bottom: 10px; }
.achievement-card h3 { font-size: 1rem; font-weight: 700; margin: 8px 0; line-height: 1.35; }
.achievement-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 5px 14px;
    background: linear-gradient(90deg, var(--primary-glow), var(--gold-glow));
    border: 1px solid rgba(232, 69, 14, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

/* ── 13. GALLERY ──────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-caption {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-2), var(--light-3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active { display: flex; }

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    max-width: 500px;
}

/* ── 14. CONTACT ──────────────────────────────────────────── */
.form-group {
    position: relative;
    margin-bottom: 22px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.92rem;
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
    background: var(--white);
    padding: 0 4px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-text h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.5;
}

/* Alert */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

.alert-success {
    background: rgba(34, 139, 34, 0.08);
    border: 1px solid rgba(34, 139, 34, 0.2);
    color: var(--green);
}

.alert-error {
    background: rgba(232, 69, 14, 0.08);
    border: 1px solid rgba(232, 69, 14, 0.2);
    color: var(--primary);
}

/* ── 15. IMPACT STATS ─────────────────────────────────────── */
.stats-bar {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 16px 8px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ── 16. CATEGORIES HOME SECTION ──────────────────────────── */
.cat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.cat-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cat-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

.cat-count-sm {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── 17. FOOTER ───────────────────────────────────────────── */
.footer {
    background: #0B0F1A;
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
}

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

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 320px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

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

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    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: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* ── 18. AOS ANIMATIONS ───────────────────────────────────── */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 700ms;
    transition-timing-function: var(--ease);
}

[data-aos].aos-animate { opacity: 1; }

[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }

[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ── 19. PAGINATION ───────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow);
}

.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── 20. MAP PLACEHOLDER ──────────────────────────────────── */
.map-placeholder {
    background: linear-gradient(135deg, var(--light-2), var(--light-3));
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    border: 1px solid var(--border);
}

/* ── 21. SLOGAN BANNER ────────────────────────────────────── */
.slogan-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--gold-dark));
    padding: 48px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.slogan-text {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.slogan-text-ne {
    font-family: var(--font-nepali);
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* ── 22. BLOG LISTING FILTER BAR ──────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition-fast);
    cursor: pointer;
}

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

/* ── 23. BLOG LISTING LAYOUT ─────────────────────────────── */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST (min-width breakpoints)
═══════════════════════════════════════════════════════════════ */

@media (min-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
    .hero-cta { flex-direction: row; }
    .hero-cta .btn { width: auto; }
    .post-nav { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .container { padding: 0 32px; }
    .section { padding: 80px 0; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-photo-frame { width: 300px; height: 380px; }
    .blog-layout { grid-template-columns: 1fr 320px; }
    .newsletter-form { flex-direction: row; }
    .newsletter-input { flex: 1; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (min-width: 1024px) {
    .section { padding: 100px 0; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .nav-links { display: flex; }
    .hamburger { display: none; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-text { text-align: left; }
    .hero-tagline { margin-left: 0; }
    .hero-cta { justify-content: flex-start; }
    .hero-photo-frame { width: 360px; height: 440px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .blog-card-featured .blog-thumb { height: 300px; }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

@media (min-width: 1280px) {
    .container { padding: 0 40px; }
    .hero-photo-frame { width: 400px; height: 480px; }
}

/* ── PRINT ────────────────────────────────────────────────── */
@media print {
    .navbar, .footer, .hero-cta, .newsletter-cta, .lightbox, .reading-progress { display: none !important; }
    body { color: #000; background: #fff; font-size: 12pt; }
    .article-content { max-width: 100%; padding: 0; }
}

/* ── ADMIN STYLES ─────────────────────────────────────────── */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--light);
}

.admin-sidebar {
    width: 240px;
    background: var(--dark-2);
    color: #fff;
    padding: 24px 0;
    flex-shrink: 0;
    display: none;
}

.admin-sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 16px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.admin-nav a:hover, .admin-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.admin-nav a.active { border-left: 3px solid var(--primary); }

.admin-main {
    flex: 1;
    padding: 24px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.admin-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.admin-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: var(--light);
}

.admin-table .actions {
    display: flex;
    gap: 8px;
}

.admin-table .actions a {
    padding: 4px 12px;
    border-radius: var(--radius-xs);
    font-size: 0.78rem;
    font-weight: 600;
}

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0B0F1A, var(--secondary-dark));
    padding: 20px;
}

.admin-login-card {
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .admin-sidebar { display: block; }
    .admin-stat-grid { grid-template-columns: repeat(4, 1fr); }
}
