/* ==================== CSS Variables ==================== */
:root {
    /* Colors - Modern Dark with Deep Green Accent */
    --color-bg-dark: #1c1c1c;
    --color-bg-primary: #1c1c1c;
    --color-bg-secondary: #242424;
    --color-bg-card: #2a2a2a;
    
    --color-primary: #1c1c1c;
    --color-secondary: #016854;
    --color-accent: #028a6d;
    --color-secondary-rgb: 1, 104, 84;
    --color-accent-rgb: 2, 138, 109;
    --color-on-secondary: #ffffff;
    /* Lighter, higher-contrast green used for text on dark backgrounds */
    --color-secondary-text: #3fe0b0;
    --color-secondary-text-rgb: 63, 224, 176;
    
    --color-text-light: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-text-dark: #e8e8e8;
    
    --color-border: #3a3a3a;
    --color-hover: #323232;
    
    /* Typography */
    --font-family: 'Vazirmatn', sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ==================== Reset & Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    overflow-x: clip;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(1, 104, 84, 0.7) rgba(15, 15, 15, 0.9);
}

/* Unified custom scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0d1110;
}

::-webkit-scrollbar-thumb {
    background: #016854;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #028a6d;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #1c1c1c 100%);
    background-attachment: fixed;
    color: var(--color-text-dark);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    overflow-x: clip;
    overflow-y: visible !important;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(1, 104, 84, 0.14) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(1, 104, 84, 0.1) 0%, transparent 55%),
        radial-gradient(circle at 40% 20%, rgba(2, 138, 109, 0.12) 0%, transparent 55%);
    background-size: 160% 160%;
    animation: bodyGlowDrift 22s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bodyGlowDrift {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 60%;
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.015) 2px,
        rgba(255, 255, 255, 0.015) 4px
    );
    pointer-events: none;
    z-index: 0;
}

.main-content {
    position: relative;
    z-index: 1;
    overflow: visible !important;
    overflow-x: clip;
    overflow-y: visible !important;
    width: 100%;
    max-width: 100%;
    /* Leave room under the absolute nav on pages without a hero */
    padding-top: 92px;
}

.main-content:has(> .hero-section:first-child) {
    padding-top: 0;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ==================== Container ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* ==================== Navigation ==================== */
/*
 * Navbar overlays the hero (transparent) so menu buttons sit on the
 * hero background. Avoid backdrop-filter/filter on .navbar itself —
 * it would make fixed mobile .nav-menu a containing-block relative
 * to the navbar instead of the viewport.
 */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    min-height: 96px;
    padding: 14px 0 20px 0;
    background: transparent;
    box-shadow: none;
    border-bottom: none;
    transition: min-height 0.3s ease, padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.navbar::before {
    content: none;
}

.navbar.scrolled {
    min-height: 80px;
    padding: 10px 0 16px 0;
    background: rgba(18, 18, 18, 0.92);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    width: 100%;
    min-height: 64px;
}

.navbar.scrolled .nav-container {
    min-height: 56px;
}

.nav-logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 6px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    line-height: 0;
}

.brand-logo-img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    margin-bottom: 6px;
}

.brand-logo-img--footer {
    height: 88px;
    max-width: 340px;
}

.brand-logo-img--admin {
    height: 64px;
    max-width: 280px;
}

.brand-logo-img--login {
    height: 120px;
    max-width: 360px;
    margin: 0 auto 12px;
}

.nav-logo .logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.2;
}

.nav-logo:hover .logo-text {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Logo position in header (RTL) */
.logo-pos-start .nav-container {
    justify-content: space-between;
}

.logo-pos-end .nav-container {
    flex-direction: row-reverse;
}

.logo-pos-center .nav-container {
    justify-content: center;
    position: relative;
}

.logo-pos-center .nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo-pos-center .nav-menu {
    margin-inline-start: auto;
}

.logo-pos-center .mobile-menu-toggle {
    margin-inline-start: auto;
    position: relative;
    z-index: 3;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu-logo {
    display: none;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 15px;
    min-height: 42px;
    padding: 0 20px;
    line-height: 1;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 104, 84, 0.1), rgba(2, 138, 109, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-full);
}

.nav-menu a:hover {
    color: var(--color-text-light);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu a.active {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-on-secondary);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(1, 104, 84, 0.3);
}

.nav-menu a.active::before {
    opacity: 0;
}

.nav-menu a.nav-user-btn {
    width: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.nav-menu a.nav-user-btn:hover {
    color: var(--color-secondary-text);
    border-color: rgba(1, 104, 84, 0.45);
    background: rgba(1, 104, 84, 0.12);
    transform: translateY(-1px);
}

.nav-menu a.nav-user-btn.active {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-on-secondary);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(1, 104, 84, 0.3);
}

.nav-menu a.nav-user-btn svg {
    display: block;
    flex-shrink: 0;
}

.nav-menu a.admin-btn {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.15), rgba(255, 59, 48, 0.25));
    color: #ff3b30;
    border: 2px solid rgba(255, 59, 48, 0.3);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.nav-menu a.admin-btn::before {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.2), rgba(255, 59, 48, 0.3));
}

