/* Mobile Contact Page Styles */
.contact-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    min-height: 100vh;
}

/* Header Section */
.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-icon {
    margin-bottom: 15px;
}

.contact-icon i {
    font-size: 40px;
}

.contact-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.contact-subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* Form Styles */
.contact-form {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #006775;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group textarea {
    border-radius: 20px;
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    margin-left: 20px;
    font-weight: 500;
}

/* Send Button */
.send-btn {
    width: 100%;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    letter-spacing: 1px;
    background: #5298A1;
}

.send-btn:hover:not(:disabled) {
    background-color: #3a6c6e;
    box-shadow: 0 4px 12px rgba(74, 124, 126, 0.3);
}

.send-btn:active {
    transform: translateY(0);
}

.send-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-loading i {
    font-size: 16px;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(to right, #5298A1 0%, #006775 100%);
    color: #fff;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 126, 0.3);
    text-decoration: none;
}

.contact-method:active {
    transform: translateY(0);
}

.contact-method i {
    font-size: 20px;
    margin-left: 10px;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4a7c7e;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: calc(100% - 40px);
    text-align: center;
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

/* Responsive Design */
@media (max-width: 480px) {
    .contact-container {
        padding: 15px;
    }

    .contact-title {
        font-size: 20px;
    }

    .contact-subtitle {
        font-size: 13px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 18px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .send-btn {
        padding: 16px 25px;
        font-size: 15px;
    }

    .contact-method {
        padding: 12px 20px;
        font-size: 15px;
    }
}

@media (max-width: 320px) {
    .contact-container {
        padding: 10px;
    }

    .contact-title {
        font-size: 18px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 15px;
    }

    .send-btn {
        padding: 14px 20px;
    }

    .contact-method {
        padding: 10px 18px;
    }
}

/* Loading animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Smooth transitions */
.form-group input,
.form-group textarea,
.send-btn,
.contact-method {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved button states */
.send-btn:not(:disabled):hover {
    background-color: #3a6c6e;
}

.send-btn:not(:disabled):active {
    background-color: #2a5c5e;
}

/* Form validation styling improvements */
.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}