* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-1: #022d58;
  --color-2: #ffffff;
  --location-color:rgb(255, 0, 0);

}

body {
  font-family: Arial, sans-serif;
  background-image: linear-gradient(135deg, transparent 0%, transparent 6%,rgba(71, 71, 71,0.04) 6%, rgba(71, 71, 71,0.04) 22%,transparent 22%, transparent 100%),linear-gradient(45deg, transparent 0%, transparent 20%,rgba(71, 71, 71,0.04) 20%, rgba(71, 71, 71,0.04) 47%,transparent 47%, transparent 100%),linear-gradient(135deg, transparent 0%, transparent 24%,rgba(71, 71, 71,0.04) 24%, rgba(71, 71, 71,0.04) 62%,transparent 62%, transparent 100%),linear-gradient(45deg, transparent 0%, transparent 73%,rgba(71, 71, 71,0.04) 73%, rgba(71, 71, 71,0.04) 75%,transparent 75%, transparent 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  letter-spacing: 2px;
}

/* aou arab world section */
#aou-map {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60dvh;
}

#aou-map img{
  height: 100%;
  width: auto;
  object-fit: cover;
}


/* ieee section */
.ieee-section {
  margin-top: 50px;
  padding: 20px;
  background-color: #f4f4f4;
  font-family: Arial, sans-serif;
}

.ieee-section-container {
  max-width: 800px;
  margin: 20px auto;
}

.ieee-content h2 {
  font-size: 2rem;
  text-align: left;
  margin-bottom: 40px;
  color: #022d58;
  display: inline-block;
  position: relative;
}

.ieee-content h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background-color: var(--color-1);
  margin-top: 10px;
}

.ieee-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.ieee-content button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--color-1);
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.4s ease;
}

.ieee-content button:hover {
  background-color: var(--color-2);
  color: var(--color-1);
  box-shadow: 4px 4px var(--color-1);
}

.continue-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.continue-overlay p {
  background-color: #fff;
  padding: 20px;
  max-width: 90%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  text-align: justify;
  overflow-y: auto;
  max-height: 80dvh;
}

.continue-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: clamp(16px, 2vw, 24px);
  text-align: center;
  color: white;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background-color: var(--color-1);
  cursor: pointer;
}



/* team section */

.team-section {
    padding: 60px 20px;
    margin: 60px 0;
    border-radius: 15px;
    text-align: center;
  }
  
  .team-section h2 {
    color: var(--color-1);
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
    border-bottom: 3px solid var(--color-1);
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
  }
  
  .team-member {
    flex: 1 1 calc(50% - 20px);
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .team-member:hover {
    transform: scale(1.02);
  }
  
  .team-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .team-member h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-1);
    margin-bottom: 10px;
  }
  
  .team-member h4 {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
  }
  
  .team-member p {
    color: #555;
    line-height: 1.6;
    font-size: 18px;
    font-weight: 500;
  }

  .team-section-button {
  margin-top: 80px;
  padding: 10px 20px;
  background-color: var(--color-1);
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.4s ease;
}

.team-section-button:hover {
  background-color: var(--color-2);
  color: var(--color-1);
  box-shadow: 4px 4px var(--color-1);
}


#customAlertTeamImage{
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
}

#customAlertTeamImage img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  margin: auto;
}

#customAlertTeamImage .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: clamp(16px, 2vw, 24px);
  text-align: center;
  color: white;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background-color: var(--color-1);
  cursor: pointer;
}




/* reponsive screen */

@media (max-width: 480px) {

  /* aou arab world map section */
#aou-map {
  margin-top: 10px;
  height: 50dvh;
}

#aou-map img{
  height: 60%;
}


  #tooltip {
    font-size: 12px;
  }

  /* about section */

  .ieee-section{
    margin: 20px 0px 40px 0px;
  }

  .team-member {
    flex-basis: 100%;
  }

  .team-member h3 {
    font-size: 18px;
  }

  .team-member h4 {
    font-size: 14px;
  }

  .team-member p {
    font-size: 13px;
  }
}