.nav-menu a.admin-btn:hover {
    background: linear-gradient(135deg, #ff3b30, #ff6b60);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4);
    transform: translateY(-1px);
}

.nav-menu a.admin-btn svg {
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: var(--font-size-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    background-size: 200% 200%;
    color: var(--color-on-secondary);
    font-weight: 600;
    font-family: var(--font-family);
    padding: 16px 40px;
    font-size: 16px;
    box-shadow: 
        0 4px 20px rgba(1, 104, 84, 0.4),
        0 0 40px rgba(1, 104, 84, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: buttonGradient 3s ease infinite;
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: buttonShine 2s ease-in-out infinite;
    border-radius: var(--radius-full);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 32px rgba(1, 104, 84, 0.6),
        0 0 60px rgba(1, 104, 84, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, transparent, rgba(1, 104, 84, 0.05));
    color: var(--color-text-light);
    border: 2px solid var(--color-secondary);
    padding: 16px 40px;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(1, 104, 84, 0.2);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-full);
    padding: 2px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border-color: transparent;
    color: var(--color-on-secondary);
    box-shadow: 0 0 40px rgba(1, 104, 84, 0.5);
}

@keyframes buttonGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

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

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: var(--color-on-secondary);
    border-color: var(--color-secondary);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ==================== Hero Section ==================== */
.hero-section {
    padding: calc(92px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    margin-top: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #113a30 45%, #0f0f0f 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(1, 104, 84, 0.22) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(2, 138, 109, 0.18) 0%, transparent 50%),
                radial-gradient(circle at 50% 20%, rgba(63, 224, 176, 0.1) 0%, transparent 45%);
    animation: rotate 18s linear infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(1, 104, 84, 0.07) 100px, rgba(1, 104, 84, 0.07) 101px),
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(1, 104, 84, 0.07) 100px, rgba(1, 104, 84, 0.07) 101px);
    pointer-events: none;
    opacity: 0.7;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    min-height: 560px;
}

.hero-content:not(:has(.hero-image)),
.hero-content-single,
.hero-content:has(> .hero-text:only-child) {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin: 0 auto;
}

.hero-text {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-badge-wrap {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 18px;
    background: linear-gradient(135deg, rgba(1, 104, 84, 0.4) 0%, rgba(2, 138, 109, 0.25) 100%);
    border: 1px solid rgba(63, 224, 176, 0.4);
    color: var(--color-secondary-text, #3fe0b0);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(1, 104, 84, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3fe0b0;
    box-shadow: 0 0 8px #3fe0b0;
    display: inline-block;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-title {
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 55%, var(--color-secondary-text) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.015em;
    animation: fadeInUp 0.8s ease-out;
    filter: drop-shadow(0 0 30px rgba(1, 104, 84, 0.35));
    position: relative;
    width: 100%;
}

.hero-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.15s backwards;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(2, 138, 109, 0.14);
    border: 1px solid rgba(63, 224, 176, 0.28);
    height: 40px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.hero-meta-item:hover {
    transform: translateY(-2px);
    border-color: rgba(63, 224, 176, 0.5);
    box-shadow: 0 6px 20px rgba(1, 104, 84, 0.3);
}

.hero-meta-item svg {
    color: var(--color-secondary-text, #3fe0b0);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.hero-meta-location {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(63, 224, 176, 0.35);
    background: rgba(2, 138, 109, 0.18);
}

.hero-meta-time {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(63, 224, 176, 0.35);
    background: rgba(2, 138, 109, 0.18);
}

.hero-description {
    margin: 4px auto 20px auto;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(2, 138, 109, 0.14) 0%, rgba(1, 104, 84, 0.08) 100%);
    border: 1px solid rgba(63, 224, 176, 0.24);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-out 0.25s backwards;
    width: fit-content;
    max-width: min(640px, 92%);
    box-sizing: border-box;
    text-align: center;
}

.hero-description p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    font-weight: 500;
}

/* ==================== Event Countdown Component ==================== */
.hero-countdown {
    margin: 6px auto 22px auto;
    align-self: center;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(14, 26, 23, 0.82) 0%, rgba(20, 36, 32, 0.65) 100%);
    border: 1px solid rgba(63, 224, 176, 0.24);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    box-sizing: border-box;
}

.hero-countdown::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(63, 224, 176, 0.16) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.countdown-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--color-secondary-text, #3fe0b0);
    position: relative;
    flex-shrink: 0;
    animation: countdownPulseGlow 2s infinite;
}

@keyframes countdownPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(63, 224, 176, 0.7);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(63, 224, 176, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(63, 224, 176, 0);
    }
}

