/* Custom Styles */
body {
    padding-top: 56px; /* Adjust body padding to account for fixed navbar */
}

.hero-section {
    position: relative;
    height: 60vh; /* 60% of the viewport height */
    /* background: url('https://picsum.photos/seed/hero/1920/1080') no-repeat center center; */
    background: url('../images/hero/hero.jpg') no-repeat center center;
    background-size: cover;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Timeline styles for About page */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px;
    margin-bottom: 20px;
}

/* 
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 20px;
    text-align: right;
} 
*/

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 20px;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #0d6efd;
    border: 3px solid #fff;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -8px;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-content {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: .25rem;
}

/* Product card styles */
.product-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Featurette styles for Products page */
.featurette-divider {
    margin: 5rem 0; /* Space out the featurettes */
}

.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

.card-text {
    /*文字左对齐*/
    text-align: left;
}