/* Modal Contact Form Styles */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    border: 1px solid rgba(10, 31, 60, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--gray);
    float: right;
    font-size: 32px;
    font-weight: normal;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 25px;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--dark);
    background: rgba(10, 31, 60, 0.05);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark);
    text-align: center;
}

.modal-content p {
    color: var(--gray);
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.half-width {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(10, 31, 60, 0.1);
    border-radius: 10px;
    background: var(--light);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 111, 194, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.full-width {
    width: 100%;
}

/* Checkbox */
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 13px 13px 13px 40px;
    background: var(--light);
    border-radius: 7px;
    border: 2px solid rgba(10, 111, 194, 0.1);
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
}

.checkbox-option:hover {
    border-color: var(--primary);
    background: rgba(10, 111, 194, 0.05);
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    position: absolute;
    top: 13px;
    left: 13px;
    min-width: 16px;
    height: 16px;
    background: var(--light);
    border: 2px solid var(--gray);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
    font-size: 10px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    border: none;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 5px 20px rgba(10, 111, 194, 0.3);
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.active {
    opacity: 1;
    cursor: pointer;
}

.submit-btn.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 111, 194, 0.4);
}

/* Notification Container */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 350px;
}

.notification {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--success);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: var(--success);
}

.notification.error {
    border-left-color: var(--accent);
}

.notification.info {
    border-left-color: var(--primary);
}

.notification .notification-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notification .notification-icon {
    font-size: 24px;
    min-width: 24px;
}

.notification.success .notification-icon {
    color: var(--success);
}

.notification.error .notification-icon {
    color: var(--accent);
}

.notification.info .notification-icon {
    color: var(--primary);
}

.notification .notification-message {
    flex: 1;
    font-size: 15px;
    color: var(--dark);
    line-height: 1.5;
}

.notification .notification-close {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification .notification-close:hover {
    color: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .half-width {
        width: 100%;
    }

    .notification-container {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }

    .modal-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .modal-content {
        margin: 15% auto;
    }

    .close {
        top: 15px;
        right: 15px;
        font-size: 28px;
    }

    .notification-container {
        width: calc(100% - 20px);
        right: 10px;
        left: 10px;
    }
}

/* Contact Hint Text */
.contact-hint {
    text-align: center;
    margin: -15px 0 20px 0;
}

.contact-hint p {
    color: var(--gray);
    font-size: 14px;
    margin: 0;
    opacity: 0.7;
}

/* Responsive for contact hint */
@media (max-width: 768px) {
    .contact-hint {
        margin: -10px 0 15px 0;
    }

    .contact-hint p {
        font-size: 13px;
    }
}