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

:root {
    /* Primary Brand Colors - Sophisticated Earth Tones */
    --primary-color: #8B5A5A;
    --primary-dark: #6B2F4A;
    --primary-light: #A67C7C;
    
    /* Secondary Colors - Warm Neutrals */
    --secondary-color: #D4B4A3;
    --secondary-light: #E8D5C4;
    --accent-color: #F4E8E0;
    
    /* Accent Colors - Sophisticated Palette */
    --sage-green: #7A9B6F;
    --sage-light: #9CAF88;
    --warm-gold: #C4965F;
    --soft-rose: #B8739A;
    --dusty-blue: #8B9BB7;
    
    /* Text Colors */
    --text-dark: #2C2C2C;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --text-lighter: #8A8A8A;
    
    /* Background Colors */
    --white: #FFFFFF;
    --background: #FDFBF9;
    --warm-beige: #F5F2EF;
    --cream: #F9F6F3;
    
    /* Status Colors */
    --success: #7A9B6F;
    --success-light: #9CAF88;
    --warning: #C4965F;
    --error: #D67B7B;
    --info: #8B9BB7;
    
    /* Effects */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-color: 0 8px 25px rgba(139, 90, 90, 0.15);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Monospace font for all numbers */
.numeric {
    font-family: 'Courier New', 'SF Mono', 'Monaco', 'Consolas', monospace !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}

/* Apply monospace to all numeric content */
span:has-text(/\d/),
[class*="number"],
[class*="price"],
[class*="stat"] {
    font-family: 'Courier New', 'SF Mono', 'Monaco', 'Consolas', monospace;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo {
    flex: 0 0 auto;
    margin-right: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-logo .logo-image {
    height: 5.5rem;
    width: auto;
    max-width: 6rem;
    object-fit: contain;
    border-radius: 12px;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

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

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

.booking-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px;
    border: none;
    margin-left: 1rem;
}

.booking-btn:hover {
    background: #7A4C4C;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.booking-btn::after {
    bottom: -8px !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin-left: 20px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger animation for mobile menu */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--cream) 0%, var(--secondary-light) 30%, var(--accent-color) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(139, 90, 90, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

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

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', 'SF Mono', 'Monaco', 'Consolas', monospace;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Hero Action Button */
.hero-action {
    margin-bottom: 30px;
}

.view-therapists-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(139, 90, 90, 0.3);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.view-therapists-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.view-therapists-btn:hover::before {
    width: 300px;
    height: 300px;
}

.view-therapists-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(139, 90, 90, 0.4);
}

/* Modern Arrow Styles - Removed */

/* Removed - replaced with modern arrow */

/* Operating Hours Info */
.operating-hours-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(191, 146, 112, 0.1);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 1rem;
}

.operating-hours-info i {
    font-size: 1.2rem;
}

.operating-hours-info span {
    color: var(--text-light);
}

.operating-hours-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-arrow::before {
    content: '';
    width: 2px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 1px;
    margin-bottom: 3px;
}

.scroll-arrow::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
}

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

/* ===================================
   SERVICE CARDS - Sweet & Modern Design
   =================================== */

.service-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(139, 90, 90, 0.08);
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 30px rgba(139, 101, 101, 0.08);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(139, 101, 101, 0.15);
    border-color: rgba(139, 90, 90, 0.12);
}

/* Service Icon Wrapper */
.service-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.service-icon {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #FFE5EC 0%, #FFD6E0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB6C1, #FF6B9D, #9B59B6);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(15px);
}

.service-card:hover .service-icon::before {
    opacity: 0.6;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.35);
}

.service-emoji {
    font-size: 3.5rem;
    line-height: 1;
    display: block;
    animation: floatEmoji 3s ease-in-out infinite;
}

@keyframes floatEmoji {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Unique colors for each service card */
.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #FFE5EC 0%, #FFD6E0 100%);
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.4), 0 0 20px rgba(255, 107, 157, 0.3);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #F3E5F5 0%, #E8D5F0 100%);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.3);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #E3F2FD 0%, #D6EAF8 100%);
    box-shadow: 0 10px 30px rgba(100, 181, 246, 0.3);
}

/* Service Name (Title) */
.service-name {
    margin: 0 0 1.25rem 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-color), #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(1) .service-name {
    background: linear-gradient(135deg, #FF6B9D, #FFB6C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(2) .service-name {
    background: linear-gradient(135deg, #9B59B6, #D4A5D5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(3) .service-name {
    background: linear-gradient(135deg, #64B5F6, #90CAF9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Description */
.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Service Price */
.service-price {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(155, 89, 182, 0.08));
    border-radius: 50px;
    display: inline-block;
}

.service-card:nth-child(1) .service-price {
    color: #FF6B9D;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 182, 193, 0.1));
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
}

.service-card:nth-child(2) .service-price {
    color: #9B59B6;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(212, 165, 213, 0.1));
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.2);
}

.service-card:nth-child(3) .service-price {
    color: #64B5F6;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1), rgba(144, 202, 249, 0.1));
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.2);
}

/* Service Decoration Dots */
.service-decoration {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.deco-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB6C1, #FF6B9D);
    animation: pulse 2s ease-in-out infinite;
}

.deco-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #9B59B6, #D4A5D5);
}

.deco-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #64B5F6, #90CAF9);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Featured Service Card (90 นาที) */
.service-card.featured {
    background: #ffffff;
    border: 2px solid rgba(155, 89, 182, 0.15);
    position: relative;
    transform: scale(1.03);
}

.service-card.featured::after {
    content: '⭐';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    animation: starRotate 4s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.4));
}

@keyframes starRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.15);
    }
}

.service-card.featured:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 60px rgba(155, 89, 182, 0.3);
}