.countdown-title {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.2px;
}

.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    direction: rtl;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.countdown-box {
    width: 66px;
    min-width: 66px;
    height: 62px;
    padding: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(63, 224, 176, 0.28);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.hero-countdown:hover .countdown-box {
    border-color: rgba(63, 224, 176, 0.45);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 15px rgba(63, 224, 176, 0.15);
}

.countdown-num {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0 14px rgba(63, 224, 176, 0.45);
    font-variant-numeric: tabular-nums;
    font-family: inherit;
}

.countdown-label {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.2px;
}

.countdown-sep {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-secondary-text, #3fe0b0);
    opacity: 0.75;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    animation: countdownBlink 1.2s infinite ease-in-out;
    line-height: 1;
    align-self: flex-start;
}

@keyframes countdownBlink {
    0%, 100% {
        opacity: 0.85;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(0.92);
    }
}

.countdown-expired-msg {
    padding: 8px 14px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #fca5a5;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* Detail page countdown variant */
.detail-countdown {
    margin: 22px auto;
    align-items: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 6px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.35s backwards;
}

.hero-actions .btn {
    min-width: 205px;
    height: 52px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15.5px;
    font-weight: 700;
    border-radius: 50px;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.25s ease;
}

.hero-actions .btn-primary {
    gap: 10px;
}

.hero-actions .btn-primary svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.hero-actions .btn-primary:hover svg {
    transform: translateX(-4px);
}

.hero-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: relative;
    width: 100%;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        var(--color-secondary), 
        var(--color-secondary-text), 
        var(--color-accent), 
        var(--color-secondary-text));
    background-size: 300% 300%;
    border-radius: 24px;
    z-index: -1;
    animation: borderGlow 3s ease infinite;
    filter: blur(10px);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(1, 104, 84, 0.16) 0%, 
        transparent 50%, 
        rgba(2, 138, 109, 0.16) 100%);
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: overlay;
}

.image-wrapper img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(1, 104, 84, 0.35);
    position: relative;
    z-index: 2;
    animation: fadeInScale 1s ease-out, imageFloat 5s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.85;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-18px);
    }
}

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

/* Remove circle - no longer needed */

/* ==================== Sections ==================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out, titleGlow 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 20px rgba(1, 104, 84, 0.3));
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(1, 104, 84, 0.6), 0 0 40px rgba(1, 104, 84, 0.3);
    animation: lineGlow 2s ease-in-out infinite;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(1, 104, 84, 0.1) 0%, transparent 70%);
    z-index: -1;
    filter: blur(20px);
    opacity: 0;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(1, 104, 84, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(1, 104, 84, 0.5));
    }
}

@keyframes lineGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(1, 104, 84, 0.6), 0 0 40px rgba(1, 104, 84, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(1, 104, 84, 0.8), 0 0 60px rgba(1, 104, 84, 0.5);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* ==================== Speakers Section ==================== */
.speakers-section {
    background-color: transparent;
    padding: var(--spacing-3xl) 0;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.speaker-card {
    background-color: var(--color-bg-card);
    padding: var(--spacing-xl);
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    animation: fadeInUp 0.6s ease-out backwards;
}

.speaker-card:nth-child(1) { animation-delay: 0.1s; }
.speaker-card:nth-child(2) { animation-delay: 0.2s; }
.speaker-card:nth-child(3) { animation-delay: 0.3s; }
.speaker-card:nth-child(4) { animation-delay: 0.4s; }

.speaker-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(1, 104, 84, 0.3);
}

.speaker-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-secondary);
    padding: 4px;
}

.speaker-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.speaker-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-light);
}

.speaker-position {
    font-size: var(--font-size-base);
    color: var(--color-secondary-text);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.speaker-bio {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==================== Description Section ==================== */
.description-section {
    background-color: transparent;
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.description-content-wrap {
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
}

.desc-lead-header {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.desc-lead-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(2, 138, 109, 0.14);
    border: 1px solid rgba(63, 224, 176, 0.35);
    color: var(--color-secondary-text, #3fe0b0);
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(1, 104, 84, 0.25);
    animation: fadeInUp 0.6s ease-out;
}

.desc-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
}

.desc-card {
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.75) 0%, rgba(18, 18, 18, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 26px 24px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.desc-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-text));
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.desc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 138, 109, 0.45);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(2, 138, 109, 0.22);
}

