/**
 * Front Page Styles
 *
 * @package HR_Consulting_Theme
 */

/* ============================================
   Common Section Styles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #595959;
    max-width: 733px;
    margin: 0 auto;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    padding: 80px 0 60px;
    background-color: #FFFFFF;
}

.hero-content {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    background-color: #F0F0F0;
    border-radius: 24px;
    margin-bottom: 24px;
}

.hero-badge span {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 1.25;
    color: #000000;
    margin-bottom: 24px;
}

.hero-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #595959;
    max-width: 920px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Hero Image Grid */
.hero-image-grid {
    position: relative;
    width: 100%;
    height: 706px;
}

.hero-grid-item {
    border-radius: 24px;
    overflow: hidden;
    position: absolute;
}

.hero-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-grid-item:hover img {
    transform: scale(1.05);
}

.hero-item-1 {
    left: 0;
    top: 0;
    width: 240px;
    height: 324px;
}

.hero-item-2 {
    left: 0;
    top: 340px;
    width: 240px;
    height: 366px;
}

.hero-item-3 {
    left: 256px;
    top: 84px;
    width: 240px;
    height: 622px;
}

.hero-item-4 {
    left: 512px;
    top: 234px;
    width: 240px;
    height: 472px;
}

.hero-item-5 {
    left: 768px;
    top: 82px;
    width: 240px;
    height: 298px;
}

.hero-item-6 {
    left: 768px;
    top: 396px;
    width: 512px;
    height: 310px;
}

.hero-item-7 {
    left: 1024px;
    top: 0;
    width: 256px;
    height: 380px;
}

/* ============================================
   Who We Serve Section
   ============================================ */
.who-we-serve-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.who-we-serve-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    height: 380px;
    border-radius: 24px;
}

.who-we-serve-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 608px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.who-we-serve-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.5em;
    color: #000000;
    margin: 0;
    margin-top: 48px;
    text-align: left;
}

.who-we-serve-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: #595959;
    margin: 0;
    margin-top: 24px;
    width: 588px;
    text-align: left;
}

.who-we-serve-buttons {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.who-we-serve-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 480px;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
}

.who-we-serve-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   What We Offer Section
   ============================================ */
.what-we-offer-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.what-we-offer-section .section-header {
    max-width: 1280px;
    margin: 0 auto 64px;
}

.what-we-offer-section .section-title {
    text-align: center;
    margin-bottom: 24px;
}

.what-we-offer-section .section-subtitle {
    text-align: center;
    max-width: 733px;
    margin: 0 auto;
}

.services-grid {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    height: 1848px;
}

/* Service Card Base */
.service-card {
    background-color: #FFFFFF;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 24px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    color: #595959;
    margin: 0;
    margin-bottom: 24px;
}

.service-content .btn {
    align-self: flex-start;
}

/* Service Card Variants */
.service-card-large {
    position: absolute;
    left: 0;
    top: 0;
    width: 568px;
    height: 727px;
}

.service-card-large .service-image {
    height: 568px;
}

.service-card-wide {
    position: absolute;
    left: 712px;
    top: 0;
    width: 568px;
    height: 516px;
}

.service-card-wide .service-image {
    height: 378px;
}

.service-card-medium {
    position: absolute;
    left: 0;
    top: 827px;
    width: 665px;
    height: 513px;
}

.service-card-medium .service-image {
    height: 375px;
}

.service-card-wide-bottom {
    position: absolute;
    left: 0;
    top: 1420px;
    width: 953px;
    height: 428px;
}

.service-card-wide-bottom .service-image {
    height: 290px;
}

.service-card-tall {
    position: absolute;
    left: 814px;
    top: 596px;
    width: 466px;
    height: 659px;
}

