/* Button Style Override - Single Color */
.btn-primary {
    background: #4ecdc4 !important;
    color: white !important;
    border: none !important;
}

.btn-primary:hover {
    background: #45b7d1 !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.3);
}

/* Navigation Underline Fix */
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;  /* 텍스트 아래 적절한 간격 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 80%;  /* 텍스트 너비의 80% 정도로 적절한 크기 */
}

.bg-contact {
    background-image: url('/img/page-header/bg_h_contact.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header-section {
        padding: 4rem 0 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        letter-spacing: 0.5px;
    }
    
    .breadcrumb-enhanced {
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }
    
    .breadcrumb-enhanced .breadcrumb-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .page-subtitle {
        font-size: 1rem;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        letter-spacing: 0.3px;
    }
}
/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, rgba(248, 249, 255, 0.6), rgba(255, 243, 224, 0.4));
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    margin-bottom: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(78, 205, 196, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.2);
}

.form-group textarea {
    /* height: 120px; */
    resize: vertical;
}

.full-width {
    grid-column: 1 / -1;
}

/* Submit Button */
.submit-section {
    text-align: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin: 0 0.5rem;
}

.btn-secondary {
    background: transparent;
    color: #5a6c7d;
    border: 2px solid rgba(78, 205, 196, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.3);
}

.btn-secondary:hover {
    background: #7bd7d0;
    color: white;
    border-color: transparent;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 4rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(78, 205, 196, 0.4);
}

.faq-question {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(248, 249, 255, 0.6), rgba(255, 243, 224, 0.3));
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(248, 249, 255, 0.9), rgba(255, 243, 224, 0.6));
}

.faq-question h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0;
}

.faq-toggle {
    font-size: 1.2rem;
    color: #ff6b6b;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    color: #5a6c7d;
    line-height: 1.8;
}

/* Main Content */
main {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}