
.sec-white-bg{
    background: white;
}

.ttm-icon img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.featured-thumbnail img{
    width: 100%;
    height: 250px;
}

.testimonial-caption h5{
    font-size: 12px;

}

.ttm-pagination li{
    display: inline;
}


 

.popup {
    display: flex;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 2px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    width: 80%; /* Adjust width to 80% of the screen */
    max-width: 800px; /* Max width of the pop-up */
    z-index: 1000;
    box-sizing: border-box; /* Ensures padding is included in the width */
}

/* Image style to fill the left side */
.popup img {
    width: 500px; /* You can adjust this value to fit your design */
    height: 100%;
    object-fit: cover; /* This ensures the image fills its container and keeps aspect ratio */
    border-radius: 8px;
}

/* Content section */
.popup .content {
    margin-left: 20px;
    flex-grow: 1;
}

/* Heading style */
.popup .content h2 {
    font-family: "Poppins",Arial,Helvetica,sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #333;
    margin-bottom: 10px;
    line-height: 25px;
}

/* Register button style */
.popup .content button {
    background-color: #0000CC;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.popup .content button:hover {
    background-color: #000000;
}

/* Background overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}


    /* Media queries for responsiveness */
    @media (max-width: 806px) {
        .popup {
            flex-direction: column; /* Stack image and content vertically on smaller screens */
            width: 90%; /* Take up 90% of the screen width */
            padding: 15px;
        }

        .popup img {
            width: 100%; /* Image takes up full width of the container */
            height: auto; /* Maintain aspect ratio */
            margin-bottom: 15px; /* Add some spacing between image and content */
        }

        .popup .content {
            margin-left: 0;
            text-align: center; /* Center the text on smaller screens */
        }

        .popup .content h2 {
            font-size: 18px; /* Slightly smaller font size for smaller screens */
        }

        .popup .content button {
            width: 100%; /* Make button full-width */
            padding: 12px; /* Increase padding for better touch interaction */
        }
    }

    @media (max-width: 480px) {
        .popup .content h2 {
            font-size: 16px; /* Adjust the heading font size for very small screens */
        }

        .popup .content button {
            padding: 15px; /* Larger button padding for mobile devices */
        }
    }