/* 
 * File: contact-page.css
 * Purpose: Styles for the Contact Us page (contact.php), including hover effects, form styling, and modern UI elements.
 */

/* Enhanced Professional Hover Effects for Contact Us Section */
.contact-link, .social-link {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-link:hover {
    color: var(--teal) !important;
    text-decoration: none !important;
    transform: translateX(5px);
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--teal);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.contact-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.social-link {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.social-link:hover {
    color: var(--teal) !important;
    transform: translateY(-3px) scale(1.1);
}

.bi-facebook:hover {
    color: #3b5998 !important;
}

.bi-whatsapp:hover {
    color: #25D366 !important;
}

.bi-instagram:hover {
    color: #E1306C !important;
}

.custom-bg {
    transition: all 0.3s ease;
}

.custom-bg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Character Counter & Progress Bar */
.char-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--teal);
    width: 0;
    transition: width 0.2s ease;
}

.char-exceed {
    color: #dc3545;
}

/* Toast Notification Styling */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: #28a745;
}

.toast.error {
    background: #dc3545;
}