/* ==========================================
   라이프리버영피플선교회 홈페이지 스타일시트
   ========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* CSS Variables */
:root {
  --primary-green: #2E9B6E;
  --primary-green-dark: #237a55;
  --primary-blue: #1A6B8A;
  --primary-blue-light: #7EC8E3;
  --accent-teal: #3AAFA9;
  --bg-white: #FFFFFF;
  --bg-light: #F5F7FA;
  --bg-section: #EEF2F7;
  --footer-bg: #1E2D3D;
  --footer-bg-bottom: #152231;
  --text-primary: #2C3E50;
  --text-secondary: #5D6D7E;
  --text-light: #95A5A6;
  --text-white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

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

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  transition: var(--transition);
}

.header.scrolled .header-inner {
  padding: 10px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

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

.header.scrolled .logo img {
  height: 40px;
}

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

.logo-text .org-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  transition: var(--transition);
  letter-spacing: -0.5px;
}

.logo-text .org-name-en {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.header.scrolled .logo-text .org-name {
  color: var(--text-primary);
}

.header.scrolled .logo-text .org-name-en {
  color: var(--text-secondary);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-white);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--primary-green);
  border-radius: 1px;
  transition: transform 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header.scrolled .nav-list a {
  color: var(--text-primary);
}

.nav-list a:hover {
  color: var(--primary-green);
}

.header.scrolled .nav-list a:hover {
  color: var(--primary-green);
  background: rgba(46, 155, 110, 0.06);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--text-primary);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-slide.active .slide-bg {
  transform: scale(1);
}

.hero-slide .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 45, 61, 0.7) 0%,
    rgba(46, 155, 110, 0.3) 50%,
    rgba(26, 107, 138, 0.5) 100%
  );
}

.hero-slide .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.hero-slide .slide-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.3s;
}

.hero-slide.active .slide-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide .slide-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.5s;
}

.hero-slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide .slide-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.7s;
}

.hero-slide.active .slide-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Controls */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--text-white);
  transform: scale(1.2);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
}

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

/* ==========================================
   SECTION COMMON
   ========================================== */
.section {
  padding: 100px 0;
}

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

.section-header .section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-green);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==========================================
   QUICK LINKS / CARD SECTION
   ========================================== */
.quick-links {
  background: var(--bg-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  transition: var(--transition);
}

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

.card .card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-bg {
  transform: scale(1.08);
}

.card .card-gradient-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.card:hover .card-gradient-bg {
  transform: scale(1.08);
}

.card-gradient-1 {
  background: linear-gradient(135deg, #2E9B6E 0%, #1A6B8A 100%);
}

.card-gradient-2 {
  background: linear-gradient(135deg, #3AAFA9 0%, #2E9B6E 100%);
}

.card-gradient-3 {
  background: linear-gradient(135deg, #1A6B8A 0%, #7EC8E3 100%);
}

.card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: var(--transition);
}

.card:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.card .card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--primary-green);
}

.card .card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.card .card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.card .card-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-white);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================
   ABOUT PREVIEW SECTION
   ========================================== */
.about-preview {
  background: var(--bg-white);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 450px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image .about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary-green);
  color: var(--text-white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid #E8ECF0;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-green);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==========================================
   LATEST NEWS SECTION
   ========================================== */
.latest-news {
  background: var(--bg-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.news-card .news-thumb {
  height: 200px;
  overflow: hidden;
}

.news-card .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.1);
}

.news-card .news-thumb .news-gradient-thumb {
  width: 100%;
  height: 100%;
}

.news-card .news-body {
  padding: 24px;
}

.news-card .news-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-green);
  background: rgba(46, 155, 110, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.news-card .news-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.news-card .news-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* More Button */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  margin-top: 48px;
}

.btn-more:hover {
  background: var(--primary-green);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(46, 155, 110, 0.3);
}

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

/* ==========================================
   VISION SECTION
   ========================================== */
.vision-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
  color: var(--text-white);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vision-section .section-label {
  color: rgba(255, 255, 255, 0.8);
}

.vision-section h2 {
  color: var(--text-white);
  font-size: 2.4rem;
}

.vision-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
}

.vision-verse {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 32px;
  padding: 24px;
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  line-height: 1.8;
}

.vision-ref {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
}

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

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

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

.footer-about .footer-logo img {
  height: 44px;
}

