/* =====================================================
   Mobile-First Reset & Base Styles
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    /* Color Palette - Green Theme */
    --primary-color: #1a4d2e;
    --primary-dark: #0f3320;
    --primary-light: #2d6a4f;
    --secondary-color: #52b788;
    --secondary-dark: #40916c;
    --accent-color: #74c69d;
    
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-light: #777777;
    --text-white: #ffffff;
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --bg-overlay: rgba(26, 77, 46, 0.85);
    
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Mobile-optimized spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
}

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

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

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

/* =====================================================
   Typography - Mobile Optimized
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h2 {
    font-size: 1.75rem; /* Mobile first */
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 1.5rem;
    }
}

/* =====================================================
   Buttons - Touch Optimized
   ===================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    min-height: 48px; /* Touch target */
    touch-action: manipulation;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:active {
    background-color: var(--primary-dark);
    transform: scale(0.98);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:active {
    background-color: var(--text-white);
    color: var(--primary-color);
}

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

@media (min-width: 768px) {
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

/* =====================================================
   Header & Navigation - Mobile First
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo h1 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 900;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 32px;
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    align-items: center;
}

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

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

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

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

/* Mobile Navigation Menu */
.nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-lg) var(--spacing-sm);
    transition: left 0.3s ease;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
    list-style: none;
}

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

.nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.nav-menu a {
    display: block;
    padding: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.nav-menu a:active {
    background-color: var(--bg-light);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        height: auto;
        width: auto;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        gap: 28px;
        overflow: visible;
    }
    
    .nav-menu li {
        width: auto;
        border: none;
    }
    
    .nav-menu a {
        padding: 0;
        font-size: 0.95rem;
        min-height: auto;
        position: relative;
    }
    
    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }
    
    .nav-menu a:hover::after {
        width: 100%;
    }
}

/* =====================================================
   Hero Section - Mobile Optimized
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh; /* Safe viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    margin-top: 68px;
    padding: var(--spacing-lg) 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: moveGradient 15s ease infinite;
}

@keyframes moveGradient {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    padding: 0 var(--spacing-sm);
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons .btn {
    width: 100%;
}

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

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

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

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: auto;
    }
}

/* =====================================================
   Stats Section - Mobile Optimized
   ===================================================== */
.stats-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    margin-left: 3px;
}

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

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* =====================================================
   Section Headers
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    margin: var(--spacing-sm) auto 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* =====================================================
   About Section - Mobile Optimized
   ===================================================== */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.about-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-white);
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.about-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-card:active {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================================================
   Programs Section - Mobile Optimized
   ===================================================== */
.programs-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.programs-grid.single-program {
    max-width: 800px;
    margin: 0 auto;
}

.program-card.featured {
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.program-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.program-image {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.program-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.program-content {
    padding: var(--spacing-md);
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 900;
}

.program-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--secondary-color);
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
}

.price-duration {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.program-content > p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.program-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.program-features li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.program-features i {
    color: var(--accent-color);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.program-booking-btn {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--text-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    margin-top: var(--spacing-md);
}

.program-booking-btn:active {
    transform: scale(0.98);
}

@media (min-width: 768px) {
    .program-booking-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .program-image {
        height: 220px;
    }
}

@media (min-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   Technology Section - Mobile Optimized
   ===================================================== */
.technology-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.technology-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.tech-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
}

.tech-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.tech-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .technology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .technology-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   Process Section - Mobile Optimized
   ===================================================== */
.process-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-md);
}

.process-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    box-shadow: var(--shadow-md);
}

.process-content {
    flex: 1;
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.process-content h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.process-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

@media (min-width: 768px) {
    .process-number {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }
    
    .process-content h3 {
        font-size: 1.4rem;
    }
    
    .process-content p {
        font-size: 0.95rem;
    }
}

/* =====================================================
   Reviews Section - Mobile Optimized
   ===================================================== */
.reviews-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.review-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating i {
    color: #f39c12;
    font-size: 0.85rem;
}

.review-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-align: right;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.review-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xs);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.review-program {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(26, 77, 46, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   FAQ Section - Mobile Optimized
   ===================================================== */
.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--bg-white);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    min-height: 56px;
}

.faq-question:active {
    background-color: var(--bg-light);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: var(--spacing-md);
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* =====================================================
   Contact Section - Mobile Optimized
   ===================================================== */
.contact-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.contact-info {
    display: grid;
    gap: var(--spacing-md);
}

.info-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-white);
    font-size: 1.2rem;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.info-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

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

.footer-social a:active {
    background-color: var(--primary-color);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
}

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

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================================================
   Scroll to Top Button - Touch Optimized
   ===================================================== */
.scroll-top {
    position: fixed;
    bottom: calc(var(--spacing-md) + 70px); /* Above bottom nav */
    right: var(--spacing-md);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-lg);
}

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

.scroll-top:active {
    background-color: var(--primary-dark);
    transform: scale(0.95);
}

@media (min-width: 768px) {
    .scroll-top {
        bottom: var(--spacing-md);
    }
    
    .scroll-top:hover {
        transform: translateY(-5px);
    }
}

/* =====================================================
   Mobile Bottom Navigation
   ===================================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    height: 100%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.bottom-nav-item i {
    font-size: 1.3rem;
    transition: var(--transition);
}

.bottom-nav-item span {
    font-size: 0.65rem;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}

.bottom-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.bottom-nav-item.active::before {
    width: 60%;
}

.bottom-nav-item:active {
    background-color: var(--bg-light);
}

/* Add padding to body to account for bottom nav */
@media (max-width: 767px) {
    body {
        padding-bottom: 70px;
    }
}

/* Hide bottom nav on desktop */
@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
}

/* =====================================================
   Floating Booking Button
   ===================================================== */
.floating-booking-btn {
    position: fixed;
    bottom: calc(var(--spacing-lg) + 70px);
    right: var(--spacing-md);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-booking-btn span {
    font-size: 0.7rem;
    font-weight: 600;
}

.floating-booking-btn:active {
    transform: scale(0.95);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(82, 183, 136, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(82, 183, 136, 0);
    }
}

@media (min-width: 768px) {
    .floating-booking-btn {
        bottom: var(--spacing-lg);
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }
    
    .floating-booking-btn span {
        font-size: 0.75rem;
    }
    
    .floating-booking-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 32px rgba(82, 183, 136, 0.4);
    }
}

/* =====================================================
   Booking Modal
   ===================================================== */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

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

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.booking-modal-content {
    position: relative;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--spacing-lg);
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
}

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

.booking-modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--bg-light);
    color: var(--text-secondary);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-modal-close:active {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: scale(0.95);
}

@media (min-width: 768px) {
    .booking-modal-close:hover {
        background-color: var(--primary-color);
        color: var(--text-white);
    }
}

.booking-modal-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    padding-right: 40px;
}

.booking-modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.booking-form {
    margin-top: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Form help text */
.form-help {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* Messenger ID group animation */
.messenger-id-group {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
        margin-bottom: 25px;
    }
}

/* Mobile adjustments for booking modal */
@media (max-width: 767px) {
    .booking-modal {
        padding: 0;
        align-items: flex-end;
    }
    
    .booking-modal-content {
        max-height: 85vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Utility Classes
   ===================================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* =====================================================
   Print Styles
   ===================================================== */
@media print {
    .header,
    .hero-buttons,
    .scroll-indicator,
    .scroll-top,
    .contact-form-wrapper,
    .lang-switcher {
        display: none;
    }
}