.desc-card:hover::before {
    opacity: 1;
}

.desc-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.desc-card-accent {
    width: 5px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--color-secondary-text), var(--color-secondary));
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(63, 224, 176, 0.5);
}

.desc-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.45;
}

.desc-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.desc-card-desc {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.desc-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.desc-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.desc-bullet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(2, 138, 109, 0.18);
    border: 1px solid rgba(63, 224, 176, 0.35);
    color: var(--color-secondary-text, #3fe0b0);
    flex-shrink: 0;
    margin-top: 2px;
}

.desc-item-text {
    flex-grow: 1;
}

.desc-item-bold {
    font-weight: 700;
    color: #ffffff;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.75) 0%, rgba(18, 18, 18, 0.88) 100%);
    padding: var(--spacing-2xl) var(--spacing-xl);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.description-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(1, 104, 84, 0.2);
}

.description-content p {
    margin-bottom: var(--spacing-md);
}

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

.description-content ul,
.description-content ol {
    margin: var(--spacing-md) 0;
    padding-right: var(--spacing-lg);
}

.description-content li {
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.85);
}

.description-content strong {
    color: var(--color-secondary-text);
    font-weight: 700;
}

/* ==================== Videos Section ==================== */
.videos-section {
    background-color: transparent;
    padding: var(--spacing-3xl) 0;
}

/* Auto-scroll Slider Shared Wrapper */
.auto-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.auto-slider-wrapper .videos-grid,
.auto-slider-wrapper .gallery-grid {
    flex: 1;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.slider-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.slider-nav-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary-text);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(2, 138, 109, 0.4);
}

.slider-nav-btn:active {
    transform: scale(0.95);
}

.videos-grid {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-y: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    padding-top: 12px;
    padding-bottom: 20px;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    cursor: grab;
    
    /* Custom scrollbar */
    scrollbar-width: auto;
    scrollbar-color: var(--color-secondary) rgba(42, 42, 42, 0.8);
}

.videos-grid:active {
    cursor: grabbing;
}

.videos-grid::-webkit-scrollbar {
    height: 12px;
}

.videos-grid::-webkit-scrollbar-track {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.videos-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(1, 104, 84, 0.4);
}

.videos-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    box-shadow: 0 2px 12px rgba(1, 104, 84, 0.6);
}

.video-card {
    background: linear-gradient(145deg, var(--color-bg-card), rgba(42, 42, 42, 0.8));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 0 420px;
    min-width: 420px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.video-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(145deg, rgba(1, 104, 84, 0.2), transparent, rgba(1, 104, 84, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(1, 104, 84, 0.15);
}

.video-card:hover::before {
    opacity: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.video-card.is-active .video-wrapper iframe {
    pointer-events: auto;
}

.video-title {
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-light);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
    letter-spacing: -0.01em;
    line-height: 1.5;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ==================== Blog Section ==================== */
/* ---------- Seminar Gallery ---------- */
.gallery-section {
    background-color: transparent;
    padding: var(--spacing-3xl) 0;
}

.gallery-grid {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-y: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    padding-top: 4px;
    padding-bottom: 20px;
    margin-top: var(--spacing-xl);
    cursor: grab;

    /* Custom scrollbar */
    scrollbar-width: auto;
    scrollbar-color: var(--color-secondary) rgba(42, 42, 42, 0.8);
}

.gallery-grid:active {
    cursor: grabbing;
}

.gallery-grid::-webkit-scrollbar {
    height: 10px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(1, 104, 84, 0.4);
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    box-shadow: 0 2px 12px rgba(1, 104, 84, 0.6);
}

.gallery-item {
    display: block;
    position: relative;
    flex: 0 0 calc((100% - 3 * var(--spacing-md)) / 4);
    min-width: 220px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 104, 84, 0) 60%, rgba(1, 104, 84, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.92);
    padding: var(--spacing-lg);
}

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: min(90vw, 1100px);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 15px;
    text-align: center;
    max-width: 80vw;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close {
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.lightbox__nav--prev {
    right: var(--spacing-lg);
}

.lightbox__nav--next {
    left: var(--spacing-lg);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(1, 104, 84, 0.5);
    transform: translateY(-50%) scale(1.05);
}

.lightbox__close:hover {
    transform: scale(1.05);
}

.blog-section {
    background-color: transparent;
    padding: var(--spacing-3xl) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.blog-card {
    background-color: var(--color-bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--color-border);
    animation: fadeInUp 0.6s ease-out backwards;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }

.blog-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(1, 104, 84, 0.3);
}

.blog-image {
    width: calc(100% - 24px);
    height: 240px;
    overflow: hidden;
    border-radius: 20px;
    margin: 12px 12px 0 12px;
    flex-shrink: 0;
}

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

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

.blog-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
    min-height: 32px;
}

.tag {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    background-color: rgba(1, 104, 84, 0.15);
    color: var(--color-secondary-text);
    border: 1px solid rgba(1, 104, 84, 0.25);
}

.blog-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
    min-height: 56px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.blog-title a {
    display: block;
}

.blog-title a:hover {
    color: var(--color-secondary-text);
}

.blog-excerpt {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 72px;
}

.blog-link {
    color: var(--color-secondary-text);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.blog-link:hover {
    color: var(--color-accent);
}

/* ==================== Footer ==================== */
.footer {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    border-top: 2px solid rgba(1, 104, 84, 0.2);
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary-text);
}

.footer-logo .logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: var(--color-text-muted);
    margin-top: var(--spacing-sm);
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-secondary-text);
}

