button.stylebtn {
  border: none;
  font-size: 20px;
  background-color: transparent !important;
  color: white !important;
}
.offcanvas {
  z-index: 2000 !important; /* Higher than Bootstrap default */
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Force link text color inside the nav */
.offcanvas .nav-link,
.offcanvas .dropdown a,
.offcanvas .offcanvas-body li a {
  color: #000 !important;
}

/* Fix invisible dropdown content */
.offcanvas .dropdown ul {
  text-align: center;
  background: #fff !important;
  border: 1px solid #ddd;
  padding: 10px;
  /* display: block !important; */
}

.offcanvas-body ul.nav li a.nav-link:hover,
.offcanvas-body ul.nav li a.dropdown-item:hover {
  background-color: #df1529 !important;
  color: white !important;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.offcanvas-body .dropdown-menu .dropdown-item {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/*college logo style*/
@media (max-width: 768px) {
  .mseclogo {
    width: 80px;
    height: 80px;
  }
  .sitename {
    font-size: 18px !important;
  }
}
@media (min-width: 768px) {
  .mseclogo {
    width: 120px;
    height: 120px;
  }
  .sitename {
    font-size: 36px !important;
  }
}

/*small span under header*/
.styleheaderspan {
  font-size: 12px;
}
/*header section for 1024 screen and small screen*/
@media (max-width: 760px) {
  .header {
    background-color: #013483;
  }
}

@media (min-width: 760px) {
  .header {
    /* position: fixed; */
    top: 0;
    width: 100%;
    background-color: #013483 !important;
  }
}

span {
  padding: 0;
}
/*video container*/
.hero-container iframe {
  object-fit: cover;
  pointer-events: none; /* Prevent blocking content interaction */
}
/* bg image for smaller screen*/
@media (max-width: 992px) {
  .hero-container {
    background-image: url("../img/campus.jpeg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}
.hero-text-container {
  padding-top: 10rem;
  transition: padding-top 0.5s ease;
}

.no-hero-padding {
  padding-top: 0 !important;
}
.hero .hero-container .overlay {
  background-color: #68a4ff0e !important;
}
/* logo images style*/
.ticker-img {
  width: 100px;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.ticker-item .nbalogo {
  width: 100px !important;
  height: 90px !important;
}
.msectextdesign {
  color: #000 !important;
  font-size: 15px !important;
  font-weight: 400;
  text-align: justify;
}
.setdegreecontainer {
  height: 300px;
  overflow: auto; /* Enable scrolling */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}
.coursetext {
  color: black !important;
  font-size: 12px !important;
}

.swiper {
  width: 100%;
  padding: 0;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Optional: Add min-height if height jumps between slides */
.swiper-wrapper {
  min-height: 250px;
}
.testimonials .testimonial-content {
  height: 400px;
  overflow: auto;
  /* overflow-y: auto;        Enable vertical scroll if needed */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.textjustify {
  text-align: justify;
}
.alumniimg {
  transform: scale(1.8);
}
.setbgimg {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

/* Chrome, Edge, Safari */
.testimonial-content::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* make scrollbar invisible */
}
.testimonialtext {
  font-size: 12px !important;
}
.event-ticker1-wrapper {
  height: 550px;
  overflow: hidden;
  position: relative;
}

.event-ticker1 {
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-100%);
  }
}

.event-ticker1 .row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  width: 100%;
}

/* Hide dropdown initially */
.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  display: none;
  /* opacity: 0; */
  transition: max-height 0.3s ease, opacity 0.3s ease;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  margin-top: 0.25rem;
  padding-left: 0;
  list-style: none;
}

/* Show dropdown */
.dropdown-menu.show {
  max-height: 500px; /* enough to show all items */
  /* opacity: 1; */
  display: block;
  padding-left: 0.5rem; /* add padding back when open */
}

/* Style dropdown items */
.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #eee;
}
.accordion-button {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-button span {
  text-align: center;
  min-width: 70px;
}
.accordion-button::after {
  margin: 10px !important;
}
.stylesidecalender {
  background-color: white;
  color: #df1529;
  padding: 15px;
  border-bottom: 1px solid #df1529;
  margin: 10px;
  transition: all 0.5s ease-in-out;
}

.stylesidecalender:hover {
  transform: scale(1.05);
}
.stylecoecontact {
  color: #df1529;
  font-weight: 600;
  text-align: center;
}
.alignjustify {
  text-align: justify;
}
.styleresearchcontainer {
  transition: all 0.3s ease-in-out;
}

.styleresearchcontainer:hover {
  transform: scale(1.05);
  border-top: 5px solid #df1529;
}
.styleresearchcontainer:hover p {
  color: #df1529;
}
.styleresearchcontainer p {
  font-size: 13px !important;
}
.list-group-flush li a:hover {
  color: #df1529 !important;
}
.list-group-flush li {
  transition: all 0.2s ease-in-out;
}
.list-group-flush li:hover {
  border-radius: 10px 10px 0 0;
  border-top: 5px solid #df1529;
}
.btncolorchange:hover {
  color: #df1529;
}
.faculty tr th {
  color: #df1529;
}
#calendar {
  max-width: 900px;
  margin: auto;
}
.tippy-box[data-theme~="light-border"] {
  font-size: 14px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
}
.master {
  background-color: #013483 !important;
}
.explorebtn {
  background-color: #df1529;
  color: white;
  border: none;
  font-size: 15px;
  transition: all 0.3s ease;
}
.explorebtn:hover {
  transform: scale(1.05);
}
.committee li .nav-link {
  background-color: white !important;
  border: 2px solid #df1529 !important;
  border-radius: 10px !important;
  color: #df1529;
}
.committee li .nav-link:hover{
  color: #df1529;
}
.committee li button:active {
  background-color: #df1529 !important;
  color: white ;
}
ul.committee {
  margin-bottom: 30px;
  border-bottom: none; /* Remove default underline */
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Tab button styles */
.committee .nav-link {
  background-color: white;
  border: 1px solid #df1529;
  color: #df1529;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Hover effect */
.committee .nav-link:hover {
  background-color: #df1529;
  color: white;
}

/* Active tab */
.committee .nav-link.active {
  background-color: #df1529 !important;
  color: white !important;
  border-color: #df1529 !important;
  box-shadow: 0 4px 8px rgba(223, 21, 41, 0.2);
}
.styleventbtn {
  color: white;
  background-color: #df1529;
  border: none;
  transition: all 0.4s ease-in-out;
}
.styleventbtn:hover {
  transform: scale(1.05);
}
.overview {
  z-index: 1000;
}
.faculty-contact1 {
  /* background-color: 
 color-mix(in srgb, var(--accent-color), transparent 90%) !important; */
  color: var(--accent-color);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-block;
}
.administrationcontent:hover p {
  color: #df1529 !important;
}
.administrationcontent:hover {
  transition: all 0.2s ease-in-out;
  border-top: 5px solid #df1529;
}

.tools-section {
  text-align: center;
  padding: 40px 20px;
}

.tools-section h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.tools-section p {
  color: #ccc;
  margin-bottom: 40px;
}

.scroll-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.tool-track {
  display: inline-block;
  animation: scroll 50s linear infinite;
}

.tool-track:hover {
  animation-play-state: paused;
}

.tool {
  display: inline-block;
  background: white;
  border-radius: 12px;
  padding: 10px 20px;
  margin: 0 10px;
  color: #df1529;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.tool img {
  /* height: 20px; */
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (min-width: 1002px) {
  .style2024 {
    height: 900px !important;
  }
  .style2023 {
    height: 700px !important;
  }
  .style2022 {
    height: 950px !important;
  }
}
.stylealumnicontent {
  text-align: justify !important;
}
.event-ticker-container {
  height: 500px;
  overflow: hidden;
  position: relative;
}

.event-ticker-list {
  display: flex;
  flex-direction: column;
  animation: scrollTicker 50s linear infinite;
}

@keyframes scrollTicker {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-50%);
  }
}

.event-item {
  padding: 1.2rem;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/* Pause animation on hover */
.event-ticker-container:hover .event-ticker-list {
  animation-play-state: paused;
}
/* @media (min-width: 992px) and (max-width: 1500px) {
  .hero .container {
    min-height: auto !important; 
  }
} */
.stylecodebtn {
  border: none;
  border-radius: 20px;
  padding: 20px;
  color: white;
  font-size: 20px;
  background-color: #013483;
}
.changeheadingclr {
  color: #df1529; /* Text fill color */
  -webkit-text-stroke: 2px White; /* Stroke width and color */
  text-shadow: 1px 1px 2px white; /* Optional soft shadow for depth */
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.top-bar {
  background-color: white;
  padding: 10px 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
  position: relative;
}

/* Original rule with a fix to exclude dropdown */
.nav-links li:not(:last-child):not(.noline)::after {
    content: "|";
    position: absolute;
    right: -10px;
    /* top: 10px; */
    color: #013483;
}

.nav-links a {
    padding: 8px;
  color: #013483;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}


.nav-links a:hover {
  background-color: #013483;
  color: white;
  border-radius: 10px;
}

.search-icon {
  font-size: 16px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  display: none;
  position: absolute;
  z-index: 1000;
}

.dropdown-submenu .dropdown-menu.show {
  display: block;
}

.admission-toggle {
  position: fixed;
  top: 80%;
  right: 0;
  transform: translateY(-50%);
  transform-origin: right center;
  z-index: 1000;
  transition: right 0.4s ease;
}

.admission-label {
  display: flex;
  align-items: center;
  background-color: #dc3545;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px 0 0 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
  width: max-content;
}

.admission-label:hover {
  color: white;
  background-color: #c82333;
}

.icon-only {
  font-size: 1.5rem;
}

/* 👇 Slide half out */
.admission-toggle.collapsed {
  right: -138px; /* adjust this based on your button width */
}


  .numberlogo{
    width: 70px !important;
    height: 80px !important;
  }
.nav-links {
  position: relative;
  padding-left: 0;
  display: flex;
    flex-wrap: wrap;
}

.nav-links li {
  list-style: none;
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  /* padding: 10px; */
  color: #013483;
  position: relative;
}

/* .custom-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  z-index: 1000;
  list-style: none;
  width: 200px;
}

.custom-dropdown-content li a {
  display: block;
  color: #013483;
  text-decoration: none;
}

.custom-dropdown-content li a:hover {
  background-color: #013483;
} */
@media (max-width: 760px) {
.styleheaderlogo{
  height: 90vh;
}
}
.ccode{
  color: #df1529 !important;
  font-size: 32px !important;
}

 .facilities-ticker-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .facilities-ticker {
    display: flex;
    width: max-content;
    animation: scroll-left 45s linear infinite;
    gap: 20px;
  }

  .facilities-ticker img {
    height: 300px;
    margin: 10px;
    border-radius: 10px;
    object-fit: cover;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-75%);
    }
  }

  /* Duplicate content to simulate seamless loop */
  .facilities-ticker-inner {
    display: flex;
  }


  .brochure-container {
  position: fixed;
  top: 70%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media (min-width: 1400px) {
    .brochure-container {
      top: 65%;
    }
}

.brochure-btn {
  background-color: #df1529;
  color: #fff;
  border: none;
  border-radius: 8px 0 0 8px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.brochure-btn:hover {
  background-color: #b31222;
}

.brochure-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-right: 10px;
  animation: fadeIn 0.3s ease-in-out;
}

.brochure-options a.btn {
  border-radius: 8px 0 0 8px;
  padding: 8px 12px;
  font-weight: 500;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
  .custom-dropdown-content {
    width: 200px;
    display: none;
    color: #013483;
    position: absolute;
    background-color: white;
    padding: 0;
    margin-top: 5px;
    z-index: 999;
  }
  .content2{
    width: 400px !important;
  }

  .custom-dropdown-content li {
    list-style: none;
  }

  .custom-dropdown-content li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
  }

  .custom-dropdown-content li a:hover {
    background-color: #013483;
    color: white;
  }

  .nav-links li {
    position: relative;
  }
    .submenu a:hover {
    color: white !important;
  }
  .smallcontent{
    font-size: 13px ;
    color: #333;
  }
  .stylemidpoint
  {
    color: #b31222;
    font-style: italic;
    font-size: 25px !important;
    line-height: 40px;
    font-family: 'Times New Roman', Times, serif;
  }
    .benefit-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border-radius: 15px;
    }
    .benefit-card:hover {
      transform: translateY(-5px);
      background-color: #df15291e !important;
      border: 1px solid #df1529;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    .benefit-icon {
      font-size: 2.5rem;
      margin-bottom: 15px;
    }
        .skill-icon {
      font-size: 1.5rem;
      margin-right: 10px;
      color: #0d6efd;
    }
 .card-img-top {
      height: 150px;
      object-fit: contain;
      border-radius: 0.5rem 0.5rem 0 0;
    }
    .card-title {
      font-weight: 600;
      color: #df1529;
    }
    .card-text {
      font-size: 0.95rem;
    }
    .highlight {
      color: #dc3545;
      font-weight: 600;
    }
    .alumni-card{
transition: all 0.2s ease-in-out;
    }
    .alumni-card:hover{
      transform: translateY(-10px);
    }
    .event-card img {
      height: 220px;
      object-fit: cover;
    }
    .section-title {
      text-align: center;
      margin-top: 30px;
      margin-bottom: 40px;
      color: #0d6efd;
    }
    .event-card .card-body {
      min-height: 200px;
    }
    .event-card{
      transition: all 0.3s ease;
    }
    .event-card:hover{
      transform: translate(-10px);
    }
    #calendar {
  max-width: 100%;
  margin: 0 auto;
  min-height: 600px; /* ✅ Force visible height */
}
/* Container & Titles */
.msiic-section {
  background: #f8f9fa;
}
.msiic-section .section-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 2rem;
}

/* Tabs */
.msiic-tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.msiic-tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  background: #ffffff;
  border: 1px solid #ddd;
  color: #333;
  cursor: pointer;
  transition: 0.3s ease;
}
.msiic-tab-btn.active,
.msiic-tab-btn:hover {
  background-color: #df1529;
  color: #fff;
  border-color: #df1529;
  font-weight: 600;
}

/* Tab Content */
.msiic-tab-content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  padding: 2rem;
}
.msiic-tab-pane {
  display: none;
}
.msiic-tab-pane.active {
  display: block;
}
.msiic-tab-pane ul {
  padding-left: 1rem;
}
.msiic-tab-pane li {
  margin-bottom: 0.5rem;
}
.ignite-launch-section {
  padding: 40px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.ignite-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.ignite-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.ignite-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  max-width: 300px;
  text-align: center;
}

.ignite-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.ignite-card h4 {
  margin-top: 15px;
  font-size: 18px;
  color: #df1529;
}

.ignite-card p {
  font-size: 14px;
  color: #df1529;
}
.ignite-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
  background: #fff;
}

.ignite-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease-in-out;
}

