/* 3rd theme style */
:root {
    /* Dark Theme Color Palette */
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --lighter-card: #334155;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border-color: #334155;

    /* Dark Gradients */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-card: linear-gradient(135deg, #1e293b 0%, #334155 100%);

    /* Dark Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 4px 20px rgba(245, 158, 11, 0.2);
    --shadow-glow: 0 0 20px rgba(96, 165, 250, 0.3);

    /* Compact Typography */
    --font-heading: "Inter", "Noto Sans KR", sans-serif;
    --font-body: "Inter", "Noto Sans KR", sans-serif;
    --font-mono: "JetBrains Mono", "Courier New", monospace;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.5;
    color: var(--text-light);
    overflow-x: hidden;
    word-break: keep-all;
    overflow-wrap: break-word;
    background: var(--dark-bg);
    font-size: 14px;
}

.en-font {
    font-family: var(--font-body);
}

/* Compact Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--text-light);
}

/* Header & Navigation - Dark Professional */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-soft);
    border-bottom-color: var(--primary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.logo-image {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) saturate(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

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

.lang-toggle {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle:hover {
    background: var(--lighter-card);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-light);
    cursor: pointer;
}

/* Hero Section - Dark Elegant */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-secondary);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%,
            rgba(96, 165, 250, 0.1) 0%,
            transparent 50%),
        radial-gradient(circle at 80% 70%,
            rgba(245, 158, 11, 0.05) 0%,
            transparent 50%);
}

/* ✅ Hero 배경 영상 요소 스타일 */
.hero video.hero-bg-video {
    position: absolute;
    inset: 0;
    /* top, right, bottom, left 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    /* 부드럽게 보이도록 */
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero-content .slogan {
    font-size: 1.1rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-content .description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--darker-bg);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-light);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--lighter-card);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}





/* Section Common Styles - Compact Dark */
.section {
    padding: 4rem 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            var(--border-color),
            var(--primary-color),
            var(--border-color),
            transparent);
    margin: 2.5rem 0;
}

/* About Section - Clear Card Distinction */
.about {
    background: var(--darker-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.about-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.about-content h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 0.9rem;
}

.services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.services-list li {
    padding: 0.75rem 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    background: var(--lighter-card);
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.services-list li:hover {
    background: var(--card-bg);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.services-list li::before {
    content: "▸";
    color: var(--accent-color);
    font-size: 0.875rem;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.strength-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.strength-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
    background: var(--lighter-card);
}

.strength-card .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.strength-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.strength-card p {
    color: var(--text-muted);
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 0.8rem;
}

/* Mission & Vision Section - Enhanced Cards */
.mission-vision {
    background: var(--dark-bg);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mv-card {
    background: var(--gradient-card);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.mv-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.mv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    color: var(--accent-light);
}

.mv-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    color: var(--text-muted);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.mission-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mission-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.mission-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-accent);
    border-radius: 0 0 0 8px;
}

.mission-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    background: var(--lighter-card);
    border-color: var(--primary-color);
}

.mission-item h4 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.4rem;
}

.mission-item p {
    color: var(--text-muted);
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 0.875rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    background: var(--lighter-card);
    border-color: var(--primary-color);
}

.value-item .icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.value-item .en-text {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Members Section - Team Cards */
.members {
    background: var(--darker-bg);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Member card header - groups photo, name, position, education with consistent height */
.member-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
    /* Fixed height for consistent alignment */
    margin-bottom: 1rem;
}

.member-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    background: var(--lighter-card);
    border-color: var(--primary-color);
}

.member-photo {
    font-size: 100px;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1;
}

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