.footer-contact li {
    color: var(--color-text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

/* ==================== Utility Classes ==================== */
.text-center {
    text-align: center;
}

.empty-state,
.empty-section {
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.empty-state p,
.empty-section p {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin: var(--spacing-md) 0;
}

/* ==================== Login Page ==================== */
.login-page {
    padding: var(--spacing-3xl) 0;
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
}

.login-panel {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 40px 36px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 0.6s ease-out;
}

.login-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 50%;
    color: var(--color-secondary-text);
    background: rgba(1, 104, 84, 0.12);
    border: 1px solid rgba(1, 104, 84, 0.28);
}

.login-panel__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.login-panel__subtitle {
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 28px;
}

.login-panel__error {
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.35);
    color: #ff6b60;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: right;
}

.login-panel__form {
    text-align: right;
}

.login-panel__submit {
    width: 100%;
    margin-top: 8px;
}

/* ==================== Page Header ==================== */
.page-header {
    background: linear-gradient(135deg, #1c1c1c 0%, #0f0f0f 50%, #242424 100%);
    padding: 100px 0;
    text-align: center;
    border-bottom: 2px solid rgba(1, 104, 84, 0.2);
    animation: fadeIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(1, 104, 84, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-header h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text-light);
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.page-header p {
    font-size: 20px;
    color: var(--color-text-muted);
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* ==================== Search & Forms ==================== */
.search-box {
    max-width: 700px;
    margin: 0 auto 60px;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.search-form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-card);
    padding: 8px;
    border-radius: 50px;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--color-secondary);
    box-shadow: 
        0 8px 30px rgba(1, 104, 84, 0.3),
        0 0 0 4px rgba(1, 104, 84, 0.1);
    transform: translateY(-2px);
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--color-text-light);
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    outline: none;
    min-width: 0;
}

.form-control {
    flex: 1;
    padding: 14px 24px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--color-text-light);
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    outline: none;
}

.search-input::placeholder,
.form-control::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.search-btn {
    padding: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-on-secondary);
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(1, 104, 84, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn svg {
    flex-shrink: 0;
}

.search-btn::before {
    display: none;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: var(--color-on-secondary);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 20px rgba(1, 104, 84, 0.5);
}

.search-btn::before {
    display: none;
}

.search-btn:active {
    transform: scale(0.95) rotate(0deg);
}

.search-input:focus,
.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: var(--color-bg-card);
    box-shadow: 
        0 8px 30px rgba(1, 104, 84, 0.3),
        0 0 0 4px rgba(1, 104, 84, 0.1);
    transform: translateY(-2px);
}

.search-input::placeholder,
.form-control::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* ==================== Pagination ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.pagination-link {
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--color-bg-card);
    color: var(--color-text-light);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: var(--color-secondary);
    color: var(--color-on-secondary);
}

.pagination-current {
    color: var(--color-text-muted);
}

/* ==================== Seminar Cards ==================== */
.seminars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.seminar-card {
    background-color: var(--color-bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--color-border);
    animation: fadeInUp 0.6s ease-out backwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.seminar-card:nth-child(1) { animation-delay: 0.1s; }
.seminar-card:nth-child(2) { animation-delay: 0.2s; }
.seminar-card:nth-child(3) { animation-delay: 0.3s; }

.seminar-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(1, 104, 84, 0.3);
}

.seminar-card-image {
    width: calc(100% - 24px);
    height: 240px;
    overflow: hidden;
    border-radius: 20px;
    margin: 12px 12px 0 12px;
    flex-shrink: 0;
}

