/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Logo-inspired Color Palette - Warm & Cozy */
    --primary-coral: #FF8A80;
    --primary-peach: #FFAB91;
    --secondary-pink: #F48FB1;
    --secondary-lavender: #CE93D8;
    --accent-warm: #FFB74D;
    
    --bg-cream: #FFF4E6;
    --bg-beige: #F5E6D3;
    --bg-light: #FEFAF5;
    --bg-white: #FFFFFF;
    
    --text-primary: #5D4037;
    --text-secondary: #8D6E63;
    --text-light: #A1887F;
    
    --neutral-warm: #D7CCC8;
    --neutral-mid: #BCAAA4;
    
    /* Gradients */
    --gradient-warm: linear-gradient(135deg, #FF8A80 0%, #FFAB91 50%, #FFB74D 100%);
    --gradient-soft: linear-gradient(135deg, #F48FB1 0%, #CE93D8 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 244, 230, 0.95) 100%);
    
    /* Typography */
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    --font-accent: 'Pretendard', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 20px;
    
    /* Border Radius - Soft & Rounded */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50%;
    
    /* Shadows - Light & Soft */
    --shadow-sm: 0 2px 8px rgba(255, 138, 128, 0.08);
    --shadow-md: 0 4px 20px rgba(255, 138, 128, 0.12);
    --shadow-lg: 0 8px 32px rgba(255, 138, 128, 0.16);
    --shadow-hover: 0 12px 48px rgba(255, 138, 128, 0.20);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.logo img {
    height: 200px;
    width: auto;
    border-radius: var(--radius-sm);
}

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

.nav-link {
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-warm);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-link.cta-nav {
    background: var(--gradient-warm);
    color: var(--bg-white);
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-link.cta-nav::after {
    display: none;
}

.nav-link.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
    border-radius: 2px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-overlay), var(--bg-cream);
    padding-top: 80px;
    overflow: visible;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.15;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-warm);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-soft);
    bottom: -80px;
    left: -80px;
    animation: float 25s ease-in-out infinite reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-peach);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.25; }
}

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

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    margin-top: 80px;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    line-height: 1.8;
}

/* Activity Photos Grid */
.activity-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.photo-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    aspect-ratio: 4/3;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-warm);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

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

.btn-hero-large {
    padding: 24px 64px;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-coral);
    border: 2px solid var(--primary-coral);
}

.btn-secondary:hover {
    background: var(--primary-coral);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
    display: block;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    padding: var(--section-padding);
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   MISSION SECTION
   ========================================== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

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

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

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
    font-size: 2rem;
    color: var(--bg-white);
}

.mission-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.98rem;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
    display: grid;
    gap: 48px;
}

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

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

.service-image {
    height: auto;
    min-height: 300px;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.service-icon {
    font-size: 4rem;
    color: var(--bg-white);
    opacity: 0.9;
}

.service-content {
    padding: 40px;
}

.service-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--primary-coral);
    font-size: 1.1rem;
}

/* Service Image */
.service-image {
    position: relative;
}

.service-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-image-placeholder i {
    font-size: 4rem;
    color: var(--bg-white);
    opacity: 0.9;
    margin-bottom: 12px;
}

.service-image-placeholder p {
    color: var(--bg-white);
    font-size: 1rem;
    opacity: 0.8;
}

/* ==========================================
   EDUCATION GALLERY
   ========================================== */
.education-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    padding: 0;
}

.education-gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--bg-cream);
    aspect-ratio: 1;
    border-radius: 8px;
}

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

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 16px 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.education-gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay span {
    color: var(--bg-white);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    text-align: center;
    line-height: 1.4;
}

/* 반응형: 타블릿 */
@media (max-width: 1023px) {
    .education-gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 6px;
    }
}

/* 반응형: 모바일 */
@media (max-width: 767px) {
    .education-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .gallery-item-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    }
    
    .gallery-item-overlay span {
        font-size: 0.75rem;
    }
}

