/* Modal Layout */
.contact-modal {
    border-radius: 10px; /* Slightly reduced radius */
    padding: 12px; /* Compact padding */
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Slightly smaller shadow */
    max-width: 85%; /* Ensure it stays compact */
    margin: 0 auto;
}

.modal-header {
    text-align: center;
    border-bottom: 1px solid #ddd; /* Light separator */
    padding-bottom: 10px; /* Compact spacing */
}

.modal-title {
    font-size: 1.5rem; /* Smaller font for compact view */
    font-weight: bold;
    color: #333;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 0.9rem; /* Compact font size */
    color: #555;
    text-align: center;
    margin-bottom: 12px; /* Reduced margin */
    line-height: 1.4; /* Tighter line spacing */
}

/* Contact Options Styling */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Reduced gap */
    justify-content: center;
    align-items: center;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* Compact gap */
    width: 100%;
    max-width: 250px; /* Smaller button */
    padding: 10px 14px; /* Reduced padding */
    font-size: 0.9rem; /* Smaller font size */
    font-weight: bold;
    border-radius: 20px; /* Compact radius */
    text-align: center;
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-phone {
    background-color: #007bff;
}

.btn-phone:hover {
    background-color: #0056b3;
    transform: translateY(-2px); /* Subtle hover effect */
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #1da853;
    transform: translateY(-2px);
}

.btn-email {
    background-color: #333;
}

.btn-email:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Close Button */
.close-modal-btn {
    padding: 6px 15px; /* Smaller padding */
    font-size: 0.8rem; /* Compact font size */
    font-weight: bold;
    border-radius: 20px; /* Reduced radius */
    color: #666;
    background-color: #adc3da;
    border: none;
    transition: all 0.2s ease;
}

.close-modal-btn:hover {
    background-color: #e9ecef;
    color: #333;
    transform: translateY(-2px); /* Subtle hover effect */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .contact-modal {
        padding: 8px; /* Less padding for mobile */
        border-radius: 8px; /* Compact radius */
        max-width: 95%; /* Take up most of the screen width */
    }

    .modal-title {
        font-size: 1.3rem; /* Smaller font size for mobile */
    }

    .intro-text {
        font-size: 0.8rem; /* Reduced font size */
    }

    .btn-contact {
        max-width: 100%; /* Full-width buttons on mobile */
        padding: 8px 10px; /* Compact padding */
        font-size: 0.8rem; /* Smaller font size */
    }

    .close-modal-btn {
        padding: 6px 10px; /* Smaller padding */
        font-size: 0.7rem; /* Compact font size */
    }
}