.seminar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.seminar-card-content {
    padding: 16px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.seminar-date {
    color: var(--color-secondary-text);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.seminar-location {
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.seminar-location svg {
    color: var(--color-secondary-text);
    flex-shrink: 0;
}

.seminar-card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.seminar-card-title a {
    display: block;
}

.seminar-card-title a:hover {
    color: var(--color-secondary-text);
}

.seminar-card-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seminar-card-content .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* ==================== Seminar Detail Page ==================== */
.seminar-detail-hero {
    background-color: transparent;
    padding: 80px 0;
}

.detail-poster {
    max-width: 680px;
    margin: 0 auto var(--spacing-3xl) auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 1s ease-out;
}

.detail-poster img {
    width: 100%;
    height: auto;
    max-height: 860px;
    object-fit: contain;
    display: block;
    border-radius: 24px;
}

.detail-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.detail-header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    letter-spacing: -0.01em;
}

.detail-date {
    font-size: 20px;
    color: var(--color-secondary-text);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.detail-location {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.detail-location svg {
    color: var(--color-secondary-text);
    flex-shrink: 0;
}

.detail-register-cta {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.detail-tags {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

/* ==================== Blog Detail Page ==================== */
.blog-detail {
    padding: 80px 0;
}

.blog-detail-header {
    max-width: 1000px;
    margin: 0 auto var(--spacing-3xl) auto;
}

.blog-detail-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto var(--spacing-2xl) auto;
    border-radius: 200px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 1s ease-out;
}

.blog-detail-image img {
    width: 100%;
    height: auto;
    min-height: 500px;
    max-height: 650px;
    object-fit: cover;
    display: block;
}

.blog-detail-meta {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.blog-detail-tags {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.blog-detail-meta h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    letter-spacing: -0.01em;
}

.blog-detail-info {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-2xl);
    font-size: 18px;
}

.blog-detail-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.9;
    color: var(--color-text-dark);
    background-color: var(--color-bg-card);
    padding: var(--spacing-3xl) var(--spacing-2xl);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.blog-detail-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(1, 104, 84, 0.2);
}

.blog-detail-content p {
    margin-bottom: var(--spacing-xl);
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: var(--spacing-md) 0;
    padding-right: var(--spacing-lg);
}

.blog-detail-content li {
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-muted);
}

.blog-detail-content strong {
    color: var(--color-secondary-text);
    font-weight: 600;
}

.blog-detail-content h2,
.blog-detail-content h3 {
    color: var(--color-text-light);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.blog-detail-content a {
    color: var(--color-secondary-text);
    text-decoration: underline;
}

.blog-detail-content a:hover {
    color: var(--color-accent);
}

.related-posts {
    background-color: transparent;
    padding: 80px 0;
    margin-top: 80px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.related-post-card {
    background-color: var(--color-bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--color-border);
    animation: fadeInUp 0.6s ease-out backwards;
}

.related-post-card:nth-child(1) { animation-delay: 0.1s; }
.related-post-card:nth-child(2) { animation-delay: 0.2s; }
.related-post-card:nth-child(3) { animation-delay: 0.3s; }

.related-post-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(1, 104, 84, 0.3);
}

.related-post-image {
    width: calc(100% - 24px);
    height: 200px;
    overflow: hidden;
    border-radius: 20px;
    margin: 12px 12px 0 12px;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-post-card h3 {
    padding: var(--spacing-md);
    font-size: 18px;
    color: var(--color-text-light);
    font-weight: 600;
}

.related-post-card h3 a:hover {
    color: var(--color-secondary-text);
}

/* ==================== Contact Page ==================== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: start;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background-color: var(--color-bg-card);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out backwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover,
.contact-info-wrapper:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(1, 104, 84, 0.2);
}

.contact-form-wrapper {
    padding: 32px;
    animation-delay: 0.1s;
}

.contact-info-wrapper {
    padding: 32px;
    animation-delay: 0.2s;
    position: sticky;
    top: 100px;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-text-light);
}

.contact-info-wrapper h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 28px;
    text-align: center;
}

.contact-form-wrapper .form-group {
    margin-bottom: 18px;
}

.contact-form-wrapper .form-control {
    padding: 12px 16px;
    font-size: 15px;
}

.contact-form-wrapper textarea.form-control {
    min-height: 110px;
}

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

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

.form-control {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-primary);
    color: var(--color-text-light);
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(1, 104, 84, 0.1);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-info-item {
    text-align: center;
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary-text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(1, 104, 84, 0.1), rgba(2, 138, 109, 0.15));
    border-radius: 50%;
    color: var(--color-secondary-text);
    transition: all 0.3s ease;
    border: 2px solid rgba(1, 104, 84, 0.3);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-on-secondary);
    border-color: transparent;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 20px rgba(1, 104, 84, 0.4);
}

.social-links a svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.contact-map {
    margin-top: 32px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    grid-column: 1 / -1;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.alert {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
}

.alert::before {
    align-self: center;
    margin-top: 1px;
}

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

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.alert-success::before {
    display: none;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.alert-error::before {
    display: none;
}

.form-control.error {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1) !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ==================== Blog Listing Page ==================== */
.blog-listing-section {
    padding: 80px 0;
}

.blog-listing-section .container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    max-width: 1400px;
}

.blog-sidebar {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.blog-main {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.sidebar-box {
    background-color: var(--color-bg-card);
    padding: 32px;
    border-radius: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--color-border);
}

.sidebar-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.tag-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tag-list li a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    font-size: 15px;
}

.tag-list li a:hover,
.tag-list li a.active {
    background-color: rgba(1, 104, 84, 0.1);
    color: var(--color-secondary-text);
    transform: translateX(-4px);
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.blog-post-card {
    background-color: var(--color-bg-card);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 320px 1fr;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--color-border);
    animation: fadeInUp 0.6s ease-out backwards;
}

.blog-post-card:nth-child(1) { animation-delay: 0.1s; }
.blog-post-card:nth-child(2) { animation-delay: 0.2s; }
.blog-post-card:nth-child(3) { animation-delay: 0.3s; }

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(1, 104, 84, 0.3);
}

.blog-post-image {
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.blog-post-image a {
    display: block;
    height: 100%;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.1);
}

.blog-post-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.blog-post-meta {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.blog-post-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-post-title a {
    color: var(--color-text-light);
}

.blog-post-title a:hover {
    color: var(--color-secondary-text);
}

.blog-post-excerpt {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.blog-post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* ==================== Seminar Registration Section ==================== */
.registration-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(1, 104, 84, 0.05) 50%, transparent 100%);
    position: relative;
}

.registration-card {
    background: var(--color-bg-card, #161616);
    border: 1px solid rgba(1, 104, 84, 0.3);
    border-radius: 24px;
    padding: 48px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 60px rgba(1, 104, 84, 0.1);
    position: relative;
    overflow: hidden;
}

.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), var(--color-secondary-text), transparent);
}

.registration-header {
    text-align: center;
    margin-bottom: 36px;
}

.registration-badge {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.registration-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-text-light);
}

