.gallery-area .sr-box-about {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

/* Background image overlay */
.gallery-area .sr-box-about::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

/* Arrow effect (optional) */
.gallery-area .sr-box-about::after {
    content: '\2192'; /* Right arrow */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 25px;
    padding: 10px;
    background-color: #0d6efd; 
    border-radius: 50%; /* circular box */
    z-index: 3;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
}

.gallery-area .sr-box-about:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}


/* Text styles */
.gallery-area .text {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
    background: white;
}



/* Icon hidden by default */
.gallery-area .icon-2 {
    position: absolute;
    z-index: 3;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
   
}

/* Hover states */
.gallery-area .sr-box-about:hover::before {
    opacity: 1;
    
}

.gallery-area .sr-box-about:hover .text {
    opacity: 0;
}

.gallery-area .sr-box-about:hover .icon-2 {
    opacity: 1;
    transform: scale(1);
}

.gallery-area .sr-box-about:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.gallery-area .sr-box-about:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgb(255 255 255 / 74%)
}
