/* about.css */

.banner-wrap .banner-title {
    font-size: 66px;
    font-weight: 700;
    text-transform: none;
    /* As per design: About Alpharmaca */
}

/* Overview Section */
.overview-section {
    padding: 178px 0 0;
    background-color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.overview-header {
    text-align: center;
    margin-bottom: 59px;
    max-width: 600px;
}

.section-title {
    font-size: 60px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    text-transform: uppercase;
}

.section-subtitle {
    font-weight: 500;
    font-size: 22px;
    color: #A3A3A3;
    margin-top: 25px;
    line-height: 1.2;
}

.overview-box-container {
    width: 100%;
    max-width: 1400px;
    background: url('../image/about-overview-bg-2.png') no-repeat center center / cover;
    padding: 95px 136px;
    border-radius: 4px;
    min-height: 610px;
    margin-bottom: -300px;
    /* Overlap effect as per top values analysis */
}

.overview-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 706px;
}

.overview-text {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    margin: 0;
}

/* Experience Section */
.experience-section {
    position: relative;
    width: 100%;
    padding: 450px 0 180px;
    /* Increased top padding for overlap */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F7F8FB;
}

.experience-title {
    font-size: 46px;
    font-weight: 700;
    color: #000;
    line-height: 50px;
    text-align: center;
    margin-bottom: 60px;
}

.experience-title .highlight {
    color: var(--primary-color);
}

.offices-container {
    position: relative;
    width: 1332px;
    height: 724px;
    background: url(../image/offices-bg.png) no-repeat center center / cover;
}

.offices-container::before {
    content: '';
    position: absolute;
    top: 332px;
    left: 404px;
    width: 38px;
    height: 22px;
    background: url(../image/map-line1.png) no-repeat center center / contain;
}

.offices-container::after {
    content: '';
    position: absolute;
    top: 237px;
    left: 488px;
    width: 237px;
    height: 115px;
    background: url(../image/map-line2.png) no-repeat center center / contain;
}