.registration-subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
}

.registration-alert {
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
}

.registration-alert svg {
    flex-shrink: 0;
}

.registration-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.registration-form .form-group {
    margin-bottom: 20px;
}

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

.registration-form .form-control {
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.registration-form .form-control:focus {
    border-color: var(--color-secondary-text);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(63, 224, 176, 0.18);
    outline: none;
}

.registration-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.registration-form .btn-primary {
    transition: transform 0.2s, box-shadow 0.2s;
}

.registration-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(1, 104, 84, 0.4);
}

/* ==================== Sponsors Section ==================== */
.sponsors-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.sponsors-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.sponsors-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.sponsors-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 16px 8px;
    width: 100%;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.sponsors-slider-track::-webkit-scrollbar {
    display: none;
}

.sponsors-slider-track:active {
    cursor: grabbing;
}

.sponsor-card {
    flex: 0 0 210px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px 18px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.35s ease,
                background 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(2, 138, 109, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(2, 138, 109, 0.25);
}

.sponsor-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

.sponsor-logo-wrap {
    height: 65px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo {
    max-height: 52px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(25%) brightness(0.92);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.sponsor-card:hover .sponsor-logo {
    filter: none;
    transform: scale(1.06);
}

.sponsor-name {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sponsor-card:hover .sponsor-name {
    color: var(--color-text-light);
}

.sponsor-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}

.sponsor-nav-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary-text);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(2, 138, 109, 0.4);
}

.sponsor-nav-btn:active {
    transform: scale(0.95);
}

/* ==================== 404 Error Page ==================== */
.error-page-section {
    position: relative;
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(92px + var(--spacing-2xl)) 0 var(--spacing-3xl);
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, rgba(1, 104, 84, 0.15) 0%, rgba(10, 10, 10, 0.95) 70%);
}

.error-glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.error-glow-sphere--1 {
    width: 360px;
    height: 360px;
    top: 15%;
    left: 20%;
    background: rgba(1, 104, 84, 0.22);
    animation: floatOrb 12s ease-in-out infinite alternate;
}

.error-glow-sphere--2 {
    width: 280px;
    height: 280px;
    bottom: 15%;
    right: 20%;
    background: rgba(63, 224, 176, 0.12);
    animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -25px) scale(1.1); }
}

.error-card {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-xl);
    background: rgba(22, 26, 25, 0.7);
    border: 1px solid rgba(63, 224, 176, 0.2);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(1, 104, 84, 0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-visual-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.error-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(84px, 14vw, 150px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 10%, #3fe0b0 50%, #016854 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 24px rgba(1, 104, 84, 0.45));
    user-select: none;
    direction: ltr;
}

.error-digit {
    display: inline-block;
    transition: transform 0.3s ease;
}

.error-digit-zero-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.error-zero-pulse {
    position: absolute;
    width: 65%;
    height: 65%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 224, 176, 0.35) 0%, transparent 70%);
    animation: zeroPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes zeroPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.9; }
}

