html {
  scroll-behavior: smooth;
}

#cssmenu ul {
  display: flex;
  justify-content: center;
}

#cssmenu ul ul li a{
  width:250px;
}
.row,
.row > .column {
  padding: 0px !important;
}
.row {
  margin: 0px !important;
}
/* Center the whole box */
/* Style the button */
#scrollToTopBtn {
  z-index: 20;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #d6b56d;
  color: #1c3459;
  border: none;
  border-radius: 50%;
  padding: 15px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  /* Hidden by default */
}

#scrollToTopBtn:hover {
  background-color: #0056b3;
  color: #fff;
}

.celebration-section {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s ease, transform 1s ease;
}

.celebration-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: 30px 40px;
  /* max-width: 1000px; */
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.underline {
  --line: #646b8c;
  --color: #2b3044;
  text-decoration: none;
  color: var(--color);
  position: relative;
  display: inline-flex;
  align-items: center;
}

.underline span {
  background-image: linear-gradient(0deg, var(--line) 0%, var(--line) 100%);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: var(--background-size, 100%) 1px;
  transition: background-size 0.2s linear var(--background-delay, 0.15s);
  font-size: 16px;
  line-height: 20px;
  transform: translateZ(0);
}

.underline svg {
  vertical-align: top;
  display: inline;
  line-height: 1;
  width: 13px;
  height: 20px;
  position: relative;
  left: -2px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1px;
  stroke: var(--line);
  stroke-dasharray: 7.95 30;
  stroke-dashoffset: var(--stroke-dashoffset, 46);
  transition: stroke-dashoffset var(--stroke-duration, 0.15s)
    var(--stroke-easing, linear) var(--stroke-delay, 0s);
}

.underline:hover {
  --background-size: 0%;
  --background-delay: 0s;
  --stroke-dashoffset: 26;
  --stroke-duration: 0.3s;
  --stroke-easing: cubic-bezier(0.3, 1.5, 0.5, 1);
  --stroke-delay: 0.195s;
}

.profile-image-retried {
  width: 20%;
  border-radius: 5%;
  height:20%;
}

