/* Moldova Jews - Premium Design */

/* ============================================
   Accessibility Utilities
   ============================================ */

/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip navigation link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #7D5A2F);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--gold, #F5B800);
    outline-offset: 2px;
}

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--gold, #F5B800);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Button and link focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gold, #F5B800);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #5D4422;
        --text: #000;
        --bg: #fff;
        --border: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:root {
    /* Colors */
    --primary: #7D5A2F;
    --primary-light: #9B7340;
    --primary-dark: #5D4422;
    --primary-rgb: 125, 90, 47;
    --gold: #F5B800;
    --gold-light: #FFD54F;
    --gold-dark: #DAA520;
    --gold-rgb: 245, 184, 0;
    --text: #3D2914;
    --text-light: #6B4423;
    --text-muted: #8B7355;
    --bg: #ffffff;
    --bg-warm: #FDF8F0;
    --bg-dark: #4A3520;
    --border: #E8DDD0;
    --success: #38a169;
    --error: #e53e3e;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Border radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(93,68,34,0.08);
    --shadow: 0 4px 20px rgba(93,68,34,0.1);
    --shadow-lg: 0 20px 50px rgba(93,68,34,0.15);
    --shadow-gold: 0 10px 40px rgba(var(--gold-rgb),0.3);
    --shadow-primary: 0 4px 15px rgba(var(--primary-rgb),0.4);

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

    /* Swiper button sizes */
    --swiper-btn-size: 48px;
    --swiper-btn-size-sm: 36px;
    --swiper-arrow-size: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Anchor offset for fixed header */
[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

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

a:hover {
    color: var(--gold);
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Main Layout with Sidebar */
.main-wrapper {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    gap: 30px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar-ads {
    width: 300px;
    flex-shrink: 0;
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ad-block {
    background: var(--bg-warm);
    border-radius: var(--radius);
    padding: 10px;
    text-align: center;
}

.ad-block-sticky {
    position: sticky;
    top: 100px;
}

.ad-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ad-placeholder {
    width: 300px;
    height: 250px;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border: 2px dashed #ddd;
}

.ad-placeholder-tall {
    height: 600px;
}

@media (max-width: 1200px) {
    .sidebar-ads {
        width: 250px;
    }
    .ad-placeholder {
        width: 250px;
        height: 200px;
    }
    .ad-placeholder-tall {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .sidebar-ads {
        display: none;
    }
    .main-wrapper {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212,166,68,0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 22px 56px;
    font-size: 1.25rem;
}

/* Pulse animation for donate button */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 184, 0, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(245, 184, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 184, 0, 0); }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Header */
.header {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

/* Transparent header on homepage */
.header-transparent {
    background: transparent;
}

.header-transparent .nav-link {
    color: rgba(255,255,255,0.9);
}

.header-transparent .nav-link:hover,
.header-transparent .nav-link.active {
    color: var(--gold);
}

.header-transparent .btn-donate {
    background: var(--gold);
    color: var(--primary-dark);
}

.header-transparent .language-switcher {
    background: rgba(255,255,255,0.15);
}

.header-transparent .lang-link {
    color: rgba(255,255,255,0.8);
}

.header-transparent .lang-link:hover {
    color: white;
}

.header-transparent .lang-link.active {
    background: rgba(255,255,255,0.25);
    color: white;
}

.header-transparent.scrolled {
    background: white;
}

.header-transparent.scrolled .nav-link {
    color: var(--text);
}

.header-transparent.scrolled .nav-link:hover,
.header-transparent.scrolled .nav-link.active {
    color: var(--primary);
}

.header-transparent.scrolled .btn-donate {
    background: var(--gold);
    color: var(--primary-dark);
}

.header-transparent.scrolled .language-switcher {
    background: var(--bg-warm);
}

.header-transparent.scrolled .lang-link {
    color: var(--text-muted);
}

.header-transparent.scrolled .lang-link:hover {
    color: var(--primary);
}

.header-transparent.scrolled .lang-link.active {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

/* Mobile menu on transparent header */
@media (max-width: 768px) {
    .header-transparent .nav {
        background: var(--bg-dark);
    }

    .header-transparent .nav-link {
        color: rgba(255,255,255,0.9);
    }

    .header-transparent .nav-link:hover,
    .header-transparent .nav-link.active {
        color: var(--gold);
        background: rgba(255,255,255,0.1);
    }

    .header-transparent .mobile-menu-btn span {
        background: var(--gold);
    }

    .header-transparent.scrolled .nav {
        background: white;
    }

    .header-transparent.scrolled .nav-link {
        color: var(--text);
    }

    .header-transparent.scrolled .nav-link:hover,
    .header-transparent.scrolled .nav-link.active {
        color: var(--primary);
        background: var(--bg-warm);
    }

    .header-transparent.scrolled .mobile-menu-btn span {
        background: var(--text);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    color: var(--text);
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-warm);
}

.nav-link.active {
    color: var(--primary);
    background: var(--bg-warm);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-hebrew-date {
    color: #F5B800;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-donate {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212,166,68,0.4);
    color: white;
}

.nav-link.btn {
    margin-left: 8px;
}

.language-switcher {
    display: flex;
    gap: 4px;
    margin-left: 20px;
    padding: 4px;
    background: var(--bg-warm);
    border-radius: 50px;
}

.lang-link {
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.lang-link.active {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding-top: 80px;
    overflow: hidden;
}

/* Video background for hero */
.hero-video-bg {
    background: var(--primary-dark);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,36,66,0.5) 0%, rgba(26,54,93,0.4) 50%, rgba(44,82,130,0.35) 100%);
    z-index: 2;
}

.hero-video-bg::before {
    z-index: 3;
}

.hero-video-bg .container {
    position: relative;
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(212,166,68,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    margin-top: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section + .section {
    padding-top: 0;
}

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

/* Ensure text is visible on alt sections */
.section-alt .section-header h2 {
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-alt .section-header p,
.section-alt .section-header .section-label {
    color: var(--text-light);
}

.section-dark {
    background: var(--bg-dark);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
}

/* Premium Section Header Animation */
.section-header.animate-in .section-label {
    animation: labelSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.section-header.animate-in h2 {
    animation: titleReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    opacity: 0;
}

.section-header.animate-in p {
    animation: subtitleFade 0.8s ease 0.5s forwards;
    opacity: 0;
}

.section-header.animate-in::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 3px;
    animation: lineExpand 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

@keyframes labelSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        letter-spacing: 10px;
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: normal;
        filter: blur(0);
    }
}

@keyframes subtitleFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    0% {
        transform: translateX(-50%) scaleX(0);
    }
    100% {
        transform: translateX(-50%) scaleX(1);
    }
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-dark .section-header h2 {
    color: white;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.section-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Projects Grid - Legacy */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

/* ================================
   MODERN PROJECTS SECTION
   ================================ */
.projects-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.projects-modern-grid.news-grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
}

.news-grid-4 .project-modern-card {
    min-height: auto;
    display: flex;
    flex-direction: column;
}

.news-grid-4 .project-modern-image {
    aspect-ratio: 4/3;
}

.news-grid-4 .project-modern-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-grid-4 .project-modern-body p {
    flex: 1;
}

.news-grid-4 .project-modern-footer {
    margin-top: auto;
}

.news-grid-4 .project-modern-body h3 {
    font-size: 1rem;
}

.news-grid-4 .project-modern-body p {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
}

.news-grid-4 .project-modern-link {
    padding: 8px 14px;
    font-size: 0.75rem;
}

.news-grid-4 .project-modern-tag {
    padding: 4px 8px;
    font-size: 0.65rem;
}

@media (max-width: 1200px) {
    .projects-modern-grid.news-grid-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .projects-modern-grid.news-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .projects-modern-grid.news-grid-4 {
        grid-template-columns: 1fr !important;
    }
}

.projects-page-grid {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    padding: 16px 20px;
    text-align: center;
    line-height: 1.3;
}

.project-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.project-card-title a:hover {
    color: var(--primary);
}

.project-modern-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 40px rgba(0,0,0,0.06),
        0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modern-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 0 60px rgba(0,0,0,0.1),
        0 16px 48px rgba(0,0,0,0.12);
}

.project-modern-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.project-modern-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.project-modern-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

.project-modern-card.featured .project-modern-image {
    height: 100%;
    min-height: 400px;
}

.project-modern-image .project-swiper {
    width: 100%;
    height: 100%;
}

.project-modern-image .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-modern-image .swiper-slide img,
.project-modern-image .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modern-card:hover .swiper-slide img,
.project-modern-card:hover .swiper-slide video {
    transform: scale(1.08);
}

.project-modern-image > img,
.project-modern-image > video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modern-card:hover .project-modern-image > img,
.project-modern-card:hover .project-modern-image > video {
    transform: scale(1.05);
}

/* Video slide with play button */
.video-slide {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-slide .video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-slide div.video-poster {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.video-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-play-btn svg {
    width: 28px;
    height: 28px;
    color: white;
    margin-left: 4px;
}

.video-slide:hover .video-play-btn {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-slide.playing .video-play-btn,
.video-slide.playing .video-poster {
    display: none;
}

/* YouTube thumbnail */
.youtube-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.youtube-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modern-card:hover .youtube-thumbnail img {
    transform: scale(1.05);
}

.youtube-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.youtube-play-icon svg {
    width: 100%;
    height: 100%;
}

.youtube-thumbnail:hover .youtube-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video should not block swiper controls */
.video-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.project-swiper .swiper-button-next,
.project-swiper .swiper-button-prev,
.project-swiper .swiper-pagination {
    pointer-events: auto !important;
    z-index: 50 !important;
}

/* Swiper inside modern cards - Simple Arrows */
.project-modern-card .project-swiper .swiper-button-next,
.project-modern-card .project-swiper .swiper-button-prev {
    width: 32px;
    height: 32px;
    background: none;
    opacity: 0.7;
    z-index: 20;
    transition: var(--transition);
}

.project-modern-card .project-swiper .swiper-button-next:hover,
.project-modern-card .project-swiper .swiper-button-prev:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Arrow icons */
.project-modern-card .project-swiper .swiper-button-next::after,
.project-modern-card .project-swiper .swiper-button-prev::after {
    content: '' !important;
    width: 12px;
    height: 12px;
    border: 3px solid #333;
    border-left: none;
    border-bottom: none;
    font-size: 0;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.8));
}

.project-modern-card .project-swiper .swiper-button-next::after {
    transform: rotate(45deg);
    margin-left: -3px;
}

.project-modern-card .project-swiper .swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-right: -3px;
}

.project-modern-card .project-swiper .swiper-button-next:hover::after,
.project-modern-card .project-swiper .swiper-button-prev:hover::after {
    border-color: var(--primary-dark);
}

.project-modern-card .project-swiper .swiper-button-prev {
    left: var(--radius);
}

.project-modern-card .project-swiper .swiper-button-next {
    right: var(--radius);
}

.project-modern-card .project-swiper .swiper-button-disabled {
    display: none;
}

.project-modern-card .swiper-pagination {
    bottom: 12px;
    z-index: 20;
}

.project-modern-card .swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.project-modern-card .swiper-pagination-bullet-active {
    background: white;
}

/* Slide date badge */
.slide-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 15;
    letter-spacing: 0.3px;
}

.project-modern-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.project-modern-placeholder span {
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}

/* Project Card Body - Premium Text Box */
.project-modern-body {
    padding: 28px 28px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.project-modern-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modern-card:hover .project-modern-body::before {
    opacity: 1;
    transform: scaleX(1);
}

.project-modern-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.project-modern-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.project-modern-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(139,92,246,0.1) 100%);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(99,102,241,0.15);
    white-space: nowrap;
    flex-shrink: 0;
}

.project-modern-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.project-modern-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.project-modern-body h3 a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 100%);
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
}

.project-modern-body h3 a:hover {
    color: var(--primary);
    background-size: 100% 2px;
}

.project-modern-body p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-modern-link {
    display: inline-block;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary-dark);
    text-decoration: none;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    white-space: nowrap;
}

.project-modern-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--primary-dark);
}

.project-modern-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.projects-view-all {
    text-align: center;
    margin-top: 48px;
}

.projects-view-all .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.projects-view-all .btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* News Modern Grid - 3 columns */
.news-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-modern-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.04),
        0 10px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.06);
}

