/* Category Filter CSS */
.category-filter ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    list-style: none;
	margin: 0px;
}
.category-filter ul li{
    cursor: pointer;
    font-family: "Inter", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    padding: 7px 30px 7px 30px;
    border: 1px solid #009CFF;
    border-radius: 50px;
    color: #63666A;
    margin: 0px;
}
.category-filter ul li.active{
    background: #009CFF;
    color: #fff;
}

/* Grid styling */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px 50px;
    margin-top: 50px;
}

.grid-item {
    text-align: center;
    background-color: #f9f9f9;
    /* padding: 20px; */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
	border-radius: 15px 15px 0 0!important;
}
.social-icon a img {
	border-radius: 0px!important;
}
.grid-item .title{
    width: 85%;
    padding: 0px 20px 10px 20px;
}
.grid-item h2, .grid-item h4 {
    margin: 5px 0;
    text-align: left;
}
.grid-item h2{
    color: #002F85;
    font-family: "Inter", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}
.grid-item h4{
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    color: #63666A;
}
.social-icon{
    text-align: right;
    position: relative;
}
.social-icon a{
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.social-icon img{
    width: 36px;
    margin: 0;
}

/* popup modal Style begin */
/* Popup Modal Styling */
.team-detail-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-main {
    width: 80%;
    position: relative;
}

.team-detail-carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.team-detail {
    min-width: 100%;
    background-color: #EAF3FA;
    padding: 100px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-image img {
    max-width: 150px;
    border-radius: 50%;
}

.nav-control {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prev img:hover, .next img:hover {
    background: #009CFF;    
}

.prev img{
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: #C4C4C4;
    padding: 10px 15px;
    border-radius: 50px !important;
}

.next img{
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: #C4C4C4;
    padding: 10px 15px;
    border-radius: 50px !important;
}

/* Close Button */
.close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.popup-content {
    width: 60%;
    padding-right: 100px;
	height: 100%;
    max-height: 300px;
    overflow-x: hidden;
}
.popup-feature-image {
    width: 40%;
}
.popup-feature-image img{
    border-radius: 15px !important;
}
.popup-content h2{
    color: #002F85;
    font-family: "Inter", Sans-serif;
    font-size: 40px;
    font-weight: bold;
    line-height: 50px;
}
.popup-content h4 {
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: #63666A;
}
.popup-content p {
    font-family: "Inter", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    color: #63666A;
    margin-top: 20px;
}
.popup-social-icon img{
    width: 36px;
}
/* popup modal style end */

.spinner {
    text-align: center;
    margin: 20px 0;
}

.spinner img {
    width: 50px;
    height: 50px;
}
.pop-up-spinner {
    text-align: center;
    margin: 20px 0;
}
.pop-up-spinner img {
    width: 50px;
    height: 50px;
}
@media only screen and (max-width:1024px){
    .team-detail{
        padding: 60px;
    }
    .popup-content h2{
        font-size: 30px;
        line-height: 40px;
    }
    .popup-content p{
        font-size: 16px;
        line-height: 26px;
    }
    .popup-content{
        padding-right: 50px;
    }
}
@media only screen and (max-width:999px){
    .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
		margin-top: 40px;
    }
    .category-filter ul{
        gap: 20px;
    }
    .popup-content {
        padding-right: 20px;
    }
    .popup-content h2{
        font-size: 24px;
        line-height: 34px;
    }
    .popup-content p{
        font-size: 14px;
        line-height: 24px;
    }
}
@media only screen and (min-width:481px){
.res-content-show{
    display: none;
}
}
@media only screen and (max-width:480px){
    .grid {
		position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		margin-top: 30px;
    }
	.grid-item .title{
		width: 80%;
		padding: 5px;
	}
	.grid-item h2 {
		font-size: 13px;
		line-height: 20px;		
	}
	.grid-item h4 {
		font-size: 12px;
		line-height: 16px;
	}
    .category-filter ul li{
        font-size: 14px;
        line-height: 24px;
        padding: 5px 15px;
        margin: 0px;
    }
    .team-detail{
        display: block;
        padding: 20px;
    }
    .popup-main {
        width: 90%;
    }
    .popup-content{
        width: 100%;
        padding-bottom: 20px;
    }
    .popup-feature-image {
        width: 80%;
        margin: auto;
    }
	.social-icon{
		position: unset;
	}
	.social-icon img {
		width: 26px;
	}
	.category-filter ul {
        gap: 10px;
    }
    .popup-content h2 {
        font-size: 20px;
        line-height: 30px;
        text-align: center;
    }
    .popup-content h4{
        text-align: center;
    }
    .popup-content p, .popup-social-icon{
        display: none;
    }
    .res-content-show{
        text-align: center;
    }
    .res-content-show a img{
        width: 26px;
    }
    .res-content-show p{
        font-family: "Inter", Sans-serif;
        font-size: 13px;
        font-weight: 500;
        line-height: 20px;
        color: #63666A;
        margin-top: 20px;
    }
    .prev img:hover, .next img:hover {
        background: unset;    
    }
    .prev img{
        position: absolute;
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
        padding: 10px 15px;
        border-radius: 50px !important;
        filter: brightness(0) invert(0);
        background: unset;
    }
    .next img {
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
        background: unset;
        padding: 10px 15px;
        border-radius: 50px !important;
        filter: brightness(0) invert(0);
    }
}