/* Zoom-in effect */
.ignite-card:hover img {
  transform: scale(1.1);
}
.ribbonnew {
  font-size: 0.9rem;
  font-weight: bold;
  z-index: 1;
}
.hover-card {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.hover-card:hover {
  transform: translateY(-5px);
}

/* Border Animation */
.hover-card::before,
.hover-card::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 3px solid #dc3545;
  pointer-events: none;
}

.hover-card::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  transition:
    width 0.3s ease,
    height 0.3s ease 0.3s;
}

.hover-card::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
  transition:
    height 0.3s ease,
    width 0.3s ease 0.3s;
}

.hover-card:hover::before {
  width: 100%;
  height: 100%;
}

.hover-card:hover::after {
  width: 100%;
  height: 100%;
}
.sports-carousel {
  width: 100%;
  max-width: 700px;
  height: 400px;
  overflow: hidden;
  margin: auto;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  position: relative;
}

.carousel-track {
  display: flex;
  width: calc(700px * 9); /* 9 images */
  animation: slide 36s infinite ease-in-out;
}

.carousel-track img {
  width: 700px;
  height: 400px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Adjust timings according to number of images */
@keyframes slide {
  0%    { transform: translateX(0); }
  11.11%  { transform: translateX(0); }
  22.22%  { transform: translateX(-700px); }
  33.33%  { transform: translateX(-1400px); }
  44.44%  { transform: translateX(-2100px); }
  55.55%  { transform: translateX(-2800px); }
  66.66%  { transform: translateX(-3500px); }
  77.77%  { transform: translateX(-4200px); }
  88.88%  { transform: translateX(-4900px); }
  100%   { transform: translateX(0); }
}
.share-wrapper {
  position: fixed;
  top: 30%;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 999;
}

@media (max-width: 1020px) {
  .share-wrapper {
      top: 20%;
  }

}
.share-toggle {
  background-color: #dc3545;
  padding: 10px 15px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-left: 5px;
  transition: background-color 0.3s ease, transform 0.4s ease;
}

.share-toggle.collapsed {
  transform: translateX(70%);
}

.share-toggle:hover {
  background-color: #c82333;
}

/* Social Icons - vertical always */
.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 10px 0 0 10px;
  transform: translateY(20px); /* hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Show icons */
.social-icons.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.social-icons a {
  text-decoration: none;
  border: none;
  transition: transform 0.3s;
}

.social-icons a img {
  width: 45px;
  height: 45px;
  transition: transform 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2);
}
    .stylesociallogo{
      width: 50px;
      height: 50px;
    }
     .campus-tour-btn {
      position: fixed;
      left: 0;       
      bottom: 10px;     /* distance from bottom edge */
      background-color: #df1529; /* bootstrap blue color */
      color: white;
      font-weight: 800;
      padding: 12px 24px;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      transition: background-color 0.3s ease;
      z-index: 1000; /* above most other content */
    }
    .campus-tour-btn:hover {
      background-color: #b31222;
    }