.news-modern-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 16px rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.1);
}

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

.news-modern-image img,
.news-modern-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-modern-card:hover .news-modern-image img,
.news-modern-card:hover .news-modern-image video {
    transform: scale(1.08);
}

.news-modern-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.news-modern-placeholder span {
    font-size: 3rem;
    opacity: 0.3;
}

.news-modern-body {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.news-modern-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--primary) 100%);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-modern-card:hover .news-modern-body::before {
    opacity: 1;
    transform: scaleX(1);
}

.news-modern-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.news-modern-meta time {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-modern-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(139,92,246,0.1) 100%);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(99,102,241,0.15);
}

.news-modern-body h3 {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.news-modern-body h3 a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 100%);
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
}

.news-modern-body h3 a:hover {
    color: var(--primary);
    background-size: 100% 2px;
}

.news-modern-body p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-modern-link {
    display: inline-block;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary-dark);
    text-decoration: none;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    white-space: nowrap;
}

.news-modern-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--primary-dark);
}

.news-view-all {
    text-align: center;
    margin-top: 48px;
}

/* Responsive News Modern */
@media (max-width: 1024px) {
    .news-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .news-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .news-modern-body {
        padding: 20px;
    }

    .news-modern-body h3 {
        font-size: 1rem;
    }
}

