@charset "utf-8";

/* =========================================
   Sub Page Stylesheet (Company, etc.)
   Prefix: .sub-, .cp- (Company Page)
   ========================================= */

:root {
    --sub-color-primary: #46bfdb;
    --sub-color-navy: #233075;
    --sub-color-dark: #1a1f3c;
    --sub-color-gray: #f8fafc;
    --sub-max-width: 1200px;
}

/* 1. Sub Visual Header */
.sub-visual {
    position: relative;
    width: 100%;
    height: 400px;
    background: url('/img/pagetop.jpg') no-repeat center/cover; /* Fallback or specific image */
    background-color: var(--sub-color-navy); /* Fallback color */
    display: flex;
    align-items: center;
    text-align: left;
    color: #fff;
    margin:0 auto;
}

.sub-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.sub-visual-content {
    width:1400px;
    margin:0 auto;
    position: relative;
    z-index: 2;
}

.sub-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

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

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

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

.cp-tab-list {
    display: flex;
    justify-content: center;
    max-width: var(--sub-max-width);
    margin: 0 auto;
}

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

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

.cp-tab-link:hover,
.cp-tab-link.active {
    color: var(--sub-color-primary);
    border-bottom-color: var(--sub-color-primary);
    background: #f8fafc;
}

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

.cp-bg-gray {
    background-color: var(--sub-color-gray);
}

.cp-container {
    max-width: var(--sub-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.cp-head-sub {
    font-size: 15px;
    font-weight: 700;
    color: var(--sub-color-primary);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.cp-head-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--sub-color-dark);
}

/* 4. Brand Story Section */
.cp-brand-grid {

    text-align: center;
}

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

.cp-brand-txt h3 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
    color: var(--sub-color-dark);
    margin-top:60px;
}

.cp-brand-txt p {
    font-size: 22px;
    color: #1c1c1c;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

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

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

.cp-value-item .icon-box {
    width: 50px;
    height: 50px;
    background:var(--sub-color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.cp-value-item .icon-box i {
    font-size: 24px;
    color: #fff;
}

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

.cp-value-item .cp-value-info strong {
    font-size: 16px;
    color: var(--sub-color-dark);
    margin-bottom: 2px;
}

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

/* 5. CEO Greeting */
.cp-ceo-wrap {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    display: flex;
}

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

.cp-ceo-img img {
    width: 100%;
    height: 100%;
    margin:0 auto;

    object-fit: cover;
}

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

.cp-ceo-quote {
    font-size: 24px;
    font-weight: 700;
    color: var(--sub-color-navy);
    margin-bottom: 30px;
    line-height: 1.4;
    padding-left: 20px;
    border-left: 4px solid var(--sub-color-primary);
}

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

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

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

.cp-ci-logo {
    width: 600px;
    margin-bottom: 30px;
    margin:0 auto;
}

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

.cp-ci-desc h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--sub-color-dark);
    margin-bottom: 15px;
}

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

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

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

.pt-item img {
    width: 100%;
    height: 100%;
    max-height: 30px;
    object-fit: cover;
}

.pt-item i {
    font-size: 20px;
}

.pt-item:hover {
    border-color: var(--sub-color-primary);
    color: var(--sub-color-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}


.cp-color-name { font-weight: 700; display: block; margin-bottom: 5px; background: #fff; padding: 10px; width: 100%; max-width: 200px; margin: 0 auto; color: #fff;}
.Cyan { background: #46bfdb; }
.Royal { background: #233075; }
.cp-color-hex { color: #64748b; font-size: 18px; font-weight: 700; }

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

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

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

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

.cp-cert-tit {
    font-weight: 700;
    color: #334155;
}

.cp-color-grid {display: flex; flex-wrap: wrap; gap: 15px; margin:0 auto; justify-content: center;}
.cp-color-item {width: 25%;}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .cp-brand-grid { grid-template-columns: 1fr; }
    .cp-ceo-wrap { flex-direction: column; }
    .cp-ceo-img { width: 100%; height: 300px; }
    .cp-ceo-content { width: 100%; padding: 40px; }
    .cp-cert-grid { grid-template-columns: repeat(2, 1fr); }
    .cp-partner-list { grid-template-columns: repeat(3, 1fr); }
    .cp-head-title { font-size: 32px; }
    .sub-title { font-size: 20px; margin-bottom: 0px;}
    .sub-breadcrumb { font-size: 14px; }
    .sub-visual-content { width: 80%; margin-top: 40px;}
}

@media (max-width: 768px) {
    .sub-visual { height: 200px; margin-top: 0px; } /* Mobile Header Height adjustment */
    .cp-tab-link { font-size: 14px; padding: 15px 0; }
    .cp-core-values { grid-template-columns: 1fr; }
    .cp-partner-list { grid-template-columns: repeat(2, 1fr); }
    .cp-color-grid { flex-direction: column; }
    .cp-cert-grid { grid-template-columns: 1fr; }
    .cp-tabs { top: 70px; } /* Mobile sticky offset */
}
