/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Old Standard TT', serif;
    line-height: 1.6;
    color: #333;
    background-color: #F1F1F1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 150px; /* Adjusted for even taller navbar */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%; /* Adjusted padding */
    background-color: #F1F1F1;
   /* border-bottom: 2px solid #111; */ /* Original border, kept commented */
   height: 150px; /* Increased navbar height further */
}

/* Logo Styling */
.logo-container .navbar-logo, 
.logo-container-desktop-center .navbar-logo-desktop {
    width: 150px; /* Slightly larger width */
    height: auto;
    max-height: 150px; /* Allow logo to be slightly taller */
    display: block;
    object-fit: contain;
    cursor: pointer;
}

/* Desktop: Centered logo, hidden mobile logo container */
.logo-container { 
    display: none; /* Hidden on desktop by default, shown on mobile */
}
.logo-container-desktop-center {
    display: block; /* Shown on desktop for centered logo */
    margin: 0 auto; /* Helps in centering if flex space is uneven */
    flex-shrink: 0; /* Prevent shrinking */
}

/* Main Navigation Links Wrapper */
.main-nav-links {
    display: flex;
    justify-content: space-between; /* This will layout nav-left, desktop-logo, nav-right */
    align-items: center;
    width: 100%; /* Takes full width to allow space-between for L-C-R */
}

.nav-left, .nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center; /* Vertically align items in nav sections */
}

.nav-btn {
    padding: 0.2rem 0.8rem;
    font-size: 1.25rem;
    font-family: 'Old Standard TT', serif;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    color: #222;
    white-space: nowrap; /* Prevent buttons from wrapping */
}

.nav-btn:hover {
    color: #111;
    transform: scale(1.25);
}

/* Styles for Services Dropdown (Desktop) */
.services-dropdown {
    position: relative;
    display: inline-block;
}

.services-dropdown .services-main-btn { /* Target the specific button */
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    width: 25px;
    height: auto;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 350px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    left: 0;
}

.dropdown-content a {
    color: #111;
    padding: 1rem 1.8rem;
    text-decoration: none;
    display: block;
    font-family: 'Old Standard TT', serif;
    font-size: 1.2rem;
    white-space: normal;
    line-height: 1.3;
}

.dropdown-content a:hover {
    background-color: #e8e8e8;
}

.services-dropdown.open .dropdown-content {
    display: block;
}

.services-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Menu Toggle Button - Hidden on Desktop */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001; /* Above navbar content if needed */
}

.mobile-menu-toggle .hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Ensure old logo styles are adapted or removed if redundant */
.logo img { /* This was the old generic logo style */
    /* width: 130px; */ /* Now use .navbar-logo or .navbar-logo-desktop */
    height: auto;
    display: block;
    /* margin: -0.5rem auto; */ /* Desktop center logo handles its own margin */
    object-fit: contain;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin: 1rem 0 3rem 0;
    font-weight: 700;
}

/* Divider */
.divider {
    border: none;
    height: 2px;
    background-color: #111;
    margin: 1rem 0 1rem 0;
}

/* Intro Section */
.intro {
    padding: 4.5rem 0 3rem;
    background-color: #F1F1F1;
    margin: 0;
}

.intro-content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.intro-left {
    flex: 1.5;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-title, .intro-desc {
    font-weight: bold;
}

.intro-title {
    font-size: 2.5rem;
    font-family: 'Old Standard TT', serif;
    margin-bottom: 1.2rem;
}

.intro-desc {
    font-size: 1.3rem;
    font-family: 'Old Standard TT', serif;
    color: #222;
    margin-bottom: 2.2rem;
    font-weight: bold;
}

.intro-middle {
    flex: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-with {
    font-size: 1.5rem;
    font-family: 'Old Standard TT', serif;
    font-weight: bold;
    margin: 0;
}

.intro-right {
    flex: 1.5;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-right ul {
    list-style: none;
    padding-left: 0;
}

.intro-right li {
    margin-bottom: 0.7rem;
    font-size: 1.15rem;
    font-family: 'Old Standard TT', serif;
    font-weight: bold;
    color: #222;
}

.intro-right li:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 1rem 5%;
    background-color: #F1F1F1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Add more space below the last 3 circles */
.feature-item:nth-last-child(-n+3) {
    margin-bottom: 3.5rem;
}

.circle {
    width: 350px;
    height: 350px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Unique irregular shapes for each circle */
#circle1 {
    border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%;
}
#circle2 {
    border-radius: 65% 35% 55% 45% / 40% 50% 60% 50%;
}
#circle3 {
    border-radius: 30% 70% 40% 60% / 60% 50% 50% 40%;
}
#circle4 {
    border-radius: 50% 50% 35% 65% / 55% 45% 60% 40%;
}
#circle5 {
    border-radius: 60% 40% 70% 30% / 50% 65% 35% 50%;
}
#circle6 {
    border-radius: 45% 55% 40% 60% / 60% 50% 65% 35%;
}

