section.page-banner-wrap::before {
    opacity: 0.7;
}

.agencies.container {
    padding: 25px;
}



.tab-list {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .tab-list {
        flex-direction: column;
    }

    .tab-list .tab__single {
        margin: 10px 0;
        flex: 1;
        width: 100%;
    }
    
}

.tab-list .tab__single {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.tab-list .tab__single i {
    font-size: 20px;
    margin-right: 10px;
}

.tab-list .tab__single .city {
    font-size: 18px;
    color: black;
}

.tab-list .tab__single:hover {
    background-color: #eee;
}

.tab-list .tab__single:hover .city {
}
.tab-list .tab__single:hover i {
}

.tab-list .tab__single.active {
    background-color: #ff5e14;
    transition: all 0.3s ease-in-out;
    color: white;
}

.tab-list .tab__single.active i {
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.tab-list .tab__single.active .city {
    color: #fff;
    transition: all 0.3s ease-in-out;
}



/* 
<div class="location-cards">
        <div class="location-card__single" id="agadir">
          <div class="map-embed">
            <iframe
              src="https://maps.google.com/maps?width=100%&amp;height=100%&amp;hl=en&amp;q=30.41670036%2C-9.60000038+(SOMACEP AGADIR)&amp;ie=UTF8&amp;t=&amp;z=18&amp;iwloc=B&amp;output=embed"
              frameborder="0"
              scrolling="no"
              marginheight="0"
              marginwidth="0"
              class="map-embed__iframe"
            ></iframe>
          </div>
            <div class="location-info">
                <h3 class="location-title">SOMACEP AGADIR</h3>
                <p class="location-address">
                30, Rue de la Liberté, 80000 Agadir, Maroc
                </p>
                <p class="location-phone">+212 528 82 66 60</p>
                <p class="location-email">test@gmail.com</p>
        </div>
      </div>
      </div>
*/

.location-cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    
}

.location-cards .location-card__single {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 20px 0;
    padding: 80px 0px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.location-cards .location-card__single.hide {
    display: none;
    transition: all 0.3s ease-in-out;
}

.location-cards .location-card__single .map-embed {
    width: 80%;
    height: 500px;
    margin-bottom: 20px;
}

.location-cards .location-card__single .map-embed .map-embed__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-cards .location-card__single .location-info {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    margin-left: 10%;
}

.location-cards .location-card__single .location-info a {
    color: #ff5e14;
    text-decoration: none;
    font-size: 18px;
    margin-left: 5px;
}

.location-cards .location-card__single .location-info .location-title {
    font-size: 35px;
    font-weight: 600;
    color: #ff5e14;
    margin-bottom: 20px;
    
}

.location-info .location-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ff5e14;
    margin-top: 10px;
}

.location-cards .location-card__single .location-info .location-address, .location-cards .location-card__single .location-info .location-phone, .location-cards .location-card__single .location-info .location-email {
    font-size: 20px;
    font-weight: 500;
}


@media screen and (max-width: 768px) {
    .location-cards .location-card__single .map-embed {
        width: 100%;
        height: 300px;
    }
    .location-cards .location-card__single .location-info {
        margin-left: 0;
        padding: 0 20px;
    }
}