.centered-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Box container */
.boxDivHolder {
  width: 90%;
  /* Adjust width to perfectly fit the row */
  max-width: 1100px;
  /* Ensures it looks neat */
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Row holding all sections */
.content-row {
  display: flex;
  justify-content: space-between;
  /* Distributes items evenly */
  align-items: center;
  width: 100%;
}

/* Each section (Library, Training, etc.) */
.box {
  flex: 1;
  /* Equal width */
  text-align: center;
  padding: 15px;
  min-width: 180px;
  /* Ensures sections don't get too small */
}

/* Icon Styling */
.icoImg1 {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

/* Section Titles */
.head23LightBlack {
  font-size: 18px;
  font-weight: 600;
  color: #2b3044;
  margin-bottom: 8px;
}

/* More Details Button */
.btnMoreDetail {
  /* Corrected typo from btnMoreDeatil */
  text-decoration: none;
  color: #2b3044;
  font-size: 14px;
  display: block;
  transition: color 0.3s;
}

.btnMoreDetail:hover {
  color: #007bff;
}

/* Custom container for the icon sections */
.custom-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
  /* Add padding around the container */
}

/* Icon section styling */
.iconDivHorizontal {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  /* Space between rows */
}

/* Content box for each section */
.contentBox {
  background-color: #f9f9f9;
  /* Light background for each box */
  border: 1px solid #ddd;
  /* Light border */
  border-radius: 8px;
  /* Rounded corners */
  padding: 15px;
  /* Padding inside the box */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for depth */
  transition: transform 0.2s;
  /* Smooth transition for hover effect */
}

.contentBox:hover {
  transform: scale(1.02);
  /* Slightly enlarge on hover */
}

.mapIcon {
  margin-right: 15px;
  /* Space between icon and text */
}

.mapTest {
  flex-grow: 1;
  /* Allow text to take remaining space */
}

.head23LightBlackOne {
  margin: 0;
  /* Remove default margin from heading */
}

/* Underline effect for links */
.underline {
  --line: #646b8c;
  --color: #2b3044;
  text-decoration: none;
  color: var(--color);
  position: relative;
  display: inline-flex;
  align-items: center;
}

.underline span {
  background-image: linear-gradient(0deg, var(--line) 0%, var(--line) 100%);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: var(--background-size, 100%) 1px;
  transition: background-size 0.2s linear var(--background-delay, 0.15s);
  font-size: 16px;
  line-height: 20px;
  transform: translateZ(0);
}

.underline svg {
  vertical-align: top;
  display: inline;
  line-height: 1;
  width: 13px;
  height: 20px;
  position: relative;
  left: -2px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1px;
  stroke: var(--line);
  stroke-dasharray: 7.95 30;
  stroke-dashoffset: var(--stroke-dashoffset, 46);
  transition: stroke-dashoffset var(--stroke-duration, 0.15s)
    var(--stroke-easing, linear) var(--stroke-delay, 0s);
}

.underline:hover {
  --background-size: 0%;
  --background-delay: 0s;
  --stroke-dashoffset: 26;
  --stroke-duration: 0.3s;
  --stroke-easing: cubic-bezier(0.3, 1.5, 0.5, 1);
  --stroke-delay: 0.195s;
}

.img_size {
  width: 100%;
}

.image-box {
  width: 20%;
  text-align: center;
  /* Center-aligns text within the box */
  padding: 10px;
  /* Optional: Add padding for spacing */
  position: relative;
  /* Position relative to contain the overlay */
  overflow: hidden;
  /* Ensures the overlay doesn't exceed the image bounds */
}

.image-box a {
  font-family: "FrankRuhlLibreLight", Arial, Tahoma;
  /* Set the desired font family */
  color: #000;
  /* Change the text color if needed */
  text-decoration: none;
  /* Remove underline from hyperlinks */
  font-size: 16px;
  /* Adjust font size as needed */
}

.image-container_pg img {
  width: 100%;
  /* Makes the image responsive */
  height: auto;
  /* Maintains aspect ratio */
  border-radius: 15px;
  /* Rounded corners */
  transition: transform 0.3s;
  /* Smooth transition for hover effect */
}

.image-container_pg img:hover {
  transform: scale(1.05);
  /* Slightly enlarges the image on hover */
}

.image-wrapper {
  position: relative;
  /* Position relative for the overlay */
}

.overlay {
  position: absolute;
  /* Position absolute to overlay on the image */
  top: 0;
  /* Aligns to the top */
  left: 0;
  /* Aligns to the left */
  right: 0;
  /* Aligns to the right */
  bottom: 0;
  /* Aligns to the bottom */
  background-color: rgba(0, 0, 0, 0.6);
  /* Black with transparency */
  opacity: 0;
  /* Initially hidden */
  transition: opacity 0.5s;
  /* Smooth transition for opacity */
  border-radius: 15px;
  /* Match the border radius of the image */
}

.image-container_pg:hover .overlay {
  opacity: 1;
  /* Show overlay on hover */
}

html {
  scroll-behavior: smooth;
}

#cssmenu ul ul {
  flex-wrap: wrap;
}

.about-pics-section {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.abt-section-first {
  padding: 40px;
}

.bout-pic-left {
  width: 30%;
}

.abt-right-text {
  width: 70%;
}

.bout-pic-left img {
  width: 100%;
  border-radius: 5px;
}

.nagpur-vet-college {
  padding: 10px 40px;
  width: 96%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  #cssmenu ul {
    flex-direction: column;
  }

  .content-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .box {
    min-width: 140px;
    border: 1px solid #000;
  }

  .profile-div-cont {
    flex-direction: column !important;
  }

  .profile-div-cont figure {
    width: 100% !important;
  }

  .img_size {
    flex-wrap: wrap;
  }

  .image-box {
    width: 47%;
    padding: 5px;
  }

  .btnNav {
    flex-wrap: wrap;
  }

  .footer {
    flex-direction: column;
    gap: 15px;
  }

  .section {
    padding: 10px;
  }

  .card {
    width: 100% !important;
  }

  .retired-section .container {
    overflow-x: scroll;
  }

  .profile-image-retried {
    width: 80%;
  }

  .about-pics-section {
    flex-direction: column !important;
  }

  .bout-pic-left {
    width: 100%;
  }

  .abt-right-text {
    width: 100%;
  }
  .abt-section-first {
    padding: 10px;
  }

  .table-overflow {
    overflow-x: scroll;
  }
}

.social-icons a i {
  color: #d6b56d;
  font-size: 20px;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.social-icons a:hover i {
  transform: scale(1.3);
}

.card:nth-child(1n-3n) {
  background-color: #ffb64a;
}

.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 48%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th,
td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination button {
  padding: 10px;
  margin: 0 5px;
  border: none;
  background-color: #1c3459;
  color: #ffb64a;
  cursor: pointer;
}

.pagination button:hover {
  color: #1c3459;
  background-color: #ffb64a;
}

.pagination button.active {
  color: #1c3459;
  background-color: #ffb64a;
}
