﻿/* ==========================================================
   BUSINESS PAGE
========================================================== */

.business-page {
    min-height: 100vh;
    background: #f5f7fb;
    color: #273142;
    font-family: "Kanit", sans-serif;
    padding-bottom: 70px;
}


/* ==========================================================
   HERO
========================================================== */

.business-hero {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    background: linear-gradient( 135deg, #171334 0%, #201a48 55%, #293b73 100% );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(20, 20, 50, .15);
}


    .business-hero::before {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        right: -120px;
        top: -220px;
        background: rgba(255,255,255,.05);
    }


    .business-hero::after {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        left: -130px;
        bottom: -220px;
        background: rgba(255,255,255,.04);
    }


.business-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: white;
    text-align: left;
}


.business-hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
}


.business-hero h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: .2px;
}


.business-hero p {
    margin: 0;
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255,255,255,.65);
}


/* ==========================================================
   CONTAINER
========================================================== */

.business-container {
    width: min(1180px, calc(100% - 30px));
    margin: 0 auto;
}


/* ==========================================================
   SECTION
========================================================== */

.business-section {
    margin-top: 48px;
}


/* ==========================================================
   SECTION HEADING
========================================================== */

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}


.section-number {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 135deg, #1687c9, #3157a6 );
    color: white;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(22, 135, 201, .18);
}


.section-heading span {
    display: block;
    color: #1687c9;
    font-size: 9px;
    letter-spacing: 1.6px;
    font-weight: 600;
}


.section-heading h2 {
    margin: 2px 0 0;
    color: #222c3d;
    font-size: 23px;
    font-weight: 600;
}


/* ==========================================================
   MAIN BUSINESS CARD
========================================================== */

.business-main-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 23px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: white;
    border: 1px solid #e5eaf1;
    box-shadow: 0 6px 25px rgba(25,35,55,.06);
}


.business-main-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: white;
    font-size: 25px;
    background: linear-gradient( 135deg, #1687c9, #3157a6 );
}


.business-main-card h3 {
    margin: 0;
    color: #27354a;
    font-size: 21px;
    font-weight: 600;
}


.business-subtitle {
    margin: 1px 0 0;
    color: #8995a5;
    font-size: 12px;
}


/* ==========================================================
   TEXT
========================================================== */

.business-text {
    color: #4b5565;
    font-size: 15px;
    line-height: 2;
    text-align: justify;
}


    .business-text p {
        margin: 0 0 20px;
    }


        .business-text p:last-child {
            margin-bottom: 0;
        }


    .business-text strong {
        color: #253b68;
        font-weight: 600;
    }


/* ==========================================================
   SERVICE GRID
========================================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 25px;
}


.service-card {
    position: relative;
    padding: 25px;
    border-radius: 16px;
    background: white;
    border: 1px solid #e6eaf0;
    box-shadow: 0 5px 20px rgba(25,35,55,.05);
    transition: transform .25s ease, box-shadow .25s ease;
}


    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(25,35,55,.10);
    }


.service-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 12px;
    color: #1687c9;
    background: #edf7fc;
    font-size: 21px;
}


.service-card h3 {
    margin: 0 0 5px;
    font-size: 17px;
    color: #27354a;
    font-weight: 600;
}


.service-card p {
    margin: 0;
    color: #8791a0;
    font-size: 12px;
    line-height: 1.8;
}


/* ==========================================================
   CONTENT CARD
========================================================== */

.business-content-card {
    position: relative;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e9ef;
    padding: 28px 32px 28px 38px;
    box-shadow: 0 6px 25px rgba(25,35,55,.05);
    overflow: hidden;
}


.content-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient( 180deg, #1687c9, #3157a6 );
}


/* ==========================================================
   INNOVATION
========================================================== */

.innovation-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}


.innovation-card {
    border-radius: 17px;
    padding: 30px;
    background: white;
    border: 1px solid #e4e9f0;
    box-shadow: 0 6px 25px rgba(25,35,55,.06);
}


.innovation-primary {
    background: linear-gradient( 145deg, #171334, #293b73 );
    color: white;
    border: none;
}


.innovation-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    background: rgba(255,255,255,.12);
    font-size: 24px;
}


.innovation-primary h3 {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 500;
}


.innovation-primary p {
    margin: 0;
    font-size: 13px;
    line-height: 2;
    color: rgba(255,255,255,.72);
}


/* ==========================================================
   INNOVATION SIDE
========================================================== */

.innovation-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.innovation-small {
    flex: 1;
    display: flex;
    gap: 15px;
    padding: 22px;
    border-radius: 16px;
    background: white;
    border: 1px solid #e4e9f0;
    box-shadow: 0 5px 20px rgba(25,35,55,.05);
}


