/*=========================Header styles================================== */
main {
  max-width: 1512px;
  margin: 0 auto;
}
* {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1512px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
}
.logo {
  height: 40px;
}
.logo-container {
  display: flex;
  gap: 40px;
}
.search-container {
  position: relative;
  display: flex;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 560px;
  flex-shrink: 0;
  flex: 0 1 600px;
}
.search-input,
.location-input {
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  flex: 1;
  min-width: 160px;
}
.search-input {
  border-right: 1px solid #ccc;
  background-image: url(/assetc/svg/search-icon.svg);
  background-repeat: no-repeat;
  background-position: 10px center;
  padding-left: 36px;
}
.search-button {
  background-color: #f15b5b;
  color: white;
  border: none;
  padding: 0 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
button.language {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #000;
  background: none;
  border: none;
}
.login-link {
  font-size: 14px;
  text-decoration: none;
  color: #000;
  cursor: pointer;
}
.signup-button {
  background-color: #007f8b;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.signup-button:hover {
  background-color: #009aa8;
}
@media (max-width: 864px) {
  .location-input {
    display: none;
  }
}
@media (max-width: 680px) {
  .search-container {
    position: absolute;
    top: 80px;
    width: calc(100% - 48px);
  }
}
@media (max-width: 378px) {
  .header-right {
    gap: 8px;
  }
  .signup-button {
    font-size: 12px;
  }
}
@media (max-width: 293px) {
  header {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 16px;
    gap: 12px;
  }
  .logo {
    margin: 0;
  }
  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
  }
  .search-container {
    flex-direction: row;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: none;
  }
  .search-input {
    flex: 1;
    border-right: none;
    padding-left: 36px;
    background-position: 10px center;
  }
  .location-input {
    display: none;
  }
  .search-button {
    padding: 0 16px;
    border-radius: 0 8px 8px 0;
  }
  .signup-button {
    width: 81px;
  }
}
/*----------------------------------End of Header styles------------------------*/
/*----------------------------------Main Styles: Top section About---------------*/
.top-about {
  position: relative;
}
.about-text {
  display: flex;
  max-width: 700px;
  width: 100%;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  padding-left: 140px;
  padding-top: 98px;
}
.about-text h1 {
  color: #212121;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
}
.about-text p {
  color: #212121;
  font-size: 16px;
  font-weight: 400;
  vertical-align: middle;
  margin-bottom: 32px;
}
.join-meetup {
  max-width: 125px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  border: transparent;
  cursor: pointer;
  background-color: #007f8b;
  color: white;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease;
}
.join-meetup:hover {
  background-color: #009aa8;
}
.top-about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1196px;
}