.error-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(1, 104, 84, 0.18);
    border: 1px solid rgba(63, 224, 176, 0.3);
    border-radius: 50px;
    color: var(--color-secondary-text, #3fe0b0);
    font-size: 13.5px;
    font-weight: 600;
    margin-top: 10px;
}

.error-badge-dot {
    width: 8px;
    height: 8px;
    background: #e63946;
    border-radius: 50%;
    box-shadow: 0 0 8px #e63946;
    animation: countdownBlink 1.4s infinite ease-in-out;
}

.error-content {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-title {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: center;
}

.error-desc {
    font-size: 15.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 28px;
    text-align: center;
    max-width: 580px;
}

.error-search-form {
    width: 100%;
    max-width: 500px;
    margin-bottom: 28px;
}

.error-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(15, 20, 18, 0.85);
    border: 1px solid rgba(63, 224, 176, 0.25);
    border-radius: 50px;
    padding: 5px 6px 5px 18px;
    transition: all 0.3s ease;
}

.error-search-input-wrap:focus-within {
    border-color: #3fe0b0;
    box-shadow: 0 0 20px rgba(63, 224, 176, 0.25);
    background: rgba(15, 20, 18, 0.98);
}

.error-search-icon {
    color: rgba(63, 224, 176, 0.7);
    margin-left: 10px;
    flex-shrink: 0;
}

.error-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    padding: 8px 6px;
    min-width: 0;
}

.error-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.error-search-btn {
    background: linear-gradient(135deg, #016854 0%, #028a6d 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 8px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.error-search-btn:hover {
    background: linear-gradient(135deg, #028a6d 0%, #3fe0b0 100%);
    color: #0d1a16;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(2, 138, 109, 0.4);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin-bottom: 36px;
}

.error-btn {
    min-width: 190px;
    height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.error-btn--primary {
    background: linear-gradient(135deg, #016854 0%, #028a6d 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(1, 104, 84, 0.35);
}

.error-btn--primary:hover {
    background: linear-gradient(135deg, #028a6d 0%, #3fe0b0 100%);
    color: #0d1a16;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(63, 224, 176, 0.35);
}

.error-btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(63, 224, 176, 0.3);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.error-btn--secondary:hover {
    background: rgba(1, 104, 84, 0.25);
    border-color: #3fe0b0;
    color: #3fe0b0;
    transform: translateY(-2px);
}

.error-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}

.error-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.error-quick-links {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
}

.error-quick-title {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    text-align: right;
}

.error-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    width: 100%;
}

.error-quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: right;
}

.error-quick-card:hover {
    background: rgba(1, 104, 84, 0.15);
    border-color: rgba(63, 224, 176, 0.3);
    transform: translateY(-2px);
}

.error-quick-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(1, 104, 84, 0.25);
    border: 1px solid rgba(63, 224, 176, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary-text, #3fe0b0);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.error-quick-card:hover .error-quick-icon {
    background: var(--color-primary);
    color: #ffffff;
    transform: scale(1.08);
}

.error-quick-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.error-quick-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.error-quick-sub {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* ==================== Public Custom Form & Select Controls ==================== */
select.form-control,
.registration-form select.form-control,
.registration-form select,
.custom-seminar-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding-left: 54px !important;
    padding-right: 18px !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%233fe0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 24px center !important;
    background-size: 12px 8px !important;
}

select.form-control::-ms-expand,
.registration-form select.form-control::-ms-expand,
.registration-form select::-ms-expand,
.custom-seminar-form select::-ms-expand {
    display: none;
}

select.form-control option,
.registration-form select.form-control option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 10px 14px;
}

.form-description-box {
    background: rgba(63, 224, 176, 0.05);
    border: 1px solid rgba(63, 224, 176, 0.2);
    border-right: 4px solid var(--color-secondary-text, #3fe0b0);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 30px;
    font-size: 14.5px;
    line-height: 1.85;
    color: #e6f7f2;
}

.custom-file-upload-card {
    border: 2px dashed rgba(63, 224, 176, 0.35);
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    background: rgba(63, 224, 176, 0.03);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.custom-file-upload-card:hover {
    border-color: var(--color-secondary-text, #3fe0b0);
    background: rgba(63, 224, 176, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(1, 104, 84, 0.25);
}

.custom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 14px 18px;
    border-radius: 14px;
    transition: all 0.2s ease;
}
.custom-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(63, 224, 176, 0.3);
}
