﻿.service-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    background: #fff;
}

    .service-box:hover {
        transform: translateY(-5px);
    }

    .service-box i {
        font-size: 2.5rem;
        color: #007bff;
    }

    .service-box h4 {
        font-size: 1.2rem;
        margin-top: 15px;
        font-weight: bold;
    }

    .service-box p {
        font-size: 0.95rem;
        color: #666;
    }

.service-intro img {
    width: 100%;
    border-radius: 10px;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 2px solid #000;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 9999;
    width: 80%;
    max-width: 400px; /* Max width for larger screens */
    border-radius: 10px; /* Rounded corners */
}

/* Style for the cancel button (cross icon) */
.cancel-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: black; /* Black background */
    border: 2px solid white; /* White border */
    color: white; /* White cross icon */
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%; /* Circular button */
}

/* Responsive text and image inside the popup */
#popup img {
    max-width: 100%; /* Ensure the image is responsive */
    height: auto;
    margin: 10px 0;
}

#popup p {
    font-size: 16px;
    color: #333;
}
