/* =====================
   Global
===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        "Noto Sans TC",
        Arial,
        sans-serif;

    color: #17202a;
    background: #f5f7fa;
    line-height: 1.8;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* =====================
   Header
===================== */

header {
    position: sticky;
    top: 0;
    z-index: 100;

    height: 90px;
    padding: 0 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(6, 24, 38, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    color: #00b7ff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo span {
    color: #ff7a00;
}

nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav a {
    position: relative;

    padding: 8px 0;

    color: white;
    font-size: 16px;
    font-weight: 600;

    transition: color 0.3s;
}

nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #00b7ff;

    transition: width 0.3s;
}

nav a:hover,
nav a.active {
    color: #00b7ff;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}


/* =====================
   Hero
===================== */

.hero {
    position: relative;
    overflow: hidden;

    height: 650px;

    display: flex;
    align-items: center;

    padding-right: 10%;
    padding-left: 10%;

    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.2)
        ),
        url("../images/factory.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 70px;
    line-height: 1.2;
}

.hero p {
    margin: 24px 0;

    font-size: 25px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-side-logo {
    position: absolute;

    top: 50%;
    right: 10%;

    width: 300px;
    height: auto;

    transform: translateY(-50%);

    object-fit: contain;
    opacity: 0.95;

    filter:
        drop-shadow(
            0 18px 30px
            rgba(0, 0, 0, 0.25)
        );

    pointer-events: none;
}


/* =====================
   Button
===================== */

.btn {
    display: inline-block;

    padding: 14px 32px;

    color: white;
    background: #00b7ff;
    border-radius: 50px;

    font-weight: bold;

    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 30px
        rgba(0, 183, 255, 0.4);
}

.header-btn {
    padding: 14px 32px;
}

.outline {
    margin-left: 0;

    background: transparent;
    border: 1px solid white;
}


/* =====================
   Page Banner
===================== */

.page-banner {
    position: relative;
    overflow: hidden;

    min-height: 320px;
    padding: 40px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: white;
    text-align: center;

    background:
        linear-gradient(
            120deg,
            #061826,
            #003b60,
            #00598c
        );
}

.page-banner::before {
    content: "";

    position: absolute;
    top: -100px;
    right: -80px;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.page-banner::after {
    content: "";

    position: absolute;
    bottom: -140px;
    left: -90px;

    width: 360px;
    height: 360px;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.page-banner h1,
.page-banner p {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
}

.page-banner p {
    margin-top: 12px;

    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    letter-spacing: 1.5px;
}


/* =====================
   Content
===================== */

.content {
    width: min(100% - 40px, 1200px);
    margin: 0 auto;
    padding: 60px 0;
}

.content h2 {
    margin-bottom: 22px;

    font-size: 40px;
    line-height: 1.3;
}

.content p {
    color: #475467;
    font-size: 17px;
}

.section-title {
    text-align: center;
}


/* =====================
   Introduction Section
===================== */

.intro-center {
    text-align: center;
}

.intro-section {
    max-width: 1000px;
    padding-top: 70px;
    padding-bottom: 70px;

    text-align: center;
}

.intro-label {
    display: inline-block;

    margin-bottom: 14px;

    color: #00a8e8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.intro-section h2 {
    margin-bottom: 24px;

    color: #102a43;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.25;
}

.intro-lead {
    max-width: 880px;
    margin: 0 auto 18px;

    color: #344054;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.9;
}

.intro-text {
    max-width: 820px;
    margin: 0 auto;

    color: #667085;
    font-size: 16px;
    line-height: 1.9;
}


/* =====================
   General Cards
===================== */

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 24px;
}

.card {
    position: relative;
    overflow: hidden;

    padding: 32px;

    background: white;
    border-radius: 22px;

    box-shadow:
        0 16px 38px
        rgba(0, 0, 0, 0.08);

    transition:
        transform 0.4s,
        box-shadow 0.4s;
}

.card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #00b7ff;
}

.card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 24px 55px
        rgba(0, 0, 0, 0.14);
}

.card h2,
.card h3 {
    margin-bottom: 16px;

    color: #0066cc;
}

.card h2 {
    font-size: 27px;
}

.card h3 {
    font-size: 24px;
    letter-spacing: 0.5px;
}

.card p {
    margin-bottom: 16px;

    font-size: 16px;
}

.card a {
    color: #0066cc;
    font-weight: 700;
}


/* =====================
   About Page
===================== */

.about-intro {
    max-width: 1000px;

    padding-top: 85px;
    padding-bottom: 55px;

    text-align: center;
}