/* ==========================================
   VOLUNTEER GALLERY
   ========================================== */
.volunteer-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    padding: 0;
}

.volunteer-gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--bg-cream);
    aspect-ratio: 1;
    border-radius: 8px;
}

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

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

/* 반응형: 타블릿 */
@media (max-width: 1023px) {
    .volunteer-gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 6px;
    }
}

/* 반응형: 모바일 */
@media (max-width: 767px) {
    .volunteer-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
}

/* ==========================================
   INSTRUCTOR SECTION
   ========================================== */
.instructor-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid #f0f0f0;
}

.instructor-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 32px;
}

.instructor-profile {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

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

.instructor-profile img {
    width: 100%;
    height: auto;
    display: block;
}

/* 반응형: 타블릿 */
@media (max-width: 1023px) {
    .instructor-title {
        font-size: 2rem;
    }
}

/* 반응형: 모바일 */
@media (max-width: 767px) {
    .instructor-section {
        margin-top: 48px;
        padding-top: 32px;
    }
    
    .instructor-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }
}

/* ==========================================
   PUBLIC VALUE SECTION
   ========================================== */
.public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.public-card {
    background: var(--bg-white);
    padding: 48px 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.public-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    border-radius: var(--radius-full);
    font-size: 2.5rem;
    color: var(--primary-coral);
}

.public-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.public-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   COURSES SECTION
   ========================================== */
.courses {
    background: var(--bg-white);
}

.courses-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.courses-gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.courses-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 반응형: 타블릿 */
@media (max-width: 1023px) {
    .courses-gallery {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 12px;
    }
}

/* 반응형: 모바일 */
@media (max-width: 767px) {
    .courses-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==========================================
   IMPACT SECTION
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.stat-card {
    background: var(--bg-white);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.stat-icon {
    font-size: 3rem;
    color: var(--primary-coral);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: inline-block;
}

.stat-suffix {
    display: inline;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.1rem;
}

/* ==========================================
   TIMELINE SECTION - GALLERY GRID STYLE
   ========================================== */
.timeline-section {
    padding: 60px 0;
}

.timeline-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 60px;
}

/* Year Section */
.timeline-year-section {
    margin-bottom: 80px;
}

.timeline-year-section:last-child {
    margin-bottom: 0;
}

.timeline-year-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-coral);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-year-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-coral) 0%, var(--primary-peach) 100%);
    border-radius: 2px;
}

/* Gallery Grid */
.timeline-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery Card */
.timeline-gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-white);
}

.timeline-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.2);
}

/* Gallery Image */
.timeline-gallery-image {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 비율 */
    overflow: hidden;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 100%);
}

.timeline-gallery-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-gallery-card:hover .timeline-gallery-image img {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Gallery Overlay */
.timeline-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 52, 54, 0.95) 0%, rgba(45, 52, 54, 0.7) 70%, transparent 100%);
    padding: 24px 20px;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-gallery-card:hover .timeline-gallery-overlay {
    background: linear-gradient(to top, rgba(255, 107, 107, 0.95) 0%, rgba(255, 107, 107, 0.7) 70%, transparent 100%);
}

.timeline-gallery-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-peach);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-gallery-card:hover .timeline-gallery-date {
    color: var(--bg-white);
}

.timeline-gallery-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bg-white);
    line-height: 1.5;
}

.timeline-gallery-title small {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 6px;
    opacity: 0.9;
}

/* Partners */
.partners {
    margin-top: 60px;
}

