.header-section {
  height: 10rem;
  background-image: linear-gradient(to bottom, rgb(0 0 0 / 91%), transparent);
  position: absolute;
  top: 0;
  z-index: 9;
  width: 100%;
}

.hero-b-shadow {
  height: 10rem;
  background-image: linear-gradient(to top, rgb(0 0 0 / 91%), transparent);
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 100%;
}

.logo {
  width: auto;
  padding-left: 1.2rem;
}

.logo>a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 20px;
  margin: 0px 10px;
}

.logo-text>p {
  margin: 0px;
  line-height: 1;
}

.main-logo {
  background-color: transparent;
}

.notice {
  height: 3rem;
  background-color: var(--bs-primary);
  color: #fff;
  overflow: hidden;
}

.marquee {
  list-style: none;
  overflow: hidden;
}

.marquee a {
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
  margin-right: 2rem;
}

.marquee a:hover {
  color: var(--accent-color);
}

@media only screen and (max-width: 768px){
  .marquee a {
    font-size: 1rem;
  }
  .notice {
    padding: 5px 0;
    height: 2rem;
  }

  .main-slider .banner-content h2.banner-title {
    font-size: 1rem;
  }
  #intro .button-container {
    display: none;
  }
  #intro .button-container button.slick-arrow {
    font-size: 1em;
  }

  .logo-text {
    font-size: 1rem;
  }
}

.testimonial {
  background-color: #1a1a1a;
  color: white;
  max-width: 100vw;
}

.testimonial  {
  background: url(../../../web/img/banner.jpg) center no-repeat;
}

.testimonial-item {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
}

.testimonial-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

/* Dot style controls */
.carousel-indicators {
  bottom: -30px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.5;
  transition: 0.3s;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #0d6efd;
}

.carousel-control-prev,
.carousel-control-next {
  display: none;
  /* Hide arrows to match Owl Carousel dot-only style */
}
.nav-link img{
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

.post-item {
  background: #fff;
  box-shadow: -7px 12px 41px -10px rgb(0 0 0 / 12%);
  -webkit-box-shadow: -7px 12px 41px -10px rgb(0 0 0 / 12%);
  -moz-box-shadow: -7px 12px 41px -10px rgba(0, 0, 0, 0.12);
}

.show-on-hover {
  display: none;
  transition: .5s;
}

.media-center:hover .show-on-hover {
  display: block;
  transition: .5s;
}

.media-img{
  width: 100%;
  height: 315px;
  object-position: center;
  object-fit: cover;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  top: 60px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--bs-light);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--accent-color);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}


  .notice-list .list-group-item {
    border: none;
    padding: 1.2rem 1rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease-in-out;
    background-color: #f9f9f9;
    margin-bottom: 1rem;
    border-radius: 8px;
  }

  .notice-list .list-group-item:hover {
    background-color: #eef6ff;
    border-left-color: var(--bs-primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .notice-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-right: 1.5rem;
    min-width: 110px;
    font-weight: 500;
  }

  .notice-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
  }

  .notice-text {
    font-size: 0.9rem;
    color: #555;
  }

  .badge-new {
    background: #ffc107;
    color: #212529;
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
    border-radius: 0.25rem;
    margin-left: 0.4rem;
  }

  .notice-link {
    align-self: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  .notice-link:hover{
    text-decoration: none !important;
    color: #0d6efd;

  }

  .notice-link:hover {
    color: #0a58ca;
    text-decoration: underline;
  }

.main-fixed-style {
  top: 50%;
  z-index: 1;
  left: -68px;
  transform: rotate(90deg);
}

.blink {
  animation: blink 1s steps(5, start) infinite;
  -webkit-animation: blink 1s steps(5, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

@-webkit-keyframes blink {
  to {
    visibility: hidden;
  }
}

.course-img {
    object-fit: cover;
    object-position: center center;
    height: 222px;
}

/* menu */
.nav__block-item li{
  transition: .5s;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown-menu {
  background-color: transparent;
}

.dropdown-item{
  color: var(--bs-light);
  font-size: 1.5rem;
  font-weight: bold;
  line-height: normal;
  white-space: nowrap;
  vertical-align: middle;
  transition: all 0.3s ease-in;
}

.dropdown-item:hover{
  color: var(--accent-color);
}

.nav__list-item .btn {
  padding: 0 !important;
}

.nav__list {
  bottom: 0; 
  left: 0;
  right: 0;
  overflow: hidden;
  overflow-y: auto;
  height: 80vh;
}

.nav__list {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.nav__list::-webkit-scrollbar {
  width: 8px;
}

.nav__list::-webkit-scrollbar-track {
  background: transparent;
}

.nav__list::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav__list::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Mobile only: dropdown opens to the right */
@media (max-width: 768px) {
  .main-fixed-style {
    top: 50%
  }
  .dropdown-menu.show{
    display: contents !important;
    margin-top: .5rem !important;
  }
  .dropdown-menu.show > li:first-child{
    margin-top: 1rem !important;
  }
  .dropdown-item {
    font-size: 1rem;
    padding: .8rem 0;
  }
  .nav__list{
    /*height: 231vh;*/
  }
  /* Make dropdown position relative for the parent */
  .navbar .dropdown {
    position: relative;
  }

  /* Position dropdown-menu to the right side of its parent */
  .navbar .dropdown-menu {
    top: 0 !important;       /* Align top with parent */
    left: 100% !important;   /* Position dropdown fully to the right */
    margin-top: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    min-width: 200px; /* Adjust width as needed */
    border-radius: 0 8px 8px 0; /* Optional rounded corners on right side */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  /* Optional: Adjust caret icon rotation for dropdown toggle */
  .navbar .dropdown-toggle::after {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }

  /* When dropdown is shown, keep the caret rotated */
  .navbar .dropdown.show > .dropdown-toggle::after {
    transform: rotate(90deg);
  }

  #about figure {
  margin-right: 0px;
}
.footer-menu h5 {
  margin-bottom: 15px;
}
.footer-menu.menu-item-01{
  margin-bottom: 30px;
}
}


.blinking {
  animation: blink-animation 1s infinite;
}

@keyframes blink-animation {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}

.link-with-line {
  color: #000;
  position: relative;
}

.link-with-line:after {
  content: "";
  position: absolute;
  top: 17px;
  left: -34px;
  border-bottom: 2px solid #000;
  width: 40%;
  z-index: 9;
  transition: 0.3s ease-out;
}

.link-with-line:hover {
  color: #000;
}

.link-with-line:hover:after {
  width: 30%;
  left: -41px;
}
.social-links .social-icon 
{
    font-size: 1.5rem;
    margin-right: 1rem;
}

.social-links .social-icon:hover {
    color: var(--bs-primary);
    transition: color .5s;
}
/* old class adjust */
.breadcrumb-section {
    background-size: cover;
    position: relative;
}
.breadcrumb-section .container {
    position: relative;
    top: 40px;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-light) !important;
}

.breadcrumb-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.breadcrumb-section .container {
    position: relative;
    z-index: 2;
}

.btn-square, .btn-sm-square, .btn-lg-square {
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-weight: normal !important;
}
.btn-square {
  width: 38px;
  height: 38px;
}


/* old end */