.custom-tabs .nav-link.active {
  background-color: #df1529;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.accolades-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.accolade-card {
  background: white;
  border-left: 6px solid #df1529;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.accolade-card:hover {
  transform: translateY(-5px);
}

.accolade-card h4 {
  margin-top: 0;
  color: #df1529;
  font-weight: bold;
}

.accolade-card p {
  margin: 5px 0;
  font-size: 15px;
}
.research-container {
  padding: 30px;
  max-width: 900px;
  margin: auto;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  border-radius: 12px;
}

.research-container h3 {
  text-align: center;
  color: #df1529;
  margin-bottom: 20px;
}

.intro-text {
  text-align: justify;
  font-size: 16px;
  margin-bottom: 30px;
}

.research-card {
  background: #ffffff;
  border-left: 5px solid #df1529;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.research-card:hover {
  transform: translateY(-5px);
}

.research-card h4 {
  margin-bottom: 10px;
  color: #333;
}

.research-card ul {
  padding-left: 20px;
}

.research-card li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.phd-section {
  padding: 30px;
  max-width: 900px;
  margin: auto;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  border-radius: 12px;
}

.phd-section h3 {
  color: #df1529;
  margin-top: 30px;
  text-align: left;
  border-left: 5px solid #df1529;
  padding-left: 10px;
  margin-bottom: 15px;
}

