:root {
    --green-color: #119ABE;
    --yellow-color: #FFC64F;
    --blue-color: #006A9C;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
}



.text-yellow {
    color: var(--yellow-color);
}

h1 {
    font-size: 30px;
    color: var(--green-color);
}

h2 {
    font-size: 22px;
    color: #1E4B98;
}

h3 {
    font-size: 20px;

}


h1,
h2,
h3,
li {
    font-weight: 500;
}

p {
    color: #323232;
}

.main-banner {
    position: relative;
    background-image: url(img/bn.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: stretch;
}

.cimes-logo {
    margin-bottom: 3rem;
}

.pain-points,
.solutions {
    background-color: var(--blue-color);
}

.solution-card {
    background-color: #fff;
    border-radius: 7px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.solution-card .card-head {
    background-color: #119ABE;
    color: #fff;
    padding: 1.5rem 1rem;
    text-align: center;
    flex-shrink: 0;
}

.solution-card .card-head .icon-box {
    margin-bottom: 0.75rem;
}

.solution-card .card-head .icon-box img {
    height: 40px;
}

.solution-card .card-head h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.solution-card .card-head h4 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
    opacity: 0.9;
}

.solution-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.solution-card .card-body p {
    margin: 0;
    line-height: 1.6;
    color: #444;
}

.btn-orange {
    background-color: #f3983d;
    color: #fff !important;
    border: none;
    transition: background 0.3s;
}

.btn-orange:hover,.btn-orange:active,.btn-orange:focus {
    background-color: #efc15d !important;
}


.case {
    background-color: #e3eff6;
}

.case-subtitle {
    color: #1e4b98;
    font-weight: 500;
}

.case-title {
    font-size: 22px;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
    width: 330px;
}

.case-img img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact {
    width: 260px;
}

.copyright {
    background-color: var(--green-color);
}




@media (max-width: 575.98px) {
    .main-banner {
        background-image: url(img/bn-m.jpg);
        background-position: top center;
        min-height: 550px;
    }

    header .container {
        min-height: 575px;
    }

    .heading-row {
        margin-top: auto;
        padding: 15px;
    }

    .cimes-logo {
        margin-bottom: 0;
    }

    .solution-card .card-body {
        padding: 1rem;
    }
}

/* --- 平板與電腦版：576px 以上 --- */
@media (min-width: 576px) {
    .main-banner {
        align-items: center;
    }

    .heading-row {
        margin-top: 0;
    }

    .main-banner>div {
        padding-bottom: 4.5rem;
    }

}

@media (min-width: 768px) {
    .case-title {
        width: 100%;
    }

    #footer {
        background-image: url(img/consult-bg.jpg);
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat; 
    }
}