.service-card.featured .service-icon {
    background: linear-gradient(135deg, #F3E5F5 0%, #E8D5F0 100%);
    box-shadow: 0 12px 35px rgba(155, 89, 182, 0.4);
    border: 3px solid rgba(155, 89, 182, 0.15);
}

.service-card.featured .service-emoji {
    font-size: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .service-card.featured {
        transform: scale(1);
    }
    
    .service-card.featured::after {
        font-size: 1.5rem;
        top: 15px;
        right: 15px;
    }
}

/* ===================================
   PROMOTIONS SECTION - Sweet & Modern
   =================================== */

.promotions {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF9F5 0%, #FFE5EC 50%, #F3E5F5 100%);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.promotion-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(139, 101, 101, 0.08);
    border: 2px solid rgba(139, 90, 90, 0.08);
    position: relative;
    overflow: visible;
}

.promotion-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(139, 101, 101, 0.15);
    border-color: rgba(139, 90, 90, 0.12);
}

/* Promotion Icon Wrapper */
.promotion-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.promotion-icon {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #FFE5EC 0%, #FFD6E0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    position: relative;
}

.promotion-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB6C1, #FF6B9D, #9B59B6);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(15px);
}

.promotion-card:hover .promotion-icon::before {
    opacity: 0.6;
}

.promotion-card:hover .promotion-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.35);
}

.promotion-emoji {
    font-size: 3.5rem;
    line-height: 1;
    display: block;
    animation: floatEmoji 3s ease-in-out infinite;
}

/* Unique colors for each promotion */
.promotion-card:nth-child(1) .promotion-icon {
    background: linear-gradient(135deg, #FFF9C4 0%, #FFF59D 100%);
    box-shadow: 0 10px 30px rgba(255, 235, 59, 0.4), 0 0 20px rgba(255, 235, 59, 0.3);
}

.promotion-card:nth-child(2) .promotion-icon {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    box-shadow: 0 10px 30px rgba(129, 199, 132, 0.4), 0 0 20px rgba(129, 199, 132, 0.3);
}

.promotion-card:nth-child(3) .promotion-icon {
    background: linear-gradient(135deg, #FFE0F7 0%, #F8BBD0 100%);
    box-shadow: 0 10px 30px rgba(244, 143, 177, 0.4), 0 0 20px rgba(244, 143, 177, 0.3);
}

/* Promotion Title */
.promotion-title {
    margin: 0 0 1.25rem 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-color), #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotion-card:nth-child(1) .promotion-title {
    background: linear-gradient(135deg, #F9A825, #FFD54F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotion-card:nth-child(2) .promotion-title {
    background: linear-gradient(135deg, #66BB6A, #81C784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotion-card:nth-child(3) .promotion-title {
    background: linear-gradient(135deg, #EC407A, #F48FB1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Promotion Description */
.promotion-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Promotion Conditions */
.promotion-conditions {
    text-align: left;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(139, 90, 90, 0.03), rgba(255, 107, 157, 0.03));
    border-radius: 12px;
    border: 1px solid rgba(139, 90, 90, 0.08);
}

.promotion-conditions li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
}

.promotion-conditions li:last-child {
    margin-bottom: 0;
}

.promotion-conditions li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB6C1, #FF6B9D);
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Promotion Button */
.promotion-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #A66F6F 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(139, 101, 101, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

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

.promotion-btn:hover::before {
    left: 100%;
}

.promotion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 101, 101, 0.4);
}

/* Review Promotion Button (Yellow) */
.promotion-card:nth-child(1) .promotion-btn {
    background: linear-gradient(135deg, #F9A825 0%, #FFD54F 100%);
    color: #333;
    box-shadow: 0 8px 20px rgba(249, 168, 37, 0.4);
    font-weight: 700;
}

.promotion-card:nth-child(1) .promotion-btn:hover {
    background: linear-gradient(135deg, #F57F17 0%, #FBC02D 100%);
    box-shadow: 0 12px 30px rgba(249, 168, 37, 0.5);
    transform: translateY(-3px);
}

/* Walk-in Note */
.walk-in-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 1.5rem 0;
    font-style: italic;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    background: rgba(129, 199, 132, 0.05);
    border-radius: 8px;
    border-left: 3px solid #66BB6A;
}

/* Promotion Decoration Dots */
.promotion-decoration {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.promotion-card .deco-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB6C1, #FF6B9D);
    animation: pulse 2s ease-in-out infinite;
}

.promotion-card:nth-child(1) .deco-dot:nth-child(1) {
    background: linear-gradient(135deg, #F9A825, #FFD54F);
}

.promotion-card:nth-child(1) .deco-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #FBC02D, #FFF176);
}

.promotion-card:nth-child(1) .deco-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #F9A825, #FFE082);
}

.promotion-card:nth-child(2) .deco-dot:nth-child(1) {
    background: linear-gradient(135deg, #66BB6A, #81C784);
}

.promotion-card:nth-child(2) .deco-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #4CAF50, #A5D6A7);
}

.promotion-card:nth-child(2) .deco-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #66BB6A, #C8E6C9);
}

.promotion-card:nth-child(3) .deco-dot:nth-child(1) {
    background: linear-gradient(135deg, #EC407A, #F48FB1);
}

.promotion-card:nth-child(3) .deco-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #E91E63, #F8BBD0);
}

.promotion-card:nth-child(3) .deco-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #EC407A, #FCE4EC);
}

/* Featured Promotion Card (แพ็คคู่) */
.promotion-card.featured {
    background: #ffffff;
    border: 2px solid rgba(129, 199, 132, 0.2);
    position: relative;
    transform: scale(1.03);
}

.promotion-card.featured::after {
    content: '💚';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    animation: heartBeat 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(129, 199, 132, 0.4));
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.15);
    }
}

.promotion-card.featured:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 60px rgba(129, 199, 132, 0.3);
}

.promotion-card.featured .promotion-icon {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    box-shadow: 0 12px 35px rgba(129, 199, 132, 0.5);
    border: 3px solid rgba(129, 199, 132, 0.2);
}

