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

/* Force remove browser default link styles */
a, a:link, a:visited, a:hover, a:active {
    text-decoration: none !important;
    color: inherit !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 65px;
    width: auto;
    object-fit: contain;
}



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

.nav a {
    text-decoration: none !important;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Remove underlines from all links */
a {
    text-decoration: none !important;
    color: inherit !important;
}

/* Specific navigation link styling */
.nav a,
.nav a:link,
.nav a:visited,
.nav a:hover,
.nav a:active {
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #5CB3B3 !important;
}

/* Language switcher styling */
.language-option,
.language-option:link,
.language-option:visited,
.language-option:hover,
.language-option:active {
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 500;
}

.language-option:hover {
    color: #5CB3B3 !important;
}

.nav a:hover {
    color: #5CB3B3;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #5CB3B3;
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 0;
}

.mobile-menu-content a {
    display: block;
    padding: 1rem 2rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.mobile-menu-content a:hover {
    background: #f8f9fa;
    color: #5CB3B3;
}

.mobile-menu-content a:last-child {
    border-bottom: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-menu-content a {
    display: block;
    padding: 1rem 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.mobile-menu-content a:hover {
    background: #f8f9fa;
    color: #5CB3B3;
    padding-left: 30px;
}

.mobile-menu-content a:last-child {
    border-bottom: none;
}



/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    background: transparent;
    border: 2px solid #5CB3B3;
    color: #5CB3B3;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 120px;
    text-align: center;
}

.language-toggle:hover {
    background: #5CB3B3;
    color: white;
}

.language-toggle .fas.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-toggle.active .fas.fa-chevron-down {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid #5CB3B3;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 120px;
}

.language-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: #333 !important;
    padding: 0.7rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none !important;
    min-width: 80px;
}

.language-option:hover {
    background: #f8f9fa;
    color: #5CB3B3 !important;
    transform: translateX(3px);
}

.language-option.active {
    background: #5CB3B3;
    color: white !important;
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

/* Remove duplicate - styles defined above */

/* Phone number link styling */
.phone-number a,
.footer-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number a:hover,
.footer-info a:hover {
    color: #5CB3B3;
    text-decoration: underline;
}



/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff 0%, #E0F2F1 100%);
    padding: 120px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    color: #5CB3B3;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-image-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border: 3px solid #5CB3B3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    overflow: hidden;
    padding: 20px;
}

.hero-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    object-position: center;
}

.cta-button {
    background: #5CB3B3;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: #4A9F9F;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #5CB3B3;
    margin: 10px auto;
}

/* Doctor Section */
.doctor-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.doctor-card {
    display: flex;
    gap: 3rem;
    align-items: flex-end;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.doctor-image {
    width: 280px;
    height: 380px;
    border-radius: 20px;
    border: 4px solid #5CB3B3;
    flex-shrink: 0;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.doctor-info h3 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.credential-placeholder {
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.credential-placeholder h4 {
    color: #5CB3B3;
    margin-bottom: 0.5rem;
}

.credential-placeholder ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credential-placeholder li {
    padding: 0.3rem 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-placeholder {
    background: #E0F2F1;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #5CB3B3;
}

.doctor-message h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #E0F2F1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #5CB3B3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem auto;
}

.service-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    text-align: center;
}

.service-description {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E0F2F1;
    text-align: center;
    flex: 1;
}

.service-description p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.before-after-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: end;
    margin-top: 1.5rem;
}

.before-section, .after-section {
    text-align: center;
}

.before-section h4, .after-section h4 {
    color: #5CB3B3;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.image-placeholder {
    width: 100%;
    height: 120px;
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
}

.image-placeholder i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.image-placeholder p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.treatment-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #E0F2F1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile responsiveness for service cards */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .image-placeholder {
        height: 100px;
    }





    color: #999;
    
    .treatment-image {
        height: 120px;
    }
}

/* Loading Screen Styles */
.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