.footer-about .footer-logo span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-green);
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-green);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact li .icon {
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  background: var(--footer-bg-bottom);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

.footer-bottom-links a:hover {
  color: var(--primary-green);
}

/* ==========================================
   PAGE BANNER (SUB PAGES)
   ========================================== */
.page-banner {
  height: 300px;
  background: linear-gradient(135deg, #2C3E50 0%, #1A6B8A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
  background-size: 200px;
}

.page-banner h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-white);
  z-index: 1;
  position: relative;
}

.page-banner .breadcrumb {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  z-index: 1;
  position: relative;
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-banner .breadcrumb a:hover {
  color: var(--text-white);
}

/* ==========================================
   BOARD / NEWS LIST (Sub Page)
   ========================================== */
.board-section {
  padding: 80px 0;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.board-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.board-search {
  display: flex;
  align-items: center;
  border: 1px solid #DDD;
  border-radius: 50px;
  overflow: hidden;
  width: 280px;
}

.board-search input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
}

.board-search button {
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.board-search button:hover {
  color: var(--primary-green);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.board-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

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

.board-card .board-thumb {
  height: 200px;
  overflow: hidden;
  background: var(--bg-section);
}

.board-card .board-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.board-card:hover .board-thumb img {
  transform: scale(1.08);
}

.board-card .board-info {
  padding: 20px;
}

.board-card .board-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.board-card .board-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.board-card .board-likes {
  display: flex;
  align-items: center;
  gap: 4px;
}

.board-card .board-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #F0F0F0;
}

.board-card .board-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-section);
}

.board-card .board-author-info {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Write Button */
.btn-write {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--primary-green);
  color: var(--text-white);
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(46, 155, 110, 0.3);
}

.btn-write:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46, 155, 110, 0.4);
}

/* ==========================================
   CONTENT PAGE
   ========================================== */
.content-section {
  padding: 80px 0;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.content-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.content-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

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

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

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

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

.timeline-item .timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 6px;
}

.timeline-item .timeline-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Support Section */
.support-box {
  background: linear-gradient(135deg, rgba(46, 155, 110, 0.05) 0%, rgba(26, 107, 138, 0.05) 100%);
  border: 1px solid rgba(46, 155, 110, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 32px 0;
}

.support-box h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.support-box .account-info {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.support-box .account-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================
   TOP BUTTON
   ========================================== */
.top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary-green);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-btn:hover {
  background: var(--primary-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(46, 155, 110, 0.4);
}

/* ==========================================
   ANIMATIONS (Scroll Reveal)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .cards-grid,
  .news-grid,
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-image {
    height: 350px;
  }

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

  .hero-slide .slide-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 12px 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    padding: 80px 24px 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    color: var(--text-primary);
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .nav-list a:hover {
    background: rgba(46, 155, 110, 0.08);
  }

  .nav-list a::after {
    display: none;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }

  .hero {
    min-height: 500px;
    max-height: 700px;
  }

  .hero-slide .slide-title {
    font-size: 1.8rem;
  }

  .hero-slide .slide-subtitle {
    font-size: 0.85rem;
  }

  .hero-slide .slide-desc {
    font-size: 0.95rem;
  }

  .section {
    padding: 60px 0;
  }

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

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    height: 280px;
  }

  .news-grid,
  .board-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .page-banner {
    height: 220px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .board-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .board-search {
    width: 100%;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-slide .slide-title {
    font-size: 1.5rem;
  }

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

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

  .vision-section h2 {
    font-size: 1.6rem;
  }
}

/* ==========================================
   BOARD SECTION (공지사항 게시판)
   ========================================== */
.board-section {
  padding: 60px 0 80px;
  background: var(--bg-light);
  min-height: 400px;
}

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

.board-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.board-search {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border-radius: 50px;
  padding: 6px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #E8ECF0;
}

.board-search input {
  border: none;
  outline: none;
  font-size: 0.9rem;
  padding: 8px;
  background: transparent;
  font-family: inherit;
  width: 180px;
}

.board-search button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.board-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.board-thumb {
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.board-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.board-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.board-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}

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

.board-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.board-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.board-author-info {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Write Button */
.btn-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background: var(--primary-green);
  color: white;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(46, 155, 110, 0.3);
}

.btn-write:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46, 155, 110, 0.4);
  color: white;
}

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

  .board-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