.member-name {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    min-height: 3.5rem;
    /* Consistent height for 1-2 lines */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.member-position {
    color: var(--accent-light);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.member-bio {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.member-education {
    color: var(--text-dim);
    margin-bottom: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    font-style: italic;
    word-break: keep-all;
    overflow-wrap: break-word;
    min-height: 2rem;
    /* Consistent height even when empty or "-" */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    /* Push to bottom of header */
}

.role-icon {
    align-self: center;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    object-fit: cover;
    /* Removed positioning properties to allow normal flow */
}

.member-experience,
.member-education-details {
    padding-left: 1.2rem;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.4;
    text-align: left;
}

.member-experience li,
.member-education-details li {
    margin-bottom: 0.3rem;
}


/* === Advisor Section === */
.advisors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advisor-card {
    background-color: #111827;
    /* 다크 그레이 배경 */
    border-radius: 1.5rem;
    padding: 2rem;
    color: #f9fafb;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advisor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.advisor-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #3b82f6;
    /* 파란색 포인트 */
}

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

.advisor-name {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.advisor-position {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #60a5fa;
    /* 연한 파랑 */
    margin-bottom: 0.5rem;
}

.advisor-education {
    text-align: center;
    font-size: 0.95rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.advisor-experience {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advisor-experience li {
    font-size: 0.92rem;
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
    color: #e5e7eb;
}

.advisor-experience li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #60a5fa;
}



/* Services Section - Clear Card Separation */
.services {
    background: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    background: var(--lighter-card);
    border-color: var(--primary-color);
}

.service-card .number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    color: var(--text-muted);
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.4;
    font-size: 0.8rem;
}

.service-card li::before {
    content: "•";
    color: var(--accent-color);
    position: relative;
    left: 0;
    font-weight: bold;
}

/* Roadmap Section - Dark Timeline */
.roadmap {
    background: var(--dark-bg);
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    width: 45%;
    position: relative;
    border: 1px solid var(--border-color);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--dark-bg);
    box-shadow: var(--shadow-accent);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-content .period {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 0.875rem;
}

/* Contact Section - Dark Professional */
.contact {
    background: var(--gradient-secondary);
    color: var(--text-light);
}

.contact-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.contact p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.contact-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.contact-email {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--gradient-accent);
    color: var(--darker-bg);
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-accent);
}

.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
}

/* Footer - Dark Minimal */
.footer {
    background: var(--darker-bg);
    color: var(--text-muted);
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.footer-info {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-info h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.footer-info p {
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

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

.footer-copyright {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Language Toggle */
.lang-hidden {
    display: none;
}


/* Responsive Design - Dark Theme Mobile */
@media (max-width: 919px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        height: 65px;
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-soft);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo-image {
        height: 32px;
    }

    .lang-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .btn-primary,
    .btn-secondary {
        min-width: 120px;
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }

    /* Hero Mobile */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content .slogan {
        font-size: 1rem;
    }

    .hero-content .description {
        font-size: 0.875rem;
    }



    /* Sections Mobile */
    .section {
        padding: 3rem 0;
    }

    .section-container {
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .services-list li {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .strength-card {
        padding: 1.25rem;
        text-align: center;
    }

    .strength-card .icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .strength-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .strength-card p {
        font-size: 0.75rem;
    }

    /* Mission & Vision Mobile */
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .mv-card {
        padding: 1.5rem;
    }

    .mv-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .mv-card p {
        font-size: 0.8rem;
    }

    .mission-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mission-item {
        padding: 1.25rem;
    }

    .mission-item h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .mission-item p {
        font-size: 0.8rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }

    .value-item {
        padding: 1.25rem 0.75rem;
    }

    .value-item .icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .value-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .value-item .en-text {
        font-size: 0.75rem;
    }

    /* Members Mobile */
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .advisors-grid {
        gap: 1.2rem;
    }

    .member-card {
        padding: 1.25rem;
    }

    .member-card-header {
        min-height: 240px;
        /* Reduced height for mobile */
    }

    .advisor-card {
        padding: 1.25rem;
    }

    .member-photo {
        font-size: 70px;
        margin-bottom: 0.75rem;
    }

    .member-name {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        min-height: 2.4rem;
        /* Adjusted for mobile */
    }

    .advisor-name {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .member-position {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .advisor-position {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .member-bio {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .member-education {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }

    .advisor-education {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }

    .member-experience,
    .advisor-experience {
        padding-left: 0.8rem;
        font-size: 0.7rem;
    }

    .member-experience li,
    .advisor-experience li {
        margin-bottom: 0.2rem;
        line-height: 1.3;
    }

    .mission-list {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card .number {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .service-card li {
        font-size: 0.75rem;
        padding: 0.3rem 0;
        line-height: 1.3;
    }

    /* Roadmap Mobile */
    .roadmap-timeline {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .roadmap-timeline::before {
        left: 1.5rem;
        width: 2px;
    }

    .timeline-item {
        flex-direction: column !important;
        margin-bottom: 2rem;
        align-items: flex-start;
    }

    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
        margin-left: 2.5rem !important;
        padding: 1.25rem;
    }

    .timeline-dot {
        left: 1.5rem !important;
        transform: translateX(-50%);
        width: 14px;
        height: 14px;
        border: 2px solid var(--dark-bg);
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content .period {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .timeline-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Contact Mobile */
    .contact-container {
        padding: 0 1rem;
    }

    .contact h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .contact p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-email {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
        flex-direction: column;
        gap: 0.3rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1.25rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-info {
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .footer-info h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-info p {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
        padding-top: 1.25rem;
    }

    .cta-buttons {
        justify-content: center;
        gap: 0.75rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 479px) {
    .nav-container {
        padding: 0 0.75rem;
        height: 60px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-image {
        height: 28px;
    }

    .lang-toggle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .btn-primary,
    .btn-secondary {
        min-width: 110px;
        padding: 0.7rem 1rem;
        font-size: 0.75rem;
    }

    .section-container {
        padding: 0 0.75rem;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }



    .section-title {
        font-size: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-item {
        padding: 1rem 0.5rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .mv-card {
        padding: 1.25rem;
    }

    /* Members Mobile */
    .members-grid {
        grid-template-columns: repeat(1, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .mission-item {
        padding: 1rem;
    }

    .strength-card {
        padding: 1rem;
    }

    .timeline-content {
        margin-left: 2.25rem !important;
        padding: 1rem;
    }

    .contact-info {
        padding: 1.25rem;
    }

    .contact-email {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 920) and (max-width: 1399px) {
    .nav-container {
        padding: 0 1.25rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero-container {
        gap: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }


    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        gap: 2.5rem;
    }

    .strengths-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .mv-grid {
        gap: 2rem;
    }

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

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

    .roadmap-timeline {
        max-width: 700px;
    }

    .timeline-content {
        width: 42%;
        padding: 1.75rem;
    }

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

    .members-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
        padding: 0 3rem;
    }

    .section-container {
        max-width: 1400px;
        padding: 0 3rem;
    }

    .hero-container {
        max-width: 1400px;
        padding: 0 3rem;
        gap: 4rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }


    .section-title {
        font-size: 2.5rem;
    }

    .strengths-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .members-grid {
        grid-template-columns: repeat(5, minmax(220px, 1fr));
    }

    .roadmap-timeline {
        max-width: 1000px;
    }
}



/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: darkFadeIn 0.6s ease forwards;
}

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

/* Focus States for Accessibility */
.nav-link:focus,
.btn-primary:focus,
.btn-secondary:focus,
.lang-toggle:focus,
.contact-email:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar - Dark Theme */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

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

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .cta-buttons,
    .contact {
        display: none;
    }

    .section {
        padding: 1rem 0;
    }

    body {
        font-size: 10pt;
        line-height: 1.3;
        color: #000;
        background: #fff;
    }

    .section-title {
        font-size: 16pt;
        color: #000;
    }

    .strength-card,
    .service-card,
    .mission-item,
    .value-item,
    .mv-card,
    .timeline-content {
        background: #fff;
        border: 1px solid #ccc;
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #7dd3fc;
        --accent-color: #fcd34d;
        --text-light: #ffffff;
        --text-muted: #e5e7eb;
        --border-color: #6b7280;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}