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

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Navigation */
.header {
    background: linear-gradient(90deg, #9BAFD9 0%, #B8C5E0 25%, #ffffff 50%, #B8C5E0 75%, #9BAFD9 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.nav-link {
    color: #2C3E50;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a3a52 0%, #2d5670 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(180deg, #C5D4E8 0%, #E8EEF5 100%);
    padding: 60px 20px;
    text-align: center;
}

.main-title {
    font-size: 42px;
    font-weight: 900;
    color: #1a3a52;
    line-height: 1.3;
    animation: fadeInDown 0.8s ease-out;
}

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

/* About Content Section */
.about-content {
    padding: 80px 20px;
    background: #ffffff;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

.intro-text {
    color: #2d5670;
    font-size: 17px;
}

.service-text {
    color: #444;
}

.promise-text {
    color: #1a8b7e;
    font-size: 17px;
    font-weight: 500;
    padding: 25px;
    background: linear-gradient(135deg, rgba(155, 175, 217, 0.1) 0%, rgba(184, 197, 224, 0.1) 100%);
    border-left: 4px solid #1a8b7e;
    border-radius: 8px;
}

.promise-text strong {
    font-weight: 700;
}

/* Features Section */
.features-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a3a52;
}

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

/* Locations Section */
.locations-section {
    padding: 80px 20px;
    background: #ffffff;
}

.location-card {
    max-width: 900px;
    margin: 0 auto 50px auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
}

.location-card.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.location-header {
    background: linear-gradient(135deg, #9BAFD9 0%, #B8C5E0 100%);
    padding: 20px 30px;
}

.location-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.location-map {
    background: #E8EEF5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.location-map img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.location-info {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* More Locations Section */
.more-locations {
    padding: 40px 20px;
    background: linear-gradient(135deg, #9BAFD9 0%, #B8C5E0 100%);
}

.more-locations-bar {
    text-align: center;
    padding: 20px;
}

.more-locations-bar p {
    font-size: 20px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a3a52 0%, #2d5670 100%);
    color: white;
    padding: 50px 20px 30px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

.footer-logo h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 16px;
    color: #B8C5E0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #B8C5E0;
}

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

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

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #9BAFD9;
}

.footer-social {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 0 auto;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    line-height: 40px;
    text-align: center;
    margin: 0 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .logo {
        grid-column: 1 / -1;
        justify-self: center;
        margin-bottom: 8px;
    }
    
    .nav-link {
        padding: 10px 20px;
        font-size: 14px;
        text-align: center;
    }
    
    /* Hero */
    .about-hero {
        padding: 40px 15px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    /* Content */
    .about-content {
        padding: 50px 15px;
    }
    
    .about-text p {
        font-size: 15px;
        text-align: left;
    }
    
    /* Features */
    .features-section {
        padding: 40px 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Locations */
    .locations-section {
        padding: 50px 15px;
    }
    
    .location-header {
        padding: 15px 20px;
    }
    
    .location-header h2 {
        font-size: 20px;
        text-align: center;
    }
    
    .location-info {
        padding: 30px 20px;
    }
    
    /* More Locations */
    .more-locations-bar p {
        font-size: 18px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column {
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Navigation - Horizontal scroll */
    .nav-items {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
    }
    
    .nav-items::-webkit-scrollbar {
        display: none;
    }
    
    .logo {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
        margin: 0;
    }
    
    .logo img {
        width: 38px;
        height: 38px;
    }
    
    .nav-link {
        padding: 8px 16px;
        font-size: 13px;
        flex-shrink: 0;
        width: auto;
    }
    
    /* Hero */
    .main-title {
        font-size: 24px;
    }
    
    /* Content */
    .about-text p {
        font-size: 14px;
    }
    
    .promise-text {
        padding: 20px;
        font-size: 15px;
    }
    
    /* Features */
    .feature-card {
        padding: 30px 15px;
    }
    
    .feature-icon {
        width: 100px;
        height: 100px;
    }
    
    .feature-card h3 {
        font-size: 16px;
    }
    
    /* Locations */
    .location-header h2 {
        font-size: 18px;
    }
    
    .location-map {
        padding: 20px;
    }
    
    .location-info {
        padding: 25px 15px;
        gap: 20px;
    }
    
    .info-icon {
        font-size: 20px;
    }
    
    .info-text {
        font-size: 14px;
    }
    
    /* More Locations */
    .more-locations-bar p {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .main-title {
        font-size: 22px;
    }
    
    .about-text p {
        font-size: 13px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
}