/* ===========================
   SPACE V - CSS Styles
   ========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Navigation Styles
   ========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 255, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
    background: transparent;
    border: none;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.3) drop-shadow(0 0 20px rgba(0, 255, 255, 0.6));
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #888;
    margin-top: -2px;
}

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

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #00ffff;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===========================
   Hero Section
   ========================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.6) saturate(1.2) contrast(1.1);
}

.hero-bg-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 0, 0.02) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.1) 50%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 2;
    animation: overlayShift 15s ease-in-out infinite;
}

/* Enhanced animated background */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(0, 255, 255, 0.03) 25%, transparent 50%, rgba(255, 0, 255, 0.03) 75%, transparent 100%);
    animation: waveAnimation 8s ease-in-out infinite;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(0, 255, 255, 0.02) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 0, 255, 0.02) 0%, transparent 70%);
    animation: pulseGlow 12s ease-in-out infinite;
    z-index: 2;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 0, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 0, 0.3), transparent);
    background-size: 150px 150px;
    animation: particleFloat 20s linear infinite;
    z-index: 3;
}

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

.hero-title {
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.title-main {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    color: #ffffff;
    margin-bottom: 0.8rem;
    word-spacing: 0.2em;
}

.title-highlight {
    display: block;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.7;
    word-break: keep-all;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
    background: linear-gradient(45deg, #00ffff, #00ccff);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #888888;
    font-size: 0.9rem;
    z-index: 4;
}

.scroll-arrow {
    margin-top: 0.5rem;
    animation: bounce 2s infinite;
}

/* ===========================
   MW Section
   ========================== */
.mw-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
}

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

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    word-break: keep-all;
}

.section-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    word-break: keep-all;
}

.section-description {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    word-break: keep-all;
    line-height: 1.6;
}

.mw-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.mw-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: brightness(1.1) saturate(1.3);
    transition: all 0.3s ease;
    cursor: default;
    background: transparent;
    border: none;
    padding: 1rem;
    mix-blend-mode: screen;
}

.mw-logo:hover {
    filter: brightness(1.2) saturate(1.5);
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.mw-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.8) saturate(1.2);
}

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

.mw-card .card-icon,
.mw-card h4,
.mw-card p {
    padding: 0 2rem;
}

.mw-card h4,
.mw-card p {
    padding-bottom: 1rem;
}

.mw-card .card-icon {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.mw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.mw-card:hover::before {
    left: 100%;
}

.mw-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.mw-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.mw-card p {
    color: #cccccc;
    font-size: 1rem;
}

/* ===========================
   SPACE V Introduction
   ========================== */
.spacev-intro {
    padding: 6rem 0;
    background: linear-gradient(135deg, #16213e 0%, #0a0a0a 100%);
    position: relative;
}

.spacev-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.spacev-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 1rem;
}

.spacev-subtitle {
    font-size: 1.2rem;
    color: #00ffff;
    margin-bottom: 2rem;
    font-weight: 600;
}

.spacev-description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.spacev-stats {
    display: flex;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #888888;
}

.spacev-visual {
    position: relative;
    height: 400px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
}

.spacev-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    border-radius: 20px;
    filter: brightness(0.7) saturate(1.3);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2));
    animation: float 4s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
}

.central-logo {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(0, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    backdrop-filter: blur(10px);
    animation: pulse 3s ease-in-out infinite;
}

.central-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #00ffff;
}

/* ===========================
   Features Section
   ========================== */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.8) saturate(1.2) hue-rotate(10deg);
}

.feature-card:hover .feature-image img {
    transform: scale(1.1) rotate(1deg);
}

.feature-icon {
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
}

.feature-content {
    padding: 0 2rem 3rem;
}





.feature-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 255, 255, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}







/* 특징 리스트 애니메이션 */
.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    position: relative;
}

.feature-card:hover .feature-list li {
    transform: translateX(5px);
    color: #ffffff;
}

.feature-list li::before {
    content: '▶';
    color: #00ffff;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-list li::before {
    color: #ff00ff;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

.feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover .feature-title {
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 2s ease-in-out infinite;
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.feature-description {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-description {
    color: #ffffff;
    transform: translateY(-2px);
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #aaaaaa;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-size: 0.8rem;
}

/* ===========================
   Problem Section
   ========================== */
.problem-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.problem-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.problem-item {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 100, 0, 0.05));
    border: 1px solid rgba(255, 100, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 100, 0, 0.2);
}

.problem-item i {
    font-size: 2.5rem;
    color: #ff6400;
    margin-bottom: 1rem;
}

.problem-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.problem-item p {
    color: #cccccc;
}

.solution-highlight {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 200, 255, 0.05));
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.solution-highlight h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00ffff;
}

.solution-highlight p {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.7;
}

/* ===========================
   Gallery Section
   ========================== */
.gallery-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
        /* 첫 번째 줄 */
    }
    
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        /* 두 번째 줄 */
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* 대형 화면에서도 2x2 레이아웃 강제 */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 1000px;
    }
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: default;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.gallery-item:hover .category-tag {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.8) saturate(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

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

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #00ffff;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.4;
}

/* ===========================
   Location Section
   ========================== */
.location-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #16213e 0%, #0a0a0a 100%);
}

.location-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
}

