
/* 安全區塊樣式 */
section[class^="safety-section"] {
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.safety-section-1 {
    background-image: url('../img/AboutUs1.jpg');
}

.safety-section-2 {
    background-image: url('../img/AboutUs2.jpg');
}

.safety-section-3 {
    background-image: url('../img/AboutUs3.jpg');
}

section[class^="safety-section"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.safety-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    letter-spacing: 2.0px;
}

.safety-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #e87722;
}

.safety-content p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.safety-content blockquote {
    font-style: italic;
    color: #ddd;
    margin-top: 10px;
    font-size: 16px;
}

.safety-content a {
    color: #ffd700;
    text-decoration: underline;
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
