.timeline {
  border-left: 3px solid #593196;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  background: rgba(186, 130, 242, 0.09);
  margin: 0 auto;
  letter-spacing: 0.2px;
  position: relative;
  line-height: 1.4em;
  font-size: 1.03em;
  padding: 50px;
  list-style: none;
  text-align: left;
  max-width: 70%;
}

@media (max-width: 767px) {
  .timeline {
    max-width: 100%;
    padding: 25px;
  }
}

.timeline h1 {
  font-weight: 300;
  font-size: 1.4em;
}

.timeline h2,
.timeline h3 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}

.timeline .event {
  border-bottom: 1px dashed #e8ebf1;
  padding-bottom: 25px;
  margin-bottom: 25px;
  position: relative;
}

@media (max-width: 767px) {
  .timeline .event {
    padding-top: 30px;
  }
}

.timeline .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

.timeline .event:before,
.timeline .event:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline .event:before {
  left: -207px;
  content: attr(data-date);
  text-align: right;
  font-weight: 100;
  font-size: 0.9em;
  min-width: 120px;
}

@media (max-width: 780px) {
  .timeline .event:before {
    left: 0px;
    text-align: left;
  }
}

.timeline .event:after {
  -webkit-box-shadow: 0 0 0 3px #593196;
  box-shadow: 0 0 0 3px #593196;
  left: -55.8px;
  background: #fff;
  border-radius: 50%;
  height: 9px;
  width: 9px;
  content: "";
  top: 5px;
}

@media (max-width: 780px) {
  .timeline .event:after {
    left: -31.8px;
  }
}

.rtl .timeline {
  border-left: 0;
  text-align: right;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  border-right: 3px solid #593196;
}

.rtl .timeline .event::before {
  left: 0;
  right: -170px;
}

.rtl .timeline .event::after {
  left: 0;
  right: -55.8px;
}

.hover-effect:hover {
  color: red;
}


/*Nav bar*/

.dropdown-menu li {
  position: relative;
}

.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}

.dropdown-menu>li:hover>.dropdown-submenu {
  display: block;
}


/* Breadcrumb */

.about-hero {
  background: linear-gradient(to right, #593196, rgba(237, 224, 255, 0.404)), url('/static/assets/9.jpeg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 30px 0;
}

.breadcrumb-custom {
  color: #ccc;
}

.breadcrumb-custom a {
  color: #ccc;
  text-decoration: none;
  border: none;
}

.breadcrumb-custom a:hover {
  text-decoration: underline;
  border: none;
}


.custom-heading {
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.custom-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px; /* adjust as needed */
    width: 60px;   /* underline width */
    height: 3px;
    background-color: #593196;
    border-radius: 5px;
}




/*
    Banner section
    */
/* Base styles */
.header-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.logo {
  max-width: 100px;
  height: auto;
}

.titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 10px;
}

.title {
  font-weight: normal;
  margin-top: 2px;
  font-size: 1.2rem;
}

.main-title {
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 0px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    max-width: 80px;
    margin-bottom: 10px;
  }

  .main-title {
    font-size: 1.3rem;
  }

  .title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 70px;
  }

  .main-title {
    font-size: 1.1rem;
  }

  .title {
    font-size: 0.9rem;
  }
}

.language-class-ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.language-class-li {
  text-decoration: none;
  color: antiquewhite;
}

.language-class-link {
  text-decoration: none;
  color: #ffffffb4;
}

.language-class-link:hover {
  text-decoration: none;
  color: #ffffffb4;
}


/* Show dropdown menu on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

/* Rounded underline for active link */
.navbar-nav .nav-link.active {
    text-decoration: none; /* remove default underline */
    border-bottom: 2px solid #593196; /* customize color & thickness */
    padding-bottom: 2px; /* spacing between text and underline */
}

/* Optional: hover effect for all links */
.navbar-nav .nav-link:hover {
    border-bottom: 2px solid #593196; /* customize color & thickness */
    padding-bottom: 2px;
}

/* Show collapse submenu on hover of parent link */
.dropdown-menu li:hover > .collapse {
  display: block !important;
}

.dropdown-menu .collapse {
  display: none;
}

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