.small-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #1687c9;
    background: #edf7fc;
    font-size: 20px;
}


.innovation-small h3 {
    margin: 0 0 5px;
    color: #29364b;
    font-size: 15px;
    font-weight: 600;
}


.innovation-small p {
    margin: 0;
    color: #7d8998;
    font-size: 11px;
    line-height: 1.8;
}


.last-content {
    margin-top: 18px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .business-hero {
        min-height: 125px;
    }


        .business-hero h1 {
            font-size: 25px;
        }


    .business-hero-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }


    .business-container {
        width: calc(100% - 20px);
    }


    .business-section {
        margin-top: 35px;
    }


    .section-heading h2 {
        font-size: 19px;
    }


    .service-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }


    .business-main-card {
        padding: 18px;
    }


        .business-main-card h3 {
            font-size: 17px;
        }


    .business-text {
        font-size: 13px;
        line-height: 1.9;
        text-align: left;
    }


    .business-content-card {
        padding: 22px 20px 22px 28px;
    }


    .innovation-layout {
        grid-template-columns: 1fr;
    }


    .innovation-primary {
        padding: 24px;
    }


    .innovation-small {
        padding: 18px;
    }
}

/* ==========================================================
   SECTION 04
   MECHANICAL SYSTEM
========================================================== */

.mechanical-section {
    margin-top: 45px;
}


/* ==========================================================
   MAIN CARD
========================================================== */

.mechanical-card {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 330px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 18px;
    box-shadow: 0 7px 28px rgba(25, 35, 55, .07);
    transition: box-shadow .25s ease, transform .25s ease;
}


    .mechanical-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(25, 35, 55, .11);
    }


/* ==========================================================
   IMAGE
========================================================== */

.mechanical-image {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background: #e9edf3;
}


    .mechanical-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .5s ease;
    }


.mechanical-card:hover
.mechanical-image img {
    transform: scale(1.04);
}


/* ==========================================================
   IMAGE OVERLAY
========================================================== */

.mechanical-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(23, 19, 52, .15), rgba(23, 19, 52, .02) );
    pointer-events: none;
}


.mechanical-image-overlay {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 18px;
}


    .mechanical-image-overlay span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 7px 12px;
        border-radius: 8px;
        color: #ffffff;
        background: rgba(23, 19, 52, .82);
        backdrop-filter: blur(6px);
        font-size: 9px;
        letter-spacing: 1px;
        font-weight: 500;
    }


/* ==========================================================
   CONTENT
========================================================== */

.mechanical-content {
    position: relative;
    padding: 34px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ==========================================================
   TITLE
========================================================== */

.mechanical-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
}


.mechanical-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient( 135deg, #1687c9, #3157a6 );
    box-shadow: 0 6px 16px rgba(22, 135, 201, .18);
    font-size: 20px;
}


.mechanical-title span {
    display: block;
    color: #1687c9;
    font-size: 8px;
    letter-spacing: 1.4px;
    font-weight: 600;
}


.mechanical-title h3 {
    margin: 1px 0 0;
    color: #27354a;
    font-size: 20px;
    font-weight: 600;
}


/* ==========================================================
   DESCRIPTION
========================================================== */

.mechanical-description {
    margin: 0 0 18px;
    max-width: 560px;
    color: #7a8696;
    font-size: 12px;
    line-height: 1.9;
}


/* ==========================================================
   SERVICES
========================================================== */

.mechanical-services {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 18px;
}


.mechanical-service {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #465366;
    font-size: 12px;
}


/* ==========================================================
   CHECK ICON
========================================================== */

.service-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #1687c9;
    background: #edf7fc;
    font-size: 13px;
}


/* ==========================================================
   MORE BUTTON
========================================================== */

.mechanical-more {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 8px;
    color: #1687c9;
    background: #f0f8fd;
    border: 1px solid #d9edf8;
    text-decoration: none;
    font-size: 11px;
    transition: all .2s ease;
}


    .mechanical-more i {
        transition: transform .2s ease;
    }


    .mechanical-more:hover {
        color: #ffffff;
        background: linear-gradient( 135deg, #1687c9, #3157a6 );
        border-color: transparent;
    }


        .mechanical-more:hover i {
            transform: translateX(3px);
        }


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .mechanical-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }


    .mechanical-image {
        min-height: 230px;
        height: 230px;
    }


    .mechanical-content {
        padding: 24px 20px 26px;
    }


    .mechanical-title h3 {
        font-size: 18px;
    }


    .mechanical-description {
        font-size: 12px;
        line-height: 1.8;
    }


    .mechanical-service {
        font-size: 11px;
    }
}
