/* 상담 신청 페이지 스타일 */

/* 배너 섹션 */
.consultation-banner {
    background-color: var(--dark);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    background-image: url('../img/banner_consultation.webp');
    background-size: cover;
    background-position: center;
    background-position-y: 20px;
    /* 위에서 100px 아래로 이동 */
}


.consultation-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(45deg, rgba(46, 196, 182, 0.3) 0%, rgba(46, 196, 182, 0) 50%),
        linear-gradient(45deg, rgba(255, 107, 53, 0.3) 0%, rgba(255, 107, 53, 0) 50%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content h1 span {
    color: var(--primary);
}

.banner-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* 배너 기능 항목 스타일 */
.banner-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.banner-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    max-width: 300px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.banner-feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.banner-feature-icon i {
    font-size: 22px;
    color: var(--primary);
}

.banner-feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.banner-feature-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* 상담 방법 섹션 */
.consultation-methods {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.consultation-methods::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 70%);
    z-index: 1;
}

.consultation-methods::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0) 70%);
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}



.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.methods-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.method-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: height 0.3s ease;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.method-icon i {
    font-size: 32px;
    color: var(--primary);
}

.method-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.method-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.method-contact {
    background-color: rgba(var(--primary-rgb), 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.method-contact p {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.method-contact p:last-child {
    margin-bottom: 0;
}

.method-contact p i {
    color: var(--primary);
    margin-right: 8px;
}

.method-button {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.method-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
    color: white;
}

.method-button i {
    margin-right: 8px;
}

.kakao-button {
    background: #FEE500;
    color: #3C1E1E;
    box-shadow: 0 5px 15px rgba(254, 229, 0, 0.3);
}

.kakao-button:hover {
    box-shadow: 0 8px 20px rgba(254, 229, 0, 0.4);
    color: #3C1E1E;
}

.form-button {
    background: linear-gradient(to right, var(--secondary), var(--primary));
    box-shadow: 0 5px 15px rgba(var(--secondary-rgb), 0.2);
}

.form-button:hover {
    box-shadow: 0 8px 20px rgba(var(--secondary-rgb), 0.3);
}

/* 상담 신청 섹션 - 새로운 스타일 */
.consultation-section {
    padding: 100px 0;
    background-color: var(--section-bg-3);
    position: relative;
    overflow: hidden;
}



.consultation-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0) 70%);
    z-index: 1;
}

.consultation-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0) 70%);
    z-index: 1;
}

.consultation-wrapper {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    gap: 0;
    padding: 0 50px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .consultation-wrapper {
        padding: 0;
    }
}

.consultation-wrapper.revealed {
    opacity: 1;
    transform: translateY(0);
}

.consultation-content {
    flex: 1;
    min-width: 300px;
    padding: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: block;
}

.consultation-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.consultation-badge i {
    margin-right: 5px;
}

.consultation-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
}

.consultation-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
}

.consultation-header p {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 30px;
    max-width: 500px;
}

.consultation-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: var(--primary);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-text p {
    font-size: 0.95rem;
    color: #666;
}

.consultation-form-wrapper {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.consultation-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.consultation-form {
    max-width: 500px;
    margin: 0 auto;
}

.consultation-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
    flex: none;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark);
}

