.services.with-line .services-item .services-item-inner {
  padding: 0px;
}

/* .services.with-number .services-item {
  height: 95%;
  padding: 20px;
  background: #fff7f7;
  border-radius: 20px;
  box-shadow: 0 0 5px gray;
  width: 93%;
  margin: 10px auto;
} */

.txt-red {
  color: #7a1b1b;
}

.services.with-number .swiper-slide-active .services-item {
  background: #7a1b1b;
  color: #fff;
}

.services.with-number .swiper-slide-active .service-description h5 {
  color: #fff;
}

.services.with-number .services-item::before {
  display: none;
}

.services .dsn-isotope .services-item {
  margin-top: 0px !important;
  text-align: center;
  background-color: transparent !important;
  color: inherit !important;
}

.services-item:nth-child(odd) .service-description h5 {
  color: #7a1b1b;
}

.services .services-item .services-item-inner {
  cursor: pointer;
}

.services .services-item .services-item-inner .services-content {
  padding: 0px;
  height: auto;
}

.services .services-item .services-item-inner .icon img {
  width: 60px !important;
  padding: 10px;
  background-color: #f7c971ae;
  border-radius: 5px;
  filter: invert(0);
  opacity: 1;
}

.facility-box {
  display: flex;
  background-color: #f7c9716b;
  border-radius: 50px;
  padding: 10px;
  align-items: center;
}

.facility-box:after {
  content: "";
  height: 100%;
  width: 0%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #7a1b1b;
  z-index: 0;
  transition: all 0.2s linear;
  border-radius: 50px;
}

.facility-box:hover:after {
  width: 100%;
}

.facility-box:hover .card-title {
  color: #fff;
}

.facility-box .img-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 10px;
  margin-right: 15px;
  background: #f7c971;
  position: relative;
  z-index: 1;
}

.facility-box .card-title {
  position: relative;
  z-index: 1;
}

.facility-box img {
  width: 100%;
  height: 100%;
  animation: pulse 3s ease-in-out infinite;
}

thead tr {
  background: #7a1b1c;
  color: #fff;
}

tbody tr td:first-child {
  color: #7a1b1c;
  font-weight: 600;
}

/* adding this for testing purpose */
.my-activity-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: left;
    border-radius: 30px;
    box-shadow: 4px 4px 10px #a9a9a9;
    height: 200px;
}

/* ends here */

.table {
    background: #f7c971;
    border-radius: 11px;
    /* overflow: hidden; */
    --bs-table-border-color: #ffdc97;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
    /* display: block; */
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
    word-break: break-word;
    table-layout: fixed;
}

.table1 {
  overflow-y: auto;
}

.table> :not(caption)>*>* {
  padding: 0.1rem 0.5rem;
  /* text-align: center; */
  width: 10px;
  
}

.vision-mission-section.left:after {
  content: "";
  height: 70%;
  width: 105%;
  position: absolute;
  bottom: -40%;
  left: -3%;
  /* left: auto; */
  transform: translateY(-50%);
  background: #7a1b1b;
  z-index: -1;
  border-radius: 0px 30px 30px 0px;
  top: unset;
  right: unset;
}

.vision-mission-section.right:after {
  content: "";
  height: 70%;
  width: 105%;
  position: absolute;
  bottom: -39%;
  right: -3%;
  left: auto;
  transform: translateY(-50%);
  background: #7a1b1b;
  z-index: -1;
  border-radius: 30px 0 0 30px;
  top: unset;
}

.line-bg-right.gray:after {
  background-color: #f5b334;
}

.fac-btn {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: baseline;
  width: fit-content;
  text-decoration: none;
}

@media (max-width: 1199px) {
  .flex-dir-column-reverse {
    flex-direction: column-reverse;
  }
}