/* Hours Section */
.hours-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.hours-table {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hours-row {
    display: flex;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.holiday {
    background: #ffebee;
}

.day {
    flex: 1;
    font-weight: bold;
    color: #333;
}

.time {
    flex: 1;
    color: #666;
    text-align: right;
}

.lunch-break {
    background: #E0F2F1;
    padding: 1rem 1.5rem;
    text-align: center;
    color: #333;
    font-weight: 500;
}

.lunch-break i {
    color: #5CB3B3;
    margin-right: 0.5rem;
}

/* Location Section */
.location-section {
    padding: 100px 0;
}

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

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #5CB3B3;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.location-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}



.address-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.address {
    font-size: 1.2rem;
    color: #5CB3B3;
    font-weight: bold;
    margin-bottom: 2rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 10px;
}

.detail-item i {
    color: #5CB3B3;
    font-size: 1.2rem;
}

/* Appointment Section */
.appointment-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #5CB3B3 0%, #4A9F9F 100%);
    color: white;
    text-align: center;
}

.appointment-section .section-title {
    color: white;
}

.appointment-section .section-title::after {
    background: white;
}

.phone-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.phone-number:hover {
    color: #E0F2F1;
    transform: scale(1.05);
}

.phone-number span {
    color: inherit;
    text-decoration: none;
}

.phone-number i {
    margin-right: 1rem;
}

.appointment-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.call-button {
    background: white;
    color: #5CB3B3;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.call-button:hover {
    transform: translateY(-2px);
}

.appointment-hours {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.appointment-hours h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.appointment-hours p {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-info h3 {
    color: #5CB3B3;
    margin-bottom: 1rem;
}

.footer-hours h4 {
    color: #5CB3B3;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #999;
}

/* RTL Support for Arabic */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .header .container {
    flex-direction: row-reverse;
}

.rtl .nav ul {
    flex-direction: row-reverse;
}

.rtl .language-switcher {
    flex-direction: row-reverse;
}

.rtl .doctor-card {
    flex-direction: row-reverse;
}

.rtl .location-content {
    direction: rtl;
}

.rtl .footer-content {
    direction: rtl;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .language-toggle {
        min-width: 100px;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 60px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .hero-logo img {
        width: 80px;
        height: 80px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .doctor-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    /* RTL mobile support for Arabic */
    .rtl .doctor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .rtl .doctor-info {
        text-align: center;
    }
    
    .rtl .credential-placeholder,
    .rtl .message-placeholder {
        text-align: right;
        direction: rtl;
    }
    
    .rtl .doctor-info h3 {
        text-align: center;
        direction: rtl;
    }
    
    .rtl .doctor-message h4,
    .rtl .credential-placeholder h4 {
        text-align: right;
        direction: rtl;
    }
    
    .doctor-image {
        width: 200px;
        height: 240px;
        margin: 0 auto;
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .phone-number {
        font-size: 2rem;
    }
    
    .before-after {
        flex-direction: column;
    }
    
    .hours-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .time {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-links a {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .doctor-card {
        padding: 1.5rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
    
    /* Language switcher mobile optimization */
    .language-toggle {
        min-width: 70px;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .language-menu {
        min-width: 100px;
        right: 0;
        left: auto;
    }
    
    .language-option {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .language-option:hover {
        transform: none;
        background: #f0f8ff;
    }
    
    /* Mobile menu improvements */
    .mobile-menu {
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #eee;
        padding: 1rem 0;
    }
    
    .mobile-menu-content a {
        display: block;
        padding: 0.8rem 1rem;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .mobile-menu-content a:hover {
        background: #f8f9fa;
        color: #5CB3B3;
    }
    
    /* Services responsive improvements */
    .before-after-section {
        flex-direction: column;
    }
    
    .before-section,
    .after-section {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .treatment-image img {
        max-width: 100%;
        height: auto;
    }
    
    /* Doctor section mobile */
    .doctor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .doctor-image {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .doctor-info {
        order: 2;
    }
    
    /* Hours table mobile */
    .hours-table {
        overflow-x: auto;
    }
    
    .hours-row {
        min-height: 60px;
        align-items: center;
    }
    
    .day {
        font-size: 0.9rem;
    }
    
    .time {
        font-size: 0.9rem;
    }
}

/* Animation Classes - Removed for static display */

/* Tablet responsive design */
@media (max-width: 1024px) and (min-width: 769px) {
    .language-toggle {
        min-width: 75px;
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .language-menu {
        min-width: 90px;
    }
    
    .language-option {
        padding: 0.65rem 0.9rem;
        font-size: 0.87rem;
    }
}


