.groupsHero {
    text-align: center;
    padding-top: 20px;
    background-color: #598896;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 20px;
    width: 100%;
}

.groupsHero h2 {
    font-size: 32px;
    color: #ffffff;
}

.groupsContainer {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.groupSection {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding: 20px;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.groupSection.visible, .groupSection-alt.visible {
    opacity: 1;
    transform: translateY(0);
  }

.groupSection-alt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding: 20px;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.groupSection-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 650px;
}

.groupSection-image {
    width: 100%;
    border-radius: 10px;
    width: 200px;
    height: 200px;
}

.infoContainer {
    border-radius: 20px;
    background-color: #598896;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    margin-top: 12px;

}

@media only screen and (max-width: 768px) {
    .groupSection-content {
        width: 100%;
        flex-direction: column-reverse;
    }

    .groupSection {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .groupSection-alt {
        gap: 20px;
    }

    .groupSection-image  {
        width: 50%;
        height: auto;
        min-width: auto;
        max-height: none;
    }


}

.FAQ-dropdown {
    width: 80%;
    padding: 30px 60px;
    background-color:#598896;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    margin-bottom: 32px;
    cursor: pointer;
}

summary {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

summary h2 {
    color: #ffffff;
}

details .material-symbols-outlined {
    font-size: 42px;
    font-weight: normal;
    transition: all 0.3s ease;
}

details[open] .material-symbols-outlined {
    transform: rotate(180deg);
}


.testimony {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding: 20px;
    gap: 40px;
    border-radius: 20px;
    border: 2px solid #f1f1f1;
    position: relative;
    overflow: hidden;
}

.testimony-heading {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.testimony-heading img {
    border-radius: 10px;
    height: 100%;
    width: auto;
    margin-right: 20px;
}

.testimony-quotations {
    width: 100%;
    color: #598896;
    font-weight: bold;
    font-size: 800px;
    z-index: -1;
    opacity: 20%;
    position: absolute;
    top: 0;
    height: 800px;
    display: flex;
    align-items: center;
    font-style: italic;
}

.IG-popup img {
    width: 100%;
    height: auto;
}

.IG-popup {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 10px;
    padding: 10px;
    box-shadow: 0 0 10px #11111164;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
    background-color: #598896;
    color: #ffffff;
    width: 100px;
    height: auto;
    text-align: center;
    transform: translateX(150%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1000;
}

.IG-popup.visible {
    transform: translateX(0);
    opacity: 1;
}

.popup-exit {
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: white;
    color: #598896;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 0 10px #11111164;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.IG-popup.closing {
    transform: translateX(150%);
    opacity: 0;
    pointer-events: none;
}
.groupSection-image {
  display: block;
  margin-bottom: 10px;
}