/* Global Styles */
body {
    font-family: 'Noto Sans TC', 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #0d6efd !important; /* Bootstrap Primary Color */
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero-section {
    height: 80vh;
    min-height: 500px;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Cards */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Table */
.table th {
    background-color: #212529;
    color: #fff;
    text-align: center;
}

.table td {
    text-align: center;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Case Studies */
.object-fit-cover {
    object-fit: cover;
}

/* Footer */
footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.badge {
    font-weight: 400;
    font-size: 0.85rem;
    padding: 0.5em 0.8em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}
