.header-top-row a{
    font-size: 12px;
}

.single-cat-item .cat-meta-1 {
    border: 1px solid #e3e3e3 !important;
    padding: 6px 8px !important;
}

.single-cat-item .cat-meta-1 .cat-title a {
    font-size: 14px !important;
    font-weight: 500 !important;
}

.single-cat-item .cat-meta-1 .cat-title:hover a {
    color: var(--rt-primary) !important;
}
.single-cat-item .cat-meta-1 .cat-title {
    line-height: 1.2 !important;
}
.single-cat-item .cat-meta-1 span {
    font-size: 12px !important;
    color: #999 !important;
}


    .custom-tabs {
      border-bottom: none;
      justify-content: center;
      margin-bottom: 2rem;
    }

    .custom-tabs .nav-link {
      border: none;
      color: #555;
      font-weight: 500;
      padding: 10px 25px;
      margin: 0 8px;
      border-radius: 30px;
      background: #f5f5f5;
      transition: all 0.3s ease;
    }

    .custom-tabs .nav-link:hover {
      background: #e0e0e0;
      color: #000;
    }

    .custom-tabs .nav-link.active {
      background: #007bff;
      color: #fff !important;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    }

    /* Image Hover Effect */
    .tab-pane img {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .banner.v__2 .banner__wrapper{
        height: 750px !important;
    }

    .banner__wrapper--bg{
        height: 750px !important;
    }

    .tab-pane img:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

    .rts-breadcrumb.breadcrumb-height {
        height: 500px !important;
    }

.single-staff__content .staf-image img {
    min-width: 200px;
    height: 260px !important;
}

.single-brand-logo a img { 
    filter: none !important;
}

.single-cat-item .cat-meta .cat-title a {
    font-size: 15px !important;
    font-weight: 500 !important;
}

.table-bordered {
    border: 1px solid #dee2e6 !important;
}
.single-cat-item .cat-meta-1 .two-line a {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: 2.8em; /* 2 lines * line-height */
}



/* header-menu menu */
.header-menu {
    display: block;
    width: 100%;
    /* position: relative;
    z-index: 99; */
    padding: 0px;
    background-color: #f2f2f2;
}


.header-menu .menu .menu-main > li:hover {
    background: linear-gradient(to bottom, #f2f2f2, #cecece);
}

.v-center {
    align-items: center !important;
}

.header-menu .item-left {
    flex: 0 0 17%;
}

.header-menu .logo a {
    font-size: 30px;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
}

.header-menu .item-center {
    flex: 0 0 58%;
}
.header-menu .item-right {
    flex: 0 0 17%;
    display: flex;
    justify-content: flex-end;
}
.header-menu .item-right a {
    text-decoration: none;
    font-size: 14px;
    color: #555555;
    display: inline-block;
    margin-left: 10px;
    transition: color 0.3s ease;
}
.header-menu .menu > ul > li {
    display: inline-block;
    line-height: 30px;
    padding: 10px 20px;
    margin: 0;
    position: relative;
}
.header-menu .menu > ul > li > a {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    position: relative;
    text-transform: capitalize;
    transition: color 0.3s ease;
}
.header-menu .menu > ul > li .sub-menu {
    position: absolute;
    z-index: 500;
    background-color: #ffffff;
    box-shadow: -2px 2px 70px -25px rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    transition: all 0.5s ease;
    margin-top: 25px;
    opacity: 0;
    visibility: hidden;
}

.sub-menu ul{
    padding: 0px;
}

.menu,
ol,
ul {
    margin: 0px !important;
}

@media (min-width: 992px) {
    .header-menu .menu > ul > li.menu-item-has-children:hover .sub-menu {
        margin-top: 0;
        visibility: visible;
        opacity: 1;
    }
}
.header-menu .menu > ul > li .sub-menu > ul > li {
    line-height: 1;
}
.header-menu .menu > ul > li .sub-menu > ul > li > a {
    display: inline-block;
    padding: 10px 0;
    font-size: 14px;
    color: #555555;
    transition: color 0.3s ease;
    text-decoration: none;
    text-transform: capitalize;
}
.header-menu .menu > ul > li .single-column-menu {
    min-width: 280px;
    max-width: 350px;
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    max-width: 800px;
    display: flex;
    flex-wrap: nowrap;
    padding: 20px 15px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 2px solid #890C25;
}

.header-menu .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li {
    line-height: 1;
    display: block;
}
.header-menu .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
    padding: 10px 0;
    display: inline-block;
    font-size: 14px;
    color: #555555;
    transition: color 0.3s ease;
}

.header-menu .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a:hover {
        text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-decoration-color: #890C25;
}

.header-menu .menu > ul > li .sub-menu > ul > li > a:hover {
        text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-decoration-color: #890C25;
}

.header-menu .menu > ul > li .sub-menu.mega-menu {
    left: 50%;
    transform: translateX(-50%);
}

.header-menu .menu > ul > li .sub-menu.mega-menu-column-4 {
        position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    max-width: 800px;
    display: flex;
    flex-wrap: nowrap;
    padding: 20px 15px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 2px solid #890C25;
}

.header-menu .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item {
  flex: 1 1 auto;
  min-width: 200px; /* Or adjust as needed */
  padding: 0 15px;
}

.header-menu .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item .title {
    font-size: 16px;
    color: #890C25;
    font-weight: 500;
    line-height: 1;
    padding: 10px 0;
}
.header-menu
    .menu
    > ul
    > li
    .sub-menu.mega-menu-column-4
    > .list-item.text-center
    .title {
    text-align: center;
}
.header-menu .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item img {
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    margin-top: 10px;
    height: 300px;
    object-fit: cover;
}
.header-menu
    .menu
    > ul
    > li
    .sub-menu.mega-menu
    > .list-item
    > ul
    > li
    > a:hover,
.header-menu .menu > ul > li .sub-menu > ul > li > a:hover,
.header-menu .item-right a:hover,
.header-menu .menu > ul > li:hover > a {
    color: #890C25;
}
/* banner section */
.banner-section {
    background-image: url("../img/banner.jpg");
    background-size: cover;
    background-position: center;
    height: 700px;
    width: 100%;
    display: block;
}
.mobile-menu-head,
.mobile-menu-trigger {
    display: none;
}

/* responsive */
@media (max-width: 991px) {
    .header-menu .menu .menu-main > li:hover {
        background: none;
    }
    .header-menu .item-center {
        order: 3;
        flex: 0 0 100%;
    }
    .header-menu .item-left,
    .header-menu .item-right {
        flex: 0 0 auto;
    }
    .v-center {
        justify-content: space-between;
    }
    .header-menu .mobile-menu-trigger {
        display: flex;
        height: 30px;
        width: 30px;
        margin-left: 15px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }
    .header-menu .mobile-menu-trigger span {
        display: block;
        height: 2px;
        background-color: #333333;
        width: 24px;
        position: relative;
    }
    .header-menu .mobile-menu-trigger span:before,
    .header-menu .mobile-menu-trigger span:after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #333333;
    }
    .header-menu .mobile-menu-trigger span:before {
        top: -6px;
    }
    .header-menu .mobile-menu-trigger span:after {
        top: 6px;
    }
    .header-menu .item-right {
        align-items: center;
    }

    .header-menu .menu {
        position: fixed;
        width: 320px;
        background-color: #ffffff;
        left: 0;
        top: 0;
        height: 100%;
        overflow: hidden;
        transform: translate(-100%);
        transition: all 0.5s ease;
        z-index: 1099;
    }
    .header-menu .menu.active {
        transform: translate(0%);
    }
    .header-menu .menu > ul > li {
        line-height: 1;
        margin: 0;
        display: block;
    }
    .header-menu .menu > ul > li > a {
        line-height: 30px;
        height: 50px;
        padding: 0 50px 0 15px;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    .header-menu .menu > ul > li > a i {
        position: absolute;
        height: 50px;
        width: 50px;
        top: 0;
        right: 0;
        text-align: center;
        line-height: 50px;
        transform: rotate(-90deg);
    }
    .header-menu .menu .mobile-menu-head {
        display: flex;
        height: 50px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 501;
        position: sticky;
        background-color: #ffffff;
        top: 0;
    }
    .header-menu .menu .mobile-menu-head .go-back {
        height: 50px;
        width: 50px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: #000000;
        font-size: 16px;
        display: none;
    }
    .header-menu .menu .mobile-menu-head.active .go-back {
        display: block;
    }
    .header-menu .menu .mobile-menu-head .current-menu-title {
        font-size: 15px;
        font-weight: 500;
        color: #000000;
    }
    .header-menu .menu .mobile-menu-head .mobile-menu-close {
        height: 50px;
        width: 50px;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: #000000;
        font-size: 25px;
    }
    .header-menu .menu .menu-main {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }
  .header-menu .menu > ul > li .sub-menu,
  .header-menu .menu > ul > li .sub-menu.mega-menu {
      position: fixed;
      top: 25px; /* <-- adjust to match your mobile header height */
      left: 0;
      width: 100%;
      height: calc(100% - 25px); /* to prevent overflow below screen */
      background: #fff;
      z-index: 1100;
      overflow-y: auto;
      display: none;
      visibility: visible;
      opacity: 1;
      transform: translateX(0%);
      padding: 15px;
  }

  .header-menu .menu > ul > li .sub-menu.active {
      display: block;
  }
   
    @keyframes slideLeft {
        0% {
            opacity: 0;
            transform: translateX(100%);
        }
        100% {
            opacity: 1;
            transform: translateX(0%);
        }
    }
    @keyframes slideRight {
        0% {
            opacity: 1;
            transform: translateX(0%);
        }
        100% {
            opacity: 0;
            transform: translateX(100%);
        }
    }
    .header-menu .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item img {
        margin-top: 0;
    }
    .header-menu
        .menu
        > ul
        > li
        .sub-menu.mega-menu-column-4
        > .list-item.text-center
        .title {
        margin-bottom: 20px;
    }
    .header-menu
        .menu
        > ul
        > li
        .sub-menu.mega-menu-column-4
        > .list-item.text-center:last-child
        .title {
        margin-bottom: 0px;
    }
    .header-menu .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item {
        flex: 0 0 100%;
        padding: 0px;
    }
    .header-menu .menu > ul > li .sub-menu > ul > li > a,
    .header-menu
        .menu
        > ul
        > li
        .sub-menu.mega-menu
        > .list-item
        > ul
        > li
        > a {
        display: block;
    }
    .header-menu .menu > ul > li .sub-menu.mega-menu > .list-item > ul {
        margin-bottom: 15px;
    }
    .menu-overlay {
        position: fixed;
        background-color: rgba(0, 0, 0, 0.5);
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1098;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s ease;
    }
    .menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }
}

/* header-menu menu */

/* Remove default borders */
#programTabs {
    border-bottom: none !important;
}

#programTabs .nav-link {
    border: none;
    background: transparent;
    color: #333; /* adjust text color */
    font-weight: 500;
    position: relative;
    padding: 8px 16px;
}

/* Remove default bootstrap active background/border */
#programTabs .nav-link.active {
    border: none;
    background: transparent;
    color: #000;
}

/* Underline effect (hover + active) */
#programTabs .nav-link::after {
    content: "";
    position: absolute;
    left: 18%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #890C25; /* underline color */
    transition: width 0.3s ease;
}

/* On hover and active, show 20% width underline */
#programTabs .nav-link:hover::after,
#programTabs .nav-link.active::after {
    width: 20%;
}

.collegeInnerPageNavigationBar{
    background-color: #cacaca !important;
}
