/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Container */
.modal-container {
    background-color: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.modal-close {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 40px 30px;
}

.form-intro {
    font-size: 16px;
    color: #333333;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
}

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

/* Input Fields */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00b9d1;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.1);
}

/* Phone Number Input */
.phone-input-wrapper {
    display: flex;
    gap: 10px;
}

.phone-input-wrapper select {
    width: 100px;
    padding: 12px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fafafa;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.phone-input-wrapper select:focus {
    outline: none;
    border-color: #00b9d1;
}

.phone-input-wrapper input {
    flex: 1;
}

/* Textarea */
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color:#00b9d1;
}

.checkbox-group a {
    color: #00b9d1;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, #00b9d1 0%, #00b9d1 100%);
    color: #ffffff;
    border: none;
    padding: 13px 35px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 122, 61, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 122, 61, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Contact Info */
.contact-info {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #999999;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .modal-container {
        max-width: 95%;
        margin: 20px;
    }

    .modal-body {
        padding: 30px 20px;
    }

    .modal-header {
        padding: 18px 20px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .phone-input-wrapper {
        flex-direction: column;
    }

    .phone-input-wrapper select {
        width: 100%;
    }
}