.phd-card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.phd-card {
  background: #ffffff;
  border: 2px solid #df1529;
  border-radius: 8px;
  padding: 12px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-size: 16px;
  font-weight: 500;
  color: #333;
  transition: transform 0.3s ease;
}

.phd-card:hover {
  transform: translateY(-4px);
  background-color: #eaf1ff;
}
.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  .popup-link {
    text-decoration: none;
    color: inherit;
  }

  .popup-content {
    position: relative;
    max-width: 500px;
    max-height: 500px;
  }

  .popup-image-wrapper {
    position: relative;
  }

  .popup-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10000;
    padding: 5px 10px;
    font-size: 18px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    cursor: pointer;
  }
  .hoverhide:hover{
    color:black;
  }

  @media screen and (min-width: 1020px) and (max-width: 1400px) {
  .nav-links li a{
    font-size: 10px;
  }
}

 .result-btn {
    position: fixed;
    bottom: 30%;
    left: -10px;
    background-color: #df1529;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  }

  .result-btn:hover {
    color: white;
  }

  @media (max-width: 576px) {
    .result-btn {
      font-size: 13px;
      padding: 10px 16px;
      bottom: 15px;
      left: 15px;
    }
  }
  .youtube-lazy {
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background-color: #000;
  overflow: hidden;
}

.youtube-lazy img {
  display: block;
  width: 100%;
  height: auto;
}

.youtube-lazy .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: url('https://img.icons8.com/ios-filled/100/ffffff/play--v1.png') no-repeat center center;
  background-size: 50%;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
}