.form-group label i {
    color: var(--primary);
    margin-right: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #fff;
    background-color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

/* select 요소 내의 옵션 스타일 */
.form-group select option {
    padding: 10px;
    background-color: #333;
    color: #fff;
}

/* 선택된 옵션 스타일 */
.form-group select option:checked {
    background-color: #555;
    color: white;
}

/* 옵션에 마우스 오버 시 스타일 */
.form-group select option:hover {
    background-color: #555;
}

/* 비활성화된 옵션 스타일 */
.form-group select option:disabled {
    color: #999;
}

/* 선택 요소가 선택되었을 때 스타일 */
.form-group select:focus option:checked {
    background: #555;
    color: white;
}

.privacy-policy {
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-policy input {
    width: auto;
}

.privacy-policy label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff8a65 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.form-notice {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 15px;
}

/* FAQ 섹션 스타일은 main.css로 이동했습니다 */

/* 반응형 스타일 */
@media (max-width: 992px) {
    .consultation-wrapper {
        flex-direction: column;
    }

    .consultation-content,
    .consultation-form-wrapper {
        padding: 40px;
    }

    .consultation-form-wrapper::before {
        width: 100%;
        height: 5px;
        top: 0;
        left: 0;
    }

    .methods-container {
        flex-direction: column;
        align-items: center;
    }

    .method-card {
        max-width: 100%;
        width: 100%;
    }

    .banner-features {
        flex-direction: column;
        align-items: center;
    }

    .banner-feature-item {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .consultation-banner {
        padding: 100px 0 70px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-features {
        margin-top: 30px;
        gap: 20px;
    }

    .banner-feature-item {
        padding: 12px 15px;
    }

    .banner-feature-icon {
        width: 40px;
        height: 40px;
    }

    .banner-feature-icon i {
        font-size: 18px;
    }

    .banner-feature-text h4 {
        font-size: 1rem;
    }

    .banner-feature-text p {
        font-size: 0.8rem;
    }

    .consultation-section {
        padding: 50px 0;
    }

    .consultation-content,
    .consultation-form-wrapper {
        padding: 30px;
    }

    .consultation-header h2 {
        font-size: 2rem;
    }

    .consultation-form h3 {
        font-size: 1.5rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon i {
        font-size: 16px;
    }

    .consultation-methods {
        padding: 60px 0;
    }



    .section-title p {
        font-size: 1rem;
    }

    .method-card {
        padding: 30px 20px;
    }

    .method-icon {
        width: 70px;
        height: 70px;
    }

    .method-icon i {
        font-size: 28px;
    }

    .method-card h3 {
        font-size: 1.3rem;
    }

    .modal-content {
        padding: 30px;
        max-width: 90%;
    }
}

@media (max-width: 576px) {

    .consultation-content,
    .consultation-form-wrapper {
        padding: 25px;
    }

    .consultation-header h2 {
        font-size: 1.8rem;
    }

    .consultation-header p {
        font-size: 1rem;
    }

    .consultation-methods {
        padding: 50px 0;
    }

    .method-icon {
        width: 60px;
        height: 60px;
    }

    .method-icon i {
        font-size: 24px;
    }

    .method-card h3 {
        font-size: 1.2rem;
    }

    .method-description {
        font-size: 0.9rem;
    }

    .method-contact p {
        font-size: 0.9rem;
    }

    .method-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .banner-feature-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .banner-feature-text {
        text-align: center;
    }
}

/* Remove all animation classes */
.animate,
.animated,
.animate-fade-in,
.animate-fade-in.animated,
.animate-slide-up,
.animate-slide-up.animated,
.animate-slide-right,
.animate-slide-right.animated,
.animate-slide-left,
.animate-slide-left.animated,
.animate-scale,
.animate-scale.animated,
.delay-100,
.delay-200,
.delay-300,
.delay-400,
.delay-500,
.scroll-reveal,
.scroll-reveal.revealed,
section.scroll-reveal,
section.scroll-reveal.revealed,
.section-header.scroll-reveal,
.service-card.scroll-reveal,
.service-card.scroll-reveal.revealed,
.about-content.scroll-reveal,
.about-content.scroll-reveal.revealed,
img.scroll-reveal,
img.scroll-reveal.revealed {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* 성공 및 오류 페이지 스타일 */
.consultation-success-section,
.consultation-error-section {
    padding: 100px 0;
    text-align: center;
    background-color: #f9f9f9;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-wrapper,
.error-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.success-icon,
.error-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.success-icon i {
    color: #4CAF50;
}

.error-icon i {
    color: #f44336;
}

.consultation-success-section h2,
.consultation-error-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.consultation-success-section p,
.consultation-error-section p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.error-message {
    padding: 10px;
    background-color: #fff8f8;
    border-left: 3px solid #f44336;
    text-align: left;
    margin-bottom: 25px;
}

.button-group {
    margin-top: 30px;
}

.button-group .btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 0 10px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-group .primary-btn {
    background-color: var(--primary);
    color: white;
}

.button-group .secondary-btn {
    background-color: #e0e0e0;
    color: #333;
}

.button-group .primary-btn:hover {
    background-color: var(--primary-dark);
}

.button-group .secondary-btn:hover {
    background-color: #d0d0d0;
}

/* 폼 성공 메시지 스타일 */
.form-success {
    text-align: center;
    padding: 30px;
    background-color: #f8fff8;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.form-success .success-icon {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.form-success p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.form-success .contact-info {
    margin-top: 20px;
    font-weight: 500;
}

.form-success .contact-info a {
    color: var(--primary);
    text-decoration: none;
}

.form-success .contact-info a:hover {
    text-decoration: underline;
}

/* 모달 스타일 */
.consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consultation-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.consultation-modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.success-modal .modal-icon i {
    color: var(--primary);
}

.error-modal .modal-icon i {
    color: var(--accent);
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.modal-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.5;
}

.modal-content .contact-info {
    font-size: 14px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.modal-content .contact-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.modal-content .contact-info a:hover {
    text-decoration: underline;
}

.modal-content .button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.modal-content .button-group button {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.modal-content .button-group .primary-btn {
    background-color: var(--primary);
    color: white;
}

.modal-content .button-group .secondary-btn {
    background-color: #f0f0f0;
    color: var(--dark);
}

.modal-content .button-group .primary-btn:hover {
    background-color: #393434;
}

.modal-content .button-group .secondary-btn:hover {
    background-color: #e0e0e0;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .modal-icon {
        font-size: 50px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .modal-content p {
        font-size: 14px;
    }

    .modal-content .button-group {
        flex-direction: column;
    }

    .modal-content .button-group button {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* 폼 전체 너비 스타일 */
.consultation-form-wrapper.full-width {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.consultation-form-wrapper.full-width::before {
    display: none;
}

.consultation-form-wrapper.full-width .consultation-form {
    max-width: 100%;
    margin: 0 auto;
}