
    /* Font declarations */
@font-face {
    font-family: 'TTYukjundabangB';
    src: url('/fonts/TTYukjundabangB.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'TTYukjundabangL';
    src: url('/fonts/TTYukjundabangL.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'TTYukjundabangR';
    src: url('/fonts/TTYukjundabangR.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
}

/* 공통 섹션 배경 이미지 스타일 */
.section-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
}

/* 배경 오버레이 투명도 조절 */
.overlay-light::before {
    background: rgba(255, 255, 255, 0.3);
}

.overlay-dark::before {
    background: rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 576px){
    .overlay-light::before {
        background: #fff;
    }
    .section-bg::before {
        background: none;
    }
    .overlay-dark::before {
        display: none;
    }
}

.overlay-none::before {
    display: none;
}

/* 이미지 컨테이너 */
.section-image {
    text-align: center;
    margin: 2rem 0;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.floating-image {
    position: absolute;
    z-index: 3;
}

.floating-image.top-left {
    top: 20px;
    left: 20px;
}

.floating-image.top-right {
    top: 20px;
    right: 20px;
}

.floating-image.bottom-left {
    bottom: 20px;
    left: 20px;
}

.floating-image.bottom-right {
    bottom: 20px;
    right: 20px;
}

.floating-image.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 네비게이션 */
.navbar-custom {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: bold;
    color: #333 !important;
    font-size: 18px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 15px;
}

/* 첫 번째 히어로 섹션 - 파란색 배경 */
.hero-section {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.hero-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 히어로 이미지들 개별 스타일링 */
.hero-title-img {
    margin-bottom: 10px;
}

.hero-logo-img {
    margin-bottom: 20px;
}

/* retirement-knowhow 텍스트 스타일 */
.retirement-knowhow-text {
    color: white;
    font-family: 'TTYukjundabangB', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
    line-height: 1.4;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.retirement-knowhow-text .text-line-1 {
    font-size: 51px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0px;
}

.retirement-knowhow-text .text-line-2 {
    font-size: 51px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0px;
}

.retirement-knowhow-text .text-line-3 {
    font-size: 51px;
    font-weight: 500;
    letter-spacing: -0.5px;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .retirement-knowhow-text .text-line-1,
    .retirement-knowhow-text .text-line-2 {
        font-size: 28px;
    }

    .retirement-knowhow-text .text-line-3 {
        font-size: 22px;
    }
}

/* hero-illustration 카드 스타일 */
.hero-cards-container {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    max-width: 550px;
}

.hero-card {
    width: 175px;
    height: 75px;
    padding: 12px 15px;
    border-radius: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-card.card-green {
    background: #52C286;
}

.hero-card.card-blue {
    background: #1A68FA;
}

.hero-card.card-cyan {
    background: #2DB3D9;
}

.hero-card .card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card .card-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.hero-card .card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
    text-align: center;
}

.hero-card .card-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.hero-card .card-subtitle {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* 배경 장식 효과 */
.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

@media (max-width: 768px) {
    .hero-cards-container {
        flex-direction: column;
        max-width: 100%;
    }

    .hero-card {
        min-height: 80px;
        flex-direction: row;
        padding: 15px 20px;
        justify-content: flex-start;
        gap: 15px;
    }

    .hero-card .card-icon {
        margin-bottom: 0;
    }

    .hero-card .card-text {
        text-align: left;
        display: flex;
        gap: 5px;
    }
}

/* 상담 신청 폼 */
.hero-form {
    background: white;
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    font-family: 'Pretendard Medium', sans-serif;
}

.hero-form h3 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'Pretendard Medium', sans-serif;
}

.form-group-custom {
    margin-bottom: 1.5rem;
    font-family: 'Pretendard Medium', sans-serif;
}

.form-group-custom label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    font-family: 'Pretendard Medium', sans-serif;
}

.form-control-custom {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: 'Pretendard Medium', sans-serif;
}

.form-control-custom:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* 폼 관련 스타일 */
.form-row {
    display: flex;
    gap: 10px;
    align-items: end;
}

.form-row .form-group-custom {
    flex: 1;
}

.name-field {
    flex: 2;
}

.gender-field {
    flex: 1;
}

/* 성별 라디오 버튼 스타일 */
.gender-radio-group {
    display: flex;
    gap: 15px;
    margin-top: 0.5rem;
}

.radio-option-inline {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-option-inline input[type="radio"] {
    margin-right: 5px;
    accent-color: #3b82f6;
}

.radio-option-inline .radio-text {
    color: #333;
    font-size: 16px;
}

/* 라디오 버튼 스타일 */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-option input[type="radio"] {
    margin-right: 8px;
    accent-color: #3b82f6;
}

.radio-text {
    color: #333;
    font-size: 16px;
}

.btn-submit-custom {
    width: 100%;
    padding: 15px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
}

.btn-submit-custom:hover {
    background: #2563eb;
}

/* 두 번째 섹션 - 흰색 배경 */

.intro-section {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.intro-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;


}

 /* intro-section-content 텍스트 스타일 */

.intro-section-content-line-1 {
    font-family: 'TTYukjundabangL', sans-serif;
    color: #000000;
    font-size: 45px;
    line-height: 35px;
}
.intro-section-content-line-2 {
    font-family: 'TTYukjundabangB', sans-serif;
    color: #000000;
    font-size: 45px;
    }


/* 세 번째 섹션 - 진한 파란색 배경, 전문가 소개 */

.expert-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: visible;
}

.expert-layout {
    display: flex;
    align-items: center;
    min-height: 500px;
}

.expert-text-area {
    flex: 1;
    padding-right: 40px;
}

/*세 번쨰 섹션 폰트*/
.expert-text-area-line-1{
    font-family: "Pretendard ExtraBold", sans-serif;
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 30px;
}
.expert-text-area-line-2{
    font-family: 'Pretendard ', sans-serif;
    font-size: 25px;
    line-height: 30px;
}

.expert-text-area img {
    max-width: 100%;
    height: auto;
    display: block;
}

.expert-image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.expert-image-area img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}

/* 반응형 */
@media (max-width: 768px) {
    .expert-layout {
        flex-direction: column;
        text-align: center;
    }

    .expert-text-area {
        padding-right: 0;
        margin-bottom: 30px;
    }
}


.expert-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.expert-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.expert-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.expert-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    min-width: 250px;
}

.expert-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
}

/* 네 번째 섹션 - 회색 배경, 서비스 영역 */
.services-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.services-intro {
    text-align: center;

    font-family: 'TTYukjundabangL', sans-serif;
    font-size: 45px;
    line-height: 60px;
}
.services-intro-top{
    font-family: 'TTYukjundabangB', sans-serif;
    font-size: 45px;
    line-height: 35px;
}

.services-intro img {
    max-width: 100%;
    height: auto;
}

.services-intro h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.services-cta {
    text-align: center;
    margin: 40px 0;
}

.cta-pill {
    display: inline-block;
    background: white;
    border: 2px solid #333;
    border-radius: 50px;
    padding: 1px 20px;
    font-size: 33px;
    color: #333;
    font-family: 'Pretendard', sans-serif;
    letter-spacing : -2px;
}


.qa-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.qa-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.qa-card img {
    width: 100%;
    height: auto;
    display: block;
}

.qa-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: white;
}

