/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Colors - Premium Luxury Palette */
    --primary: #0f2942;
    --primary-light: #1a4166;
    --primary-dark: #081a2e;
    --accent: #c9a961;
    --accent-light: #d9ba7f;
    --accent-dark: #b39448;
    --text-dark: #1a1d29;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #fafbfc;
    --bg-cream: #fdfcfa;
    --bg-luxury: #f9f8f6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-display: 'Montserrat', 'Noto Sans KR', sans-serif;
    
    /* Shadows - Premium Depth */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 12px 24px -8px rgba(0, 0, 0, 0.08);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-gold: 0 4px 20px rgba(201, 169, 97, 0.15);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.75;
    background-color: var(--bg-white);
    overflow-x: hidden;
    font-size: 1.0625rem;
    letter-spacing: -0.015em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body[lang="en"] {
    font-family: var(--font-display);
}

body[lang="ja"] {
    font-family: 'Noto Sans JP', var(--font-primary);
}

body[lang="zh"] {
    font-family: 'Noto Sans SC', var(--font-primary);
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Language Selector
   =================================== */
.language-selector {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    display: flex;
    gap: 0.375rem;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 35, 66, 0.1);
}

.lang-btn {
    padding: 0.5rem 0.875rem;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-family: var(--font-display);
    letter-spacing: 0.5px;
    min-width: 45px;
    white-space: nowrap;
}

.lang-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(10, 35, 66, 0.2);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 0.875rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.15);
    transition: var(--transition);
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.25);
}

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

.logo-main {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 1px;
    font-family: var(--font-display);
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    display: inline-block;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(30, 58, 95, 0.05);
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-menu a.active {
    background: rgba(30, 58, 95, 0.08);
    color: var(--primary);
    font-weight: 700;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: white !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.15);
}

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

.nav-cta:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.25);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    background: linear-gradient(135deg, #0f1f3a 0%, #1e3a5f 50%, #2d4f7c 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: particleFloat 20s ease-in-out infinite;
}

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

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.0625rem;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(201, 169, 98, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(201, 169, 98, 0.4);
    background: var(--accent-light);
}

.btn-primary svg {
    transition: var(--transition);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1.125rem 2.5rem;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 1.0625rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 0; top: 8px; }
    50% { opacity: 1; }
    100% { opacity: 0; top: 24px; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

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

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 7.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    margin: 2rem auto 0;
    border-radius: 2px;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.375rem);
    color: var(--text-gray);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: -0.2px;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--bg-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.about-card {
    position: relative;
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 16px rgba(15, 41, 66, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(15, 41, 66, 0.05);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 41, 66, 0.1), 
                0 8px 16px rgba(201, 169, 97, 0.08),
                0 4px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(201, 169, 97, 0.2);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(201, 169, 98, 0.1);
    font-family: var(--font-display);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.about-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.7;
    text-align: center;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 41, 66, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 41, 66, 0.08);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(15, 41, 66, 0.12), 
                0 12px 24px rgba(201, 169, 97, 0.08),
                0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(201, 169, 97, 0.25);
}