.about-label {
    display: inline-block;

    margin-bottom: 14px;

    color: #00a8e8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.about-intro h2 {
    max-width: 850px;
    margin: 0 auto 24px;

    color: #102a43;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.35;
}

.about-lead {
    max-width: 820px;
    margin: 0 auto 18px;

    color: #344054;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.9;
}

.about-description {
    max-width: 860px;
    margin: 0 auto;

    color: #667085;
    font-size: 17px;
    line-height: 2;
}


/* =====================
   About Core Value Cards
===================== */

.about-value-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-value-card {
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-value-number {
    display: inline-block;

    margin-bottom: 22px;

    color: rgba(0, 102, 204, 0.18);
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}

.about-value-card h3 {
    margin-bottom: 14px;

    color: #0066cc;
    font-size: 25px;
    font-weight: 800;
}

.about-value-card p {
    margin-bottom: 0;

    color: #667085;
    font-size: 15.5px;
    line-height: 1.9;
}


/* =====================
   Number Section
===================== */

.numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    padding: 50px;

    color: white;
    background: #061826;

    text-align: center;
}

.numbers h2 {
    color: #00b7ff;
    font-size: 50px;
}

.numbers p {
    color: rgba(255, 255, 255, 0.8);
}


/* =====================
   Dark Section
===================== */

.dark {
    width: 100%;
    max-width: none;

    padding: 80px 20px;

    color: white;
    background: #061826;

    text-align: center;
}

.dark h2 {
    margin-bottom: 16px;

    font-size: 44px;
    line-height: 1.3;
}

.dark p {
    max-width: 800px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
}


/* =====================
   Form
===================== */

input,
textarea {
    width: 100%;

    padding: 16px;
    margin-bottom: 16px;

    border: 1px solid #ddd;
    border-radius: 10px;

    font-family: inherit;
    font-size: 16px;
}

textarea {
    height: 160px;
    resize: vertical;
}


/* =====================
   Company Information
===================== */

.company-info {
    width: 100%;
    padding: 50px 8% 24px;

    color: white;
    background: #182b72;
}

.company-info-container {
    width: min(100%, 1200px);
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(280px, 1fr)
        minmax(360px, 1fr);

    align-items: center;
    gap: 70px;
}

.company-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.company-info-logo {
    width: min(100%, 500px);
    height: auto;

    object-fit: contain;
}

.company-contact {
    text-align: left;
}

.company-contact h2 {
    margin-bottom: 3px;

    color: #ff5a1f;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.4;
}

.company-name-en {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.contact-list {
    display: grid;
    gap: 9px;
}

.contact-list p {
    display: flex;
    align-items: flex-start;

    margin: 0;

    color: white;
    font-size: 16px;
    line-height: 1.8;
}

.contact-list a {
    color: white;

    transition:
        color 0.3s,
        border-color 0.3s;
}

.contact-list a:hover {
    color: #00b7ff;
}

.contact-label {
    flex-shrink: 0;

    display: inline-block;

    min-width: 52px;
    margin-right: 10px;

    color: #7edcff;
    font-weight: 700;
}


/* =====================
   Address Link
===================== */

.address-link {
    color: white;

    border-bottom: 1px solid transparent;

    line-height: 1.8;

    transition:
        color 0.3s,
        border-color 0.3s;
}

.address-link:hover {
    color: #00b7ff;

    border-bottom-color: #00b7ff;
}

.address-link:focus-visible {
    color: #00b7ff;

    border-radius: 4px;
    outline: 2px solid #00b7ff;
    outline-offset: 4px;
}


/* =====================
   Copyright
===================== */

.company-copyright {
    width: min(100%, 1200px);

    margin: 36px auto 0;
    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.16);

    text-align: center;
}

.company-copyright p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.8;
}

.company-copyright p + p {
    margin-top: 2px;
}


/* =====================
   Footer
===================== */

footer {
    padding: 28px 20px;

    color: white;
    background: #020b12;

    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.75);
}


/* =====================
   Responsive
   Small Desktop
===================== */

@media (max-width: 1100px) {

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-value-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-value-card {
        min-height: 260px;
    }

}


/* =====================
   Responsive
   Tablet
===================== */

