@charset "utf-8";

.sub-page .container {
    max-width: 1472px;
}

/* 제목 파란 점 */
.sub-page .section-title {
    font-size: 30px;
    font-weight: 700;
    color: #212121;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.sub-page .section-title::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #2563EB;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .sub-page .section-title { font-size: 22px; gap: 8px; margin-bottom: 24px; }
    .sub-page .section-title::before { width: 12px; height: 12px; }
}

/* 서비스 인트로 배너 */
.service-intro-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-intro-banner .banner-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.service-intro-banner .banner-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.service-intro-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.service-intro-banner .banner-content p {
    color: #fff;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    word-break: keep-all;
}

.service-intro-banner .btn-consult-inquiry {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 16px 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
}

.service-intro-banner .btn-consult-inquiry:hover {
    background: #000;
}

@media (max-width: 1024px) {
    .service-intro-banner { height: auto; padding: 60px 0; }
    .service-intro-banner .banner-content p { font-size: 18px; }
}

@media (max-width: 768px) {
    .service-intro-banner { padding: 40px 0; }
    .service-intro-banner .banner-content p { font-size: 16px; }
    .service-intro-banner .btn-consult-inquiry { font-size: 15px; padding: 12px 30px; margin-top: 20px; }
}

/* 목표 리스트 */
.goal-list {
    margin-left: 20px;
}

.goal-list li {
    font-size: 18px;
    font-weight: 500;
    color: #444;
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
    display: flex;
    align-items: center;
}

.goal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #444;
    border-radius: 50%;
}

.goal-list li span {
    font-size: 24px;
    font-weight: 700;
    color: #2563EB;
    margin-left: 5px;
}

/* 하단 설명 박스 */
.service-desc-box {
    background: #EAF0FD;
    border-radius: 10px;
    padding: 30px;
}

.service-desc-box p {
    font-size: 16px;
    color: #212121;
    line-height: 1.6;
    font-weight: 400;
}

@media (max-width: 768px) {
    .goal-list li { font-size: 15px; }
    .goal-list li span { font-size: 18px; }
    .service-desc-box { padding: 20px; }
    .service-desc-box p { font-size: 14px; }
}

/* 3. 일일 현장 안전활동 CYCLE 배경 */
.service-step-section {
    position: relative;
    background-image: url('../../../img/sub/service_step_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
}

.service-step-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.88); /* 시안에 맞춰 밝은 오버레이 적용 */
}

/* 사이클 카드 스타일 */
.cycle-card {
    background: #EAF0FD; /* 연한 블루 배경 */
    border-radius: 10px;
    position: relative;
    margin-top: 50px;
    padding: 90px 10px 49px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.cycle-card .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: #2563EB;
    border-radius: 12px;
}

.cycle-card .num {
    position: absolute;
    top: -50px; /* 중앙 정렬 계산 */
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: #2563EB;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif !important;
}

.cycle-card h3 {
    font-size: 26px;
    color: #2563EB;
    margin-bottom: 20px;
    word-break: keep-all;
    line-height: 1.3;
}

.cycle-card p {
    font-size: 18px;
    color: #212121;
    line-height: 1.6;
    word-break: keep-all;
}

@media (max-width: 1024px) {
    .cycle-card { margin-top: 40px; padding: 60px 20px 30px; }
    .cycle-card .num { width: 80px; height: 80px; font-size: 40px; top: -40px; }
    .cycle-card .top-bar { height: 16px; }
    .cycle-card h3 { font-size: 22px; margin-bottom: 15px; }
    .cycle-card p { font-size: 16px; }
}

@media (max-width: 768px) {
    .cycle-card { margin-top: 35px; padding: 50px 15px 25px; }
    .cycle-card .num { width: 66px; height: 66px; font-size: 32px; top: -33px; }
    .cycle-card .top-bar { height: 12px; }
    .cycle-card h3 { font-size: 18px; margin-bottom: 12px; }
    .cycle-card p { font-size: 14px; }
}

/* 5. 현장 안전 지원 활동 섹션 */
.support-activity-section {
    background-color: #F6FAFF;
}

.support-activity-section .img-wrap {
    border-radius: 100px 0 100px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* 안정감 있는 그림자 추가 */
}

@media (max-width: 1024px) {
    .support-activity-section .img-wrap {
        border-radius: 60px 0 60px 0;
    }
}

@media (max-width: 768px) {
    .support-activity-section .img-wrap {
        border-radius: 40px 0 40px 0;
    }
}


/* Intersection Observer Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.reveal-active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for staggered effect */
.reveal-active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-active > *:nth-child(2) { transition-delay: 0.25s; }
.reveal-active > *:nth-child(3) { transition-delay: 0.4s; }
.reveal-active > *:nth-child(4) { transition-delay: 0.55s; }

/* Premium Interaction Effects */
.cycle-card, .process-item, .support-activity-section .img-wrap {
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.cycle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

/* Detailed Responsive Adjustments */
@media (max-width: 768px) {
    .service-intro-banner .banner-content p {
        font-size: 15px !important;
    }
    .goal-list {
        margin-left: 10px;
    }
    .goal-list li {
        font-size: 14px;
    }
    .goal-list li span {
        font-size: 18px;
    }
    .service-desc-box {
        margin-top: 30px;
        padding: 20px;
    }
    .service-desc-box p {
        font-size: 14px;
        line-height: 1.5;
    }
    .cycle-card h3 {
        font-size: 17px;
    }
    .cycle-card p {
        font-size: 13px;
    }
}

/* Base state for reveal elements */
[class*="reveal"] {
    will-change: transform, opacity;
}
