.elementor-heading-title a:hover {
    opacity: 0.8;
    text-decoration: underline;
    transition: 0.3s ease;
}

.mga_grid_info {
    margin-top: 70px;
}

.mga_grid_info_wrapper .swiper-pagination,
.mga_grid_info_img_wrapper .swiper-pagination {
    bottom: -80px;
}

.mga_grid_info_wrapper .swiper-pagination .swiper-pagination-bullet,
.mga_grid_info_img_wrapper .swiper-pagination .swiper-pagination-bullet {
    background: #1f2934;
}

.mga_grid_info_wrapper .grid_item,
.mga_grid_info_img_wrapper .grid_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mga_grid_info_img_wrapper .grid_item img {
    height: 115px;
}

@media only screen and (max-width: 960px) {
    .mga_grid_info_wrapper .grid_item,
    .mga_grid_info_img_wrapper .grid_item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: fit-content !important;
    }
}

.mga_grid_info .grid_item .grid_item_title {
    font-weight: 400;
    font-size: 48px;
    line-height: 133.3%;
    text-align: center;
    color: #eb5757;
    white-space: nowrap;
}

.mga_grid_info .grid_item .grid_item_text {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    color: #212541;
    opacity: 0.7;
    white-space: nowrap;
}

.mga_grid_info_img_wrapper .mga_grid_info .grid_item .grid_item_text {
    white-space: normal;
    line-height: 24px;
    margin-top: 20px;
}

.mga_reveal_container {
    width: 100%;
    overflow: hidden;
}
.mga_reveal_wrapper {
}
.mga_reveal_wrapper a {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    color: #1f2934;
    background: #ffffff;
    padding: 19px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    transition: 0.5s ease;
}
.mga_reveal_wrapper a.active {
    background: #58acfa;
    color: white;
    transition: 0.5s ease;
}

.mga_partnerships_slider {
}

.mga_partnerships_slider .scientist__label {
    display: none;
}

.mga_partnerships_slider .link {
    font-size: 16px;
    line-height: 28px;
    color: #1f2934;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: underline;
}

.mga_partnerships_slider .link i {
    display: none;
}

.mga_partnerships_slider .link::before {
    content: none !important;
}

.mga_partnerships_slider .link:hover {
    color: #58acfa;
}

.mga_partnerships_slider .scientist__role {
    color: #16c79a;
    margin-bottom: 11px;
    display: flex;
}

.mga_partnerships_slider .scientist .scientist__name {
    min-height: auto;
    margin-bottom: 0;
    margin-top: 20px;
}

.mga_partnerships_slider .scientist .scientist__desc {
    margin-bottom: 0;
}

.mga_partnerships_slider
    .swiper-pagination.swiper-pagination-bullets
    .swiper-pagination-bullet {
    background-color: rgb(34 34 34 / 95%);
}

.mga_grid_component {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
    row-gap: 30px;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #1f2934;
}

@media only screen and (max-width: 650px) {
    .mga_grid_component {
        font-size: 14px;
        line-height: 26px;
        row-gap: 20px;
        grid-template-columns: repeat(1, 1fr);
    }
}

.mga_grid_component .mga_grid_item {
    border-bottom: 1px dashed #bac3ce;
    padding-bottom: 20px;
}

.mga_grid_component .mga_grid_logo {
    margin-bottom: 10px;
}

.mga_grid_component .mga_grid_link {
    color: #16c79a;
    text-decoration: underline;
}
.mga_grid_component .mga_grid_link:hover {
    color: #16c79bb8;
    text-decoration: underline;
}

@keyframes reveal_button {
    from {
        transform: translateX(2000px);
    }
    to {
        transform: translate(0px);
    }
}

#mga_contact_button {
    position: relative;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 40px;
    padding: 12px 22px;
    display: flex;
    gap: 14px;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #12a8ff;
    width: 165px;
    height: 50px;
    overflow: hidden;
    position: fixed;
    z-index: 999;
    bottom: 30px;
    right: 20px;
    transition: 0.4s ease;
    animation-name: reveal_button;
    animation-delay: 1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    transform: translateX(2000px);
}
#mga_contact_button:hover {
    background: #f0faff;
    transition: 0.4s ease;
    transform: translateX(0) translateY(-5px) !important;
}
#mga_contact_button .mga_contact_button_icon {
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translateY(-50%);
    width: 20px;
}
#mga_contact_button .mga_contact_button_text {
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.4s ease;
    white-space: nowrap;
}
#mga_contact_button.scrolled {
    transition: 0.4s ease;
    width: 50px;
}

#mga_contact_button.scrolled .mga_contact_button_icon {
    left: 15px;
    transition: 0.4s ease;
}

#partnerships_form {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.7);
}

#partnerships_form .elementor-top-column {
    background: white;
    max-width: 796px;
    margin: auto;
    margin-top: 20vh;
}

#partnerships_form .elementor-top-column .elementor-widget {
    max-width: 594px;
    margin: auto;
}

@media only screen and (max-width: 960px) {
    #partnerships_form {
        background: white;
    }
    #partnerships_form .elementor-top-column {
        margin-top: 0;
    }
}

@media only screen and (max-width: 600px) {
    #partnerships_form form .wpforms-one-half {
        background: white;
        width: 100% !important;
        margin-left: 0 !important;
    }
}

.close_form {
    position: absolute;
    right: 20px;
    width: 22px !important;
    top: 10px;
    cursor: pointer;
    z-index: 99;
}

.mga_linkboxes-grid {
    display: grid;
    gap: 12px;
    min-height: 160px;
}
@media only screen and (max-width: 960px) {
    .mga_linkboxes-grid {
        grid-template-columns: 1fr !important;
    }
}
.mga_linkboxes-grid-cols-1 {
    grid-template-columns: 1fr;
}
.mga_linkboxes-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.mga_linkboxes-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.mga_linkboxes-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.mga_linkboxes-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding-left: 38px;
    padding-right: 48px;
    padding-top: 38px;
    padding-bottom: 38px;

    background-color: #ffffff;

    transition: all 0.3s;
}
.mga_linkboxes-item:hover {
    background-color: #f8f8f8;
    box-shadow: 0px 24px 34px rgba(18, 168, 255, 0.22);
    transform: translateY(-10px);
}
.mga_linkboxes-title {
    font-family: "Epilogue", sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1em;
}
.mga_linkboxes-icon {
    width: 21px;
    height: 21px;

    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

.mga_stats-grid {
    display: grid;
    gap: 34px;
}
@media only screen and (max-width: 960px) {
    .mga_stats-grid {
        grid-template-columns: 1fr !important;
    }
}
.mga_stats-grid-cols-1 {
    grid-template-columns: 1fr;
}
.mga_stats-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.mga_stats-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.mga_stats-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.mga_stats-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}
.mga_stats-title {
    font-family: "Epilogue", sans-serif;
    font-weight: 300;
    font-size: 48px;
    line-height: 1;
    text-align: center;
    color: #12a8ff;
}
.mga_stats-description {
    font-family: "Epilogue", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    color: #686868;
}
