/* 
 * 云南震序律师事务所网站 - 关于我们页面样式
 */

/* 关于页面 */
.about-page {
    padding-bottom: 80px;
}

.about-content h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: #002b70;
}

/* 关于我们核心内容 */
.about-core {
    margin-bottom: 50px;
}

.about-core-img {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 20px;
}

.about-core-img img {
    width: 100%;
    height: auto;
}

/* 动画效果 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-down {
    transition: opacity 0.3s ease;
}

.scroll-down:hover {
    opacity: 0.8;
}

/* 顶部大图和标语 */
/* .about-banner styles moved to inline style in about.html */

.about-banner .container {
    height: 100%;
    position: relative;
}

.banner-text {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    z-index: 2;
}

/* Styles for H1 in banner text (PC) */
.banner-text h1 {
    color: #F4AD03; /* Yellow */
    font-size: 60px;
    line-height: 1.6;
    margin: 0 0 15px 0; 
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Styles for P in banner text (PC) */
.banner-text p {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.8;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text .mobile-break {
    display: none;
}

.chinese-text {
    margin-bottom: 30px;
}

.chinese-text h1 {
    color: #F4AD03;
    font-size: 55px;
    line-height: 1.6;
    margin: 0;
    font-weight: bold;
    letter-spacing: 2px;
}

.english-text {
    margin-top: 40px;
}

.english-text p {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.8;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 0px;
    z-index: 3;
    cursor: pointer;
}

.scroll-down img {
    width: 24px;
    height: auto;
    animation: bounce 2s infinite;
}

.mobile-only {
    display: none;
}

/* 震序所训部分 */
.mission-section {
    position: relative;
    width: 100%;
    height: 730px;
    /* background: url('../../images/about/about-bg2.png') no-repeat center center; /* Removed old background rule */
    background-image: var(--mission-bg-url); /* Use CSS variable */
    background-repeat: no-repeat; /* Keep other background properties */
    background-position: center center;
    background-size: cover;
}

.mission-section .container {
    height: 100%;
    position: relative;
}

.mission-section .row {
    height: 100%;
    display: flex;
    align-items: center;
}


/* Define PC size for images in this section */
.mission-section img {
    width: 100%; 
    max-width: 450px; 
    height: auto;
    display: block; 
    /* Removed margin-left/right auto for specific alignment below */
}

/* Align first image (in first col-md-6) to the left */
.mission-section .col-md-6:first-child img {
    margin-left: 0;
    margin-right: auto;
}

/* Align second image (in last col-md-6) to the right */
.mission-section .col-md-6:last-child img {
    margin-left: auto;
    margin-right: 0;
}

/* 关于震序介绍部分 */
.about-intro-section {
    position: relative;
    width: 100%;
    height: 1300px;
    /* background: url('../../images/about/about-bg2.png') no-repeat center center; */ /* 移除 */
    background-repeat: no-repeat;     /* 保留 */
    background-position: center center; /* 保留 */
    background-size: cover;           /* 保留 */
}

.about-intro-section .container {
    height: 100%;
    padding-top: 100px;
}

.section-header {
    text-align: left;
    margin-bottom: 50px;
}

.section-header h2 {
    color: #002B70;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-header p {
    color: #000000;
    font-size: 24px;
    margin-bottom: 10px;
}

.honors {
    margin-bottom: 0px;
    margin-top: -40px;
}

.honors h3 {
    color: #F4AD03;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 15px;
    letter-spacing: 8px;
}

.content-blocks .intro-block p,
.content-blocks .service-block p,
.content-blocks .experience-block p,
.content-blocks .team-block p,
.content-blocks .mission-block p {
    color: #000000;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
    text-align: justify;
}

.content-blocks h4 {
    color: #002B70;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.intro-block {
    margin-bottom: 20px;
}

.service-block,
.experience-block,
.team-block {
    margin-bottom: 40px;
}

/* 震序荣誉证书展示部分 */
.honor-section {
    position: relative;
    width: 100%;
    height: 730px;
    /* background: url('../../images/about/about-bg3.png') no-repeat center center; */ /* 移除 */
    background-repeat: no-repeat;     /* 保留 */
    background-position: center center; /* 保留 */
    background-size: cover;           /* 保留 */
}

.honor-section .container {
    height: 100%;
    padding-top: 60px;
}

.honor-section .section-header {
    text-align: left;
    margin-bottom: 0px;
}

.honor-section .section-header h2 {
    color: #ffffff;
}

.honor-section .section-header h3 {
    color: #F4AD03;
    font-size: 48px;
    font-weight: bold;
    line-height: 0.5;
    letter-spacing: 6px;
}

.honor-section .section-header p:last-of-type {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 50px;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    padding: 0;
}

.certificates-grid img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* 服务单位展示部分 */
.service-unit-section {
    position: relative;
    width: 100%;
    /* background: url('../../images/about/about-bg4.png') no-repeat center center; */ /* 移除 */
    background-repeat: no-repeat;     /* 保留 */
    background-position: center center; /* 保留 */
    background-size: cover;           /* 保留 */
}

.service-unit-section .container {
    height: 100%;
    padding-top: 100px;
}

.service-unit-section .section-header h2,
.service-unit-section .section-header p {
    color: #002B70;
}

.service-unit-section .section-header h3 {
    color: #F4AD03;
    font-size: 47px;
    font-weight: bold;
    line-height: 0.5;
    letter-spacing: 6px;
}

.service-unit-section .section-header p:last-of-type {
    margin-bottom: 50px;
}

.logo-showcase {
    text-align: center;
    margin-top: 50px;
}

.logo-showcase img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 40px; /* 这里设置了20px的下边距， */
}

/* 荣誉模态框样式 */
.honor-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding-top: 30px; /* 增加顶部内边距，使内容下移 */
}

.honor-modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: transparent; /* 确保容器背景透明 */
}

.honor-modal-image {
    max-width: 90%;
    max-height: 80vh; /* 稍微减小高度，避免太靠上 */
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.honor-modal-close {
    position: absolute;
    top: -35px;
    right: -15px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
}

.honor-modal-close:hover {
    color: #F4AD03;
}

/* 证书图片增加鼠标手型指针和悬停效果 */
.certificate-img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


