.opd-presence-section .opd-title {
  text-align: center;
  font-size: 32px;
  color: #500032;
  margin-bottom: 30px;
}

.opd-presence-section .opd-title span {
  font-weight: bold;
}

.opd-presence-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.opd-tabs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.opd-tab-btn {
  padding: 15px 30px;
  background-color: #fff;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  box-shadow: 0 5px 5px rgba(0,0,0,0.1);
  text-align: left;
  transition: background-color 0.3s, color 0.3s;
}

.opd-tab-btn.active {
  background-color: #500032;
  color: #fff;
}

.opd-tab-content-wrapper {
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  flex-grow: 1;
  max-width: 760px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opd-tab-content {
  display: none;
  width: 100%;
}

.opd-tab-content.active {
  display: block;
}

.opd-image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.opd-image-gallery img {
     width: 100px;
    height: 100px;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.opd-image-gallery img:hover {
  transform: scale(1.1);
}

div#global .opd-image-gallery img {
    width: 100% !important;
}

@media (max-width: 480px) {
  .opd-tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    /*padding: 5px;*/
    justify-content: center;
    border-radius: 9999px;
    background-color: #fff;
    scrollbar-width: none; /* Firefox */
  }

  .opd-tabs::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .opd-tab-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 7px;
    font-weight: 600;
    border: none;
    border-radius: 0;
    background-color: transparent;
    color: #000;
    transition: all 0.3s;
    white-space: nowrap;
    border-left: 1px solid #ccc;
  }

  .opd-tab-btn:first-child {
    border-left: none;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
  }

  .opd-tab-btn:last-child {
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
  }

  .opd-tab-btn.active {
    background-color: #500032;
    color: #fff;
  }

  .opd-title {
    font-size: 24px;
  }

  .opd-tab-content-wrapper {
    padding: 15px;
    min-height: auto;
  }

  .opd-image-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
    justify-items: center;
  }

  .opd-image-gallery img {
    max-width: 100%;
    width: 100px;
    height: auto;
    object-fit: contain;
  }
  /* top banner css */
  .et_pb_text_9_1 h1 {
        font-size: 22px!important;
    }
    .apply-alumni {
        font-size: 11px!important;
    }
    .cpsa-accordion .accordion-header h3 {
        font-size: 16px;
        width: 85%;
    }
}

