
.about-wrapper {
    display: flex;
    flex-wrap: wrap; 
    gap:5px; 
    padding: 40px 10px;
    justify-content: center;
    width: 100wh;
}


.about-item {   
    flex: 0 0 calc(18% - 12px); 
    min-width: 200px; 
    border: 2px solid #BECAD2; 
    border-radius: 12px;
    padding: 20px;
    background:#ECEFF3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 200px;
    position: relative;
    overflow: hidden; 
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 15px;
}


.about-item h2 {
    font-size: 25px; 
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;    
    color: #1D4ED8; 
    transition: all 0.5s ease;
    position: relative;
    z-index: 5; 
}


.about-item:hover {
    border-color: #ffffff;
    transform: translateY(-5px);
}

.about-item:hover h2 {
    color: #ffffff; 
    -webkit-text-stroke: 1px transparent;
    transform: scale(1.1);
}


.xoverlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    perspective: 1000px;
     display: flex;
     flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.xoverlay img 
{display: block;
transform: translateY(-100%);
position: relative;
z-index: 999;}

.x-bottom-left .xoverlay-box {
	width: 100%;
	height: 100%;
	position: absolute;
	bottom: -500px;
	left: -500px;	
	transition: all .3s;
}
.x-bottom-left:hover .xoverlay-box {
	width: 100%;
	height: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	 background: linear-gradient(to top, #0F3AAC, #1E56E2) !important;
}

.about-item .xoverlay a {
    position: absolute;
    z-index: 999;
    top: 85%; 
    left: 50%;
    transform: translateX(-50%);     
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
    color: #3869C5;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.1s; 
}


.about-item:hover .xoverlay a {
    top: 70%; 
    opacity: 1;
    visibility: visible;
}


.about-item .xoverlay a:hover {
    background: #1a2a44;
    color: #ffffff;
    transform: translateX(-50%) scale(1.1); 
}


.about-item:hover h2 {
    transform: translateY(-20px) scale(1.1);
}

@media (max-width:1566px) {

.about-item h2 {
    font-size: 30px; 
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;    
    color: transparent; 
    -webkit-text-stroke: 1px #058FDB; 
    transition: all 0.5s ease;
    position: relative;
    z-index: 5; 
}    

.about-item .xoverlay a {
    position: absolute;
    z-index: 999;
    top: 80% !important; 
    left: 50%;
    transform: translateX(-50%);     
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
    color: #3869C5;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.1s; 
}

}    


@media (max-width: 1200px) {
    .about-item { flex: 0 0 calc(33.33% - 15px); } 
}
@media (max-width: 768px) {
    .about-item { flex: 0 0 calc(50% - 15px); }
}
@media (max-width: 480px) {
    .about-item { flex: 0 0 100%; }
}