.qa {
    font-family: Pretendard, sans-serif;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
}

.qa-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: Pretendard, sans-serif;
}

/* 다섯 번째 섹션 - 통계 */
.stats-section {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.stats-intro h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.stats-intro p {
    color: #666;
    margin-bottom: 3rem;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.stat-icon.blue { background: #3b82f6; }
.stat-icon.green { background: #10b981; }
.stat-icon.purple { background: #8b5cf6; }
.stat-icon.orange { background: #f59e0b; }
.stat-icon.red { background: #ef4444; }

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* 여섯 번째 섹션 - 연혁/경험 */
.timeline-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.timeline-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 8rem;
}
.timeline-intro{
    margin-bottom: 5rem;
    text-align: center;

    font-family: 'TTYukjundabangL', sans-serif;
    font-size: 45px;
    line-height: 60px;

}
.timeline-content {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* 일곱 번째 섹션 - 진한 배경, 서비스 상세 */
.detailed-services-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 80px 0;
}

.detailed-services-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.service-detailed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-detailed-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.service-detailed-image {
    width: 100%;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* 여덟 번째 섹션 - 어두운 배경, CTA */
.final-cta-section {
    background: #ffffff;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.final-cta-section p {
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.cta-card-image {
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}



/* 아홉 번째 섹션 - 현세연 이유있는선택 */

.reason-intro {
    text-align: center;
    margin-bottom: 5rem; /* 두 섹션 사이의 간격 */
}

.reason-intro img {
    max-width: 100%;
    height: auto;
}

.reason-review {
    text-align: center;
}

.reason-review img {
    max-width: 100%;
    height: auto;
}

.reason-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.reason-section img {
    max-width: 100%;
    height: auto;
}

/* 열 번째 섹션 - 추가 섹션 1 */


.additional-section-1 .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.additional-section-1 .additional-intro,
.additional-section-1 .additional-content {
    flex: 1;
    text-align: center;
}




.additional-section-1 {
    background: white;
    padding: 40px 0 0;
    text-align: center;
}

.additional-section-1 .additional-intro {
    margin-bottom: 1rem;
}

.additional-section-1 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.additional-section-1 img:last-child {
    margin-bottom: 0;
}

/* 열한 번째 섹션 - 추가 섹션 2 */
.additional-section-2 {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

/* 액션 버튼 스타일 */
.action-buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-button-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 365px;
    max-width: 365px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    border: none;
    border-radius: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 365px;
    height: 130px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.action-btn:active {
    transform: translateY(0);
}

/* Q&A 버튼 - 진한 파란색 */
.btn-qa {
    background: #0066FE;
    color: white;
}

.btn-qa:hover {
    background: #0055EE;
}

/* 상담 버튼 - 밝은 초록색 */
.btn-consult {
    background: #00D67E;
    color: white;
}

.btn-consult:hover {
    background: #00C26F;
}

.btn-text {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: white;
    line-height: 1.3;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    align-self: center;
}

.btn-qa .btn-action {
    background: #013E99;
}

.btn-qa:hover .btn-action {
    background: #013590;
}

.action-btn:hover .btn-action {
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(2px);
}

.btn-arrow {
    font-size: 16px;
    font-weight: bold;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.action-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* 반짝임 효과 */
.action-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent
    );
    transform: rotate(45deg);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

@media (max-width: 480px) {
    .action-button-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .action-btn {
        padding: 14px 16px;
        min-height: 52px;
    }

    .btn-text {
        font-size: 14px;
    }

    .btn-action {
        font-size: 13px;
        padding: 5px 10px;
    }
}

/* 개인정보 모달 스타일 */
.privacy-modal .modal-dialog {
    max-width: 900px;
}

.privacy-modal .modal-header {
    background: #3b82f6;
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.privacy-modal .modal-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.privacy-modal .modal-body {
    padding: 2rem;
}

.privacy-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.privacy-content h5 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.agreement-section {
    margin-top: 1.5rem;
}

.agreement-section h5 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.agreement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.agreement-item:hover {
    background: #f0f7ff;
    border-color: #3b82f6;
}

.agreement-item input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.agreement-text {
    flex: 1;
}

.agreement-label {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0;
    cursor: pointer;
}

.required-badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.optional-badge {
    display: inline-block;
    background: #6b7280;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.agreement-all {
    background: #f0f7ff;
    border: 2px solid #3b82f6;
    font-weight: 600;
}

.agreement-all .agreement-label {
    color: #3b82f6;
}

.privacy-modal .modal-footer {
    border-top: 1px solid #e0e0e0;
    padding: 1.5rem;
}

.privacy-modal .btn {
    padding: 10px 30px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s;
}

.privacy-modal .btn-secondary {
    background: #6b7280;
    border: none;
}

.privacy-modal .btn-secondary:hover {
    background: #4b5563;
}

.privacy-modal .btn-primary {
    background: #3b82f6;
    border: none;
}

.privacy-modal .btn-primary:hover {
    background: #2563eb;
}

.privacy-modal .btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* 개인정보 모달 추가 스타일 */
.contWin {
    padding: 30px;
    position: relative;
}

.btnClosePopup {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
}

.btnClosePopup:hover {
    transform: rotate(90deg);
}

.btnClosePopup::before,
.btnClosePopup::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #333;
    top: 50%;
    left: 50%;
}

.btnClosePopup::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.btnClosePopup::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.popupTitle {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.scrollWrap {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.privacyInfoText {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
}

.info-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.legal-basis {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.legal-label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.legal-basis ul {
    list-style: none;
    padding-left: 20px;
}

.legal-basis li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
    color: #666;
}

.legal-basis li:before {
    content: "•";
    position: absolute;
    left: 0;
}

.agreeAllCell {
    background: #007bff;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    font-weight: bold;
}

.checkAll {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.agreeContWrap {
    margin: 20px 0;
}

.agreeBox {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.titleCell {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ddd;
}

.titleText {
    font-weight: bold;
    flex: 1;
    color: #333;
}

.badge-required {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.badge-optional {
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.agreeTextCell {
    padding: 20px;
    line-height: 1.8;
    color: #333;
}

.bold {
    font-weight: bold;
    color: #000;
}

.btnConfirm {
    background: #007bff;
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    margin: 30px auto 0;
    width: 200px;
    transition: background 0.3s;
    border: none;
    display: block;
}

.btnConfirm:hover {
    background: #0056b3;
}

.btnConfirm:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.agreeChk1, .agreeChk2, .agreeChk3 {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
    cursor: pointer;
}

.additional-section-2 .additional-intro {
    margin-bottom: 3rem;
}

.additional-section-2 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.additional-section-2 img:last-child {
    margin-bottom: 0;
}




/* 플로팅 사이드바 - 모바일 */
.floating-sidebar-mobile {
    position: fixed;
    bottom: 20px;
    left: 15px;
    right: 15px;
    z-index: 1000;
}

/* 플로팅 사이드바 - PC */
.floating-sidebar {
    position: fixed;
    right: 200px;
    top: 150px;
    z-index: 1000;
    width: 120px;
}

.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 8px 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid #e5e5e5;
}

.sidebar-item {
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.sidebar-item:hover {
    opacity: 0.8;
}

.sidebar-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.sidebar-icon.kakao {
    background: #fee500;
    color: #000;
    font-size: 12px;
}

.sidebar-icon.online {
    background: white;
    border: 2px solid #e0e0e0;
    color: #1a73e8;
}

.sidebar-icon.youtube {
    background: #ff0000;
    color: white;
}

.sidebar-label {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

.phone-section {
    padding: 20px 0 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
    text-align: center;
}

.phone-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
    font-size: 20px;
}

.phone-label {
    font-size: 12px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
    line-height: 1.1;
    margin-bottom: 15px;
}

.btn-top-custom {
    background: #5865f2;
    color: white;
    border: none;
    padding: 10px 0;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-top-custom:hover {
    background: #4752c4;
    color: white;
    transform: translateY(-1px);
}

/* Footer 스타일 */
.footer-section {
    background: #ffffff;
    padding: 50px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.footer-logo .logo-text::before {
    content: '';
    display: inline-block;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #52C286 0%, #1A68FA 50%, #2DB3D9 100%);
    border-radius: 5px;
    margin-right: 10px;
}

.footer-logo .tagline {
    font-size: 13px;
    color: #666;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #ddd;
}

.footer-info {
    margin-left: 45px;
}

.footer-info p {
    margin: 8px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.footer-info .privacy-link {
    margin-bottom: 15px;
}

.footer-info .privacy-link a {
    color: #333;
    font-weight: 500;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.footer-info .privacy-link a:hover {
    color: #1A68FA;
}

.footer-info .copyright {
    font-weight: 600;
    color: #333;
    margin: 15px 0 10px;
}

.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-youtube {
    background: #FF0000;
    color: white;
    font-size: 20px;
}

.footer-social .social-youtube:hover {
    background: #CC0000;
    transform: scale(1.1);
}

.footer-social .social-kakao {
    background: #FEE500;
    font-size: 11px;
    padding: 0;
}

.footer-social .social-kakao:hover {
    background: #F7DC00;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .footer-info {
        margin-left: 0;
    }

    .footer-right {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 576px){
    .footer {
        padding: 0;
    }
    .m_btn {
        display: block;
    }

    .expert-section {
        padding: 0;
    }

    .stats-section {
        padding: 0;
    }

    .reason-section {
        padding: 0;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-weight: bold;
}

.footer-content {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.footer-social a {
    color: #ffff;
    font-size: 1.5rem;
    text-decoration: none;
}


/* 반응형 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .consultation-buttons {
        flex-direction: column;
    }

    .expert-cards {
        flex-direction: column;
        align-items: center;
    }

    .video-grid,
    .service-detailed-grid,
    .cta-cards {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .floating-sidebar {
        display: none;
    }

    .form-row {
        flex-direction: column;
    }

    /* 모바일 폼 전용 스타일 */
    #consultationFormMobile .form-row {
        flex-direction: column !important;
        gap: 0;
    }

    #consultationFormMobile .name-field,
    #consultationFormMobile .gender-field {
        flex: 1;
        width: 100%;
    }

    #consultationFormMobile .form-group-custom {
        margin-bottom: 1rem;
    }

    #consultationFormMobile .gender-radio-group {
        display: flex;
        gap: 15px;
        justify-content: flex-start;
    }

    .d-block.d-sm-none .hero-form {
        box-shadow: none;
        padding: 1.5rem;
        background: white;
        border-radius: 10px;
        margin: 10px;
    }

    #consultationFormMobile .btn-submit-custom {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }

    #consultationFormMobile .form-control-custom {
        font-size: 16px; /* iOS 자동 줌 방지 */
    }
}