/* Page Header Modern */
.page-header-modern {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.page-header-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.page-header-modern h1 {
    color: white;
    margin-bottom: 12px;
}

.page-header-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Modern Projects */
@media (max-width: 900px) {
    .projects-modern-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .projects-page-grid {
        grid-template-columns: 1fr;
    }

    .project-modern-image {
        aspect-ratio: 4/3;
    }

    .project-modern-content {
        padding: 20px;
        transform: translateY(0);
    }

    .project-modern-cta {
        opacity: 1;
        transform: translateX(0);
    }

    .project-modern-content h3 {
        font-size: 1.25rem;
    }

    .project-modern-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .project-modern-header h3 {
        font-size: 1.1rem;
    }

    .page-header-modern {
        padding: 60px 0 40px;
    }
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.project-image {
    display: block;
    position: relative;
    height: 240px;
    min-height: 240px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.project-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 3rem;
}

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

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

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
}

.project-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.project-card:hover .project-content h3 {
    color: var(--primary);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.project-link,
.project-content .link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gold-dark);
    margin-top: auto;
}

.project-link::after {
    content: '→';
    transition: var(--transition);
}

.project-link:hover::after {
    transform: translateX(4px);
}

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

/* Project Slider Styles */
.projects-slider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-slider-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.project-slider-link {
    display: block;
    text-decoration: none;
}

.project-swiper {
    width: 100%;
    position: relative;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

/* Swiper Navigation Arrows */
.project-swiper .swiper-button-next,
.project-swiper .swiper-button-prev {
    width: 32px;
    height: 32px;
    background: none;
    transition: var(--transition);
    opacity: 0.7;
}

.project-swiper .swiper-button-next:hover,
.project-swiper .swiper-button-prev:hover {
    opacity: 1;
    transform: scale(1.1);
}

.project-swiper .swiper-button-next::after,
.project-swiper .swiper-button-prev::after {
    content: '' !important;
    width: 12px;
    height: 12px;
    border: 3px solid #333;
    border-left: none;
    border-bottom: none;
    font-size: 0;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.8));
}

.project-swiper .swiper-button-next::after {
    transform: rotate(45deg);
    margin-left: -3px;
}

.project-swiper .swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-right: -3px;
}

.project-swiper .swiper-button-next:hover::after,
.project-swiper .swiper-button-prev:hover::after {
    border-color: var(--primary-dark);
}

.project-swiper .swiper-button-prev {
    left: 8px;
}

.project-swiper .swiper-button-next {
    right: 8px;
}

.project-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.project-slider-card:hover .swiper-slide img {
    transform: scale(1.05);
}

.project-swiper .swiper-button-disabled {
    display: none;
}

.project-swiper .slide-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    z-index: 10;
}

.project-swiper .slide-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 4rem;
}

.project-swiper .swiper-pagination {
    display: none;
}

.project-slider-title {
    padding: 20px 24px;
    font-size: 1.25rem;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text);
    margin: 0;
    text-align: center;
    transition: var(--transition);
}

.project-slider-card:hover .project-slider-title {
    color: var(--primary);
}

@media (max-width: 768px) {
    .projects-slider-grid {
        grid-template-columns: 1fr;
    }

    .project-swiper .swiper-button-next,
    .project-swiper .swiper-button-prev {
        opacity: 1;
        width: 36px;
        height: 36px;
    }

    .project-swiper .swiper-button-next::after,
    .project-swiper .swiper-button-prev::after {
        width: 10px;
        height: 10px;
    }

    .project-swiper .swiper-pagination {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .projects-slider-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.article-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.article-image {
    display: block;
    position: relative;
    height: 220px;
    min-height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-warm);
}

.article-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--primary);
    font-size: 3rem;
}

.article-image img,
.article-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.article-card:hover .article-image img,
.article-card:hover .article-image video {
    transform: scale(1.08);
}

.article-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.article-category {
    padding: 4px 12px;
    background: var(--bg-warm);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
}

.article-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition);
}

.article-card:hover .article-content h3 {
    color: var(--primary);
}

.article-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.article-content .link,
.article-content .project-link {
    margin-top: auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    margin-bottom: 24px;
    transition: var(--transition);
}

.back-link:hover {
    color: white;
}

.page-header .article-meta {
    color: rgba(255,255,255,0.8);
    justify-content: center;
}

.page-header .article-meta a {
    color: var(--gold);
}

.page-header .article-meta a:hover {
    color: white;
}

/* Content */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-image img,
.content-image video {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.content-main {
    font-size: 1.125rem;
    line-height: 1.9;
}

.content-main h2 {
    font-size: 1.75rem;
    margin-top: 48px;
    margin-bottom: 20px;
}

.content-main p {
    margin-bottom: 24px;
    color: var(--text-light);
}

/* Project Hero */
.project-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-dark);
    padding: 120px 0 80px;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,36,66,0.9) 0%, rgba(26,54,93,0.8) 100%);
}

.project-hero .container {
    position: relative;
    z-index: 1;
}

.project-hero .back-link {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    display: inline-block;
}

