/* =========================
   Global
========================= */

* {
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
    color: #334155;
    background: #ffffff;
}

a {
    transition: 0.3s;
}

img {
    max-width: 100%;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 25px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
}

.section-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #64748b;
    margin-top: 15px;
}

/* =========================
   Header
========================= */

.main-header {
    z-index: 999;
}

.site-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.site-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155 !important;
    margin-left: 15px;
}

.nav-link:hover {
    color: #2563eb !important;
}

.header-btn {
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
}

.header-space {
    height: 85px;
}

/* =========================
   Hero
========================= */

.hero-section {
    padding: 120px 0 100px;
    background: #f8fafc;
}

.hero-content {
    padding-right: 30px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-outline {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* =========================
   About
========================= */

.about-section {
    padding: 100px 0;
    background: #ffffff;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.about-content {
    padding-left: 30px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 35px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    gap: 18px;
}

.feature-icon,
.service-icon,
.feature-card-icon {
    background: #eff6ff;
    color: #2563eb;
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

/* =========================
   Services
========================= */

.services-section,
.cases-section,
.contact-section {
    padding: 100px 0;
    background: #f8fafc;
}

.service-card,
.case-card,
.contact-info-box,
.contact-form-box {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.service-card:hover,
.case-card:hover,
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.1);
}

.service-image-wrap,
.case-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.service-image,
.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.service-card:hover .service-image,
.case-card:hover .case-image {
    transform: scale(1.05);
}

.service-card-body,
.case-card-body {
    padding: 30px;
}

.service-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-title,
.case-title,
.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.service-description,
.case-description,
.feature-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #64748b;
}

/* =========================
   Features
========================= */

.features-section,
.faq-section {
    padding: 100px 0;
    background: #ffffff;
}

.feature-card {
    height: 100%;
    padding: 35px 25px;
    text-align: center;
    background: #f8fafc;
    border-radius: 20px;
    transition: 0.3s;
}

.feature-card-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
}

/* =========================
   Cases
========================= */

.case-category {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.case-link {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

/* =========================
   FAQ
========================= */

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: none;
    border-radius: 18px !important;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.accordion-button {
    font-weight: 700;
    color: #0f172a;
    padding: 22px 25px;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: #eff6ff;
    color: #2563eb;
}

.accordion-body {
    line-height: 1.9;
    color: #64748b;
}

/* =========================
   Contact
========================= */

.contact-info-box,
.contact-form-box {
    padding: 35px;
}

.contact-info-title,
.contact-form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-info-item i {
    width: 42px;
    height: 42px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.contact-social a {
    width: 42px;
    height: 42px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.form-label {
    font-weight: 600;
    color: #334155;
}

.form-control {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
}

.contact-submit-btn {
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
}

/* =========================
   Footer
========================= */

.footer-section {
    padding: 70px 0 28px;
    background: #0f172a;
    color: #ffffff;
}

.footer-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-site-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-description,
.footer-text,
.footer-links a,
.footer-contact li,
.footer-contact-list li,
.footer-bottom p {
    color: #cbd5e1;
}

.footer-text {
    font-size: 1rem;
    line-height: 1.9;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

.footer-links,
.footer-contact,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li,
.footer-contact-list li {
    margin-bottom: 14px;
    line-height: 1.8;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact i,
.footer-contact-list i {
    color: #60a5fa;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.social-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    font-size: 28px;

    color: #ffffff;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.08);
    color: #ffffff;
}

.social-facebook {
    background: #1877F2;
}

.social-instagram {
    background: linear-gradient(
        135deg,
        #833AB4,
        #E1306C,
        #FCAF45
    );
}

.social-line {
    background: #06C755;
    width: 60px;
    height: 60px;
    font-size: 32px;
}

.footer-line {
    border-color: rgba(255,255,255,0.15);
    margin: 40px 0 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 52px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    color: #cbd5e1;
}

/* =========================
   RWD
========================= */

@media (max-width: 991px) {

    .hero-section,
    .about-section,
    .services-section,
    .features-section,
    .cases-section,
    .faq-section,
    .contact-section {
        padding: 70px 0;
    }

    .hero-section {
        text-align: center;
    }

    .hero-content,
    .about-content {
        padding: 0;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

}