/* 서브페이지 콘텐츠 스타일 */
.subpage-hero {
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f7f1 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.subpage-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.subpage-hero-text {
    width: 50%;
}

.subpage-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #00BF73;
    margin-bottom: 15px;
}

.subpage-hero-description {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
}

.subpage-hero-image {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.subpage-hero-image img {
    max-height: 220px;
    max-width: 100%;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

/* 서브페이지 콘텐츠 섹션 스타일 */
.subpage-content-section {
    padding: 50px 0;
}

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

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #00BF73;
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* 대출 특징 카드 스타일 */
.loan-features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.feature-card {
    width: 30%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    color: #00BF73;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card ul {
    padding-left: 20px;
}

.feature-card li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
}

/* 대출 진행 절차 스타일 */
.loan-process {
    margin-bottom: 50px;
}

.loan-process h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    width: 18%;
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: #00BF73;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    font-size: 14px;
    color: #666;
}

/* CTA 섹션 스타일 */
.cta-section {
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
}

.cta-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.cta-section p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #00BF73;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #00a864;
}

/* 비교 테이블 스타일 */
.comparison-table {
    margin-bottom: 50px;
}

.comparison-table h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.comparison-table th {
    background-color: #00BF73;
    color: #fff;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* 성공 사례 스타일 */
.success-stories,
.loan-cases {
    margin-bottom: 50px;
}

.success-stories h3,
.loan-cases h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.story-cards,
.case-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.story-card,
.case-card {
    width: 48%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.story-header,
.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.story-tag,
.case-tag {
    background-color: #00BF73;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 15px;
}

.story-header h4,
.case-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.story-content p,
.case-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.story-content ul,
.case-content ul {
    padding-left: 20px;
}

.story-content li,
.case-content li {
    margin-bottom: 8px;
    color: #555;
}

/* 계산기 스타일 */
.equity-calculator,
.loan-calculator {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.equity-calculator h3,
.loan-calculator h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.calculator-form {
    max-width: 600px;
    margin: 0 auto 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.calculate-btn {
    display: block;
    width: 100%;
    background-color: #00BF73;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calculate-btn:hover {
    background-color: #00a864;
}

.calculation-result {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.calculation-result .small-text {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-top: 10px;
}

/* 신용 정보 스타일 */
.credit-info {
    margin-bottom: 50px;
}

.credit-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.credit-table {
    max-width: 800px;
    margin: 0 auto 20px;
}

.credit-note {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.text-success {
    color: #00BF73;
}

.text-danger {
    color: #dc3545;
}

/* 토지 유형 스타일 */
.land-types,
.property-types {
    margin-bottom: 50px;
}

.land-types h3,
.property-types h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.type-cards,
.type-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.type-card,
.type-item {
    width: 23%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.type-icon {
    font-size: 40px;
    color: #00BF73;
    margin-bottom: 15px;
}

.type-card h4,
.type-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.type-card p,
.type-item p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.type-card ul {
    text-align: left;
    padding-left: 20px;
}

.type-card li {
    margin-bottom: 5px;
    color: #555;
}

/* 담보 유형 스타일 */
.collateral-types {
    margin-bottom: 50px;
}

.collateral-types h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.collateral-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.collateral-item {
    width: 30%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.collateral-icon {
    font-size: 40px;
    color: #00BF73;
    margin-bottom: 15px;
}

.collateral-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.collateral-item p {
    font-size: 16px;
    color: #555;
}

/* 대출 유형 탭 스타일 */
.loan-types {
    margin-bottom: 50px;
}

.loan-types h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.type-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #00BF73;
    border-bottom: 3px solid #00BF73;
}

.tab-content {
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.tab-pane p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tab-pane ul {
    padding-left: 20px;
}

.tab-pane li {
    margin-bottom: 8px;
    color: #555;
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .feature-card {
        width: 48%;
    }
    
    .type-card,
    .type-item,
    .collateral-item {
        width: 48%;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        width: 48%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .subpage-hero-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .subpage-hero-text,
    .subpage-hero-image {
        width: 100%;
    }
    
    .subpage-hero-image {
        justify-content: center;
        margin-top: 20px;
    }
    
    .feature-card,
    .story-card,
    .case-card,
    .type-card,
    .type-item,
    .collateral-item {
        width: 100%;
    }
    
    .step {
        width: 100%;
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        width: 48%;
        margin-bottom: 10px;
        text-align: center;
    }
}

/* 애니메이션 정의 */
@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-15px); 
    }
}