.location-item i {
    font-size: 1.5rem;
    color: #00ffff;
    margin-top: 0.2rem;
}

.location-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.location-item p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.location-map {
    position: relative;
}

.location-map iframe {
    filter: grayscale(20%) brightness(0.8) contrast(1.2);
    transition: filter 0.3s ease;
}

.location-map:hover iframe {
    filter: grayscale(0%) brightness(1) contrast(1);
}

/* ===========================
   Contact Section
   ========================== */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #16213e 0%, #0a0a0a 100%);
    text-align: center;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Footer
   ========================== */
.footer {
    background: #0a0a0a;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00ffff;
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
}

/* ===========================
   Animations
   ========================== */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(0, 255, 255, 0); }
}

@keyframes backgroundShift {
    0%, 100% { 
        background: 
            radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(255, 255, 0, 0.03) 0%, transparent 50%),
            linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    }
    25% { 
        background: 
            radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(255, 0, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 60% 60%, rgba(255, 255, 0, 0.05) 0%, transparent 50%),
            linear-gradient(135deg, #0a0a0a 0%, #16213e 50%, #1a1a2e 100%);
    }
    50% { 
        background: 
            radial-gradient(circle at 40% 40%, rgba(0, 255, 255, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 60% 60%, rgba(255, 0, 255, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(255, 255, 0, 0.04) 0%, transparent 50%),
            linear-gradient(135deg, #16213e 0%, #0a0a0a 50%, #1a1a2e 100%);
    }
    75% { 
        background: 
            radial-gradient(circle at 60% 60%, rgba(0, 255, 255, 0.07) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(255, 0, 255, 0.07) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 255, 0, 0.04) 0%, transparent 50%),
            linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0a0a0a 100%);
    }
}

@keyframes waveAnimation {
    0%, 100% { 
        background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 255, 0.03) 25%, transparent 50%, rgba(255, 0, 255, 0.03) 75%, transparent 100%);
        transform: translateX(0) rotate(0deg);
    }
    25% { 
        background: linear-gradient(45deg, transparent 0%, rgba(255, 0, 255, 0.04) 25%, transparent 50%, rgba(255, 255, 0, 0.04) 75%, transparent 100%);
        transform: translateX(10px) rotate(1deg);
    }
    50% { 
        background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 0, 0.03) 25%, transparent 50%, rgba(0, 255, 255, 0.03) 75%, transparent 100%);
        transform: translateX(0) rotate(0deg);
    }
    75% { 
        background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 255, 0.04) 25%, transparent 50%, rgba(255, 0, 255, 0.04) 75%, transparent 100%);
        transform: translateX(-10px) rotate(-1deg);
    }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    25% { opacity: 0.5; transform: scale(1.02); }
    50% { opacity: 0.4; transform: scale(1.01); }
    75% { opacity: 0.6; transform: scale(1.03); }
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    33% { transform: translateY(-5px) scale(1.01); }
    66% { transform: translateY(5px) scale(0.99); }
}

@keyframes overlayShift {
    0%, 100% { 
        background: 
            radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(255, 255, 0, 0.02) 0%, transparent 50%),
            linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.1) 50%, rgba(10, 10, 10, 0.4) 100%);
    }
    33% { 
        background: 
            radial-gradient(circle at 60% 40%, rgba(0, 255, 255, 0.04) 0%, transparent 50%),
            radial-gradient(circle at 40% 60%, rgba(255, 0, 255, 0.04) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 0, 0.03) 0%, transparent 50%),
            linear-gradient(to bottom, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.15) 50%, rgba(10, 10, 10, 0.3) 100%);
    }
    66% { 
        background: 
            radial-gradient(circle at 80% 60%, rgba(0, 255, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 20% 40%, rgba(255, 0, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 60% 20%, rgba(255, 255, 0, 0.04) 0%, transparent 50%),
            linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.05) 50%, rgba(10, 10, 10, 0.35) 100%);
    }
}

/* ===========================
   Responsive Design
   ========================== */
/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-bg-image,
.spacev-bg-image,
.card-image img,
.feature-image img {
    loading: lazy;
}

@media (max-width: 768px) {
    .card-image,
    .feature-image {
        height: 150px;
    }
    
    .hero-bg-video {
        opacity: 0.25;
    }
    
    .hero-bg-fallback {
        opacity: 0.2;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .hero-title {
        margin-bottom: 1.5rem;
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
    
    .title-main {
        margin-bottom: 0.5rem;
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }
    
    .title-highlight {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
        font-size: clamp(0.85rem, 4vw, 1.1rem);
        padding: 0 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .spacev-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .spacev-stats {
        justify-content: center;
    }

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

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

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

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-map iframe {
        height: 300px;
    }
    
    .mw-logo {
        max-width: 280px;
        background: none !important;
        border: none !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

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

    .spacev-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .card-image,
    .feature-image {
        height: 120px;
    }
    
    .visual-container {
        height: 300px;
    }
    
    .spacev-bg-image {
        opacity: 0.4;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .title-main {
        font-size: clamp(1.4rem, 9vw, 2.2rem);
        margin-bottom: 0.3rem;
    }
    
    .title-highlight {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.8rem, 5vw, 1rem);
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-width: 140px;
    }
    
    .mw-logo {
        max-width: 240px;
        background: none !important;
        border: none !important;
    }
}