.circle:hover {
    transform: scale(1.3);
}

.circle h3 {
    font-size: 1.4rem;
    font-family: 'Old Standard TT', serif;
    color: #111;
    margin-bottom: 1rem;
}

.circle p {
    color: #111;
    font-size: 0.95rem;
    font-family: 'Old Standard TT', serif;
}

.learn-more {
    display: inline-block;
    padding-top: 0.8rem;
    padding-bottom: 0.3rem;
    color: #111;
    font-weight: 500;
    font-family: 'Old Standard TT', serif;
    font-size: 1.25rem;
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    text-decoration: none;
    border-radius: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.learn-more:hover {
    color: #111;
    text-decoration: none;
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    transform: scale(1.5);
}

/* Footer Styles */
.footer {
    background-color: #F1F1F1; /* Updated background color */
    color: #333;
    padding: 50px 20px;
    text-align: left;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section h3 {
    font-family: 'Old Standard TT', serif;
    font-size: 22px;
    margin-bottom: 15px;
    color: #111;
}

.footer-section h4 {
    font-family: 'Old Standard TT', serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    color: #111;
}

.footer-section p,
.footer-section .business-hours p {
    font-family: 'Old Standard TT', serif;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #555;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    font-family: 'Old Standard TT', serif;
    text-decoration: none;
    color: #555;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #111;
    text-decoration: underline;
}

.footer-subheader {
    font-family: 'Old Standard TT', serif;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.footer-links-sub {
    list-style: none;
    padding-left: 20px; /* Indent sub-items */
    margin-top: 8px;
}

.footer-links-sub li {
    margin-bottom: 8px;
}

.footer-links-sub li a {
    font-size: 14px; /* Slightly smaller for sub-items */
    font-weight: normal;
}

.business-hours {
    margin-top: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link img {
    width: 28px; /* Adjusted size */
    height: 28px; /* Adjusted size */
    transition: opacity 0.3s ease;
}

.social-link:hover img {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #777;
    font-family: 'Old Standard TT', serif;
}

.footer-bottom p {
    margin: 0;
    color: #777; /* Ensure p inside footer-bottom also has this color */
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center; /* Center text for smaller screens */
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Media Query for Mobile Navbar */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Match navbar height */
    }

    .navbar {
        padding: 0 1rem; /* Adjust padding for mobile */
    }

    .logo-container {
        display: block; /* Show the primary logo on the left */
        margin-right: auto; /* Pushes menu toggle to the right */
    }
    .logo-container .navbar-logo {
        width: 100px; /* Adjust size for mobile - review if this is still desired with taller navbar */
    }

    .logo-container-desktop-center {
        display: none; /* Hide desktop's centered logo */
    }

    .mobile-menu-toggle {
        display: block; /* Show hamburger */
    }

    .main-nav-links {
        display: none; /* Hide link container by default */
        flex-direction: column;
        position: absolute;
        top: 150px; /* Position below even taller navbar */
        left: 0;
        width: 100%;
        background-color: #F1F1F1;
        box-shadow: 0 3px 5px rgba(0,0,0,0.1);
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .main-nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-left, .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 0; /* Reset gap, use padding/margin on items */
        align-items: stretch; /* Make items full width */
    }
    
    .main-nav-links .nav-left { order: 1; }
    .main-nav-links .nav-right { order: 2; }


    .nav-btn {
        width: 100%;
        text-align: left;
        padding: 1rem 1.5rem; /* Standard padding for mobile list items */
        border-bottom: 1px solid #e0e0e0;
        font-size: 1.15rem; /* Slightly adjust font for mobile list */
        transform: none !important; /* Disable hover scale on mobile buttons */
    }
    .nav-btn:last-child {
        border-bottom: none;
    }
    .nav-btn:hover {
        background-color: #e9e9e9; /* Simple hover for mobile list */
        color: #111;
    }
    
    /* Services Dropdown in Mobile */
    .services-dropdown {
        width: 100%;
        display: flex; /* Allow button and content to stack */
        flex-direction: column;
    }
    .services-dropdown .services-main-btn {
        /* Already styled by .nav-btn */
        /* justify-content: space-between; */ /* If arrow needs to be far right */
    }
    .services-dropdown .dropdown-arrow {
        /* Position relative to button if needed, or ensure it's visible */
    }
    .services-dropdown .dropdown-content {
        position: static; /* Un-absolute it for mobile flow */
        box-shadow: none;
        border-top: 1px solid #e0e0e0; /* Separator */
        min-width: 100%;
        margin-top: 0;
        border-radius: 0;
        background-color: #fafafa; /* Slightly different bg for nested dropdown */
    }
    .services-dropdown .dropdown-content a {
        padding: 0.8rem 2.5rem; /* Indent service links */
        font-size: 1.1rem;
        border-bottom: 1px solid #e0e0e0;
    }
     .services-dropdown .dropdown-content a:last-child {
        border-bottom: none;
    }

    /* Adjustments for other sections if needed for mobile */
    .intro-content {
        flex-direction: column;
        padding: 2rem 1rem; /* Adjust padding on mobile */
        gap: 1.5rem;
    }
    .intro-left, .intro-right, .intro-middle {
        text-align: center;
        flex: 1;
    }
    .intro-right ul {
        padding-left: 0;
        text-align: center;
    }
     .intro-right li {
        text-align: center;
    }


    .feature-grid {
        grid-template-columns: 1fr; /* Stack features on mobile */
        gap: 2rem;
        padding: 0 1rem;
    }
    .circle {
        width: 100%; /* Make circles responsive */
        max-width: 300px; /* Max size for circles */
        height: auto;
        min-height: 280px; /* Ensure some height */
        padding: 1rem;
    }
     .feature-item:nth-last-child(-n+3) { /* Remove extra bottom margin if stacked */
        margin-bottom: 0;
    }


    /* Existing media queries might need to be checked for conflicts or merged */
    /* @media (max-width: 1024px) { ... } */
    /* @media (max-width: 768px) from before - some rules are now covered above */
    /* @media (max-width: 480px) { ... } */

}

/* Ensure the general responsive rules from before are checked */
/* For example, the ones that were inside @media (max-width: 768px) for .navbar, .nav-left, .nav-right, etc. */
/* Most are superseded or integrated above. */

/* @media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .intro-content {
        flex-direction: column;
        gap: 2rem;
    }
    .intro-left, .intro-right {
        text-align: center;
    }
} */
/* Above 1024px block can be kept if it's for tablet landscape. My 768px rules are for portrait tablet / large phones */

/* Cleanup of very small screen specific styles if they conflict */
/* @media (max-width: 480px) {
    .nav-btn {
        font-size: 1rem; 
        padding: 0.2rem 0.4rem;
    }
    .intro-title {
        font-size: 2rem;
    }
    .intro-text, .intro-right li {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
} */
/* The .nav-btn for 480px will be overridden by the 768px block's mobile styles. This is fine. */

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0rem 0 2rem 0;
}
.video-container iframe {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16/9;
    border: none;
}

.learn-section {
    background: #F1F1F1;
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
    display: inline-block; /* Or flex if you prefer for alignment with other nav items */
}

.language-btn-js {
    /* Style like other nav-btns if not already covered */
    cursor: pointer;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100px; /* Adjust as needed */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001; /* Ensure it's above other content */
    right: 0; /* Align to the right of the button */
    border-radius: 4px; /* Optional: for rounded corners */
}

.language-dropdown-content a {
    color: black;
    padding: 10px 12px; /* Adjust padding */
    text-decoration: none;
    display: block;
    font-size: 0.9rem; /* Adjust font size */
    white-space: nowrap; /* Prevent text wrapping */
}

.language-dropdown-content a:hover {
    background-color: #ddd;
}

/* Ensure the dropdown arrow in the language button behaves like other dropdown arrows */
.language-btn-js .dropdown-arrow {
    margin-left: 5px; /* Adjust as needed */
    width: 10px; /* Example size, match other arrows */
    height: auto;
    transition: transform 0.3s ease;
}

/* Optional: Style for when language dropdown is open, if needed for arrow rotation */
.language-dropdown.open .language-btn-js .dropdown-arrow {
    transform: rotate(180deg);
}


/* Adjustments for mobile if necessary */
@media (max-width: 700px) { /* This breakpoint should match your existing mobile styles breakpoint */
    .main-nav-links.active .language-dropdown {
        display: block; /* Ensure it's displayed in mobile menu */
        width: 100%; /* Make it full width if nav items are block level in mobile */
        margin-top: 5px; /* Add some space */
    }

    .main-nav-links.active .language-btn-js {
        width: 100%;
        text-align: left; /* Align text to the left like other mobile menu items */
        padding: 10px 15px; /* Match padding of other mobile nav items */
        justify-content: space-between; /* Pushes arrow to the right */
    }

    .main-nav-links.active .language-dropdown-content {
        position: static; /* Change position for mobile flow */
        box-shadow: none;
        border-top: 1px solid #eee; /* Optional separator */
        width: 100%;
    }

    .main-nav-links.active .language-dropdown-content a {
        padding: 0.5rem 0;
        display: block;
    }
}

/* Font override for Traditional Chinese content */
body.lang-zh-font * {
    font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    font-weight: 300 !important; /* Light weight for Source Han Serif / Noto Serif TC */
}

/* Specific elements that might need their own font or weight if they are icons or special text */
/* For example, if you had icon fonts, you'd exclude them: */
/* body.lang-zh-font [class^="icon-"]:before, body.lang-zh-font [class*=" icon-"]:before { font-family: 'your-icon-font' !important; font-weight: normal !important; } */

/* Ensure <strong> and <b> tags also use the light weight in Chinese versions */
body.lang-zh-font strong,
body.lang-zh-font b {
    font-family: inherit !important; /* Inherit Noto Serif TC */
    font-weight: 300 !important; /* Override browser default bold */
}

/* Remove the highly specific Noto Serif TC overrides as body.lang-zh-font * should cover them */
/*
body.lang-zh-font .intro-title,
body.lang-zh-font .intro-desc,
body.lang-zh-font .intro-with,
body.lang-zh-font .intro-right li,
body.lang-zh-font .circle h3,
body.lang-zh-font .learn-more,
body.lang-zh-font .nav-btn, 
body.lang-zh-font .section-title,
body.lang-zh-font .contact-info h3,
body.lang-zh-font .contact-info p,
body.lang-zh-font .incorp-title, 
body.lang-zh-font .incorp-desc p, 
body.lang-zh-font .faq-title, 
body.lang-zh-font .faq-answer p, 
body.lang-zh-font .keyword-filter
{
    font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", 'Old Standard TT', serif; 
    font-weight: 300; 
}
*/

/* Call-to-Action Section */
.cta-section {
    background-color: #F1F1F1;
    color: #333;
    padding: 4rem 0;
    margin: 3rem 0 0 0;
}

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

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Old Standard TT', serif;
    color: #333;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.consultation-dropdown {
    position: relative;
    display: inline-block;
}

.consultation-btn {
    font-family: 'Old Standard TT', serif;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    background-color: #111; /* Changed from #007bff */
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-btn:hover {
    background-color: #333; /* Darker shade for hover when base is #111 */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.consultation-options {
    display: none; /* Initially hidden */
    position: absolute;
    background-color: #fff; /* Or your desired background */
    min-width: 220px; /* Adjust as needed */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001; /* Ensure it's above other elements */
    border-radius: 4px;
    padding: 0.5rem 0;
    /* Styles to position it correctly under the button */
    left: 50%;
    transform: translateX(-50%);
    /* bottom: 100%; */ /* If you want it to pop up above */
}

.consultation-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: 'Old Standard TT', serif;
    font-size: 16px;
}

.consultation-option img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.consultation-option:hover {
    background-color: #f5f5f5;
}

.consultation-option:hover img {
    transform: scale(1.1);
}

.consultation-option:hover img {
    filter: brightness(0.9);
}

.consultation-dropdown:hover .consultation-options {
    display: block;
}

.whatsapp-option {
    color: #25D366;
}

.whatsapp-option:hover {
    background-color: rgba(37, 211, 102, 0.1);
}

.email-option {
    color: #96383D;
}

.email-option:hover {
    background-color: rgba(150, 56, 61, 0.1);
}

.wechat-option {
    color: #0e932e;
}

.wechat-option:hover {
    background-color: rgba(14, 147, 46, 0.1);
}

/* WeChat QR Code Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    text-align: center;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.qr-code {
    max-width: 300px;
    margin: 20px auto;
}

.save-qr-btn {
    background-color: #0e932e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Old Standard TT', serif;
    transition: background-color 0.3s ease;
}

.save-qr-btn:hover {
    background-color: #0b7a26;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .consultation-options {
        width: 100%;
        max-width: 300px;
    }
    
    .consultation-option {
        padding: 16px;
        font-size: 15px;
    }
    
    .consultation-option img {
        width: 20px;
        height: 20px;
    }
}

/* Enhanced Footer */
.footer {
    background-color: #F1F1F1;
    color: #333;
    padding: 3rem 0 1rem 0;
    margin-top: 0;
    border-top: 2px solid #111;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Old Standard TT', serif;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.business-hours {
    margin-top: 1.5rem;
}

.business-hours h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.business-hours p {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #333;
    text-decoration: underline;
}

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

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link img {
    width: 20px;
    height: 20px;
}

.social-link.whatsapp:hover {
    background-color: #25D366;
}

.social-link.email:hover {
    background-color: #EA4335;
}

.social-link.wechat:hover {
    background-color: #09B83E;
}

.social-link.xiaohongshu:hover {
    background-color: #FF2442;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Chinese Font Support for Footer - simplify as body.lang-zh-font * handles most cases */
body.lang-zh-font .footer-section h3,
body.lang-zh-font .footer-section h4,
body.lang-zh-font .footer-links a
/* body.lang-zh-font .contact-info, (contact-info class was removed) */
/* body.lang-zh-font .cta-content h2, (covered by body.lang-zh-font *) */
/* body.lang-zh-font .cta-content p, (covered by body.lang-zh-font *) */
/* body.lang-zh-font .consultation-option, (covered by body.lang-zh-font *) */
/* body.lang-zh-font .modal-content h3, (covered by body.lang-zh-font *) */
/* body.lang-zh-font .save-qr-btn (covered by body.lang-zh-font *) */
{
    font-family: inherit !important; /* Inherit Noto Serif TC set by body.lang-zh-font * */
    font-weight: 300 !important; /* Ensure light weight */
}

/* Ensure headings in footer for Chinese are not overly bolded by browser/base styles */
body.lang-zh-font .footer-section h3,
body.lang-zh-font .footer-section h4 {
    font-weight: 300 !important; /* Keep them light, same as other text */
}

/* Mobile Responsive Styles for New Sections */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 150px;
    }
    
    .consultation-options {
        position: static;
        transform: none;
        margin-top: 1rem;
        box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.1);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .modal-content {
        margin: 25% auto;
        padding: 1.5rem;
    }
    
    .qr-code {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        margin-top: 2rem;
    }
    
    .cta-btn {
        width: 200px;
    }
    
    .consultation-options {
        width: 200px;
        left: 0;
        transform: none;
    }
} 