/* Styling for images in the 'Screenshots & Visuals' section */
section h4 + img,
section h4 + video {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h4 {
    color: #ffc107;
}

/* Additional styling for images if needed */
section img {
    margin-bottom: 1rem;
    height: 200px;
    width: 400px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 15px;
    justify-content: center;
}

/* Image tile with hover effect for the eye icon */
.image-tile {
    position: relative;
    overflow: hidden;
}

/* Eye icon styling */
.image-tile .eye-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover effect: Show the eye icon */
.image-tile:hover .eye-icon {
    opacity: 1;
}

/* Image hover effect */
.image-tile img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Popup overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

/* Popup content */
.popup-content {
    position: relative;
}

/* Close button */
.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: white;
    font-size: 24px;
}

/* Popup image size */
#popup-image {
    max-height: 1000px;
    min-height: 500px;
    width: 100%;
}

/* Default for large screens */
#popup-image {
    max-height: 1000px;
    min-height: 500px;
    width: 100%;
}

/* For medium screens (tablets) */
@media (max-width: 1024px) {
    #popup-image {
        max-height: 800px;
        min-height: 400px;
        width: 90%;
    }
}

/* For small screens (large phones) */
@media (max-width: 768px) {
    #popup-image {
        max-height: 600px;
        min-height: 300px;
        width: 85%;
    }
}

/* For extra small screens (small phones) */
@media (max-width: 480px) {
    #popup-image {
        max-height: 400px;
        min-height: 200px;
        width: 80%;
    }
}

/* Hover effect: Show the eye icon */
.image-tile:hover .eye-icon {
    
    opacity: 1;
}

.section_dev {
    padding-bottom: 30px;
}

.vedio_intro {
    width: 500px;
    height: auto;
    border-radius: 10px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px; /* Adjust as needed for spacing */
}

.visit-website-btn {
    padding: 10px 20px;
    color: #fff;
    background-color: #000; /* You can change this to your preferred color */
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.visit-website-btn:hover {
    background-color: #000000; /* Change this to a darker shade of your button color */
}

.photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.photo-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}
