.contact-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.modal-show {
    opacity: 1;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.7) translateY(-50px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.modal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.modal-errors {
    text-align: left;
    margin: 20px 0 30px 0;
    padding: 0;
    list-style: none;
}

.modal-errors li {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    color: #c53030;
    font-weight: 500;
}

.modal-success {
    border-top: 5px solid #4CAF50;
}

.modal-error {
    border-top: 5px solid #f44336;
}

.contact-hero {
    background: linear-gradient(135deg, #f4a023 0%, #ff6b35 100%);
    color: #fff;
    padding: 100px 0;
    margin-top: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="dots" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="25" cy="5" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="15" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="20" fill="url(%23dots)"/></svg>') repeat;
    z-index: 1;
}

.contact-hero > * {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

.contact-hero p {
    font-size: 1.5rem;
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.contact-content {
    background: #fff;
    padding: 60px 0 80px 0;
    margin-bottom: 40px;
}

.contact-form-section {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-form-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e1e1e;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #f4a023;
    border-radius: 2px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    background: #fff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(30, 30, 30, 0.1);
    border: 2px solid #f8f9fa;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f4a023;
    box-shadow: 0 0 0 3px rgba(244, 160, 35, 0.1);
}

.form-group textarea {
    height: 140px;
    resize: none;
}

.file-upload-wrapper {
    position: relative;
    display: block;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-display {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
}

.file-upload-display:hover {
    border-color: #f4a023;
    background: #fafafa;
}

.file-input:focus + .file-upload-display {
    border-color: #f4a023;
    box-shadow: 0 0 0 3px rgba(244, 160, 35, 0.1);
}

.file-upload-icon {
    font-size: 1.5rem;
    color: #f4a023;
}

.file-upload-text {
    flex: 1;
    color: #666;
    font-size: 1.1rem;
}

.file-upload-text.has-file {
    color: #1e1e1e;
    font-weight: 600;
}

.file-upload-button {
    background: #f4a023;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.file-upload-display:hover .file-upload-button {
    background: #e8941f;
}

.file-upload-info {
    margin-top: 8px;
}

.file-upload-info small {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.4;
}

.file-upload-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.file-upload-error.show {
    display: block;
}

.contact-social {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
    border-radius: 25px;
}

.contact-social h3 {
    color: #1e1e1e;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
}

.contact-social h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #f4a023;
    border-radius: 2px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    display: inline-block;
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(30, 30, 30, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f4a023, #ff6b35);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(244, 160, 35, 0.3);
}

.form-message {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    animation: slideIn 0.5s ease-out;
}

.form-message.success {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    border: 2px solid #4CAF50;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background: linear-gradient(135deg, #f44336, #e57373);
    color: white;
    border: 2px solid #f44336;
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.3);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}