.service-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.9), rgba(26, 58, 95, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-link {
    color: white;
    font-weight: 600;
    font-size: 1.0625rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.service-card:hover .service-link {
    transform: translateY(0);
}

.service-content {
    padding: 2rem;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-content > p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ===================================
   Service Detail Sections
   =================================== */
.service-detail {
    padding: 100px 0;
    background: white;
}

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

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

.detail-content.reverse {
    direction: rtl;
}

.detail-content.reverse > * {
    direction: ltr;
}

.detail-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.detail-image:hover img {
    transform: scale(1.05);
}

.detail-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.detail-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.detail-info > p {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.detail-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-detail.alt .feature-item {
    background: white;
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

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

.feature-item p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-us {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 100px 0;
    color: white;
}

.why-us .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.why-us .section-title {
    color: white;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-slow);
    text-align: center;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    background: var(--bg-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-2xl);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 35, 66, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(10, 35, 66, 0.9), rgba(10, 35, 66, 0.3));
}

.gallery-tag {
    padding: 0.5rem 1.25rem;
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
}

/* ===================================
   Doctor Section
   =================================== */
.doctor {
    background: white;
}

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

.doctor-image-wrapper {
    position: relative;
}

.doctor-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
    aspect-ratio: 3/4;
}

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

.doctor-badge {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.doctor-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.doctor-info {
    background: var(--bg-cream);
    padding: 3rem;
    border-radius: var(--radius-2xl);
}

.doctor-name {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.doctor-specialty {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--accent);
}

.credentials h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credentials-list li {
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.credentials-list .bullet {
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

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

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-content p,
.hours-list li {
    color: var(--text-gray);
    line-height: 1.7;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-list li.closed {
    color: var(--accent);
    font-weight: 600;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.contact-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    text-align: center;
    margin-top: 0.5rem;
}

.contact-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-map {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary);
}

.map-placeholder svg {
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.7;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.footer-logo .logo-main {
    color: white;
}

.footer-logo .logo-sub {
    color: var(--accent-light);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--accent-light);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.9375rem;
}

.footer-col a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-col li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .doctor-content,
    .contact-grid,
    .footer-main,
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .detail-content.reverse {
        direction: ltr;
    }
    
    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .navbar {
        bottom: 0;
        top: auto;
        border-bottom: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0;
    }
    
    .navbar .container {
        position: relative;
        padding: 0;
    }
    
    .logo-container,
    .nav-brand {
        display: none;
    }
    
    .language-selector {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem;
        gap: 0.15rem;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 1002;
    }
    
    .lang-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.65rem;
        min-width: 42px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .nav-menu {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        padding: 0.5rem;
        gap: 0.5rem;
        align-items: center;
        justify-content: space-around;
        display: flex !important;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .nav-menu li {
        flex: 1;
        max-width: 75px;
        text-align: center;
    }
    
    .nav-menu a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 0.4rem;
        font-size: 0.75rem;
        white-space: nowrap;
        font-weight: 600;
        color: var(--text-gray);
        border-radius: var(--radius-xl);
        transition: var(--transition);
        min-height: 56px;
        position: relative;
    }
    
    .nav-menu a:hover,
    .nav-menu a:active {
        background: rgba(10, 35, 66, 0.05);
        color: var(--primary);
        transform: translateY(-1px);
    }
    
    .nav-menu a::before {
        content: '•';
        display: block;
        font-size: 1rem;
        line-height: 1;
        margin-bottom: 0.2rem;
        opacity: 0.5;
        transition: var(--transition);
    }
    
    .nav-menu a:hover::before,
    .nav-menu a:active::before {
        opacity: 1;
        transform: scale(1.3);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-cta {
        background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
        color: white !important;
        font-weight: 700;
        box-shadow: 0 2px 12px rgba(10, 35, 66, 0.25);
    }
    
    .nav-cta::before {
        background: white !important;
        opacity: 1 !important;
    }
    
    .nav-cta:hover {
        background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(10, 35, 66, 0.35) !important;
    }
    
    .mobile-menu-toggle {
        display: none !important; /* Hide hamburger menu - nav is always visible at bottom */
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-grid,
    .services-grid,
    .gallery-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-info {
        padding: 2rem;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
    }
    
    .service-detail {
        padding: 60px 0;
    }
    
    .detail-info h2 {
        font-size: 2rem;
    }
    
    .detail-features {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: space-between;
    }
    
    section {
        padding-bottom: 5rem;
    }
    
    .hero {
        padding-bottom: 6rem;
    }
}

/* ===================================
   Animations
   =================================== */
[data-aos] {
    opacity: 0;
    transition: var(--transition-slow);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

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

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===================================
   Mobile Optimizations for Patient Stories
   =================================== */
@media (max-width: 768px) {
    /* Patient Stories - Stack on mobile */
    #patient-stories .story-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* International Guide Steps - Mobile layout */
    #international-guide .guide-step {
        display: block !important;
        margin-bottom: 2rem !important;
    }
    
    #international-guide .guide-step > div:first-child {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    #international-guide .guide-step > div:first-child > div:last-child {
        display: none !important;
    }
    
    /* Reduce padding on mobile */
    #patient-stories > div > div:not(.section-header),
    #international-guide > div > div:not(.section-header) {
        padding: 2rem 1.5rem !important;
    }
    
    /* Section headers */
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
    }
    
    /* Treatment comparison table - Horizontal scroll */
    #comparison table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        min-width: 600px;
    }
    
    #comparison table th,
    #comparison table td {
        font-size: 0.9rem !important;
        padding: 1rem !important;
    }
    
    /* Reviews grid - Single column on mobile */
    #reviews > div > div:nth-child(2) {
        grid-template-columns: 1fr !important;
    }
    
    /* Cost comparison table in stories */
    .story-grid table {
        font-size: 0.9rem;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .language-selector,
    .navbar,
    .mobile-menu-toggle,
    .hero-cta-group,
    .scroll-indicator,
    .footer {
        display: none;
    }
}
