:root {
    --primary-color: #1e40af;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --text-color: #334155;
    --text-dark: #0f172a;
    --bg-light: #f8fafc;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --card-hover-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

/* Top Notification Bar */
.top-bar {
    background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 100%);
    font-size: 0.85rem;
}

/* Navbar */
.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-size: 1.15rem;
    color: #1e3a8a;
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 0.75rem;
    font-family: 'Outfit', sans-serif;
}

.navbar .nav-link {
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #1e40af;
    background-color: #eff6ff;
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 50%, #fafaf9 100%);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #1e40af;
    font-weight: 600;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.25);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

.hero-floating-card {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-left: 5px solid #2563eb;
}

/* Feature Cards & Quote */
.quote-box {
    background: linear-gradient(to right, #f8fafc, #eff6ff);
    border-left: 6px solid #2563eb;
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: var(--card-shadow);
}

.philosophy-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--card-shadow);
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: #bfdbfe;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* Blog Cards */
.blog-card {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: #93c5fd;
}

.blog-card-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.2s;
    line-height: 1.4;
}

.blog-card:hover .blog-card-title {
    color: #1d4ed8;
}

/* Page Header Banner */
.page-header-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #3b82f6 100%);
    color: #ffffff;
    padding: 3.5rem 0;
    text-align: center;
}

.page-header-banner h1 {
    color: #ffffff;
    font-weight: 800;
    font-size: 2.25rem;
}

/* Social Buttons */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.2s;
    text-decoration: none;
}

.social-btn.facebook { background: #1877f2; }
.social-btn.line { background: #06c755; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
    opacity: 0.9;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.hover-white:hover {
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-image-wrapper {
        margin-top: 2rem;
    }
}

