#main {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background: #f8f9fa;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0);
}

section {
    background: transparent;
}

.main-section {
    height: 400px;
    display: grid;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?q=80&w=2072&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0);
    border-radius: 0px;
}

#section {
    display: grid;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

#section1 {
    background: transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0);
}

.main-section-title .main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 40px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.form-description {
    margin-bottom: 32px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1a4fa0;
}

.form-description p {
    margin: 0;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-description p + p {
    margin-top: 8px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #1a4fa0;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a4fa0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 79, 160, 0.1);
}

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

.form-text {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #666;
}

.form-info {
    margin: 24px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
}

.privacy-agreement {
    margin-top: 32px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-wrapper label {
    margin: 0;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.privacy-detail {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: #666;
}

.privacy-detail-btn {
    margin-top: 8px;
    padding: 8px;
    background: none;
    border: 1px solid #1a4fa0;
    border-radius: 50%;
    color: #1a4fa0;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.privacy-detail-btn i {
    margin: 0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.privacy-detail-btn:hover {
    background: #1a4fa0;
    color: white;
}

.privacy-detail-btn:hover i {
    transform: scale(1.1);
}

/* 상세 내용 툴팁 스타일 */
.privacy-tooltip {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-left: 16px;
    z-index: 1000;
    pointer-events: none;
}

.privacy-tooltip::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: #e0e0e0;
}

.privacy-tooltip::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: white;
}

.privacy-tooltip h4 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    color: #1a4fa0;
}

.privacy-tooltip ul {
    margin: 0;
    padding-left: 20px;
    text-align: left;
}

.privacy-tooltip li {
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
}

.privacy-tooltip p {
    margin: 0;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
}

.privacy-detail-btn:hover .privacy-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    #main {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .main-section-title .main-title {
        font-size: 2rem;
        margin: 30px 0;
    }

    .contact-form {
        padding: 24px;
        margin: 0 16px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .privacy-popup-content {
        width: 95%;
        max-height: 90vh;
    }

    .privacy-popup-header {
        padding: 16px;
    }

    .privacy-popup-body {
        padding: 16px;
    }

    .privacy-section {
        margin-bottom: 20px;
    }

    .privacy-detail-btn::after {
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-top: 8px;
    }

    .privacy-detail-btn::before {
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        margin-left: 0;
        border-right-color: transparent;
        border-bottom-color: #1a4fa0;
        margin-top: -4px;
    }

    .privacy-tooltip {
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-top: 16px;
        width: 280px;
    }

    .privacy-tooltip::before {
        left: 50%;
        top: -8px;
        transform: translateX(-50%);
        border-right-color: transparent;
        border-bottom-color: #e0e0e0;
    }

    .privacy-tooltip::after {
        left: 50%;
        top: -7px;
        transform: translateX(-50%);
        border-right-color: transparent;
        border-bottom-color: white;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.85rem;
    }

    .form-text {
        font-size: 0.8rem;
    }

    .form-info {
        font-size: 0.85rem;
    }
}

.required {
    color: #e53935;
    margin-left: 2px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1a4fa0 0%, #1565c0 100%);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 79, 160, 0.2);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1565c0 0%, #1a4fa0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 79, 160, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(26, 79, 160, 0.2);
}