.promotion-card.featured .promotion-emoji {
    font-size: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .promotion-card.featured {
        transform: scale(1);
    }
    
    .promotion-card.featured::after {
        font-size: 1.5rem;
        top: 15px;
        right: 15px;
    }
    
    .promotion-card {
        padding: 2.5rem 1.5rem;
    }
    
    .promotion-icon {
        width: 90px;
        height: 90px;
    }
    
    .promotion-emoji {
        font-size: 3rem;
    }
    
    .promotion-title {
        font-size: 1.5rem;
    }
    
    .promotion-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

.promotion-card:has(.promotion-badge:not(.birthday):not(.couple)) .promotion-icon {
    background: linear-gradient(135deg, #A8C9A0, var(--sage-green));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(126, 153, 120, 0.3);
}

.promotion-card:has(.promotion-badge:not(.birthday):not(.couple)) h3 {
    color: var(--sage-green);
}

.promotion-card:has(.promotion-badge:not(.birthday):not(.couple)) p {
    color: var(--text-light);
}

.promotion-card:has(.promotion-badge:not(.birthday):not(.couple)) .promotion-conditions p {
    color: var(--text-color);
}

.promotion-card:has(.promotion-badge:not(.birthday):not(.couple)) .promotion-btn {
    background: linear-gradient(135deg, #A8C9A0, var(--sage-green));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(126, 153, 120, 0.3);
}

.promotion-card:has(.promotion-badge:not(.birthday):not(.couple)) .promotion-btn:hover {
    background: linear-gradient(135deg, var(--sage-green), #6B8F64);
    box-shadow: 0 6px 20px rgba(126, 153, 120, 0.4);
    transform: translateY(-3px);
}


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

.promotion-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.promotion-badge.birthday {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.promotion-badge.couple {
    background: linear-gradient(135deg, #B8739A, #8B5A7C);
}

.promotion-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
}


.promotion-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.promotion-discount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--sage-green);
    margin-bottom: 1rem;
    font-family: 'Courier New', 'SF Mono', 'Monaco', 'Consolas', monospace;
}


.promotion-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.promotion-conditions {
    text-align: left;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(139, 90, 90, 0.05);
    border-radius: 10px;
}

.promotion-conditions p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.promotion-conditions i {
    color: var(--sage-green);
    font-size: 0.8rem;
}


.promotion-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.promotion-btn:hover {
    background: #7A4C4C;
    transform: translateY(-2px);
}


/* Couple promotion card specific styles */
.promotion-card:has(.promotion-badge.couple) {
    background: var(--white);
}

.promotion-card:has(.promotion-badge.couple)::before {
    background: linear-gradient(135deg, #B8739A, #8B5A7C);
}

.promotion-card:has(.promotion-badge.couple) .promotion-icon {
    background: linear-gradient(135deg, #E5B8D1, #B8739A);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(184, 115, 154, 0.3);
}

.promotion-card:has(.promotion-badge.couple) h3 {
    color: #8B5A7C;
}

.promotion-card:has(.promotion-badge.couple) .promotion-discount {
    color: #8B5A7C;
    text-shadow: 0 2px 4px rgba(139, 90, 124, 0.2);
}

.promotion-card:has(.promotion-badge.couple) p {
    color: var(--text-light);
}

.promotion-card:has(.promotion-badge.couple) .promotion-conditions {
    background: transparent;
}

.promotion-card:has(.promotion-badge.couple) .promotion-conditions i {
    color: #8B5A7C;
}

.promotion-card:has(.promotion-badge.couple) .promotion-conditions p {
    color: var(--text-color);
}

.promotion-card:has(.promotion-badge.couple) .promotion-btn {
    background: linear-gradient(135deg, #B8739A, #8B5A7C);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 115, 154, 0.3);
}

.promotion-card:has(.promotion-badge.couple) .promotion-btn:hover {
    background: linear-gradient(135deg, #8B5A7C, #6B2F4A);
    box-shadow: 0 6px 20px rgba(184, 115, 154, 0.4);
    transform: translateY(-3px);
}

/* Therapists Section */
.therapists {
    padding: 100px 0;
    background: var(--white);
}

.therapists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

/* Responsive adjustments for therapists grid */
@media (max-width: 1200px) {
    .therapists-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .therapists-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .therapists-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .therapist-image {
        height: 280px;
        aspect-ratio: 3/4;
    }
    
    .therapist-image.portrait {
        height: 320px;
        aspect-ratio: 3/4.2;
    }
    
    .therapist-image.portrait-contain {
        height: 320px;
        min-height: 320px;
    }
    
    .therapist-image.contain-mode {
        height: 300px;
        min-height: 300px;
    }
    
    .therapist-image.landscape {
        height: 200px;
        aspect-ratio: 4/3;
    }
    
    .therapist-image.square {
        height: 260px;
        aspect-ratio: 1/1;
    }
    
    .therapist-card {
        max-height: 450px;
    }
}

.therapist-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: auto;
    max-height: 480px;
    display: flex;
    flex-direction: column;
}

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

.therapist-image {
    height: 350px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.therapist-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center center; /* แสดงรูปตรงกลางเพื่อไม่ตัดส่วนสำคัญ */
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    transition: all 0.3s ease;
}

/* Alternative: แสดงรูปเต็มโดยปรับ height ตามอัตราส่วนของรูป */
.therapist-image.auto-height {
    height: auto;
    min-height: 200px;
    max-height: 300px;
    aspect-ratio: 4/5; /* อัตราส่วนที่เหมาะสม */
}

.therapist-image.auto-height img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

/* สำหรับรูปที่เป็น portrait - ปรับให้แสดงรูปครบถ้วนมากขึ้น */
.therapist-image.portrait {
    height: 400px;
    aspect-ratio: 3/4.2;
}

.therapist-image.portrait img {
    object-fit: cover;
    object-position: center 35%; /* ปรับให้แสดงส่วนล่างมากขึ้น */
    width: 100%;
    height: 100%;
}

/* โหมด contain สำหรับรูป portrait 4:3 - แสดงรูปครบถ้วนไม่ตัด */
.therapist-image.portrait-contain {
    height: 400px;
    min-height: 400px;
    background: #f8f9fa;
    aspect-ratio: 3/4;
}

.therapist-image.portrait-contain img {
    object-fit: contain !important;
    object-position: center center;
    width: 100%;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
}

/* สำหรับรูปที่เป็น landscape */
.therapist-image.landscape {
    height: 250px;
    aspect-ratio: 4/3;
}

.therapist-image.landscape img {
    object-fit: cover;
    object-position: center center; /* ตรงกลางสำหรับรูปแนวนอน */
    width: 100%;
    height: 100%;
}

/* สำหรับรูปสี่เหลี่ยมจัตุรัส */
.therapist-image.square {
    height: 320px;
    aspect-ratio: 1/1;
}

.therapist-image.square img {
    object-fit: cover;
    object-position: center 40%; /* ปรับให้แสดงส่วนล่างมากขึ้น */
    width: 100%;
    height: 100%;
}

.availability-status {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid var(--white);
}

.availability-status.available {
    background: var(--success);
}

.availability-status.busy {
    background: var(--error);
}

.therapist-info {
    padding: 1rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    overflow: hidden;
}

.therapist-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.specialty {
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.experience {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.availability {
    margin-bottom: 1rem;
}

.status-text {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.status-text:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.therapist-card:has(.availability-status.available) .status-text {
    color: var(--success);
}

.therapist-card:has(.availability-status.available) .status-text:before {
    background: var(--success);
}

.therapist-card:has(.availability-status.busy) .status-text {
    color: var(--error);
}

.therapist-card:has(.availability-status.busy) .status-text:before {
    background: var(--error);
}

.next-slot {
    font-size: 0.9rem;
    color: var(--text-light);
}

.therapist-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.therapist-btn:hover {
    background: #7A4C4C;
}

/* Apply Section Styles */
.apply-section {
    margin-top: 6rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--accent-color) 100%);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.apply-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(139, 90, 90, 0.05) 0%, 
        rgba(107, 47, 74, 0.08) 50%, 
        rgba(139, 90, 90, 0.05) 100%);
    pointer-events: none;
}

.apply-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    gap: 3rem;
}

.apply-text {
    flex: 1;
    max-width: 600px;
}

.apply-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.apply-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(139, 90, 90, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

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

.apply-btn:hover::before {
    left: 100%;
}

.apply-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(139, 90, 90, 0.4);
    text-decoration: none;
    color: var(--white);
}

.apply-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.apply-btn:hover i {
    transform: scale(1.1);
}

.apply-btn span {
    position: relative;
    z-index: 1;
}

/* News Section */
.schedule {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-beige) 50%, var(--secondary-light) 100%);
}

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

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

.news-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    border-left: 4px solid var(--sage-green);
}

.news-card.featured {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, var(--accent-color), var(--background));
}

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

.news-badge {
    display: inline-block;
    background: var(--sage-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-badge.promotion {
    background: var(--warm-gold);
}

.news-badge.update {
    background: var(--primary-color);
}

.news-badge.info {
    background: var(--dusty-blue);
}

.news-badge.review {
    background: var(--success);
}

.news-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 1px solid rgba(139, 90, 90, 0.1);
    padding-top: 1rem;
}

.schedule-time {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.schedule-service {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.schedule-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.schedule-status.available {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.schedule-status.busy {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--background) 100%);
}

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

.contact-info h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.branches-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Last branch card (7th card) - centered in 3-3-1 layout */
.branch-card:nth-child(7) {
    grid-column: 2 / 3;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .branch-card:nth-child(7) {
        grid-column: 1 / -1;
        max-width: 550px;
        margin: 1rem auto 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .branch-card {
        padding: 2rem 1.5rem;
    }
    
    .branch-emoji {
        font-size: 3.5rem;
    }
    
    .branch-card h3 {
        font-size: 1.25rem;
    }
    
    .branch-location-link,
    .branch-phone,
    .branch-line {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .branch-location-link i,
    .branch-phone i,
    .branch-line i {
        font-size: 1rem;
    }
    
    .branch-card:nth-child(7) {
        grid-column: 1;
    }
}

.branch-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    min-height: 220px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Subtle gradient overlay on hover (skip for 7th card) */
.branch-card:not(:nth-child(7))::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(155, 89, 182, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.branch-card:not(:nth-child(7)):hover::before {
    opacity: 1;
}

.branch-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(139, 101, 101, 0.15);
    border-color: rgba(139, 101, 101, 0.2);
}

/* Decorative corner accent */
.branch-card::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 182, 193, 0.3) 50%);
    border-radius: 0 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.branch-card:hover::after {
    opacity: 1;
}

.branch-card h3 {
    margin: 1rem 0 1.25rem 0;
    color: var(--text-dark);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

/* Branch Emoji - Large and centered with animation */
.branch-emoji {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.branch-card:hover .branch-emoji {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Review card icon (yellow star) */
.review-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFF9C4 0%, #FFFDE7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #FFD700;
}

.branch-title h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.branch-area {
    color: var(--sage-green);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.branch-info {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.info-item {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.info-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 16px;
}

.info-item span {
    color: var(--text-light) !important;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block !important;
    white-space: normal !important;
}

.info-item.phone span {
    font-family: 'Courier New', 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-weight: 600;
    color: var(--text-dark);
}

/* Branch Location Link - Clickable area text */
.branch-location-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.branch-location-link:hover {
    background: rgba(139, 101, 101, 0.05);
}

.branch-location-link i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.branch-location-link:hover i {
    transform: scale(1.2);
}

.branch-location-link a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.branch-location-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #FF6B9D);
    transition: width 0.3s ease;
}

.branch-location-link a:hover {
    color: var(--primary-color);
}

.branch-location-link a:hover::after {
    width: 100%;
}

/* Branch Phone */
.branch-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(139, 101, 101, 0.03) 0%, rgba(255, 107, 157, 0.03) 100%);
    position: relative;
    z-index: 1;
}

.branch-phone:hover {
    background: linear-gradient(135deg, rgba(139, 101, 101, 0.08) 0%, rgba(255, 107, 157, 0.08) 100%);
}

.branch-phone i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.branch-phone:hover i {
    animation: ring 0.5s ease;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    75% { transform: rotate(-10deg); }
}

.branch-phone a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Courier New', monospace;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.branch-phone a:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Branch LINE Link */
.branch-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(6, 207, 53, 0.08) 0%, rgba(0, 195, 0, 0.08) 100%);
    position: relative;
    z-index: 1;
}

.branch-line:hover {
    background: linear-gradient(135deg, rgba(6, 207, 53, 0.15) 0%, rgba(0, 195, 0, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 207, 53, 0.2);
}

.branch-line i {
    color: #06CF35;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.branch-line:hover i {
    transform: scale(1.15);
}

.branch-line a {
    color: #06CF35;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.branch-line a:hover {
    color: #05B52E;
    transform: scale(1.05);
}

.address-detail {
    color: var(--text-light);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-radius: 8px;
    margin: 0.25rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.address-detail:hover {
    color: var(--primary-color);
    background: rgba(139, 90, 90, 0.05);
    transform: translateX(5px);
    text-decoration: none;
}

.address-detail i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.address-detail span {
    line-height: 1.4;
    flex: 1;
}

.operating-hours {
    margin-top: 2rem;
}

.hours-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.hours-card i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.hours-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.hours-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.review-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0;
}

.contact-item i {
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 20px;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: #7A4C4C;
    transform: translateY(-3px);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(139, 90, 90, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #7A4C4C;
}

/* Branch Preview Styles */
.branch-preview {
    background: rgba(139, 90, 90, 0.05);
    border: 1px solid rgba(139, 90, 90, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.branch-preview-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.branch-preview-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.review-note {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(139, 90, 90, 0.1);
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.close {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-cancel {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(139, 90, 90, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-confirm {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-confirm:hover {
    background: #7A4C4C;
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section p i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .nav-logo {
        margin-right: 15px;
        gap: 8px;
    }
    
    .nav-logo .logo-image {
        height: 4.2rem;
        max-width: 4.8rem;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

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

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

    .hamburger {
        display: flex;
        order: 3;
    }
    
    .language-switcher {
        order: 2;
        margin-left: 0;
        padding-left: 0;
        margin-right: 15px;
    }
    
    .booking-btn {
        margin-left: 0;
        margin-top: 1rem;
    }

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

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

    .hero-stats {
        gap: 2rem;
    }

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

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

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

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

    .review-section {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    /* Apply Section Responsive */
    .apply-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .apply-text h3 {
        font-size: 1.6rem;
    }
    
    .apply-text p {
        font-size: 1rem;
    }
    
    .apply-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .operating-hours-hero {
        margin-top: 2rem;
    }

    .hours-card-hero {
        padding: 1rem 1.5rem;
        min-width: 250px;
        max-width: 300px;
    }

    .hours-card-hero i {
        font-size: 1.2rem;
    }

    .hours-info-hero h4 {
        font-size: 0.9rem;
    }

    .hours-info-hero p {
        font-size: 0.8rem;
    }

    .service-card {
        padding: 2.5rem 1.5rem;
    }
    
    .service-icon {
        width: 90px;
        height: 90px;
    }
    
    .service-emoji {
        font-size: 3rem;
    }
    
    .service-name {
        font-size: 1.75rem;
    }
    
    .service-price {
        font-size: 1.25rem;
        padding: 0.6rem 1.25rem;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    /* Apply Section Small Screen */
    .apply-section {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .apply-text h3 {
        font-size: 1.4rem;
    }
    
    .apply-btn {
        padding: 0.9rem 1.5rem;
    }
}

/* Animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Modal Styles */
.alert-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.alert-modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 3rem 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.3);
    border: 3px solid #EF4444;
    text-align: center;
    animation: none !important;
}

.alert-icon {
    font-size: 3rem;
    color: #EF4444;
    margin-bottom: 1rem;
    animation: none !important;
}

.alert-modal-content h3 {
    color: #EF4444;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.alert-modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.alert-btn {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.alert-btn:hover {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

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

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Google Maps Review Card Styles */
/* ===================================
   REVIEW SECTION - Separate Section
   =================================== */

.review-section {
    margin-top: 4rem;
    padding: 3rem 0;
    position: relative;
}

.review-container {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #fef9f5 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(139, 101, 101, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.review-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(139, 101, 101, 0.25);
}

/* Decorative floating elements */
.review-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
}

.review-sparkle {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.sparkle-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 15%;
    right: 8%;
    animation-delay: 0.5s;
}

.sparkle-3 {
    bottom: 15%;
    left: 8%;
    animation-delay: 1s;
}

.sparkle-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

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

.review-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Large star icon */
.review-icon-large {
    margin-bottom: 1.5rem;
}

.star-wrapper {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    animation: pulse-star 2s ease-in-out infinite;
}

.star-icon {
    font-size: 3rem;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes pulse-star {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
    }
}

/* Review title */
.review-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(139, 101, 101, 0.1);
}


/* Review form */
.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.review-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    text-align: left;
    width: 100%;
}

/* Select wrapper with custom arrow */
.review-select-wrapper {
    position: relative;
    width: 100%;
}

.branch-select-review {
    width: 100%;
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid rgba(139, 101, 101, 0.2);
    border-radius: 12px;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.branch-select-review:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 101, 101, 0.15);
}

.branch-select-review:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 101, 101, 0.1);
}

.select-arrow {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1rem;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.branch-select-review:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Large review button */
.review-button-large {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #A66F6F 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(139, 101, 101, 0.3);
    position: relative;
    overflow: hidden;
}

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

.review-button-large:hover::before {
    left: 100%;
}

.review-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 101, 101, 0.4);
}

.review-button-large:active {
    transform: translateY(-1px);
}

.review-button-large:disabled {
    background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
    cursor: not-allowed;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: none;
}

.review-button-large:disabled:hover {
    transform: none;
}

.button-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.button-text {
    flex: 1;
}

.button-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.review-button-large:hover .button-arrow {
    transform: translateX(5px);
}

/* Footer text */
.review-footer-text {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.5;
}

.review-footer-text i {
    color: var(--primary-color);
    font-size: 1rem;
}


/* Mobile responsive for review section */
@media (max-width: 768px) {
    .review-section {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .review-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .review-sparkle {
        font-size: 1.5rem;
    }
    
    .star-wrapper {
        padding: 1.25rem;
    }
    
    .star-icon {
        font-size: 2.5rem;
    }
    
    .review-title {
        font-size: 1.4rem;
    }
    
    
    .branch-select-review {
        padding: 0.9rem 2.5rem 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .review-button-large {
        padding: 1.1rem 1.5rem;
        font-size: 1rem;
    }
    
    .button-icon {
        font-size: 1.25rem;
    }
    
    .button-arrow {
        font-size: 1.25rem;
    }
    
    .review-footer-text {
        font-size: 0.8rem;
    }
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 20px;
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 97, 255, 0.2);
}

.lang-btn.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.1), rgba(255, 255, 255, 0.1));
    box-shadow: 0 2px 8px rgba(123, 97, 255, 0.3);
}

.lang-btn img {
    display: block;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.lang-btn:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .nav-logo {
        margin-right: 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

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

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

    .hamburger {
        display: flex;
        order: 3;
    }
    
    .language-switcher {
        order: 2;
        margin-left: 0;
        padding-left: 0;
        margin-right: 15px;
    }
    
    .booking-btn {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Forum/Blog System Styles */
.admin-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.admin-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(139, 90, 90, 0.2);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 90, 0.3);
}

.admin-btn i {
    font-size: 1.1rem;
}



/* Admin Modal */
.admin-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.admin-modal-content {
    background: var(--white);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.admin-modal-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.admin-close {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.admin-close:hover {
    color: var(--primary-color);
}

.admin-modal-body {
    padding: 2rem;
}

.admin-modal-body .form-group {
    margin-bottom: 1.5rem;
}

.admin-modal-body .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.admin-modal-body .form-group input,
.admin-modal-body .form-group select,
.admin-modal-body .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.admin-modal-body .form-group input:focus,
.admin-modal-body .form-group select:focus,
.admin-modal-body .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 90, 90, 0.1);
}

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

.image-preview {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.preview-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.preview-image .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.btn-cancel,
.btn-post {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cancel {
    background: #f1f5f9;
    color: var(--text-dark);
}

.btn-cancel:hover {
    background: #e2e8f0;
}

.btn-post {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 90, 0.3);
}

/* Post Detail Modal */
.post-detail-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.post-detail-content {
    background: var(--white);
    margin: 1% auto;
    padding: 0;
    border-radius: 20px;
    width: 95%;
    max-width: 900px;
    max-height: 98vh;
    overflow: hidden;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    gap: 1rem;
    flex-shrink: 0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.post-detail-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.edit-btn,
.delete-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.edit-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.delete-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.edit-btn i,
.delete-btn i {
    font-size: 0.9rem;
}

.detail-close {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.detail-close:hover {
    color: var(--primary-color);
}

.post-detail-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.post-meta .post-branch {
    color: var(--secondary-color);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 2rem;
    white-space: pre-wrap;
}

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

.post-images img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    object-fit: cover;
    max-height: 400px;
}

.post-images img:hover {
    transform: scale(1.05);
}

/* Ensure last element has some bottom padding for better scrolling */
.post-detail-body > *:last-child {
    margin-bottom: 2rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.empty-state p {
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .admin-controls {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .admin-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .table-header,
    .post-row {
        grid-template-columns: 30px 1fr 100px 60px 60px 150px;
        gap: 0.5rem;
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .post-title {
        font-size: 0.9rem;
    }
    
    .post-branch {
        font-size: 0.8rem;
    }
    
    .post-lastpost {
        font-size: 0.75rem;
    }
    
    .admin-modal-content,
    .post-detail-content {
        width: 98%;
        margin: 1% auto;
        max-height: 98vh;
    }
    
    .post-detail-content {
        height: 98vh;
        margin: 0;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .admin-modal-header,
    .post-detail-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .admin-modal-body,
    .post-detail-body {
        padding: 1.5rem;
    }
    
    .post-meta {
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-post {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .table-header,
    .post-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: left;
    }
    
    .table-header .col-icon,
    .table-header .col-views,
    .table-header .col-replies,
    .post-row .post-icon,
    .post-row .post-stats {
        display: none;
    }
    
    .post-row {
        padding: 1rem;
        border-left: 4px solid var(--primary-color);
    }
    
    .post-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .post-branch {
        margin-bottom: 0.5rem;
        color: var(--primary-color);
        font-weight: 700;
    }
    
    .post-lastpost {
        font-size: 0.8rem;
        color: var(--text-light);
    }
    
    .admin-modal-header h3,
    .post-detail-header h3 {
        font-size: 1.2rem;
    }
}

/* Existing Images Display */
.existing-images {
    margin-top: 1rem;
}

.existing-images h4 {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.existing-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.existing-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid #e2e8f0;
}

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

.existing-image .remove-existing-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.existing-image .remove-existing-btn:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.1);
}

/* Delete Confirmation Modal */
.delete-confirm {
    text-align: center;
    max-width: 400px;
}

.delete-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    border: 3px solid #fbbf24;
    animation: none !important;
}

.delete-confirm h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.delete-confirm p {
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.delete-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-delete-confirm {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete-confirm:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Mobile Responsive for Edit/Delete Actions */
@media (max-width: 768px) {
    .post-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem 1.5rem 1rem;
        position: sticky;
        top: 0;
    }
    
    .post-actions {
        align-self: flex-end;
        width: 100%;
        justify-content: flex-end;
    }
    
    .edit-btn,
    .delete-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .post-detail-header h3 {
        font-size: 1.3rem;
        width: 100%;
    }
    
    .delete-actions {
        flex-direction: column;
    }
    
    .btn-delete-confirm {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .post-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .edit-btn,
    .delete-btn {
        width: 100%;
        justify-content: center;
    }
    
    .detail-close {
        align-self: flex-end;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: var(--white);
    border: 2px solid var(--primary-light);
    color: var(--primary-color);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-btn.disabled {
    background: var(--cream);
    color: var(--text-light);
    border-color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-btn i {
    font-size: 0.9rem;
}

/* Loading styles for therapists */
.loading-therapists {
    text-align: center;
    padding: 3rem;
    color: var(--text-medium);
    font-size: 1.1rem;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.loading-therapists::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-light);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive pagination */
@media (max-width: 480px) {
    .pagination-container {
        gap: 0.3rem;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.7rem;
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* โหมดแสดงรูปแบบ flexible - ปรับความสูงตามรูป */
.therapist-card.flexible .therapist-image {
    height: auto;
    min-height: 180px;
    max-height: 320px;
    padding: 1rem;
    align-items: flex-start;
    justify-content: center;
}

.therapist-card.flexible .therapist-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ปรับการ์ดให้รองรับ flexible height */
.therapist-card.flexible {
    height: auto;
    max-height: none;
}

/* โหมด contain ทั่วไป - แสดงรูปครบถ้วนไม่ตัด */
.therapist-image.contain-mode {
    height: 380px;
    min-height: 380px;
    background: #f8f9fa;
}

.therapist-image.contain-mode {
    transition: all 0.4s ease;
    border: 2px solid #007bff;
    background: #f8f9fa !important;
}

.therapist-image.contain-mode img {
    object-fit: contain !important;
    object-position: center center;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.4s ease;
}

/* สำหรับหน้าจอเล็ก */
@media (max-width: 768px) {
    .therapist-image {
        height: 300px;
        aspect-ratio: 3/4;
    }
    
    .therapist-image.portrait {
        height: 350px;
        aspect-ratio: 3/4.2;
    }
    
    .therapist-image.portrait-contain {
        height: 350px;
        min-height: 350px;
    }
    
    .therapist-image.contain-mode {
        height: 320px;
        min-height: 320px;
    }
    
    .therapist-image.landscape {
        height: 220px;
        aspect-ratio: 4/3;
    }
    
    .therapist-image.square {
        height: 280px;
        aspect-ratio: 1/1;
    }
    
    .therapist-card.flexible .therapist-image {
        min-height: 160px;
        max-height: 280px;
    }
}

/* Smart cropping เน้นหน้าคน */
.therapist-image.smart-crop img {
    object-fit: cover;
    object-position: center 25%; /* เน้นหน้าคนโดยประมาณ */
}

/* สำหรับรูปที่เป็นเอกสาร/บัตรประชาชน */
.therapist-image.document img {
    object-fit: contain; /* ใช้ contain สำหรับเอกสาร */
    object-position: center center;
    padding: 10px;
    background: var(--white);
}

/* Hover effect แสดงรูปเต็ม */
.therapist-card:hover .therapist-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.therapist-image img {
    transition: transform 0.3s ease;
}

/* ปรับปรุงการแสดงผลสำหรับรูปที่มีคนหลายคน */
.therapist-image.multiple-people img {
    object-position: center 35%;
}

/* ปุ่มสลับโหมดการแสดงรูป */
.image-mode-toggle {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(4px);
}

.therapist-card:hover .image-mode-toggle {
    opacity: 1;
}

.image-mode-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

/* กรณีเป็นรูปเอกสาร ใช้ contain เสมอ */
.therapist-image.document {
    background: var(--white);
}

.therapist-image.document img {
    object-fit: contain !important;
    padding: 15px;
    background: transparent;
}

/* Fine-tune object position สำหรับรูปคน */
.therapist-image.portrait.smart-crop img {
    object-position: center 35%; /* ปรับให้แสดงส่วนล่างมากขึ้นแต่ยังเห็นหน้าคน */
}



.therapist-image.landscape.smart-crop img {
    object-position: center 40%; /* เน้นตรงกลาง-บน */
}

/* Availability badge ในรูปภาพ */
.availability-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--success);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    backdrop-filter: blur(6px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.availability-badge.busy {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Therapist Filter Styles */
.therapist-filter {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.filter-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    white-space: nowrap;
}

.branch-select {
    min-width: 200px;
    padding: 10px 15px;
    border: 2px solid var(--primary-light);
    border-radius: 25px;
    background: white;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.branch-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(139, 90, 90, 0.1);
}

.branch-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 90, 90, 0.1);
}

.filter-results {
    margin-top: 0.5rem;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-light), #f0f0f0);
    border-radius: 20px;
    display: inline-block;
    animation: fadeIn 0.3s ease;
}

.filter-results .results-text {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-results strong {
    color: var(--primary-color);
    font-weight: 700;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design สำหรับ Filter */
@media (max-width: 768px) {
    .filter-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .filter-group label {
        font-size: 0.95rem;
    }
    
    .branch-select {
        min-width: 250px;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .therapist-filter {
        margin-top: 1.5rem;
    }
    
    .filter-group {
        gap: 0.6rem;
    }
    
    .branch-select {
        min-width: unset;
        width: 100%;
        max-width: 280px;
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .filter-results .results-text {
        font-size: 0.85rem;
    }
}

.availability-badge.available {
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Pulse animation สำหรับสถานะว่าง */
.availability-badge.available::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
    border-radius: 18px;
    opacity: 0.2;
    animation: pulse-gentle 3s infinite;
    z-index: -1;
}

/* Availability status is now shown via badge only */

/* Hover effects สำหรับ badges */
.therapist-card:hover .availability-badge {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.therapist-card:hover .image-mode-toggle {
    opacity: 0.9;
}

/* Pulse animation แบบใหม่ */
.availability-badge.available::before {
    animation: pulse-gentle 3s infinite;
}

@keyframes pulse-gentle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }
}

/* Responsive design สำหรับ mobile */
@media (max-width: 768px) {
    .availability-badge {
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 12px;
        top: 6px;
        right: 6px;
    }
    
    .image-mode-toggle {
        width: 24px;
        height: 24px;
        font-size: 10px;
        top: 6px;
        left: 6px;
    }
}

/* Glass effect สำหรับ badges */
.availability-badge {
    background-clip: padding-box;
}

.availability-badge.available {
    box-shadow: 0 3px 12px rgba(46, 213, 115, 0.4);
}

.availability-badge.busy {
    box-shadow: 0 3px 12px rgba(255, 71, 87, 0.4);
}

/* Therapist Info Styles */
.branch-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.3rem 0;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--cream), var(--accent-color));
    border-radius: 12px;
    display: inline-block;
    border: 1px solid var(--primary-light);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: break-word;
}



.specialty {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .branch-name {
        font-size: 0.8rem;
        padding: 3px 8px;
        margin: 0.2rem 0;
    }
    

    
    .specialty {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .therapist-info {
        padding: 0.8rem 1rem;
    }
    
    .therapist-info h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
}

/* Force display all therapist info */
.therapist-info .branch-name,
.therapist-info .specialty {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure text content is visible */
.branch-name {
    min-height: 20px;
    line-height: 1.2;
}



.specialty {
    min-height: 18px;
    line-height: 1.3;
}

/* Clean styles without debug borders */
.therapist-info h3 {
    margin: 0 0 8px 0;
    padding: 0;
}

/* Override any hiding styles */
.therapist-card * {
    max-width: 100%;
    box-sizing: border-box;
}

/* PERF: Load More Button Styles */
.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-color);
    text-transform: none;
    font-family: 'Inter', 'Sarabun', sans-serif;
}

.load-more-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 90, 90, 0.25);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.load-more-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-btn i {
    font-size: 1.2rem;
}

.load-more-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading indicator */
.loading-therapists {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive Load More Button */
@media (max-width: 768px) {
    .load-more-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

/* ========================================
   ENHANCED UI/UX STYLES - Modern & Colorful
   ======================================== */

/* Hero Section Animations */
@keyframes animate-fade-in {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate-fade-in-delay {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate-slide-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate-bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        opacity: 1;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes animate-fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes - ทุก element เริ่มที่ opacity: 0 และจะกลายเป็น opacity: 1 หลังจาก animation */
.animate-fade-in {
    animation: animate-fade-in 0.8s ease-out forwards;
    opacity: 0; /* เริ่มซ่อน แล้ว forwards จะเก็บ opacity: 1 จาก keyframe */
}

.animate-fade-in-delay {
    animation: animate-fade-in-delay 1s ease-out 0.3s forwards;
    opacity: 0; /* เริ่มซ่อน แล้ว forwards จะเก็บ opacity: 1 จาก keyframe */
}

.animate-slide-up {
    animation: animate-slide-up 1s ease-out 0.5s forwards;
    opacity: 0; /* เริ่มซ่อน แล้ว forwards จะเก็บ opacity: 1 จาก keyframe */
}

.animate-bounce-in {
    animation: animate-bounce-in 1s ease-out 0.7s forwards;
    opacity: 0; /* เริ่มซ่อน แล้ว forwards จะเก็บ opacity: 1 จาก keyframe */
}

.animate-fade-in-up {
    animation: animate-fade-in-up 1s ease-out 0.9s forwards;
    opacity: 0; /* เริ่มซ่อน แล้ว forwards จะเก็บ opacity: 1 จาก keyframe */
}

/* Additional floating shapes */
.shape-5 {
    width: 90px;
    height: 90px;
    top: 50%;
    left: 5%;
    animation-delay: 3s;
}

.shape-6 {
    width: 110px;
    height: 110px;
    bottom: 20%;
    right: 5%;
    animation-delay: 1.5s;
}

/* Enhanced Hero Hours Card */
.operating-hours .hours-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(139, 90, 90, 0.2);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 30px rgba(139, 90, 90, 0.15);
    transition: all 0.3s ease;
}

.operating-hours .hours-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 90, 90, 0.25);
    border-color: var(--primary-color);
}

.operating-hours .hours-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: pulse-clock 2s ease-in-out infinite;
}

@keyframes pulse-clock {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.operating-hours .hours-title {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.operating-hours .hours-time {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* ========================================
   MINIMAL APPLY BANNER - Professional & Modern
   ======================================== */

.apply-section {
    padding: 60px 0;
    background: linear-gradient(135deg, 
        var(--cream) 0%, 
        var(--secondary-light) 100%
    );
}

.apply-banner {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 100%
    );
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(139, 90, 90, 0.12);
    border: 2px solid rgba(139, 90, 90, 0.08);
    transition: all 0.4s ease;
}

.apply-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(139, 90, 90, 0.18);
    border-color: var(--primary-light);
}

.apply-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.apply-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.apply-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(139, 90, 90, 0.25);
}

.apply-icon i {
    font-size: 2rem;
    color: white;
}

.apply-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    line-height: 1.3;
}

.apply-description {
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
}

.apply-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.apply-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.apply-btn:hover::before {
    width: 200px;
    height: 200px;
}

.apply-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.apply-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 90, 0.3);
}

.apply-btn.secondary {
    background: linear-gradient(135deg, #06C755, #00B900);
    color: white;
}

.apply-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.3);
}

.apply-btn i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.apply-btn span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

/* Responsive Apply Banner */
@media (max-width: 992px) {
    .apply-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .apply-text {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .apply-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .apply-btn {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .apply-section {
        padding: 40px 0;
    }
    
    .apply-banner {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .apply-content-wrapper {
        gap: 1.5rem;
    }
    
    .apply-title {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .apply-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .apply-icon {
        width: 60px;
        height: 60px;
    }
    
    .apply-icon i {
        font-size: 1.6rem;
    }
    
    .apply-actions {
        gap: 0.8rem;
    }
    
    .apply-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .apply-section {
        padding: 30px 0;
    }
    
    .apply-banner {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .apply-content-wrapper {
        gap: 1.2rem;
    }
    
    .apply-text {
        gap: 0.8rem;
    }
    
    .apply-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .apply-icon i {
        font-size: 1.4rem;
    }
    
    .apply-title {
        font-size: 1.3rem;
    }
    
    .apply-description {
        font-size: 0.9rem;
    }
    
    .apply-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .apply-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .apply-banner {
        padding: 1.2rem 0.8rem;
    }
    
    .apply-title {
        font-size: 1.15rem;
    }
    
    .apply-description {
        font-size: 0.85rem;
    }
    
    .apply-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .apply-btn i {
        font-size: 1.1rem;
    }
}
