.company-grid-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.company-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}
.company-card {
    border: 2px solid #e2e8f0;
    padding: 30px;
    text-align: center;
    background: #fff;
    border-radius: 0px;
    position: relative;
    padding-bottom: 0;
    width: 30%;
}
.company-logo img {
    max-width: 100%;
    height: auto;
    margin-bottom: 50px;
}
.view-details-btn {
    background-color: rgba(68, 76, 89, 1);
    color: #fff;
    border: none;
    padding: 10px 24px;
    cursor: pointer;
    border-radius: 0px;
    position: absolute;
    left: 0%;
    right: 0;
    bottom: -7px;
    width: 100%;
    margin: 0 auto;
    font-family: DM Sans;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
}

.company-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: 99999;
}
.company-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}
.modal-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 2;
}
.modal-close-btn {
	z-index:9999;
    position: absolute;
    top: 2px;
    right: 13px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
}
.meta-item {
    background: #f8fafc;
    padding: 14px 16px;
}
.company-popup-card {
    background: transparent;
    padding: 40px 90px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}
.swiper-button-next:before {
    color: transparent;
    content: "";
    position: absolute;
    background: rgba(236, 237, 238, 1);
    width: 133px;
    left: -54px;
    right: 0;
    height: 293px;
    z-index: -1;
}
.swiper-button-prev:before {
    color: transparent;
    content: "";
    position: absolute;
    background: rgba(236, 237, 238, 1);
    width: 90px;
    left: -10px;
    right: -22px;
    height: 293px;
    z-index: -1;
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 1!important;
    cursor: auto;
    pointer-events: none;
}
.swiper-button-next:after {
    margin-right: 45px;
}
.swiper-button-prev:after {
    margin-left: 45px;
}
.popup-header-logo img {
    max-width: 100%;
    margin-bottom: 10px;
    height: 120px;
    object-fit: cover;
}
.popup-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
    padding: 0px;
    border-radius: 6px;
}
.meta-item.first-gri {
    border-left: 2px solid rgba(178, 182, 187, 1);
}
.swiper-button-next:after, .swiper-button-prev:after {
    background: rgba(100, 106, 117, 1);
    padding: 12px 16px;
    font-size: 18px!important;
    border-radius: 100px;
    color: #fff;
}
.company-inner-card {
    background: #fff;
    padding: 40px;
}

@media only screen and (max-width:921px) {
.company-card {
    width: 50%;
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0.35!important;
}	
.swiper-button-next:after, .swiper-button-prev:after {
    background: rgba(100, 106, 117, 1);
    padding: 8px 11px;
    font-size: 14px!important;
    border-radius: 100px;
    color: #fff;
}		
.modal-close-btn {
    position: absolute;
    top: -18px;
    right: -15px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 42px;
    cursor: pointer;
    z-index: 9999;
}	
.swiper-button-next:after {
    margin-right: -6px;
}	
.swiper-button-prev:after {
    margin-left: -6px;
}	
.company-popup-card {
    background: transparent;
    padding: 63px 0px;
}
.swiper-button-prev:before {
display:none;
}
.swiper-button-next:before {
display:none;
}		
	.company-popup-card {
    background: transparent;
    padding: 0px 0px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}
}

@media only screen and (max-width:767px) {
.company-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}	
.modal-close-btn {
    position: absolute;
    top: 40px;
    right: -26px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 42px;
    cursor: pointer;
    z-index: 9999;
}	
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0.35!important;
}	
.popup-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 10px;
    padding: 0px;
    border-radius: 0px;
}	
.swiper-button-next:after, .swiper-button-prev:after {
    background: rgba(100, 106, 117, 1);
    padding: 7px 10px;
    font-size: 11px!important;
    border-radius: 100px;
    color: #fff;
}	
.swiper-button-next:after {
    margin-right: -16px;
}	
.swiper-button-prev:after {
    margin-left: -16px;
}	
.company-popup-card {
    background: transparent;
    padding: 63px 0px;
}
.swiper-button-prev:before {
display:none;
}
.swiper-button-next:before {
display:none;
}	
}

@media only screen and (max-width:680px) {
.company-card {
    width: 100%;
}
}