.tab-buttons {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 300px;
}
.tab-buttons button {
  padding: 20px 15px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
  border-bottom: 2px solid #cfcfcf;
  color: #86868B;
  position: relative;
  text-align: left;
}

.tab-buttons button.active {
  color: #23559b;
  border-bottom-color:#23559B ;
}

/* Movable underline */
.tab-indicator {
  display: none;
}

.tab-content {
  display: none;
  padding:20px;
  animation: fadeIn 0.4s ease-in-out;

}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-container{
    display: flex;
    gap: 30px;
}
.tab-content-box {
    flex: 1;
    z-index: 1;
}
.tab-container p {
    font-size: 16px !important;
    line-height: 24px;
    letter-spacing: -0.28px;
    color: #000000;
    margin-bottom: 15px;
    margin-top: 15px;
}
.tab-container h1 {
  margin-top: 15px;
  font-weight: 600;
  font-size: 28px !important;
  line-height: 36px;
  letter-spacing: -0.28px;
  color: #23559b;
  margin-bottom: 15px;
}

.tab-container h2 {
  margin-top: 15px;
  font-weight: 600;
  font-size: 24px !important;
  line-height: 32px;
  letter-spacing: -0.28px;
  color: #23559b;
  margin-bottom: 15px;
}

.tab-container h3 {
  margin-top: 15px;
  font-weight: 600;
  font-size: 20px !important;
  line-height: 28px;
  letter-spacing: -0.28px;
  color: #23559b;
  margin-bottom: 15px;
}
  .tab-container h4 {
    margin-top: 15px;
    font-weight: 600;
    font-size: 16px !important;
    line-height: 24px;
    letter-spacing: -0.28px;
    color: #23559b;
    margin-bottom: 15px;
  }
.tab-container p {
  font-size: 16px !important;
  line-height: 24px;
  letter-spacing: -0.28px;
  color: #000000;
  margin-bottom: 15px;
  margin-top: 15px;
}
.tab-container table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  border-collapse: collapse;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); */
}
.tab-container table tr {
  border-bottom: 1px solid #cfcfcf;
}
.tab-container table tr:last-child {
  border-bottom: none;
}
.tab-container table tr:nth-child(even) {
  background-color: #fafafa !important;
}
.tab-container table tr th {
  border :1px solid #ddd;
  padding: 20px 15px;
  background-color: #4a4a4a3b;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.28px;
  font-weight: 600;
  text-align: left;
}
.tab-container table {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  /* overflow: hidden; */
}

.tab-container table tr td {
  border :1px solid #ddd;
  padding: 20px 15px;
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.28px;
  text-align: left;
}
.tab-container ul li {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.28px;
  list-style-position: inside;
  color: #000000;
}
.tab-container ol li {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.28px;
  list-style-position: inside;
  color: #000000;
}
.tab-container a {
  color: #23559b;
  text-underline-offset: 3px;
  text-decoration: underline 2px rgba(42, 46, 109, 0.12);
}
.tab-container a:hover {
  text-decoration: underline rgb(35, 85, 155) !important;
}
.tab-container iframe {
  width: 100%;
  height: 600px;
  margin-top: 15px;
  margin-bottom: 15px;
}
figure.table{
      border: 1px solid #ddd;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 25px;
    margin-bottom: 25px;
}
.date{
    display: flex;
    gap: 10px;
    align-items: center;
}
.cards-container {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}
.profile-conatiner {
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    gap: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.profile-detial {
    padding-block: 20px;
}
.profile-name {
    font-size: 20px !important;
    color: #000 !important;
    font-size: 500 !important;
    margin-bottom: 10px !important;
}
.profile-designation {
    color: #6C89B2 !important;
}
.social-media-profile {
    gap: 20px;
    display: flex;
}
.profile-image {
    border-radius: 20px;
    object-fit: cover;
    height: auto;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-grid-item {
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
}
.gallery-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}


.apply-btn {
  position: relative;
  background-color: #D0BB68;
  border: 1px solid #23559B;
  border-radius: 24px;
  padding: 10px 20px;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  font-size: 16px; /* optional, for consistency */
  transition: color 0.3s ease-in-out;
}

.apply-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #23559B; /* hover background */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: 24px;
}

.apply-btn:hover {
  color: #ffffff; /* text color on hover */
}

.apply-btn:hover::before {
  width: 100%;
}

@media (max-width:991px){
  .tab-buttons{
      flex-direction: row;
      overflow-x: auto;
      white-space: nowrap;
      gap: 30px;
      padding: 0;
  }
    .tab-container{
        flex-direction: column;
    }
    .tab-buttons{
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 30px;
    }
    .profile-image{
        width: 45%;
    }
}
@media (max-width:767px){
  .profile-conatiner{
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
      .profile-image {
        width: 100%;
        height: auto;
    }
    .cards-container, .gallery-grid{
        grid-template-columns: 1fr;
    }
    .conferences-details{
        padding-top: 0;
    }
}