      .speakers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.speaker-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.speaker-card:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);*/
}

.speaker-card img {
    width: 180px;
            height: 240px;
            border-radius: 10%;
            object-fit: cover;
            object-position: center 15%;
    border: 0.1px solid var(--primary_color);
}

.speaker-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

.speaker-card p {
    font-size: 16px;
    color: #555;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    min-height: 30px; /* Ensures space even if empty */
    align-items: center;
}

.social-icon {
    color: #333;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Ensure hover effect */
.social-icon:hover {
    color: var(--primary_color);
}

/* If no icons are present, keep space but hide visibility */
.social-links:empty {
    visibility: hidden;
}
.position {
  color: #666; /* Slightly lighter gray for the designation */
  font-size: 14px; /* Slightly smaller font size for the designation */
  margin-bottom: 10px; /* Space between designation and any other info */
  position: relative; /* For underline effect */
  display: inline-block; /* So the pseudo-element only spans the text width */
}
.position::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; /* Adjust position as needed */
  width: 100%;
  height: 1px;
  background-color: #999; /* A subtle gray underline */
  opacity: 0.5; /* Make the underline slightly transparent */
  transition: opacity 0.3s ease; /* Smooth transition for hover effect */
}

.position:hover::after{
    opacity: 1; /* Make the underline fully opaque on hover */
}



.btt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary_color);
    color: white;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease-in-out;
}

.btt:hover {
    background: var(--hover_color);
}
