/* Media Query for Mobile Devices */  
@media (max-width: 768px) {  
    .image-text-overlay {  
        padding: 5px; /* Reduced padding for a smaller overlay */  
        text-align: center; /* Center text for better alignment */  
        max-width: 80%; /* Limit max width to ensure it fits on the image */
    }  

    .image-text-overlay h2 {  
        font-size: 0.8em;  /* Adjusted font size for headings to be smaller */  
        line-height: 1.2; /* Added line height for better spacing */  
    }  

    .image-text-overlay p {  
        font-size: 0.7em; /* Adjusted font size for paragraphs to be smaller */  
        line-height: 1.4; /* Added line height for better spacing */  
    }  

    section {  
        padding: 10px 5px; /* Reduced padding on mobile */  
    }  

    .welcome-section h2 {  
        font-size: 2em; /* Smaller heading on mobile */  
    }  

    .welcome-section p {  
        font-size: 1em; /* Smaller paragraph on mobile */  
    }  

    .common-image {  
        width: 90%; /* Make the images responsive */  
        height: auto; /* Maintain aspect ratio */  
    }  

    h2 {  
        font-size: 1.5em; /* Smaller size for all h2 elements */  
    }  

    p {  
        font-size: 0.9em; /* Smaller size for all paragraphs */  
    }  
}