@media (max-width: 1250px) {
  nav ul {
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .about .right .message-box {
    right: 0 !important;
    padding-left: 7% !important;
    padding-right: 7% !important;
    margin-top: 0;
  }

  /* .message-section {
    margin-top: 50px !important;
  } */
}

/* Back to top css */

.progress-wrap {
  right: 25px;
  bottom: 25px;
  color: white;
  position: fixed;
  right: 22px;
  bottom: 19px;
  height: 46px;
  background-color: #7a1b1b;
  width: 46px;
  cursor: pointer;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px white;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 200ms linear;
}

.progress-wrap input {
  z-index: 10001;
}

.progress-wrap input:checked+html {
  -ms-scroll-snap-type: unset;
  scroll-snap-type: unset;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap::after {
  position: absolute;
  content: "↑";
  text-align: center;
  line-height: 46px;
  font-size: 24px;
  color: #fff;
  left: 0;
  top: -2px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 1;
  transition: all 200ms linear;
}

.progress-wrap:hover::after {
  opacity: 0;
}

.progress-wrap:hover::before {
  opacity: 1;
}

.progress-wrap::before {
  position: absolute;
  content: "↑";
  text-align: center;
  line-height: 46px;
  font-size: 24px;
  opacity: 0;
  -webkit-text-fill-color: #f7c971;
  left: 0;
  top: -2px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 2;
  transition: all 200ms linear;
}

.progress-wrap svg path {
  fill: none;
}

.progress-wrap svg.progress-circle path {
  stroke: #f7c971;
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 200ms linear;
}

.bg-ylw-clr-right {
  background-image: url(../home-images/dottes-chr.png);
  background-repeat: no-repeat;
  background-position: right bottom !important;
}

@media screen and (max-width: 1024px) {
  .about .message-box {
    width: 100% !important;
    /* padding-right: 0px !important; */
  }

  .about .right .message-box {
    right: 0 !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    margin-top: 0;
  }
}

.curricular3 {
  transform: none !important;
}

.text2 {
  text-align: justify;
}

.chairman-swiper .swiper-slide {
  height: auto;

}

.chairman-swiper img .chairman-img {
  height: 100%;
  width: 100%;
  object-fit: cover !important;
}

table td,
table th {
  border-right: 1px solid #fff;
  /* Vertical border */
  padding: 8px 12px;
}

/* table tr td:last-child,
table tr th:last-child {
  border-right: none; 
} */

table {
  border-collapse: collapse;
  width: 100%;
}

table th {
  background-color: #771616;
  /* Your existing header background */
  color: #fff;
}

table td {
  background-color: #f9c766;
  /* Your existing row background */
}

/* table, th, td {
  border: 1px solid #a55d24;  
  border-collapse: collapse;
} */
.mt-20 {
  margin-top: 20px !important;

}

.mb-20 {
  margin-bottom: 20px;
}

.log-sec1{
  width: 20%;
}
table tr:last-child td {
    border-bottom: 0;
}
.message-content .arrow::after {
   
    padding-top: 20px; /* space after arrow button */
}
p.sub-heading{
  text-align: unset;
}
.popup-news.active {
  display: flex;
}

.popup-news-content {
  background: #fff;
  max-width: 600px;
  width: 100%;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.popup-news-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  color: #7a1b1b;
  cursor: pointer;
}
body.popup-news-open {
  overflow: hidden;
}
.popup-news-content h4{
  color: #7a1b1b;
}
@media (max-width: 768px) { /* Adjust 768px for your mobile breakpoint */
    .table {
        background: #f7c971;
        border-radius: 11px;
        --bs-table-border-color: #ffdc97;
        text-overflow: ellipsis;
        max-width: 100%;
        white-space: nowrap;
        word-break: unset;
        width: 100%;
    table-layout: auto;

    }
    
}

@media screen and (max-width: 1600px) {
  .navbar {
    padding: 20px 20px!important;

  }


}

@media screen and (max-width: 1500px) {
  .navbar {
    padding: 20px 10px!important;

  }

  nav ul {
    gap: 20px;
  }


}

@media (max-width:1400px) {
  .dropdown-mega>a {

    padding: 8px;
  }

  nav ul {
    gap: 15px!important;
  }
}
@media (max-width:1300px) {
  .log-sec1{
    width: 12%;
  }
}
.log-sec1 p{
  line-height: normal;
    text-align: center;
    width: 100%;
}
@media screen and (max-width: 768px) {
  .log-sec1 {
        width: 80%;
  }
    .log-sec1 p {
        
        width: 70%;
    }
}
