.contact-banner {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.contact-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 10;
}

.contact-banner-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-banner-subtitle {
    font-size: 18px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-map-section {
    width: 100%;
    position: relative;
}

.contact-map {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    /* height: 100%;
    object-fit: cover; */
}

.map-marker {
    position: absolute;
    top: 40%;
    left: 30%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.marker-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(230, 0, 18, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(230, 0, 18, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(230, 0, 18, 0.6);
    }
}

.marker-text {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.contact-info-box {
    position: absolute;
    top: 150px;
    right: 15%;
    background-color: rgba(230, 0, 18, 0.95);
    color: #ffffff;
    padding: 30px;
    min-width: 450px;
    z-index: 20;
}

.info-box-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.info-box-close:hover {
    opacity: 1;
}

.info-box-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.info-box-content p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 8px;
}

.info-label {
    font-weight: bold;
    min-width: 80px;
    display: inline-block;
}

.contact-form-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-form-section .container {
    padding: 0 6%;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 14px;
    color: #666;
}

.contact-form {
    max-width: 1000px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e60012;
}

.form-group input::placeholder {
    color: #999;
}

.verify-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.verify-group input {
    flex: 1;
}

.verify-code {
    height: 50px;
    width: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.form-group.full-width {
    width: 100%;
}

.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #ffffff;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #e60012;
}

.form-group textarea::placeholder {
    color: #999;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 40px;
    background-color: #e60012;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #c50010;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-banner {
        height: 300px;
    }
    
    .contact-banner-title {
        font-size: 30px;
    }
    
    .contact-banner-subtitle {
        font-size: 16px;
    }
    
    .contact-map {
        height: 400px;
    }
    
    .contact-info-box {
        position: static;
        margin: -50px auto 30px;
        max-width: 90%;
        min-width: auto;
    }
    
    .marker-circle {
        width: 60px;
        height: 60px;
    }
    
    .marker-text {
        font-size: 18px;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        height: 250px;
    }
    
    .contact-banner-title {
        font-size: 24px;
    }
    
    .contact-banner-subtitle {
        font-size: 14px;
    }
    
    .contact-map {
        height: 560px !important;
    }
    
    .contact-form-section {
        padding: 40px 0;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 13px;
    }
    
    .contact-info-box {
        padding: 20px;
    }
    
    .info-box-title {
        font-size: 18px;
    }
    
    .info-box-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .contact-banner {
        height: 200px;
    }
    
    .contact-banner-title {
        font-size: 20px;
    }
    
    .contact-banner-subtitle {
        font-size: 12px;
    }
    
    .contact-map {
        height: 280px;
    }
    
    .contact-form-section {
        padding: 30px 0;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .verify-code {
        width: 100px;
        height: 45px;
    }
    
    .submit-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}