.project-hero .back-link:hover {
    color: white;
}

.project-hero-content {
    max-width: 700px;
}

.project-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-hero-desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.7;
}

.project-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.project-hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.project-hero-actions .btn-outline:hover {
    background: white;
    color: var(--primary-dark);
}

/* Project Page Section Headers */
.section > .container > .section-header {
    text-align: center;
    margin-bottom: 48px;
}

/* Project Content */
.project-content {
    padding: 0 0 60px;
}

.project-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.project-video {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.project-video video {
    width: 100%;
    display: block;
}

/* Project Director */
.project-director {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.project-director .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.director-card {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--bg-warm);
    padding: 24px;
    border-radius: var(--radius-lg);
}

.director-photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.director-info {
    flex: 1;
}

.director-name {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.director-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.director-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.director-contact:hover {
    color: var(--gold);
}

.director-contact .contact-icon {
    font-size: 1.1rem;
}

/* Project Participate */
.project-participate {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    text-align: center;
}

.participate-title {
    display: inline-block;
    background: white;
    color: var(--primary-dark);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.participate-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.participate-contacts {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.participate-contacts .btn-outline {
    border-color: white;
    color: white;
}

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

@media (max-width: 768px) {
    .director-card {
        flex-direction: column;
        text-align: center;
    }

    .director-contacts {
        align-items: center;
    }

    .project-participate {
        padding: 32px 24px;
    }

    .participate-contacts {
        flex-direction: column;
    }

    .participate-contacts .btn {
        width: 100%;
    }
}

/* Related Articles on Project Page */
.related-articles {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

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

/* ================================
   Article Single Page
   ================================ */

/* Article with page-hero */
.page-hero-article {
    padding: 160px 0 60px;
}

.page-hero-article h1 {
    margin-bottom: 16px;
}

.page-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.page-hero-meta time {
    color: rgba(255, 255, 255, 0.9);
}

.article-single {
    padding: 50px 0 60px;
    background: #fff;
}

/* Breadcrumb - hidden when page-hero is used */
.article-breadcrumb {
    display: none;
}

/* Article Wrapper */
.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Header - hidden, now in page-hero */
.article-top {
    display: none;
}

.article-project-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: background 0.2s;
}

.article-project-tag:hover {
    background: var(--primary-dark);
}

.article-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 16px;
}

.article-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.article-info-sep {
    opacity: 0.5;
}

/* Article Slider */
.article-slider {
    margin-bottom: 40px;
}

.article-slider-container {
    position: relative;
}

.article-slider-main {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
    background: #000;
}

.article-slider-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.article-slider-main video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.article-slider-main iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Slider Arrows */
.article-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.article-slider-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.article-slider-prev {
    left: 16px;
}

.article-slider-next {
    right: 16px;
}

/* Slider Counter */
.article-slider-counter {
    text-align: center;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .article-slider-main {
        height: 300px;
    }

    .article-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .article-slider-prev {
        left: 8px;
    }

    .article-slider-next {
        right: 8px;
    }
}

/* Thumbnails */
.article-slider-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.article-slider-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    opacity: 0.6;
    transition: all 0.2s;
    border: 3px solid transparent;
}

.article-slider-thumb:hover {
    opacity: 0.9;
}

.article-slider-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.article-slider-thumb img,
.article-slider-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-slider-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
}

@media (max-width: 768px) {
    .article-slider-thumb {
        width: 60px;
        height: 60px;
    }
}

/* Cover Image (legacy) */
.article-cover {
    margin: 0 0 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-height: 600px;
}

.article-cover img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

/* Main Video */
.article-main-video {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.article-main-video video {
    width: 100%;
    display: block;
}

/* YouTube */
.article-youtube-list {
    margin-bottom: 40px;
}

.article-youtube {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.article-youtube:last-child {
    margin-bottom: 0;
}

.article-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Article Text */
.article-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
}

.article-text p {
    margin-bottom: 1.25em;
}

.article-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin: 2em 0 0.75em;
}

.article-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.5em 0 0.5em;
}

.article-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5em 0;
}

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

.article-text li {
    margin-bottom: 0.5em;
}

.article-text blockquote {
    margin: 1.5em 0;
    padding: 20px 24px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

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

/* Action Button */
.article-action {
    margin: 40px 0;
    text-align: center;
}

.article-action .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Contact Box */
.article-contact-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 40px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.article-contact-box-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    color: #fff;
}

.article-contact-box strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 4px;
}

.article-contact-box p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Photo Gallery */
.article-photos {
    margin: 48px 0;
}

.article-photos-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.article-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.article-photos-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
}

.article-photos-item img,
.article-photos-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-photos-item:hover img,
.article-photos-item:hover video {
    transform: scale(1.05);
}

.article-photos-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.gallery-modal.open {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: background 0.2s;
}

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

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-modal-content {
    max-width: 90vw;
    max-height: 85vh;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
}

.gallery-modal-content video {
    max-width: 100%;
    max-height: 85vh;
}

.gallery-modal-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

/* Back Link */
.article-back-link {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.article-back-link a:hover {
    color: var(--primary);
}

.article-back-link svg {
    transition: transform 0.2s;
}

.article-back-link a:hover svg {
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .article-single {
        padding: 100px 0 40px;
    }

    .article-breadcrumb {
        display: none;
    }

    .article-photos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        width: 40px;
        height: 40px;
    }

    .gallery-modal-prev {
        left: 10px;
    }

    .gallery-modal-next {
        right: 10px;
    }
}

/* Legacy - article-v2-back (unused) */
.article-v2-back:hover svg {
    transform: translateX(-2px);
}

.article-v2-back svg {
    transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
    .article-v2-back {
        position: absolute;
        top: 20px;
        left: 20px;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
    }
    .article-v2-back:hover {
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
    }
}

/* Hero Section */
.article-v2-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.article-v2-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.article-v2-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.article-v2-hero:hover .article-v2-hero-bg img {
    transform: scale(1.08);
}

.article-v2-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.article-v2-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 0;
    color: #fff;
}

.article-v2-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

/* Badge/Category */
.article-v2-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.article-v2-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
    background: var(--primary-dark);
}

