/* about.css */
* {
  font-family: var(--font-family-poppins) !important;
}

.sub-hero {
  background-image: url('../images/partner-hero-bg.png');
}

.card-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.card-container h3 {
    flex-shrink: 0;
    margin: 0;
}

.work-with-galux .benefits-container {
    flex: 1;
    min-width: 0;
}

.about-us-page {
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Work with Galux Section */
.work-with-galux {
    background-color: #fff;
    position: relative;
    overflow: visible;
}

.work-with-galux .section__container {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: visible;
}

.work-with-galux .SectionTitle {
    margin-bottom: 60px;
    text-align: left;
}

.benefits-subtitle {
    margin-bottom: 48px;
    text-align: left;
}

/* What We Deliver Section */
.what-we-deliver {
  width: 100%;
  background-color: #fff;
}

.what-we-deliver .section__container {
    padding: 60px var(--container-padding-desktop) 140px var(--container-padding-desktop);
}

.what-we-deliver .container {
    max-width: 1440px;
    margin: 0 auto;
}

.what-we-deliver .SectionTitle {
    margin-bottom: 24px;
}

.deliver-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.deliver-cards .card {
    flex: 1;
    text-align: left;
}

.deliver-cards .card .card-image {
    position: relative;
    margin-bottom: 24px;
}

.deliver-cards .card img {
    width: 100%;
    border-radius: 8px;
}

.deliver-cards .card p {
    color: var(--gray-900);
    margin-top: 8px;
    line-height: 1.7;
}

.what-we-deliver .btn {
  margin-top: 64px;
}

/* Benefits Container - Work with Galux 섹션 내부 */
.work-with-galux .benefits-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.work-with-galux .benefit-card {
    background: #fff;
    border-radius: 12px;
    padding: 8px 8px 24px 8px;
    text-align: center;
    color: #000;
    flex: 1;
    position: relative;
    border: 1px solid #F4F4F5;
    z-index: 2;
    overflow: visible;
}

.work-with-galux .benefit-card:not(:first-child)::after {
    content: '+';
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    z-index: 9999 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    position: absolute;
}

.work-with-galux .benefit-image {
    margin-bottom: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.work-with-galux .benefit-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

/* Bottom Banner Section */
.bottom-banner {
  background-image: url('../images/partners/bottom-banner.png');
}

/* Banner Content Styles (updated class names) */
.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.banner-text-group {
    flex: 1;
}

/* Our Story Section (legacy styles - can be removed if not used) */
.our-story-section {
    width: 100%;
    padding: 120px 0;
    background-color: #0C0C0C;
    color: #fff;
    display: flex;
    justify-content: center;
}

.our-story-content {
    width: 100%;
    max-width: 1440px;
    padding: 0 20px;
}

.story-header {
    margin-bottom: 80px;
}

.h2-story {
    font-size: 40px;
    font-weight: 600;
}

.p-story-subtitle {
    font-size: 18px;
    color: #a0a0a0;
    margin-top: 8px;
}

.story-timeline-container {
    display: flex;
    gap: 80px;
}

.timeline-graphic {
    flex: 1 1 40%;
}

.timeline-image {
    width: 100%;
    height: auto;
}

.timeline-text-content {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    gap: 54px;
}

.timeline-item {
    gap:8px;
}
.story-timeline-container p {
  color: var(--gray-300);
}

.story-timeline-container hr {
  border: .5px solid var(--gray-800);
  width: 100%;
}

.h3-timeline {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 16px;
}

.p-timeline {
    font-size: 16px;
    line-height: 1.7;
    color: #a0a0a0;
}

/* Latest News Section (legacy styles - can be removed if not used) */
.latest-news-section {
    width: 100%;
    padding: 120px 0;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
}

.latest-news-content {
    width: 100%;
    max-width: 1440px;
    padding: 0 20px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.latest-news-section .list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .latest-news-section .list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sub-hero {
        padding-bottom: 128px;
    }
    .h1-hero { font-size: 40px; }
    .h2-mission, .h2-story { font-size: 32px; }
    .h3-timeline { font-size: 22px; }
    
    .work-with-galux .section__container,
    .what-we-deliver .section__container {
        padding-left: var(--container-padding-mobile);
        padding-right: var(--container-padding-mobile);
    }
    .work-with-galux .SectionTitle {
        margin-bottom: 24px;
    }
    .benefits-subtitle {
        margin-bottom: 20px;
    }
    
    /* 모바일에서 card-container를 세로로 변경 */
    .card-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .card-container h3 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .work-with-galux .benefits-container {
        width: 100%;
    }
    
    .work-with-galux .section__container {
        padding-top: 48px;
        padding-bottom: 30px;
    }

    .what-we-deliver .section__container {
        padding-top: 30px;
        padding-bottom: 140px;
    }

    .deliver-cards .card .card-image {
        margin-bottom: 16px;
    }

    .story-timeline-container {
        flex-direction: column;
    }
    
    .deliver-cards {
        flex-direction: column;
        gap: 20px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .latest-news-section .list {
        grid-template-columns: 1fr;
    }

    /* Work with Galux Benefits 모바일 스타일 */
    .work-with-galux .benefits-container {
        flex-direction: column;
        gap: 20px;
    }

    .work-with-galux .benefit-card {
        max-width: 100%;
        padding: 8px 8px 24px 8px;
    }

    .work-with-galux .benefit-card:not(:first-child)::after {
        content: '+';
        left: 50%;
        transform: translateX(-50%);
        top: -30px;
    }

    .work-with-galux .benefit-image {
        height: 160px;
        margin-bottom: 20px;
    }

    .work-with-galux .benefit-content h3 {
        font-size: 16px;
        color: var(--gray-900);
    }

    .benefits-subtitle {
        margin-bottom: 32px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .work-with-galux .section__container,
    .what-we-deliver .section__container {
        padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
    }
}

/* 좁은 화면에서 최소 간격 유지 */
@media (max-width: 1200px) {
    .card-container {
        gap: 30px;
    }
    
    .work-with-galux .benefit-card {
        min-width: 0;
    }
    
    .work-with-galux .benefits-container {
        gap: 15px;
    }
}

/* 카드가 너무 길어지는 것을 방지하기 위해 줄바꿈 */
@media (max-width: 1400px) and (min-width: 769px) {
    .card-container {
        flex-direction: column;
        gap: 0;
    }
    
    .card-container h3 {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .work-with-galux .benefits-container {
        width: 100%;
        gap: 20px;
    }
    
    /* 중간 화면에서도 플러스 아이콘 유지 */
    .work-with-galux .benefit-card:not(:first-child)::after {
        content: '+';
        position: absolute;
        left: -35px;
        top: 50%;
        transform: translateY(-50%);
    }
}