.partners-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo-card {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

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

.partner-logo-placeholder {
    text-align: center;
    width: 100%;
}

.partner-logo-placeholder i {
    font-size: 4rem;
    color: var(--primary-coral);
    opacity: 0.3;
    margin-bottom: 16px;
}

.partner-logo-placeholder p {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Partner Logo Images */
.partner-logo-card img {
    max-width: 160px;
    max-height: 120px;
    height: auto;
    width: auto;
    opacity: 0.85;
    transition: var(--transition-base);
    filter: grayscale(50%);
    object-fit: contain;
}

.partner-logo-card:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    align-items: start;
    background: var(--bg-white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.contact-info-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: var(--radius-md);
    color: var(--bg-white);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-info-content p {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-info-content span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Application Banner */
.application-banner {
    background: var(--gradient-warm);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.application-banner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.banner-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
}

.banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bg-white);
    flex-shrink: 0;
}

.banner-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.banner-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.banner-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    color: var(--primary-coral);
    padding: 20px 40px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition-base);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.banner-button:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.banner-button i {
    font-size: 1.3rem;
    transition: var(--transition-base);
}

.banner-button:hover i {
    transform: translateX(5px);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--text-primary);
    color: var(--neutral-warm);
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    border-radius: var(--radius-sm);
}

.footer-logo span {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--bg-white);
}

.footer-brand {
    color: var(--bg-white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-description {
    color: var(--neutral-warm);
    line-height: 1.8;
}

.footer-section h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--neutral-warm);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-peach);
    padding-left: 8px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--neutral-warm);
}

.footer-contact i {
    color: var(--primary-peach);
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-links-bottom a {
    color: var(--neutral-warm);
}

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

/* ==========================================
   GALLERY MODAL
   ========================================== */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(93, 64, 55, 0.95);
    backdrop-filter: blur(8px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    padding: 48px 32px;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gallery-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: var(--bg-cream);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1.5rem;
    color: var(--text-primary);
    z-index: 10;
}

.gallery-modal-close:hover {
    background: var(--primary-coral);
    color: var(--bg-white);
    transform: rotate(90deg);
}

.gallery-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-images {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.gallery-image-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    position: relative;
}

.gallery-image-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.gallery-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-secondary);
}

.gallery-image-placeholder i {
    font-size: 4rem;
    color: var(--primary-coral);
    opacity: 0.5;
}

.gallery-image-placeholder p {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    z-index: 10;
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

.gallery-nav:hover {
    background: var(--primary-coral);
    color: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav i {
    font-size: 1.3rem;
    color: var(--primary-coral);
}

.gallery-nav:hover i {
    color: var(--bg-white);
}

/* Gallery Indicators */
.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--bg-cream);
    border: 2px solid var(--primary-coral);
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-indicator:hover {
    background: var(--primary-peach);
}

.gallery-indicator.active {
    background: var(--primary-coral);
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-warm);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title,
    .partners-title,
    .timeline-title {
        font-size: 2rem;
    }
    
    /* Activity Photos */
    .activity-photos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Timeline Gallery Grid - Tablet */
    .timeline-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .timeline-year-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 72px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link.cta-nav {
        width: 100%;
        text-align: center;
    }
    
    /* Hero */
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 1.7rem;
        margin-top: 40px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Activity Photos */
    .activity-photos {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Sections */
    .section-title,
    .partners-title,
    .timeline-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Timeline Gallery Grid */
    .timeline-year-section {
        margin-bottom: 60px;
    }
    
    .timeline-year-heading {
        font-size: 2rem;
        margin-bottom: 32px;
    }
    
    .timeline-gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .timeline-gallery-title {
        font-size: 0.95rem;
    }
    
    /* Grids */
    .mission-grid,
    .services-grid,
    .public-grid,
    .stats-grid,
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Contact & Banner */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .banner-icon {
        margin: 0 auto;
    }
    
    .banner-button {
        justify-content: center;
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Gallery Modal */
    .gallery-modal-content {
        width: 95%;
        padding: 32px 20px;
    }
    
    .gallery-modal-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .gallery-slider {
        height: 300px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .gallery-prev {
        left: 8px;
    }
    
    .gallery-next {
        right: 8px;
    }
    
    .gallery-indicators {
        gap: 8px;
    }
    
    .gallery-indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Decorations */
    .circle-1,
    .circle-2,
    .circle-3 {
        opacity: 0.08;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .logo span {
        display: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}