/* Meta Info */
.article-v2-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.article-v2-date,
.article-v2-photos {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.article-v2-hero .article-v2-date,
.article-v2-hero .article-v2-photos {
    color: rgba(255, 255, 255, 0.9);
}

/* Simple Header (no hero image) */
.article-v2-header-simple {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 1px solid var(--border);
}

.article-v2-header-simple h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 800px;
}

.article-v2-header-simple .article-v2-meta {
    color: var(--text-muted);
}

.article-v2-header-simple .article-v2-badge {
    margin-bottom: 16px;
}

/* Main Content Area */
.article-v2-main {
    padding: 60px 0 80px;
}

.article-v2-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 1024px) {
    .article-v2-grid {
        grid-template-columns: 1fr;
    }
}

/* Content Column */
.article-v2-content {
    max-width: 720px;
}

/* Videos */
.article-v2-videos {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.article-v2-video {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.article-v2-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.article-v2-uploaded-video {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.article-v2-uploaded-video video {
    width: 100%;
    display: block;
}

/* Article Body */
.article-v2-body {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
}

.article-v2-body:empty {
    display: none;
}

.article-v2-body p {
    margin-bottom: 1.5em;
}

.article-v2-body h2 {
    font-size: 1.625rem;
    color: var(--text);
    margin-top: 2.5em;
    margin-bottom: 0.75em;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.article-v2-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.article-v2-body h3 {
    font-size: 1.375rem;
    color: var(--text);
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.article-v2-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

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

.article-v2-body li {
    margin-bottom: 0.75em;
    position: relative;
}

.article-v2-body ul li::marker {
    color: var(--primary);
}

.article-v2-body blockquote {
    margin: 2.5em 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.02) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--text);
    font-size: 1.125rem;
}

.article-v2-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

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

/* CTA Button */
.article-v2-cta {
    margin: 48px 0;
}

.article-v2-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.35);
}

.article-v2-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.45);
}

.article-v2-cta-btn svg {
    transition: transform 0.3s ease;
}

.article-v2-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Contact Card */
.article-v2-contact {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 48px 0;
    padding: 28px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.article-v2-contact:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.article-v2-contact-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.article-v2-contact-info {
    flex: 1;
}

.article-v2-contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 6px;
}

.article-v2-contact-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.article-v2-contact-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Gallery Sidebar */
.article-v2-sidebar {
    position: sticky;
    top: 100px;
}

.article-v2-gallery {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.article-v2-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
}

.article-v2-gallery-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.article-v2-gallery-header svg {
    color: var(--primary);
}

.article-v2-gallery-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 14px;
}

.article-v2-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 4px;
}

.article-v2-gallery-item {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.article-v2-gallery-item img,
.article-v2-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-v2-gallery-item:hover img,
.article-v2-gallery-item:hover video {
    transform: scale(1.1);
}

.article-v2-gallery-zoom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.article-v2-gallery-item:hover .article-v2-gallery-zoom {
    opacity: 1;
}

.article-v2-gallery-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.article-v2-gallery-play svg {
    width: 18px;
    height: 18px;
}

.article-v2-gallery-item:hover .article-v2-gallery-play {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Lightbox V2 */
.lightbox-v2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-v2.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-v2-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.lightbox-v2-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-v2-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-v2-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-v2-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-v2-prev {
    left: 24px;
}

.lightbox-v2-next {
    right: 24px;
}

.lightbox-v2-content {
    position: relative;
    z-index: 5;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-v2-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.4s ease;
}

.lightbox-v2-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-v2-footer {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-v2-counter {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    font-weight: 500;
}

.lightbox-v2-dots {
    display: flex;
    gap: 8px;
}

.lightbox-v2-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-v2-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.lightbox-v2-dot.active {
    background: #fff;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .lightbox-v2-nav {
        width: 44px;
        height: 44px;
    }
    .lightbox-v2-prev {
        left: 12px;
    }
    .lightbox-v2-next {
        right: 12px;
    }
    .lightbox-v2-close {
        top: 16px;
        right: 16px;
    }
}

/* Donate Section */
.article-v2-donate {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.article-v2-donate-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 40px 48px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.article-v2-donate-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(238, 90, 90, 0.35);
}

.article-v2-donate-text {
    flex: 1;
}

.article-v2-donate-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.article-v2-donate-text p {
    color: var(--text-muted);
    margin: 0;
}

.article-v2-donate-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.35);
}

.article-v2-donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.45);
}

@media (max-width: 768px) {
    .article-v2-hero {
        height: 60vh;
        min-height: 400px;
    }

    .article-v2-hero-content {
        padding: 40px 0;
    }

    .article-v2-main {
        padding: 40px 0 60px;
    }

    .article-v2-donate-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }
}

/* Legacy article styles - keep for compatibility */
.article-page {
    background: #fff;
}

.article-header {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 1px solid var(--border);
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 32px;
    transition: var(--transition);
}

.article-back:hover {
    color: var(--primary);
}

.article-back svg {
    transition: transform 0.3s ease;
}

.article-back:hover svg {
    transform: translateX(-4px);
}

.article-header-content {
    max-width: 800px;
}

