* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #F2F2F2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.contact-container {
    background-color: #F2F2F2;
    width: 100%;
    max-width: 800px;
    min-height: 320px;
    padding: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Overlay Styles - Now always visible */
.modal-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-container {
    background-color: #9110ff;
    border-radius: 13px;
    padding: 30px 25px;
    max-width: 500px;
    width: 100%;
    overflow-y: visible;
    position: relative;
    box-shadow: 0 13px 38px rgba(145, 16, 255, 0.3);
}

.close-button {
    display: none;
}

.modal-title {
    color: #6bffcf;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: center;
}

.modal-description {
    color: white;
    font-size: 0.75rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

.form-group label {
    display: block;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 8px 14px;
    font-size: 0.7rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background-color: #a52aff;
    transition: all 0.3s ease;
    font-family: inherit;
    color: white;
}

/* Prevent zoom on mobile when focusing input fields */
@media (max-width: 768px) {
    input, textarea {
        font-size: 16px;
    }
}

input:focus, textarea:focus {
    outline: none;
    background-color: #a52aff;
    box-shadow: 0 0 0 3px rgba(107, 255, 207, 0.3);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

.submit-button {
    width: 100%;
    background-color: #6bffcf;
    color: #9110ff;
    border: none;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.submit-button:hover {
    background-color: #5ae6b8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 255, 207, 0.3);
}

.submit-button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Success and Error Messages */
.success-message, .error-message {
    display: none;
    text-align: center;
}

.success-message .thanks-from {
    margin-bottom: 15px;
}

.success-message .thanks-text {
    font-size: 2rem;
    font-weight: 500;
    color: #6bffcf;
    font-family: 'Figtree', sans-serif;
    display: block;
    margin-bottom: 0;
}

.success-message .logo-image {
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
}

.success-message .confirmation-message {
    color: #6bffcf;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.success-message .thanks-image {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        padding: 0 10px;
        margin: 0;
    }
    
    .modal-overlay {
        padding: 0;
        margin: 0;
    }
    
    .modal-container {
        padding: 20px;
        margin: 0;
        border-radius: 13px;
        max-width: 100%;
        width: 100%;
        min-height: auto;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .modal-description {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .modal-container {
        padding: 15px;
    }
}
