/************************************* 通用 *************************************/

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a3c6e;
}

#contact {
    scroll-margin-top: 80px;
}


/************************************* Banner *************************************/

.banner {
    position: relative;
    padding-top: 60px;
    margin-bottom: 0px;
}


/************************************* 什麼是B型企業 *************************************/

.bcorp-intro {
    padding: 70px 0 50px;
    background: #f8fafd;
}

.bcorp-intro p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444;
}

.bcorp-intro-text {
    font-size: 20px;
}

@media (max-width: 767.98px) {
    .bcorp-intro-text {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
}

.bcorp-stat-box {
    background: #f4f8ff;
    border-left: 4px solid #2d6a9f;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.bcorp-stat-box .stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: #2d6a9f;
}

.bcorp-stat-box .stat-label {
    font-size: 0.95rem;
    color: #666;
}

.pillars-section {
    background: #f8fafd;
    padding: 60px 0;
}

.pillar-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    height: 100%;
}

.pillar-card .pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.pillar-card h5 {
    font-weight: 700;
    color: #1a3c6e;
    margin-bottom: 12px;
}

.pillar-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}


/************************************* 台灣第四家B型企業：嘉威 *************************************/

.jw-bcorp-section {
    padding: 70px 0 50px;
}

.jw-bcorp-text {
    font-size: 20px;
    text-align: left;
}

.jw-bcorp-subtitle {
    font-size: 1.6rem;
    font-weight: 700;
}


/************************************* 嘉威怎麼做的 *************************************/

.practices-section {
    background: #f8fafd;
    padding: 60px 0;
}


.practice-carousel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.09);
    overflow: hidden;
    margin-bottom: 20px;
}

.practice-slide {
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.practice-slide-photo {
    width: 100%;
    flex-shrink: 0;
}

.practice-slide-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.practice-slide-body {
    padding: 28px 28px 48px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.practice-slide-body h4 {
    font-weight: 700;
    color: #1a3c6e;
    margin-bottom: 0;
    margin-left: 20px;
    font-size: 1.3rem;
}

.practice-slide-body p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 0;
}

.practice-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0 8px;
    list-style: none;
    margin: 0px;
}

.practice-carousel-dots li {
    background-color: #1a3c6e;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.35;
    margin: 0 8px;
    cursor: pointer;
    display: inline-block;
    text-indent: -999px;
}

.practice-carousel-dots li.active {
    opacity: 1;
}

.practice-carousel-wrapper {
    position: relative;
}

.practice-carousel-wrapper .carousel-control-prev,
.practice-carousel-wrapper .carousel-control-next {
    position: absolute;
    top: 260px;
    bottom: auto;
    transform: translateY(-50%);
    width: 41px;
    height: 62px;
    background: none;
    border-radius: 0;
    opacity: 1;
    background-size: 11px 62px;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 5;
}

.practice-carousel-wrapper .carousel-control-prev {
    left: 0;
    background-image: url(../img/icons/bigLeftArrowBlack.svg);
}

.practice-carousel-wrapper .carousel-control-next {
    right: 0;
    background-image: url(../img/icons/bigRightArrowBlack.svg);
}

.practice-carousel-wrapper .carousel-control-prev:hover,
.practice-carousel-wrapper .carousel-control-next:hover {
    opacity: 0.7;
}

.practice-carousel-wrapper .carousel-control-prev-icon,
.practice-carousel-wrapper .carousel-control-next-icon {
    display: none;
}


/************************************* 嘉威怎麼做的 - 影片 *************************************/

.practices-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 80px;
}

.practices-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/************************************* 認識台灣B型企業 *************************************/

.gallery-section {
    padding: 60px 0;
}

.gallery-intro-text {
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.gallery-company-link {
    display: block;
    text-decoration: none;
}

.gallery-company {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.gallery-company-link:hover .gallery-company {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #b0c0d8;
}

.gallery-company-img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}