.article-category {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.article-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.article-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.article-meta time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.article-meta svg {
    opacity: 0.6;
}

/* Article Media Section - Main image + Gallery side by side */
.article-media-section {
    margin-top: -30px;
    margin-bottom: 48px;
}

.article-media-row {
    display: flex;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.article-main-image {
    flex: 2;
    min-width: 0;
}

.article-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.article-side-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    min-width: 0;
}

.article-side-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-side-gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-side-gallery-item img,
.article-side-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay-mini {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    pointer-events: none;
}

.play-overlay-mini svg {
    width: 16px;
    height: 16px;
}

.article-side-gallery-more {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

/* When only gallery, no main image */
.article-media-row:not(:has(.article-main-image)) .article-side-gallery {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* When only main image, no gallery */
.article-main-image:only-child {
    max-width: 700px;
    margin: 0 auto;
}

.article-main-image:only-child img {
    max-height: 500px;
}

@media (max-width: 768px) {
    .article-media-row {
        flex-direction: column;
    }

    .article-main-image img {
        max-height: 350px;
    }

    .article-side-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Article Content */
.article-content {
    padding: 48px 0;
}

.article-content-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

/* YouTube Videos */
.article-videos {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.article-video {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Uploaded Video */
.article-uploaded-video {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.article-uploaded-video video {
    width: 100%;
    display: block;
}

/* Article Body */
.article-body {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
}

.article-body:empty {
    display: none;
}

.article-body p {
    margin-bottom: 1.5em;
}

.article-body h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-weight: 600;
}

.article-body h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

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

.article-body li {
    margin-bottom: 0.5em;
}

.article-body blockquote {
    margin: 2em 0;
    padding: 1.5em 2em;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text);
}

/* Article CTA Button */
.article-cta {
    margin: 48px 0;
    text-align: center;
}

.article-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.article-cta .btn svg {
    opacity: 0.8;
}

/* Article Contact */
.article-contact {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 48px 0;
    padding: 28px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.article-contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    color: #fff;
}

.article-contact-info {
    flex: 1;
}

.article-contact-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.article-contact-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Article Gallery Section */
.article-gallery-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-top: 1px solid var(--border);
}

.article-gallery-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 32px;
}

.article-gallery-title svg {
    color: var(--primary);
}

.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.article-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

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

.article-gallery-video {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
}

.article-gallery-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-gallery-video .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.article-gallery-video .play-overlay svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
    margin-left: 4px;
}

.article-gallery-item:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .article-header {
        padding: 24px 0 40px;
    }

    .article-back {
        margin-bottom: 24px;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-hero {
        margin-top: -20px;
        margin-bottom: 32px;
    }

    .article-hero-image img {
        border-radius: 12px;
    }

    .article-content {
        padding: 32px 0;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-contact {
        flex-direction: column;
        text-align: center;
    }

    .article-gallery-section {
        padding: 40px 0;
    }

    .article-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.article-contact-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.article-contact-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(212,166,68,0.1) 0%, transparent 60%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(212,166,68,0.1) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

/* Donate Page */
.donate-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.donate-info h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.donate-features {
    display: flex;
    gap: 32px;
    margin: 32px 0;
}

.donate-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-warm);
    border-radius: var(--radius);
}

.feature-icon {
    font-size: 1.5rem;
}

.donate-feature span:last-child {
    font-weight: 600;
    color: var(--primary-dark);
}

.donate-list {
    padding-left: 0;
    list-style: none;
}

.donate-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.donate-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.donate-action {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.donate-action::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(212,166,68,0.2) 0%, transparent 60%);
}

.donate-action > * {
    position: relative;
    z-index: 1;
}

.donate-action h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.donate-action p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

.donate-note {
    margin-top: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.donate-placeholder {
    padding: 24px 0;
}

.donate-placeholder p {
    margin-bottom: 16px;
}

.donate-placeholder a {
    color: var(--gold);
    font-weight: 600;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-warm);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.contact-info-wrapper {
    padding: 48px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    color: white;
}

.contact-info-wrapper h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item h4 {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item a,
.contact-item p {
    color: white;
    font-size: 1.125rem;
}

.contact-item a:hover {
    color: var(--gold);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 60px;
}

.pagination-link {
    padding: 12px 24px;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pagination-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pagination-info {
    color: var(--text-muted);
    font-weight: 500;
}

/* Alerts */
.alert {
    padding: 20px 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid var(--error);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    display: block;
}

.footer h4 {
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--gold);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-weight: 600;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9375rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-legal {
    text-align: center;
}

.footer-org-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

.footer-address {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 6px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer-meta p {
    margin: 0;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 40px;
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Error Page */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-warm) 0%, white 100%);
}

.error-page h1 {
    font-size: 10rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.error-page p {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--text-light);
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.impact-card {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.impact-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.impact-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.testimonial-author-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 16px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.0625rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .projects-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .donate-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .language-switcher {
        position: absolute;
        top: 20px;
        right: 70px;
        margin: 0;
    }

    .header-actions {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-actions .header-hebrew-date {
        display: none;
    }

    .header-actions .language-switcher {
        display: none;
    }

    .page-header {
        padding: 140px 0 60px;
    }

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

    .impact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .impact-card {
        padding: 24px 16px;
    }

    .impact-number {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-warm);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection */
::selection {
    background: var(--gold);
    color: white;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-decoration: none;
    transition: var(--transition);
}

a.page-hero-label:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: 'Playfair Display', Georgia, serif;
    color: white;
    margin-bottom: 20px;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

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

/* Vision Section */
.vision-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10L61.8 38.2L90 50L61.8 61.8L50 90L38.2 61.8L10 50L38.2 38.2Z' fill='%23c9a227' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.vision-block {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
}

.vision-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 30px;
    text-shadow: 0 0 40px rgba(201, 162, 39, 0.4);
}

.vision-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    font-style: italic;
    color: white;
    line-height: 1.5;
    margin: 0 0 30px 0;
    padding: 0;
    border: none;
}

.vision-quote::before,
.vision-quote::after {
    content: '"';
    color: var(--gold);
    font-size: 1.2em;
}

.vision-quote::after {
    content: '"';
}

.vision-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro-content h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 24px;
}

.about-intro-content .lead {
    font-size: 1.25rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-intro-content p {
    color: var(--text-light);
    line-height: 1.9;
}

.image-frame {
    position: relative;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: 20px;
    z-index: -1;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.mission-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.mission-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.mission-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Story Section */
.about-story {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.story-content h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 24px;
}

.story-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

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

.story-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--primary));
}

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

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

.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

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

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-item {
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.value-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* CTA Updates */
.cta-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
}

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

/* ============================================
   DONATE PAGE STYLES
   ============================================ */
.donate-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.donate-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(212,166,68,0.2) 0%, transparent 70%);
}

.donate-hero .container {
    position: relative;
    z-index: 1;
}

.donate-hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.donate-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: 'Playfair Display', Georgia, serif;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.donate-hero h1 .highlight {
    color: var(--gold);
}

