@charset "utf-8";

/* =========================================
   Sub Page Stylesheet (Company)
   Strict Rules: No CSS Vars, Hex Codes, PX Units
   ========================================= */

/* 1. Sub Visual Header */
.sub-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered for consistent layout */
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    background: url("/img/pagetop.jpg") no-repeat 50% 50%;
    background-color: #233075;
    /* Royal Navy */
    background-size: cover;
    color: #ffffff;
    text-align: left;
}

.sub-visual::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    content: "";
}

.sub-visual-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.sub-visual-content .sub-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out;
    margin-bottom: 0px;
    margin-top: 30px;
}

.sub-breadcrumb {
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    opacity: 0.9;
}

/* Sub Visual - Tablet */
@media (max-width: 1024px) {
    .sub-visual-content {
        padding: 0 20px;
    }

    .sub-visual-content .sub-title {
        font-size: 22px;
    }

    .sub-visual-content .sub-breadcrumb {
        font-size: 16px;
    }
}

/* Sub Visual - Mobile */
@media (max-width: 768px) {
    .sub-visual {
        height: 260px;
    }

    .sub-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .sub-breadcrumb {
        font-size: 14px;
    }
}

/* 2. Tab Navigation */
.cp-tabs {
    position: sticky;
    /* Sticky implementation */
    top: 90px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.cp-tab-list {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.cp-tab-item {
    flex: 1;
    text-align: center;
}

.cp-tab-link {
    display: block;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease-out;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.cp-tab-link:hover,
.cp-tab-link.active {
    background: #f8fafc;
    color: #46bfdb;
    /* Cyan Blue */
    border-bottom-color: #46bfdb;
}

/* Tabs - Mobile */
@media (max-width: 768px) {
    .cp-tabs {
        top: 60px;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cp-tab-list {
        display: block;
        width: auto;
    }

    .cp-tab-item {
        display: inline-block;
        width: auto;
    }

    .cp-tab-link {
        padding: 15px 20px;
        font-size: 15px;
    }
}

/* 3. Common Section Styles */
.cp-section {
    padding: 100px 0;
    background: #ffffff;
}

.cp-bg-gray {
    background-color: #f8fafc;
}

.cp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.cp-header {
    text-align: center;
    margin-bottom: 60px;
}

.cp-head-sub {
    display: block;
    font-size: 16px;
    /* Optimized from 15px */
    font-weight: 700;
    color: #46bfdb;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.cp-head-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    color: #1a1f3c;
    /* Dark Navy */
}

.cp-head-desc {
    font-size: 18px;
    color: #64748b;
    margin-top: 20px;
}

/* Common Section - Tablet */
@media (max-width: 1024px) {
    .cp-section {
        padding: 80px 0;
    }

    .cp-head-title {
        font-size: 32px;
    }

    .cp-head-desc {
        font-size: 16px;
    }
}

/* Common Section - Mobile */
@media (max-width: 768px) {
    .cp-section {
        padding: 60px 0;
    }

    .cp-head-sub {
        font-size: 14px;
    }

    .cp-head-title {
        font-size: 28px;
        /* Strict Title Rule: 28px */
    }

    .cp-head-desc {
        font-size: 14px;
    }
}

/* 4. Brand Story Section */
.cp-brand-grid {
    text-align: center;
}

.cp-brand-img {
    width: 100%;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cp-brand-img img {
    display: block;
    width: 100%;
    height: auto;
}

.cp-brand-txt {
    margin-top: 60px;
}

.cp-brand-txt h3 {
    font-size: 28px;
    /* Adjusted to rule */
    font-weight: 700;
    line-height: 1.4;
    color: #1a1f3c;
    margin-bottom: 24px;
}

.cp-brand-txt p {
    font-size: 18px;
    /* Adjusted to rule */
    line-height: 1.8;
    color: #1c1c1c;
    word-break: keep-all;
    margin-bottom: 30px;
}

/* Brand Grid - Tablet */
@media (max-width: 1024px) {
    .cp-brand-txt {
        margin-top: 40px;
    }

    .cp-brand-txt h3 {
        font-size: 24px;
    }

    .cp-brand-txt p {
        font-size: 16px;
    }
}

/* Brand Grid - Mobile */
@media (max-width: 768px) {
    .cp-brand-txt h3 {
        font-size: 22px;
        /* Subtitle size */
    }

    .cp-brand-txt p {
        font-size: 14px;
    }
}

/* Brand Core Values */
.cp-core-values {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
}

.cp-value-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    transition: all 0.3s ease-out;
}

.cp-value-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #46bfdb;
}

.cp-value-item .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #46bfdb;
    font-size: 24px;
    color: #ffffff;
}

.cp-value-item .cp-value-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cp-value-item .cp-value-info strong {
    font-size: 16px;
    font-weight: 700;
    color: #1a1f3c;
    margin-bottom: 2px;
}

.cp-value-item .cp-value-info span {
    font-size: 14px;
    color: #64748b;
}

/* Values - Mobile */
@media (max-width: 768px) {
    .cp-core-values {
        grid-template-columns: 1fr;
    }
}

/* 5. CEO Greeting (Unused in current HTML but preserved for structure) */
.cp-ceo-wrap {
    display: flex;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #ffffff;
}

.cp-ceo-img {
    position: relative;
    width: 45%;
    height: 520px;
}

.cp-ceo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-ceo-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 55%;
    padding: 60px;
    text-align: left;
}

.cp-ceo-quote {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #233075;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #46bfdb;
}

.cp-ceo-msg {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 40px;
}

.cp-ceo-sign {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    text-align: right;
}

/* CEO - Tablet/Mobile */
@media (max-width: 1024px) {
    .cp-ceo-wrap {
        flex-direction: column;
    }

    .cp-ceo-img {
        width: 100%;
        height: 300px;
    }

    .cp-ceo-content {
        width: 100%;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .cp-ceo-content {
        padding: 30px 20px;
    }

    .cp-ceo-quote {
        font-size: 20px;
        padding-left: 15px;
    }

    .cp-ceo-msg {
        font-size: 15px;
    }

    .cp-ceo-sign {
        font-size: 16px;
    }
}

/* 6. CI Identity & Partners */
.cp-ci-box {
    padding: 80px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    text-align: center;
    margin-bottom: 80px;
}

.cp-ci-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 30px auto;
}

.cp-ci-desc {
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.cp-ci-desc h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1f3c;
    margin-bottom: 15px;
}

.cp-ci-desc p {
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
}

/* CI Colors */
.cp-color-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.cp-color-item {
    width: 200px;
    text-align: center;
}

.cp-color-name {
    display: block;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.cp-color-name.Cyan {
    background: #46bfdb;
}

.cp-color-name.Royal {
    background: #233075;
}

.cp-color-hex {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #64748b;
}

/* CI - Mobile */
@media (max-width: 768px) {
    .cp-ci-box {
        padding: 40px 20px;
    }

    .cp-ci-desc h3 {
        font-size: 22px;
    }

    .cp-color-grid {
        align-items: center;
        flex-direction: column;
    }

    .cp-color-item {
        width: 100%;
        max-width: 250px;
    }
}

/* Partners List */
.cp-partner-list {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 40px;
}

.pt-item {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 80px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    transition: all 0.3s ease-out;
}

.pt-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: #46bfdb;
    border-color: #46bfdb;
}

.pt-item img {
    max-width: 80%;
    max-height: 40px;
    object-fit: contain;
}

/* Partners - Tablet */
@media (max-width: 1024px) {
    .cp-partner-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Partners - Mobile */
@media (max-width: 768px) {
    .cp-partner-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-item {
        height: 70px;
    }
}

/* 7. Certificates */
.cp-cert-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.cp-cert-item {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    text-align: center;
    transition: all 0.3s ease-out;
}

.cp-cert-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.cp-cert-img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    background: #f8fafc;
    object-fit: contain;
    margin-bottom: 15px;
}

.cp-cert-tit {
    font-size: 18px;
    font-weight: 700;
    color: #334155;
    margin-top: 10px;
}

/* Certs - Tablet */
@media (max-width: 1024px) {
    .cp-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-cert-img {
        height: 250px;
    }
}

/* Certs - Mobile */
@media (max-width: 768px) {
    .cp-cert-grid {
        grid-template-columns: 1fr;
    }

    .cp-cert-img {
        height: 220px;
    }

    .cp-cert-tit {
        font-size: 16px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}