.office-card {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px 32px;
    width: 358px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.wuhan-office {
    top: 333px;
    left: 46px;
}

.shanghai-office {
    top: 197px;
    left: 725px;
}

.office-card:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.office-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.location-icon {
    width: 46px;
    height: 46px;
}

.office-name {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.office-detail {
    font-size: 16px;
    font-weight: 400;
    color: #818181;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

/* Culture Section */
.culture-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: rgba(247, 248, 251, 1);
}

.culture-container {
    max-width: 1332px;
    margin: 0 auto;
    padding: 0 40px 140px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.culture-container::before {
    content: "";
    position: absolute;
    top: 63px;
    /* Adjust to cover header properly */
    left: 0;
    width: 1332px;
    height: 724px;
    background: url('../image/offices-bg.png') no-repeat center center / cover;
    filter: grayscale(1);
    opacity: 0.1;
    /* High transparency as per design's overlay feel */
    z-index: -1;
}

.culture-header {
    margin-bottom: 37px;
}

.culture-line-wrap {
    margin-bottom: -6px;
}

.culture-line {
    width: 686px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.culture-grid {
    display: flex;
    justify-content: center;
    width: 1056px;
    height: 365px;
    gap: 10px;
    background: rgba(250, 250, 250, 1);
    padding: 52px 45px 0 59px;
    border-radius: 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

.culture-card {
    flex: 1;
    height: 291px;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.culture-card:hover {
    transform: translateY(-10px);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-transform: none;
}

.card-desc {
    font-size: 16px;
    font-weight: 500;
    color: #818181;
    line-height: 18px;
    margin-top: 15px;
    max-width: 180px;
    white-space: nowrap;
}

.vision-card {
    background: url('../image/culture-vision.png');
    max-width: 316px;
    padding: 98px 114px 0 64px;
}

.mission-card {
    background: url('../image/culture-mission.png');
    max-width: 346px;
    padding: 73px 125px 0 41px;
}

.value-card {
    background: url('../image/culture-value.png');
    max-width: 271px;
    padding: 91px 101px 0 82px;
}

/* ==================== 响应式适配 ==================== */

/* 大屏幕 (1400px 以下) */
@media screen and (max-width: 1400px) {
    .overview-box-container {
        max-width: 100%;
        margin: 0 20px -300px;
        padding: 80px 80px;
    }

    .offices-container {
        width: 100%;
        max-width: 1332px;
    }

    .culture-container {
        padding: 0 20px 100px;
    }

    .culture-grid {
        width: 100%;
        max-width: 1056px;
    }
}

/* 平板设备 (1024px 以下) */
@media screen and (max-width: 1024px) {
    .banner-wrap .banner-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 42px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .overview-section {
        padding: 120px 20px 0;
    }

    .overview-header {
        margin-bottom: 40px;
    }

    .overview-box-container {
        padding: 60px 50px;
        min-height: auto;
        margin-bottom: -200px;
    }

    .overview-text-wrapper {
        max-width: 100%;
        gap: 30px;
    }

    .experience-section {
        padding: 300px 20px 120px;
    }

    .experience-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .experience-title br {
        display: none;
    }

    .offices-container {
        width: 100%;
        height: auto;
        min-height: 400px;
        background-size: contain;
        background-position: top center;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .offices-container::before,
    .offices-container::after {
        display: none;
    }

    .office-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .culture-section {
        padding-top: 40px;
    }

    .culture-container {
        padding: 0 20px 80px;
    }

    .culture-container::before {
        display: none;
    }

    .culture-line-wrap {
        margin-bottom: 20px;
    }

    .culture-line {
        width: 100%;
        max-width: 500px;
    }

    .culture-grid {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 20px;
        padding: 30px 25px;
    }

    .culture-card {
        max-width: 100% !important;
        height: auto;
        min-height: 200px;
        padding: 40px 30px !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .card-title {
        font-size: 20px;
    }

    .card-desc {
        white-space: normal;
        max-width: 100%;
        margin-top: 10px;
    }

    .card-desc br {
        display: none;
    }
}

/* 小平板/大手机 (768px 以下) */
@media screen and (max-width: 768px) {
    .banner-wrap .banner-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-top: 15px;
    }

    .overview-section {
        padding: 80px 15px 0;
    }

    .overview-header {
        margin-bottom: 30px;
    }

    .overview-box-container {
        padding: 40px 30px;
        margin: 0 15px -150px;
    }

    .overview-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .overview-text-wrapper {
        gap: 25px;
    }

    .experience-section {
        padding: 220px 15px 80px;
    }

    .experience-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .office-card {
        padding: 18px 25px;
    }

    .office-header {
        gap: 10px;
        margin-bottom: 15px;
    }

    .location-icon {
        width: 36px;
        height: 36px;
    }

    .office-name {
        font-size: 16px;
    }

    .office-detail {
        font-size: 14px;
    }

    .office-detail br {
        display: none;
    }

    .culture-header {
        margin-bottom: 25px;
    }

    .culture-grid {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .culture-card {
        min-height: 180px;
        padding: 30px 25px !important;
    }

    .card-title {
        font-size: 18px;
    }

    .card-desc {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* 手机设备 (480px 以下) */
@media screen and (max-width: 480px) {
    .banner-wrap .banner-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .overview-section {
        padding: 60px 10px 0;
    }

    .overview-box-container {
        padding: 30px 20px;
        margin: 0 10px -100px;
    }

    .overview-text {
        font-size: 14px;
    }

    .overview-text-wrapper {
        gap: 20px;
    }

    .experience-section {
        padding: 160px 10px 60px;
    }

    .experience-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .office-card {
        padding: 15px 20px;
    }

    .location-icon {
        width: 32px;
        height: 32px;
    }

    .office-name {
        font-size: 15px;
    }

    .office-detail {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .culture-section {
        padding-top: 20px;
    }

    .culture-container {
        padding: 0 10px 60px;
    }

    .culture-grid {
        padding: 20px 15px;
        border-radius: 12px;
        gap: 15px;
    }

    .culture-card {
        min-height: 150px;
        padding: 25px 20px !important;
    }

    .card-title {
        font-size: 16px;
    }

    .card-desc {
        font-size: 13px;
    }
}