.donate-hero-text {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Donate Main Section */
.donate-main {
    padding: 80px 0;
    background: var(--bg-warm);
}

.donate-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.donate-card {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.donate-card h2 {
    font-size: 1.75rem;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 32px;
    text-align: center;
}

/* Donation Amounts */
.donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.amount-btn {
    padding: 18px;
    background: var(--bg-warm);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn:hover {
    border-color: var(--gold);
    background: rgba(212,166,68,0.1);
}

.amount-btn.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-color: var(--gold);
    color: white;
    box-shadow: var(--shadow-gold);
}

/* Custom Amount */
.custom-amount {
    margin-bottom: 32px;
}

.custom-amount label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.custom-amount-input {
    display: flex;
    align-items: center;
    background: var(--bg-warm);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.custom-amount-input:focus-within {
    border-color: var(--primary);
    background: white;
}

.custom-amount-input .currency {
    padding: 16px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(0,0,0,0.03);
}

.custom-amount-input input {
    flex: 1;
    padding: 16px;
    border: none;
    background: transparent;
    font-size: 1.125rem;
    font-family: inherit;
}

.custom-amount-input input:focus {
    outline: none;
}

/* Custom Amount Section (new design) */
.custom-amount-section {
    margin-bottom: 32px;
}

.custom-amount-section label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.custom-amount-section .custom-amount-input {
    font-size: 1.5rem;
}

.custom-amount-section .custom-amount-input input {
    font-size: 1.5rem;
    font-weight: 600;
}

.custom-amount-section .custom-amount-input .currency {
    font-size: 1.5rem;
}

/* Amount Cards Grid */
.amount-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 600px) {
    .amount-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.amount-card {
    padding: 20px 16px;
    background: var(--bg-warm);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.amount-card:hover {
    border-color: var(--gold);
    background: rgba(212,166,68,0.1);
}

.amount-card.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.amount-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.amount-card.active .amount-card-price {
    color: white;
}

.amount-card-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.amount-card.active .amount-card-desc {
    color: rgba(255,255,255,0.9);
}

/* Donation Frequency */
.donation-frequency {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.frequency-option {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.frequency-option input {
    position: absolute;
    opacity: 0;
}

.frequency-label {
    display: block;
    padding: 16px;
    text-align: center;
    background: var(--bg-warm);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.frequency-option input:checked + .frequency-label {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.frequency-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 4px 10px;
    background: var(--gold);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
}

/* Donate Button */
.btn-donate-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.btn-donate-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212,166,68,0.5);
    color: white;
}

.btn-icon {
    font-size: 1.5rem;
}

.donate-contact {
    text-align: center;
}

.donate-contact p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Trust Indicators */
.donate-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.trust-icon {
    font-size: 1.125rem;
}

/* Donate Options Extra (Anonymous, Project, Dedication) */
.donate-options-extra {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-warm);
    border-radius: var(--radius);
}

.donate-option-row {
    margin-bottom: 20px;
}

.donate-option-row:last-child {
    margin-bottom: 0;
}

.donate-option-row > label:not(.checkbox-label) {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.donate-option-row select,
.donate-option-row input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: var(--transition);
}

.donate-option-row select:focus,
.donate-option-row input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
}

/* Checkbox label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--text);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: white;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.checkbox-label input:checked + .checkbox-custom::after {
    opacity: 1;
}

/* Donate Testimonial (standalone) */
.donate-testimonial {
    margin-top: 32px;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
}

.donate-testimonial blockquote {
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 16px;
}

.donate-testimonial cite {
    font-style: normal;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Donate Impact */
.donate-impact {
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.donate-impact h3 {
    font-size: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 32px;
    text-align: center;
}

/* Impact Breakdown */
.impact-breakdown {
    margin-bottom: 32px;
}

.impact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    opacity: 0.6;
}

.impact-item.active {
    background: var(--bg-warm);
    opacity: 1;
}

.impact-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-dark);
    min-width: 70px;
}

.impact-desc strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.impact-desc p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Impact Quote */
.impact-quote {
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    color: white;
}

.impact-quote blockquote {
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 16px;
}

.impact-quote cite {
    font-style: normal;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Transparency Section */
.transparency-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.chart-visual {
    display: flex;
    justify-content: center;
}

.chart-ring {
    position: relative;
    width: 200px;
    height: 200px;
}

.chart-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-percent {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
}

.chart-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.transparency-breakdown {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.breakdown-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.breakdown-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breakdown-percent {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    min-width: 60px;
}

.breakdown-label {
    color: var(--text-light);
}

/* Ways to Give */
.donate-ways {
    padding: 100px 0;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.way-card {
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.way-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.way-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.way-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.way-link {
    font-weight: 600;
    color: var(--gold-dark);
}

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

/* ============================================
   FOOTER UPDATES
   ============================================ */
.footer-top {
    padding: 80px 0 60px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    width: 160px;
    height: auto;
    transition: var(--transition);
}

.footer-nav h4,
.footer-contact h4 {
    margin-top: 0;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
}

.footer-tagline {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.footer-badges .badge {
    padding: 6px 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
}

.footer-nav h4 {
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

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

.footer-contact h4 {
    margin-bottom: 20px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: var(--gold);
}

.contact-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer .footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-nonprofit {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE UPDATES
   ============================================ */
@media (max-width: 1024px) {
    .about-intro,
    .about-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .donate-grid {
        grid-template-columns: 1fr;
    }

    .transparency-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ways-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }

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

    .mission-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .donate-card {
        padding: 32px 24px;
    }

    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }

    .donate-trust {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .donate-impact {
        padding: 24px;
    }

    .impact-item {
        flex-direction: column;
        gap: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .language-switcher {
        position: fixed;
        top: auto;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        background: white;
        box-shadow: var(--shadow-lg);
    }
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: white;
}

.contact-hero-label {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.contact-hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 16px;
}

.contact-hero-text {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-main {
    padding: 80px 0;
    background: var(--bg-warm);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

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

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

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-card-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.contact-card-value {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 16px;
    word-break: break-word;
}

.contact-card-action {
    display: inline-block;
    font-weight: 600;
    color: var(--gold-dark);
    font-size: 0.9375rem;
}

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

.contact-message {
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.contact-message-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--gold);
}

.contact-message h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.contact-message > p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--bg-warm);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.contact-social-link svg {
    width: 20px;
    height: 20px;
}

.contact-social-link:hover {
    background: var(--primary);
    color: white;
}

/* Programs table on contact page */
.programs-contacts {
    padding: 80px 0;
    background: var(--bg-warm);
}

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

.programs-contacts .section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.programs-contacts .section-header p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.programs-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.program-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    gap: 16px;
}

.program-row:last-child {
    border-bottom: none;
}

.program-row:hover {
    background: var(--bg-warm);
}

.program-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.program-name {
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
}

.program-name:hover {
    color: var(--gold);
}

.program-director-name {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.program-contacts {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.program-contact-link {
    color: var(--text-light);
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
}

.program-contact-link:hover {
    color: var(--gold);
}

.programs-note {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .programs-contacts {
        padding: 60px 0;
    }

    .program-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 20px;
    }

    .program-contacts {
        flex-direction: column;
        gap: 4px;
    }

    .program-contact-link {
        font-size: 0.8125rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero-text {
        font-size: 1rem;
    }

    .contact-main {
        padding: 60px 0;
    }

    .contact-message {
        padding: 40px 24px;
    }

    .contact-message h2 {
        font-size: 1.5rem;
    }
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-warm);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal-header {
    text-align: center;
    padding: 40px 40px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.modal-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.modal-body {
    padding: 32px 40px 40px;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-form .form-group {
    margin-bottom: 16px;
}

.modal-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 0.875rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.15);
}

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-form .btn-block {
    width: 100%;
    margin-top: 8px;
}

.modal-alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.9375rem;
}

.modal-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.modal-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@media (max-width: 600px) {
    .modal {
        max-height: 95vh;
    }

    .modal-header {
        padding: 32px 24px 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.contact-form-header p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.9375rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.125rem;
}

.contact-form .alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-weight: 500;
}

.contact-form .alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.contact-form .alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 40px 24px;
        margin-bottom: 30px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-header h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.privacy-content {
    padding: 80px 0;
    background: var(--bg-warm);
}

.privacy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow);
}

.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.privacy-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.privacy-section h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.privacy-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.privacy-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

.privacy-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.privacy-section .highlight {
    background: linear-gradient(135deg, var(--bg-warm) 0%, #fff 100%);
    padding: 16px 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--gold);
    font-weight: 500;
    color: var(--primary-dark);
}

.privacy-contact-info {
    background: var(--bg-warm);
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 16px;
}

.privacy-contact-info p {
    margin-bottom: 8px;
}

.privacy-contact-info a {
    color: var(--primary);
    font-weight: 500;
}

.privacy-contact-info a:hover {
    color: var(--gold);
}

.privacy-updated {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.privacy-updated p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    margin-top: 12px;
}

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

.footer-links a:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    .privacy-wrapper {
        padding: 32px 24px;
    }

    .privacy-section h2 {
        font-size: 1.25rem;
    }
}

/* RTL Privacy */
[dir="rtl"] .privacy-section ul li {
    padding-left: 0;
    padding-right: 24px;
}

[dir="rtl"] .privacy-section ul li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .privacy-section .highlight {
    border-left: none;
    border-right: 4px solid var(--gold);
}

/* ============================================
   RTL SUPPORT (Hebrew)
   ============================================ */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
}

[dir="rtl"] .footer-nav a:hover {
    padding-left: 0;
    padding-right: 4px;
}

[dir="rtl"] .project-card,
[dir="rtl"] .article-card {
    text-align: right;
}

[dir="rtl"] .impact-grid,
[dir="rtl"] .projects-grid,
[dir="rtl"] .articles-grid {
    direction: rtl;
}

[dir="rtl"] .section-header {
    text-align: center;
}

[dir="rtl"] .about-intro,
[dir="rtl"] .about-story {
    direction: rtl;
}

[dir="rtl"] .mission-card,
[dir="rtl"] .value-card {
    text-align: right;
}

[dir="rtl"] .timeline {
    padding-left: 0;
    padding-right: 40px;
}

[dir="rtl"] .timeline::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .timeline-item::before {
    left: auto;
    right: -8px;
}

[dir="rtl"] .contact-info-card {
    text-align: right;
}

[dir="rtl"] .donate-card {
    text-align: right;
}

[dir="rtl"] .donation-amounts {
    direction: rtl;
}

[dir="rtl"] .donate-trust {
    flex-direction: row-reverse;
}

[dir="rtl"] .impact-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .language-switcher {
    flex-direction: row-reverse;
}

[dir="rtl"] .mobile-menu-btn {
    order: -1;
}

/* RTL for modern project cards */
[dir="rtl"] .project-modern-card {
    text-align: right;
}

[dir="rtl"] .project-modern-body {
    text-align: right;
}

[dir="rtl"] .project-modern-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .project-modern-link {
    direction: rtl;
}

[dir="rtl"] .projects-modern-grid {
    direction: rtl;
}

/* RTL for news cards */
[dir="rtl"] .news-modern-card {
    text-align: right;
}

[dir="rtl"] .news-modern-body {
    text-align: right;
}

[dir="rtl"] .news-modern-meta {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .news-modern-grid {
    direction: rtl;
}

/* RTL for swiper arrows - swap positions */
[dir="rtl"] .project-modern-card .swiper-button-prev {
    left: auto !important;
    right: 12px !important;
}

[dir="rtl"] .project-modern-card .swiper-button-next {
    right: auto !important;
    left: 12px !important;
}

[dir="rtl"] .project-modern-card .swiper-button-next::before {
    transform: rotate(-135deg) !important;
}

[dir="rtl"] .project-modern-card .swiper-button-prev::before {
    transform: rotate(45deg) !important;
}

/* RTL for project page */
[dir="rtl"] .project-hero-content {
    text-align: right;
}

[dir="rtl"] .project-director-card {
    text-align: right;
}

[dir="rtl"] .project-participate-card {
    text-align: right;
}

[dir="rtl"] .project-articles-grid {
    direction: rtl;
}

/* RTL for contact form */
[dir="rtl"] .contact-form input,
[dir="rtl"] .contact-form textarea,
[dir="rtl"] .contact-form select {
    text-align: right;
}

[dir="rtl"] .form-group label {
    text-align: right;
    display: block;
}

/* RTL for scroll indicator */
[dir="rtl"] .scroll-indicator {
    direction: rtl;
}

/* ============================================
   Article Gallery
   ============================================ */
.article-gallery {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border, #e5e7eb);
}

.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.article-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-gallery-video {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
}

.article-gallery-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-gallery-video .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.article-gallery-video .play-overlay svg {
    width: 24px;
    height: 24px;
    fill: var(--primary, #7D5A2F);
    margin-left: 4px;
}

.article-gallery-item:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

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

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

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

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .article-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}