@media (max-width: 425px) {
  .about-text {
    margin-left: 0;
    padding: 16px;
  }
  .about-text h1 {
    font-size: 25px;
    font-weight: 700;
  }
  .about-text p {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 2px;
  }
  .top-about {
    display: flex;
    flex-direction: column;
  }
  .top-image img {
    width: 215px;
  }
  .join-meetup {
    position: absolute;
    font-size: 12px;
    padding: 8px 10px;
  }
}
@media (max-width: 680px) {
  .about-text {
    margin-left: 0;
    padding: 15px 15px 0 15px;
  }
  .top-about {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
  }
  .join-meetup {
    position: absolute;
    left: 5%;
    bottom: 45%;
  }
}
@media (max-width: 425px) {
  .about-text {
    margin-left: 0;
    padding: 16px;
  }
  .about-text h1 {
    font-size: 25px;
    font-weight: 700;
  }
  .about-text p {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 2px;
  }
  .top-about {
    display: flex;
    flex-direction: column;
  }
  .top-image img {
    width: 215px;
  }
  .join-meetup {
    position: absolute;
    font-size: 12px;
    padding: 8px 10px;
  }
}
@media (max-width: 362px) {
  .about-text {
    padding: 0px 5px 0 15px;
  }
  .about-text h1 {
    margin-bottom: 4px;
  }
  .about-text p {
    margin-bottom: 0px;
  }
}
/*---------------------------End Top- about---------------*/
/*--------------------------Events-near---------------------*/
.events-near {
  padding-left: 140px;
  padding-right: 140px;
  padding-top: 126px;
}
.events-near-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  max-width: 1196px;
}
.events-location-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.events-near-title {
  color: #212121;
  font-size: 28px;
  font-weight: 600;
}
.location-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(151, 202, 209, 0.12);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}
.location-link:hover {
  background-color: #d1e5e7;
}
.location-name {
  color: rgba(0, 121, 138, 1);
  font-size: 20px;
  font-weight: 600;
}
.edit-icon {
  width: 18px;
  height: 18px;
  color: rgba(0, 121, 138, 1);
}
.see-all-events {
  display: none;
}
.see-all-events a {
  color: rgba(0, 121, 138, 1);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.see-all-events a:hover {
  text-decoration: underline;
}
@media (min-width: 760px) {
  .see-all-events {
    display: block;
  }
}
@media (max-width: 680px) {
  .events-near {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 25px;
  }
}
@media (max-width: 425px) {
  .events-near-title {
    font-size: 20px;
  }
  .location-name {
    font-size: 13px;
  }
  .events-location-container {
    gap: 5px;
  }
}
/*-------------------------------Cards Events Near Header --------------------------*/
/*-------------------------------Cards Events Grid Container-----------------*/
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
}
@media (max-width: 1096px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
  }
}
@media (max-width: 848px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
  }
}
@media (max-width: 585px) {
  .events-grid {
    margin: 0 auto;
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 425px) {
  .events-grid {
    display: flex;
    flex-direction: column;
    max-width: 370px;
    width: 100%;
  }
}
.cards-info {
  padding: 12px 0 20px 0;
}
/*-------------------------<div class="events-cards">----------------------------*/
.events-cards {
  transition: background-color 0.3s ease;
  background-color: white;
  border-radius: 8px;
  cursor: pointer;
}
.events-cards:hover {
  background-color: white;
}
.events-cards img {
  display: block;
  height: auto;
  opacity: 1;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.events-cards:hover img {
  opacity: 0.8;
}
.events-cards h3 {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  line-height: 1.2;
}
.events-cards:hover h3 {
  text-decoration: underline;
  color: black;
}
.events-cards h3 {
  max-width: 235px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  width: 235px;
  height: 72px;
  flex-direction: column;
  justify-content: center;
}
.events-cards p {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #707070;
  display: flex;
  width: 222px;
  padding: 12px 0 12px;
  flex-direction: column;
  justify-content: center;
}
.date {
  text-transform: uppercase;
  padding: 8px 0 12px 0;
}
.check-ticket {
  display: flex;
  justify-content: space-between;
  max-width: 170px;
}
.date,
.check-mark,
.ticket {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
@media (max-width: 585px) {
  .events-cards {
    margin: 0 auto;
  }
}
/*--------------------------Media Queries for Event Cards---------------------*/
@media (max-width: 425px) {
  .events-cards img {
    max-width: 98px;
    max-height: 55px;
  }
  .events-grid {
    gap: 30px;
  }
  .events-cards {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #d9d9d9;
    border-radius: 0px;
  }
  .cards-info {
    display: none;
  }
  .cards-info-mob {
    display: flex;
    flex-direction: column;
  }
  .date-mob {
    font-size: 9px;
    color: #7c6f50;
    font-weight: 500;
    line-height: 13px;
    text-transform: uppercase;
  }
  #h3-mob {
    max-width: 246px;
    max-height: 15px;
    color: #212121;
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 2px;
  }
  #p-mob {
    width: 155px;
    height: 12;
    padding: 0 0 4px 0;
    color: #707070;
    font-size: 9px;
    font-weight: 400;
    line-height: 11px;
  }
  .online-mob {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .online-mob img {
    width: 10px;
    height: 10px;
  }
  #span-mob {
    color: #707070;
    font-size: 8px;
    font-weight: 500;
    line-height: 8px;
  }
  .show-more-button {
    display: block;
    margin: 20px auto;
    color: rgba(0, 121, 138, 1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    width: fit-content;
  }
}
@media (min-width: 426px) {
  .cards-info-mob {
    display: none;
  }
  .cards-info {
    display: block;
  }
  .show-more-button {
    display: none;
  }
}
/*-----------------------------------join-meetup-hands-----------------*/
.join-meetup-hands {
  padding: 66px 90px 0px 90px;
}
.join-meetup-all {
  display: flex;
  flex-direction: row;
  max-width: 1512px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 20px 56px 20px 56px;
}
.join-meetup-all .join-meetup-text {
  order: 1;
}
.join-meetup-all img {
  order: 2;
  width: auto;
  margin: 0;
}
.join-meetup-all h2 {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  color: rgba(33, 33, 33, 1);
  text-align: left;
}
.join-meetup-all p {
  line-height: 24px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(33, 33, 33, 1);
  text-align: left;
}
.join-meetup-all a {
  display: flex;
  width: 192px;
  height: 40px;
  padding: 8px 66.6px 8px 66.78px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: rgba(227, 35, 89, 1);
  color: white;
  text-decoration: none;
  margin: 0;
  transition: background-color 0.3s ease;
}

.join-meetup-all a:hover {
  background-color: rgb(223, 112, 143);
}
@media (max-width: 800px) {
  .join-meetup-hands {
    padding: 0px 1px 0px 1px;
  }
  .join-meetup-all img {
    width: 260px;
  }
}
@media (max-width: 550px) {
  .join-meetup-all {
    padding: 20px 10px 20px 10px;
  }
}
@media (max-width: 425px) {
  .join-meetup-all {
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
  }
  .join-meetup-hands {
    padding: 0px 35px 0px 35px;
  }
  .join-meetup-text {
    display: contents;
  }
  .join-meetup-all h2 {
    order: 1;
    text-align: left;
    margin-bottom: 0;
    padding-right: 20px;
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    line-height: 36px;
  }
  .join-meetup-all img {
    order: 2;
    margin-bottom: 16px;
    width: 238px;
  }
  .join-meetup-all p {
    order: 3;
    text-align: left;
    margin-bottom: 22px;
    max-width: 350px;
    width: 100%;
    font-size: 12px;
    font-weight: 400;
    line-height: 25px;
  }
  .join-meetup-all p br {
    display: none;
  }
  .join-meetup-all a {
    order: 4;
    margin: 0 auto;
  }
}
/*------------------End of Join Meetup Hands Section-------------------*/
/*------------------Explore top categories-----------------------------*/
.explore-header {
  padding: 64px 0 0 140px;
}
.explore-header h2 {
  font-size: 28px;
  font-weight: 600;
}
.grid-category {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  padding: 0px 140px 64px 140px;
  max-width: 1512px;
  width: 100%;
}
.grid-category p {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  color: rgba(33, 33, 33, 1);
}
.category-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 22px 28px 16px 28px;
  max-width: 146px;
  border-radius: 8px;
  background: rgba(151, 202, 209, 0.08);
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.category-cards:hover {
  background: rgba(151, 202, 209, 0.2);
}
@media (max-width: 1096px) {
  .grid-category {
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 35px 20 35px;
  }
}
@media (max-width: 680px) {
  .grid-category {
    grid-template-columns: repeat(3, 1fr);
    padding: 0px 15px 44px 15px;
  }
}
@media (max-width: 425px) {
  .grid-category {
    grid-template-columns: repeat(2, 1fr);
    padding: 0px 30px 44px 25px;
  }
  .explore-header {
    padding-left: 15px;
    padding-top: 16px;
  }
  .explore-header h2 {
    font-size: 20px;
  }
}
/*-------------------------End explore top---------------------------------------*/
/*---------------------------Popular cities---------------------------------------*/
.popular-cities-header {
  padding-left: 140px;
}
.popular-cities-header h2 {
  font-size: 28px;
  font-weight: 600;
}
.popular-cities-header p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(112, 112, 112, 1);
  padding: 16px 0 16px 0;
}
.popular-cities-container {
  padding: 0 140px 124px 140px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1512px;
  width: 100%;
}
.popular-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}
.popular-cards:hover {
  transform: scale(1.05);
}
.popular-cities-container h3 {
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 425px) {
  .popular-cities-header {
    padding: 16px 0 0 20px;
  }
  .popular-cities-header h2 {
    font-size: 20px;
    font-weight: 600;
  }
  .popular-cities-header p {
    font-size: 12px;
    font-weight: 400;
    text-align: left;
    max-width: 350px;
    line-height: 24px;
    padding-bottom: 0px;
  }
  .popular-cities-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    padding: 0px 30px 44px 25px;
  }
  .popular-cities-container img {
    max-width: 153px;
    max-height: 153px;
  }
  #miami {
    display: none;
  }
}
@media (max-width: 690px) {
  .popular-cities-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    padding: 0 25px 55px 25px;
    gap: 20px;
  }
  .popular-cities-container img {
    max-width: 153px;
    max-height: 153px;
  }
  .popular-cities-header {
    padding-left: 50px;
  }
}
/*----------------------------End of Popular cities Section-----------------------*/
/*----------------------------How Meetup works Section-----------------------------*/
.how-works-header {
  padding-left: 140px;
}
.methods-meetup-container {
  padding: 0 140px 124px 140px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  max-width: 1512px;
  width: 100%;
}
.methods-meetup {
  display: flex;
  max-width: 580px;
  width: 100%;
  padding: 32px 112px 24px 24px;
  align-items: flex-start;
  gap: 24px;
  border-radius: 8px;
  background: rgba(151, 202, 209, 0.08);
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.methods-meetup:hover {
  background: rgba(151, 202, 209, 0.2);
}
.methods-meetup h3 {
  font-size: 20px;
  font-weight: 600;
}
.methods-meetup p {
  color: #212121;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 16px 0 16px 0;
}
.methods-meetup a {
  font-size: 16px;
  font-weight: 500;
  color: #00798a;
  text-decoration: none;
  line-height: 24px;
}
@media (max-width: 425px) {
  .methods-meetup-container h3 {
    font-size: 12px;
    font-weight: 600;
  }
  .methods-meetup-container p {
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    padding: 10px 0 10px 0;
  }
  .methods-meetup-container a {
    font-size: 10px;
    font-weight: 500;
  }
  .methods-meetup-container img {
    width: 26px;
    height: 26px;
  }
  .methods-meetup {
    padding: 20px 70px 15px 22px;
  }
}
@media (max-width: 690px) {
  .methods-meetup-container {
    padding: 0px 15px 44px 15px;
  }
  .methods-meetup {
    padding: 32px 24px 24px 24px;
  }
}
@media (max-width: 1100px) {
  .methods-meetup-container {
    display: flex;
    flex-wrap: wrap;
  }
}
/*--------------------End of how Meetup work----------------------------*/
/*--------------------Friendship Section---------------------------------*/
.friendships-container {
  display: flex;
  gap: 32px;
  padding: 0 140px 124px 140px;
  justify-content: space-between;
  max-width: 1512px;
  width: 100%;
}
.friendships-cards {
  display: flex;
  flex-direction: column;
  max-width: 376px;
  width: 100%;
  cursor: pointer;
}
.friendships-cards img {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.friendships-cards img:hover {
  opacity: 0.8;
}
.friendships-cards h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  padding: 24px 64px 12px 0;
  text-decoration: none;

  transition: text-decoration 0.3s ease, color 0.3s ease;
}
.friendships-cards:hover h3 {
  text-decoration: underline;
}
.friendships-cards p {
  color: #707070;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 0 5px 16px 0;
}
.friendships-cards a {
  color: #00798a;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: text-decoration 0.3s ease, color 0.3s ease;
}
.friendships-cards:hover a {
  text-decoration: underline;
}
@media (max-width: 1100px) {
  .friendships-container {
    flex-wrap: wrap;
    padding: 0 70px 124px 70px;
    justify-content: center;
  }
  .friendships-cards p {
  }
}
@media (max-width: 690px) {
  .friendships-container {
    padding: 0px 15px 44px 15px;
  }
  #friendship-header {
    padding: 0px 15px 44px 15px;
  }
  #last-card {
    margin-bottom: 100px;
  }
}
/*-----------------------------End of Section friendship-------------------*/
/*-----------------------------Footer---------------------------------------*/
footer {
  background-color: rgb(37, 37, 37);
  color: #ffffff;
  font-size: 14px;
  width: 100%;
  padding-bottom: 20px;
}
footer a {
  color: #ffffff;
  text-decoration: none;
}
footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
/* -------------------- Section footer-header--------------------- */
.footer-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #444;
}
.footer-header h4 {
  color: F6F7F8;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  margin-right: 15px;
  flex-shrink: 0;
}
.footer-header a {
  background-color: #252525;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: 2px solid #fff;
  flex-shrink: 0;
}
.footer-header a:hover {
  background-color: #f6f7f8;
  color: #212121;
  text-decoration: none;
}
/* -------------------- Section-footer-main-------------------------- */
.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.footer-main nav {
  flex: 1;
  min-width: 150px;
  margin-right: 40px;
  margin-bottom: 20px;
}
.footer-main nav:last-child {
  margin-right: 0;
}
.footer-main nav p {
  color: #f6f7f8;
  font-size: 16px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
}
.footer-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-main li {
  margin-bottom: 8px;
}
.footer-main li a {
  color: #c5c4c4;
}
.footer-main li a:hover {
  text-decoration: none;
  color: #f6f7f8;
}
/* --------------------Section-footer-links-------------------------- */
.footer-links {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.social-network {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  flex-wrap: wrap;
}
.follow-us-text {
  color: #f6f7f8;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
.social-media-list {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.social-media-list a {
  display: block;
  width: 24px;
  height: 24px;
}
.social-media-list .social-icon {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  transition: opacity 0.3s ease;
}
.social-media-list a:hover .social-icon {
  opacity: 0.8;
}
.app-download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.app-download-buttons a img {
  height: 40px;
  width: auto;
  max-width: 150px;
  vertical-align: middle;
  transition: opacity 0.5s ease;
}
.app-download-buttons a:hover img {
  opacity: 0.8;
}
/* --------------------Section-footer-bottom---------------------- */
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.footer-bottom span {
  margin-right: 20px;
  color: #ffffff;
}
.footer-bottom ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-bottom ul li a {
  color: #c5c4c4;
  white-space: nowrap;
}
.footer-bottom ul li a:hover {
  color: #ffffff;
}
@media (max-width: 1199px) {
  .footer-header,
  .footer-main,
  .footer-links,
  .footer-bottom {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 768px) {
  .footer-header,
  .footer-links,
  .footer-bottom {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px;
  }
  .footer-header h4 {
    margin-bottom: 15px;
    font-size: 16px;
    margin-right: 0;
  }
  .footer-header a {
    align-self: flex-start;
  }
  .footer-main {
    gap: 30px;
    padding: 20px 20px;
    align-items: flex-start;
  }
  .footer-main nav {
    margin-right: 0;
    margin-bottom: 25px;
    min-width: unset;
  }
  .social-network {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
  .social-media-list {
    justify-content: flex-start;
    width: 100%;
  }
  .app-download-buttons {
    margin-top: 20px;
    justify-content: flex-start;
    width: 100%;
  }
  .footer-bottom span {
    margin-bottom: 10px;
    margin-right: 0;
  }
  .footer-bottom ul {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
  }
}
@media (max-width: 425px) {
  footer {
    font-size: 12px;
  }
  .footer-header,
  .footer-main,
  .footer-links,
  .footer-bottom {
    padding: 15px 15px;
  }
  .footer-header {
    align-items: end;
  }
  .footer-bottom li {
    display: none;
  }
  .footer-header h4 {
    font-size: 16px;
  }
  .footer-header a {
    padding: 10px 20px;
    font-size: 14px;
  }
  .social-media-list,
  .app-download-buttons {
    gap: 40px;
  }
  .app-download-buttons a img {
    display: none;
  }
}
@media (max-width: 377px) {
  .footer-header {
    display: flex;
    flex-direction: column;
  }
}
/* --------------------End-of-Section-footer-bottom---------------------- */
/*---------------------Section-events-section------------------------------*/
.events-section {
  /* padding: 20px; */
  max-width: 1196px;
  margin: 0 auto;
}
.events-section-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}
.events-tabs {
  margin-bottom: 20px;
}
.events-tab {
  display: inline-block;
  padding: 10px 0;
  margin-right: 20px;
  text-decoration: none;
  color: #555;
  font-weight: 600;
  position: relative;
}
.events-tab.active {
  font-size: 20px;
  font-weight: 500;
  color: #00798a;
}
.events-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background-color: #00798a;
}
.events-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.filter-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-button {
  background-color: #f6f7f8;
  color: #212121;
  padding: 10px 15px;
  border: 1px solid #f6f7f8;
  border-radius: 40px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.dropdown-button:hover {
  background-color: #e0e0e0;
}
.arrow-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  transition: transform 0.3s ease;
}
.filter-dropdown.active .arrow-down {
  transform: rotate(180deg);
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  list-style: none;
  padding: 5px 0;
  margin-top: 5px;
}
.dropdown-content li a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content li a:hover {
  background-color: #f1f1f1;
}
.dropdown-content.show {
  display: block;
}
.events-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
@media (max-width: 680px) {
  .events-section {
    padding-top: 40px;
  }
}
@media (max-width: 425px) {
  .dropdown-button {
    background-color: #f6f7f8;
    color: #212121;
    padding: 10px 15px;
    border: 1px solid #f6f7f8;
    border-radius: 40px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
  }
  .events-section {
    padding: 50px 5px 20px 5px;
    max-width: 1200px;
    margin: 0 auto;
  }
}
/*------------------------------Section-Events-List---------------------*/
.events-list {
  padding: 20px;
  max-width: 1196px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.events-list-card {
  max-width: 604px;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 55px;
  border-top: 1px solid #d9d9d9;
  display: flex;
  gap: 12px;
  align-items: center;
  background-color: #ffffff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.events-list-card:hover {
  background-color: #f8f8f8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.events-list-card img {
  width: 159px;
  height: 90px;
  border-radius: 8px;
}
.list-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: start;
  position: relative;
  height: 100%;
}
.date-card {
  color: #7c6f50;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.35px;
  text-transform: uppercase;
}
.title {
  color: #212121;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.category {
  color: #707070;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
@media (min-width: 680px) {
  .online-event-block {
    display: none;
  }
  .attendees-and-spots-info {
    display: block;
    color: #707070;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-top: 4px;
    position: static;
    bottom: auto;
    left: auto;
    width: auto;
  }

  .attendees-and-spots-info .spots-left {
    color: #f00;
    font-weight: bold;
  }
}
@media (max-width: 679px) {
  .online-event-block {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
  }
  .online-event-block .online-event-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .online-event-block .online-event-text {
    color: #707070;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }
  .attendees-and-spots-info {
    display: none;
  }
}
@media (max-width: 425px) {
  .date-card {
    font-size: 9px;
    font-weight: 500;
    line-height: 12px;
  }
  .title {
    font-size: 10px;
    font-weight: 500;
    line-height: 14px;
  }
  .category {
    color: #707070;
    font-family: Roboto;
    font-size: 8.58px;
    font-style: normal;
    font-weight: 400;
    line-height: 12.257px;
  }
  .online-event-block .online-event-text {
    color: #707070;
    font-size: 8px;
    font-weight: 500;
    line-height: 10px;
  }
  .online-event-block .online-event-icon {
    width: 10px;
    height: 10px;
  }
  .events-list-card img {
    width: 98px;
    height: 55px;
    border-radius: 5px;
  }
  .events-section {
    padding: 50px 5px 0px 5px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .events-list {
    padding: 0 10px 0 10px;
  }
  .events-list-card {
    max-width: 370px;
    width: 100%;
    padding-top: 4px;
    padding-bottom: 15px;
  }
}
/*-------------------------Styles-map-promo-container-------------------------*/
/*-------------------------Styles-map-promo-container-------------------------*/
.main-content-wrapper {
  max-width: 1196px;
  margin: 20px auto;
  position: relative;
  padding: 0 20px;
}
.map-promo-container {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 4;
  max-width: 350px;
  width: 100%;
  max-height: 285px;
  height: 100%;
  margin-bottom: 20px;
}
.map-promo-header {
  margin-bottom: 8px;
  padding: 0 20px;
}
.map-promo-header p {
  color: #707070;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.map-promo-header h2 {
  color: #212121;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}
.map-placeholder {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 285px;
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 20px;
}
#map-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#leaflet-map {
  width: 100%;
  height: 100%;
}
.close-map-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #707070;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.close-map-btn:hover {
  background-color: rgba(255, 255, 255, 1);
}
.close-map-btn img {
  width: 16px;
  height: 16px;
}
.browse-map-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  color: #00798a;
  border: 1px solid #00798a;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 50;
}
.browse-map-btn:hover {
  background-color: #f0f0f0;
}
.browse-map-btn img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
@media (max-width: 890px) {
  .map-promo-container {
    display: none;
  }
}
@media (max-width: 430px) {
  .main-content-wrapper {
    padding: 5px;
  }
}