@media (max-width: 900px) {

    header {
        height: auto;
        min-height: 80px;

        padding: 18px 6%;
    }

    nav {
        gap: 20px;
    }

    nav a {
        font-size: 14px;
    }

    .hero {
        height: 600px;

        padding-right: 7%;
        padding-left: 7%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 21px;
    }

    .hero-side-logo {
        right: 3%;

        width: 230px;

        opacity: 0.35;
    }

    .page-banner {
        min-height: 270px;
    }

    .page-banner h1 {
        font-size: 44px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .numbers {
        grid-template-columns: 1fr 1fr;
    }

    .content {
        width: min(100% - 30px, 1200px);

        padding: 45px 0;
    }

    .content h2 {
        font-size: 34px;
    }

    .dark {
        padding: 60px 20px;
    }

    .dark h2 {
        font-size: 38px;
    }


    /* About Page */

    .about-intro {
        padding-top: 65px;
        padding-bottom: 45px;
    }

    .about-intro h2 {
        font-size: 38px;
    }

    .about-values {
        padding-top: 35px;
        padding-bottom: 70px;
    }

    /* Company Information */

    .company-info {
        padding: 45px 6% 22px;
    }

    .company-info-container {
        grid-template-columns: 1fr;
        gap: 32px;

        text-align: center;
    }

    .company-brand {
        justify-content: center;
    }

    .company-info-logo {
        width: min(100%, 480px);
    }

    .company-contact {
        text-align: center;
    }

    .company-contact h2 {
        font-size: 23px;
    }

    .contact-list {
        width: min(100%, 600px);

        margin: 0 auto;
    }

    .contact-list p {
        justify-content: center;
    }

    .company-copyright {
        margin-top: 32px;
        padding-top: 20px;
    }

}


/* =====================
   Responsive
   Mobile
===================== */

@media (max-width: 600px) {

    header {
        min-height: 72px;
        padding: 16px 22px;
    }

    .logo {
        font-size: 21px;
    }

    nav {
        display: none;
    }

    .header-btn {
        padding: 10px 17px;

        font-size: 13px;
    }

    .hero {
        height: 540px;

        padding: 50px 24px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;

        text-align: center;
    }

    .hero-side-logo {
        right: -45px;

        width: 190px;

        opacity: 0.18;
    }

    .page-banner {
        min-height: 230px;
        padding: 35px 20px;
    }

    .page-banner h1 {
        font-size: 34px;
    }

    .page-banner p {
        font-size: 15px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .numbers {
        grid-template-columns: 1fr 1fr;
        gap: 25px 10px;

        padding: 38px 20px;
    }

    .numbers h2 {
        font-size: 38px;
    }

    .content {
        padding: 35px 0;
    }

    .content h2 {
        font-size: 30px;
    }

    .intro-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .intro-section h2 {
        font-size: 32px;
    }

    .intro-lead {
        font-size: 18px;
        line-height: 1.8;
    }

    .intro-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .card {
        padding: 28px 24px;
    }

    .card h2,
    .card h3 {
        font-size: 24px;
    }

    .dark {
        padding: 50px 20px;
    }

    .dark h2 {
        font-size: 32px;
    }


    /* About Page */

    .about-intro {
        padding-top: 48px;
        padding-bottom: 35px;
    }

    .about-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .about-intro h2 {
        font-size: 30px;
    }

    .about-lead {
        font-size: 18px;
        line-height: 1.8;
    }

    .about-description {
        font-size: 15px;
        line-height: 1.85;
    }

    .about-values {
        padding-top: 30px;
        padding-bottom: 55px;
    }

    .about-section-heading {
        margin-bottom: 28px;
    }

    .about-section-heading h2 {
        font-size: 30px;
    }

    .about-section-heading p {
        font-size: 15px;
    }

    .about-value-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-value-card {
        min-height: auto;
    }

    .about-value-number {
        margin-bottom: 16px;
        font-size: 44px;
    }

    .about-value-card h3 {
        font-size: 23px;
    }

    .about-value-card p {
        font-size: 15px;
        line-height: 1.8;
    }


    /* Company Information */

    .company-info {
        padding: 38px 22px 20px;
    }

    .company-info-container {
        gap: 26px;
    }

    .company-info-logo {
        width: min(100%, 350px);
    }

    .company-contact h2 {
        font-size: 21px;
    }

    .company-name-en {
        margin-bottom: 16px;

        font-size: 12px;
        letter-spacing: 0.8px;
    }

    .contact-list {
        gap: 12px;
    }

    .contact-list p {
        display: block;

        font-size: 14px;
        line-height: 1.7;
    }

    .contact-label {
        display: block;

        min-width: 0;
        margin-right: 0;
        margin-bottom: 2px;
    }

    .address-link {
        display: inline;

        line-height: 1.7;
    }

    .company-copyright {
        margin-top: 28px;
        padding-top: 18px;
    }

    .company-copyright p {
        font-size: 12px;
        line-height: 1.7;
    }

}