.service-card-tall .service-image {
    height: 479px;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.about-content {
    display: flex;
    gap: 16px;
    align-items: start;
    justify-content: center;
    margin-bottom: 40px;
}

.about-images-left {
    width: 120px;
    display: flex;
    flex-direction: column;
    gap: 84px;
}

.about-images-right {
    display: flex;
    flex-direction: column;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-1 {
    width: 120px;
    height: 120px;
}

.about-image-2 {
    width: 282px;
    height: 380px;
}

.about-image-3 {
    width: 310px;
    height: 213px;
}

.about-quote {
    background-color: #E8EEF9;
    border-radius: 24px;
    padding: 80px 40px;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-mark {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    font-weight: 700;
    color: #1538BF;
    position: absolute;
    line-height: 1;
}

.quote-start {
    top: 20px;
    left: 20px;
}

.quote-end {
    bottom: 20px;
    right: 20px;
}

.quote-content {
    max-width: 440px;
}

.quote-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.4;
    color: #666666;
}

.quote-content p:last-child {
    margin-bottom: 0;
}

.quote-content strong {
    color: #000000;
    font-weight: 700;
}

.about-navigation {
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    border: 1px solid #E0E0E0;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #F0F0F0;
}

.about-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* ============================================
   Resources Section
   ============================================ */
.resources-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.resources-grid {
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: center;
}

.resource-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    background-color: #D9D9D9;
    flex: 0 0 302px;
    min-width: 302px;
    max-width: 302px;
    transition: flex 1.2s cubic-bezier(0.4, 0, 0.2, 1), min-width 1.2s cubic-bezier(0.4, 0, 0.2, 1), max-width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: flex, min-width, max-width;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* When one card is hovered, it expands and others shrink */
.resources-grid:has(.resource-card:hover) .resource-card {
    flex: 0 0 258px;
    min-width: 258px;
    max-width: 258px;
    transition: flex 1.2s cubic-bezier(0.4, 0, 0.2, 1), min-width 1.2s cubic-bezier(0.4, 0, 0.2, 1), max-width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.resources-grid:has(.resource-card:hover) .resource-card:hover {
    flex: 0 0 434px;
    min-width: 434px;
    max-width: 434px;
    transition: flex 1.2s cubic-bezier(0.4, 0, 0.2, 1), min-width 1.2s cubic-bezier(0.4, 0, 0.2, 1), max-width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.resource-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    will-change: transform, opacity;
}

/* Default background - visible by default */
.resource-bg-default {
    opacity: 1;
    z-index: 1;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover background - hidden by default */
.resource-bg-hover {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On hover: hide default, show hover background */
.resource-card:hover .resource-bg-default {
    opacity: 0;
}

.resource-card:hover .resource-bg-hover {
    opacity: 1;
}

/* Background image zoom on hover */
.resource-card:hover .resource-image img {
    transform: scale(1.15);
}

.resource-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.3s ease;
    z-index: 1;
}

.resource-card:hover .resource-overlay {
    background: rgba(255, 255, 255, 0.2);
}

.resource-content {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    backdrop-filter: blur(23.75px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

.resource-icon svg,
.resource-icon img {
    filter: drop-shadow(0.54px 0.54px 0px rgba(255, 255, 255, 0.46));
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
    width: 100%;
    height: 100%;
    display: block;
}

.resource-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
    color: #FFFFFF;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    margin: 0;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover effect - content centered and enlarged */
.resource-card:hover .resource-content {
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 32px;
}

.resource-card:hover .resource-icon {
    width: 120px;
    height: 120px;
    backdrop-filter: blur(44.53px);
}

.resource-card:hover .resource-icon svg,
.resource-card:hover .resource-icon img {
    filter: drop-shadow(1.01px 1.01px 0px rgba(255, 255, 255, 0.46));
    transform: scale(1.2);
}

.resource-card:hover .resource-title {
    font-size: 24px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.contact-content {
    height: 216px;
    gap: 64px;
    display: flex;
}

.contact-left {
    width: 649px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-btn {
    height: 32px;
    padding: 12px 24px;
    border-radius: 4px;
    background-color: #F0F0F0;
    color: #999999;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 40px;
    align-self: flex-start;
}

.contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: normal;
    color: #000000;
    margin: 0;
    text-align: left;
}

.contact-right {
    width: 487px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 84px;
}

.contact-description {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7142857142857142em;
    color: #595959;
    margin: 0;
    margin-bottom: 35px;
    text-align: left;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.contact-link:hover {
    color: #1538BF;
}

.contact-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ============================================
   Responsive Styles - Tablet Large (1024px-1280px)
   ============================================ */
@media (min-width: 1024px) and (max-width: 1280px) {
    /* Hero */
    .hero-image-grid {
        gap: 20px;
        margin-top: 48px;
    }

    .hero-grid-item {
        border-radius: 20px;
    }

    /* About */
    .about-content {
        gap: 24px;
    }

    .about-image-1 {
        width: 160px;
        height: 160px;
    }

    .about-image-2 {
        height: 360px;
    }

    .about-image-3 {
        height: 280px;
    }

    .about-quote {
        padding: 60px 40px;
    }

    .quote-content p {
        font-size: 19px;
    }
}

/* ============================================
   Responsive Styles - Tablet Medium (900px-1023px)
   ============================================ */
@media (min-width: 900px) and (max-width: 1023px) {
    /* Hero */
    .hero-image-grid {
        gap: 16px;
        margin-top: 40px;
    }

    .hero-grid-item {
        border-radius: 16px;
    }

    /* About */
    .about-content {
        gap: 18px;
    }

    .about-image-1 {
        width: 140px;
        height: 140px;
    }

    .about-image-2 {
        height: 320px;
    }

    .about-image-3 {
        height: 240px;
    }

    .about-quote {
        padding: 50px 32px;
    }

    .quote-content p {
        font-size: 17px;
    }
}

/* ============================================
   Responsive Styles - Tablet Small (768px-899px)
   ============================================ */
@media (min-width: 768px) and (max-width: 899px) {
    /* Hero */
    .hero-image-grid {
        gap: 12px;
        margin-top: 36px;
    }

    .hero-grid-item {
        border-radius: 14px;
    }

    /* About */
    .about-content {
        gap: 16px;
    }

    .about-image-1 {
        width: 120px;
        height: 120px;
    }

    .about-image-2 {
        height: 280px;
    }

    .about-image-3 {
        height: 200px;
    }

    .about-quote {
        padding: 40px 24px;
    }

    .quote-mark {
        font-size: 56px;
    }

    .quote-start {
        top: 20px;
        left: 20px;
    }

    .quote-end {
        bottom: 20px;
        right: 20px;
    }

    .quote-content p {
        font-size: 16px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   Responsive Styles - Tablet (768px-1280px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1280px) {
    /* Hero */
    .hero-content {
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-image-grid {
        height: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 0;
        margin-top: 40px;
    }

    .hero-grid-item {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        border-radius: 16px;
        overflow: hidden;
        aspect-ratio: 1;
        height: auto;
    }

    .hero-item-1 {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-item-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .hero-item-3 {
        grid-column: 2;
        grid-row: 1 / 3;
        aspect-ratio: 1 / 2;
    }

    .hero-item-4 {
        grid-column: 3;
        grid-row: 1;
    }

    .hero-item-5 {
        grid-column: 3;
        grid-row: 2;
    }

    .hero-item-6 {
        grid-column: 1 / 3;
        grid-row: 3;
        aspect-ratio: 2 / 1;
    }

    .hero-item-7 {
        grid-column: 3;
        grid-row: 3;
    }

    .hero-grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Who We Serve */
    .who-we-serve-content {
        height: auto;
        padding: 40px 0;
    }

    .who-we-serve-text {
        position: static;
        width: 100%;
        margin-bottom: 40px;
    }

    .who-we-serve-title {
        font-size: 40px;
        margin-top: 0;
    }

    .who-we-serve-description {
        width: 100%;
        margin-top: 16px;
    }

    .who-we-serve-image {
        position: static;
        width: 100%;
        height: auto;
        max-height: 400px;
    }

    /* Services */
    .services-grid {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-card-large, .service-card-wide, .service-card-medium,
    .service-card-wide-bottom, .service-card-tall {
        position: static;
        width: 100%;
        height: auto;
    }

    .service-card .service-image {
        height: 280px !important;
    }

    /* Sections - 统一缩短间距 */
    .who-we-serve-section,
    .what-we-offer-section,
    .about-section,
    .resources-section,
    .contact-section {
        padding: 50px 0;
    }

    .hero-section {
        padding: 50px 0 30px;
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: start;
        margin-bottom: 40px;
    }

    .about-images-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        grid-column: 1;
        grid-row: 1;
        align-items: center;
    }

    .about-image {
        border-radius: 20px;
    }

    .about-image-1 {
        width: 140px;
        height: 140px;
        align-self: center;
        flex-shrink: 0;
    }

    .about-navigation {
        display: flex;
        gap: 8px;
        justify-content: center;
        margin-top: 0;
        padding-left: 0;
        align-self: center;
    }

    .nav-btn {
        width: 44px;
        height: 44px;
        border-radius: 22px;
    }

    .about-image-2 {
        width: 100%;
        height: 320px;
        grid-column: 1;
        grid-row: 2;
    }

    .about-quote {
        grid-column: 2;
        grid-row: 1 / 3;
        padding: 50px 32px;
        min-height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
    }

    .quote-mark {
        font-size: 64px;
    }

    .quote-start {
        top: 24px;
        left: 24px;
    }

    .quote-end {
        bottom: 24px;
        right: 24px;
    }

    .quote-content {
        max-width: 100%;
    }

    .quote-content p {
        font-size: 18px;
        line-height: 1.5;
    }

    .about-images-right {
        grid-column: 1 / 3;
        grid-row: 3;
        width: 100%;
        margin-top: 20px;
    }

    .about-image-3 {
        width: 100%;
        height: 240px;
    }

    .about-actions {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 0;
    }

    .about-actions .btn {
        min-width: 200px;
    }

    /* Resources */
    .resources-grid {
        flex-wrap: wrap;
        gap: 16px;
        padding: 0 40px;
    }

    .resource-card {
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        min-width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        /* 保持PC端比例 302:380 ≈ 0.795:1 */
        aspect-ratio: 302 / 380;
        height: auto;
        cursor: default;
        transition: none !important;
    }

    /* 禁用hover时的宽度变化效果 */
    .resources-grid:has(.resource-card:hover) .resource-card {
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        min-width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }

    .resources-grid:has(.resource-card:hover) .resource-card:hover {
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        min-width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }

    /* 禁用hover效果和过渡动画 */
    .resource-image img {
        transition: none !important;
    }

    .resource-bg-default,
    .resource-bg-hover {
        transition: none !important;
    }

    .resource-overlay {
        transition: none !important;
    }

    .resource-card:hover .resource-bg-default {
        opacity: 1 !important;
    }

    .resource-card:hover .resource-bg-hover {
        opacity: 0 !important;
    }

    .resource-card:hover .resource-image img {
        transform: scale(1) !important;
    }

    .resource-card:hover .resource-overlay {
        background: rgba(255, 255, 255, 0.2) !important;
    }

    .resource-content {
        top: 50%;
        transform: translate(-50%, -50%);
        gap: 20px;
        transition: none !important;
    }

    .resource-icon {
        width: 64px;
        height: 64px;
        transition: none !important;
    }

    .resource-title {
        font-size: 16px;
        transition: none !important;
    }

    .resource-card:hover .resource-content {
        top: 50%;
        transform: translate(-50%, -50%);
        gap: 20px;
    }

    .resource-card:hover .resource-icon {
        width: 64px;
        height: 64px;
    }

    .resource-card:hover .resource-icon svg,
    .resource-card:hover .resource-icon img {
        transform: scale(1) !important;
        filter: drop-shadow(0.54px 0.54px 0px rgba(255, 255, 255, 0.46)) !important;
    }

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

    /* Contact */
    .contact-content {
        height: auto;
        padding: 40px 0;
    }

    .contact-left {
        position: static;
        width: 100%;
        margin-bottom: 40px;
    }

    .contact-title {
        font-size: 40px;
    }

    .contact-right {
        position: static;
        width: 100%;
        padding-top: 0;
    }
}

/* ============================================
   Responsive Styles - Mobile (<=767px)
   ============================================ */
@media (max-width: 767px) {
    /* Sections */
    .section-header {
        margin-bottom: 40px;
    }

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

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

    /* Hero */
    .hero-section {
        padding: 40px 0 24px;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }

    .hero-image-grid {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
        margin-top: 32px;
    }

    .hero-grid-item {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        aspect-ratio: 1;
        height: auto;
        transition: transform 0.3s ease;
    }

    .hero-grid-item:hover {
        transform: scale(1.02);
    }

    .hero-item-1 {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-item-2 {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-item-3 {
        grid-column: 1 / 3;
        grid-row: 2;
        aspect-ratio: 2 / 1;
    }

    .hero-item-4 {
        grid-column: 1;
        grid-row: 3;
    }

    .hero-item-5 {
        grid-column: 2;
        grid-row: 3;
    }

    .hero-item-6 {
        grid-column: 1 / 3;
        grid-row: 4;
        aspect-ratio: 2 / 1;
    }

    .hero-item-7 {
        grid-column: 1 / 3;
        grid-row: 5;
        aspect-ratio: 2 / 1;
    }

    .hero-grid-item {
        transition: none;
    }

    .hero-grid-item:hover {
        transform: none;
    }

    .hero-grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: none;
    }

    .hero-grid-item:hover img {
        transform: none;
    }

    /* Sections - 统一缩短间距 */
    .who-we-serve-section,
    .what-we-offer-section,
    .about-section,
    .resources-section,
    .contact-section {
        padding: 40px 0;
    }

    .who-we-serve-content {
        height: auto;
        padding: 32px 0;
    }

    .who-we-serve-text {
        position: static;
        width: 100%;
        margin-bottom: 32px;
    }

    .who-we-serve-title {
        font-size: 32px;
        margin-top: 0;
    }

    .who-we-serve-description {
        width: 100%;
        margin-top: 16px;
    }

    .who-we-serve-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .who-we-serve-buttons .btn {
        width: 100%;
    }

    .who-we-serve-image {
        position: static;
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    /* Services */
    .services-grid {
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card-large, .service-card-wide, .service-card-medium,
    .service-card-wide-bottom, .service-card-tall {
        position: static;
        width: 100%;
        height: auto;
    }

    .service-card .service-image {
        height: 220px !important;
    }

    .service-label h3 {
        font-size: 20px;
    }

    /* About */
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .about-images-left {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 16px;
        justify-content: center;
        order: 1;
    }

    .about-image-1 {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    .about-image-2 {
        width: 100%;
        max-width: 100%;
        height: 240px;
        order: 2;
    }

    .about-image-3 {
        width: 100%;
        max-width: 100%;
        height: 200px;
    }

    .about-images-right {
        width: 100%;
        order: 4;
    }

    .about-quote {
        padding: 32px 20px;
        min-height: auto;
        order: 3;
        width: 100%;
    }

    .quote-mark {
        font-size: 40px;
    }

    .quote-start {
        top: 16px;
        left: 16px;
    }

    .quote-end {
        bottom: 16px;
        right: 16px;
    }

    .quote-content {
        max-width: 100%;
    }

    .quote-content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .about-navigation {
        padding-left: 0;
        justify-content: center;
        margin-top: 16px;
    }

    .about-actions {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .about-actions .btn {
        width: 100%;
    }

    /* Resources */
    .resources-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
        align-items: center;
    }

    .resource-card {
        flex: none !important;
        width: 302px !important;
        min-width: 302px !important;
        max-width: 302px !important;
        /* 保持PC端比例 302:380，高度按比例自动调整 */
        aspect-ratio: 302 / 380;
        height: auto;
        cursor: default;
        transition: none !important;
    }

    /* 禁用hover时的宽度变化效果 */
    .resources-grid:has(.resource-card:hover) .resource-card {
        flex: none !important;
        width: 302px !important;
        min-width: 302px !important;
        max-width: 302px !important;
        transition: none !important;
    }

    .resources-grid:has(.resource-card:hover) .resource-card:hover {
        flex: none !important;
        width: 302px !important;
        min-width: 302px !important;
        max-width: 302px !important;
        transition: none !important;
    }

    /* 禁用hover效果和过渡动画 */
    .resource-image img {
        transition: none !important;
    }

    .resource-bg-default,
    .resource-bg-hover {
        transition: none !important;
    }

    .resource-overlay {
        transition: none !important;
    }

    .resource-card:hover .resource-bg-default {
        opacity: 1 !important;
    }

    .resource-card:hover .resource-bg-hover {
        opacity: 0 !important;
    }

    .resource-card:hover .resource-image img {
        transform: scale(1) !important;
    }

    .resource-card:hover .resource-overlay {
        background: rgba(255, 255, 255, 0.2) !important;
    }

    .resource-content {
        top: 50%;
        transform: translate(-50%, -50%);
        gap: 20px;
        transition: none !important;
    }

    .resource-icon {
        width: 64px;
        height: 64px;
        transition: none !important;
    }

    .resource-title {
        font-size: 16px;
        white-space: normal;
        transition: none !important;
    }

    .resource-card:hover .resource-content {
        top: 50%;
        transform: translate(-50%, -50%);
        gap: 20px;
    }

    .resource-card:hover .resource-icon {
        width: 64px;
        height: 64px;
    }

    .resource-card:hover .resource-icon svg,
    .resource-card:hover .resource-icon img {
        transform: scale(1) !important;
        filter: drop-shadow(0.54px 0.54px 0px rgba(255, 255, 255, 0.46)) !important;
    }

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

    /* Contact */
    .contact-content {
        height: auto;
        padding: 32px 0;
    }

    .contact-left {
        position: static;
        width: 100%;
        margin-bottom: 32px;
    }

    .contact-btn {
        margin-bottom: 24px;
    }

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

    .contact-right {
        position: static;
        width: 100%;
        padding-top: 0;
    }

    .contact-description {
        margin-bottom: 24px;
    }

    .contact-link {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ============================================
   Responsive Styles - Small Mobile (<=480px)
   ============================================ */
@media (max-width: 480px) {
    /* Hero */
    .hero-image-grid {
        gap: 8px;
        margin-top: 24px;
    }

    .hero-grid-item {
        border-radius: 10px;
    }

    .hero-item-3,
    .hero-item-6,
    .hero-item-7 {
        aspect-ratio: 16 / 9;
    }
}
