.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    border-radius: 50%;
}

#nav.navbar {
    padding: 0px 5px !important;
}
    #nav .navbar-nav > li > a {
       
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 500;
    }

 .box {

    border: 1px solid #ddd;
}
.top-bar {
    padding: 7px 13px;
    /* border-radius: 6px; */
    border-radius: 10px 10px 0 0;
}
.sec-title {
    margin-bottom: 6px;
}
#nav.navbar {
    border-radius: 10px;
    border-radius: 0 0 0px 0px;
}


.welcome-box,
.principal-box {
    position: relative;
    max-height: 480px;
    overflow: hidden;
}

/* Clamp content inside main box */
.welcome-text,
.principal-text {
    max-height: 320px; /* show partial */
    overflow: hidden;
}

/* See more button */
.welcome-box .see-more,
.principal-box .see-more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: linear-gradient(to top, #fff 70%, transparent);
    color: #383838;
    font-weight: 500;
    padding: 10px 0;
    cursor: pointer;
    z-index: 2;
}

/* Overlay (hidden initially) */
.welcome-overlay,
.principal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #fff;
    padding: 15px;
    display: none;
    z-index: 10;
    border-radius: 5px;
}

/* Show overlay on hover */
.welcome-box:hover .welcome-overlay,
.principal-box:hover .principal-overlay {
    display: block;
}


@keyframes smoothBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.blink {
  animation: smoothBlink 2s ease-in-out infinite;
}

/* Hide 'see more' when overlay is open */
.welcome-box:hover .see-more,
.principal-box:hover .see-more {
    display: none;
}

.medical-services li .icon .i-hover {
    background-color: var(--thm-primary);
    display: block;
    height: 125px;
    width: 125px;
    margin: 1px auto;
    line-height: 114px;
    box-shadow: none;
    border-radius: 50%;
}


.medical-services li .icon {
    margin: 0 auto;
    width: 130px;
    height: 130px;
    line-height: 130px;
    border: 1px solid var(--thm-primary);
    background-color: 1px solid var(--thm-primary);
    border-radius: 50% !important;
}



.bio-box .profile-img img.img-fluid.img-center-sm.img-center-xs {
    height: 140px;
    width: 100%;
    border-radius: 0px;
    margin: 7px 0 0px;
    object-fit: contain;
}

#nav.navbar {
    margin-top: 5px;
}
#nav.navbar {
    margin-top: 15px;
    background: #e3e8ea;
    padding: 11px 5px;
}
.main-slider .slide-overlay {
 
    background: linear-gradient(to top, rgb(0 0 0 / 84%), transparent);
}

.copyright {
    padding-top: 15px;
    padding-bottom: 12px;
    font-size: 15px;
    text-transform: capitalize;
    background-color: #262626;
}
.bio-box .profile-img {
    position: relative;
    padding: 0px;
}
#nav .nav-link {
    font-size: 16.2px;
}
.main-slider .slider-caption {
    top: auto;
    bottom: 43px;
    left: 25px;
}
.top-bar li {
    margin-right: 0 !important;
    padding-left: 6px;
    padding-right: 6px;
    border-right: 0px solid #d3d3d3;
}
ul.list-unstyled.list-inline.brecrub_edu_next a {
    color: white !important;
}
.counters-item:after {
    border-radius: 5px;
    border: 0px solid var(--thm-primary);
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    content: "";
    position: absolute;
    -webkit-transform: skew(-10deg);
    -moz-transform: skew(-10deg);
    transform: skew(-10deg);
    z-index: -1;
}
.sec-title span.inner {
    width: 14px;
    height: 14px;
    background: var(--thm-primary);
    display: block;
    margin: auto;
    margin-top: -1px;
    -webkit-transform: rotate(0deg);
    border-radius: 15px;
}
#nav .arrow:after {
    content: "\f078";
    font-family: 'Font Awesome 6 pro';
    font-weight: 900;
    margin-left: 4px;
    display: inline;
    font-size: 11px;
    height: auto;
    text-shadow: none;
    width: 10px;
    display: inline-block;
}
.main-slider .text {
  
    line-height: 1.5rem;
}
.main-slider h1 {
  
    margin-bottom: 1px;
}

.main-slider .c-left .wrap-caption {
    width: 80%;
}
#nav .dropdown-menu a.dropdown-item:before {
    content: "\f054";
    font-family: 'Font Awesome 6 pro';
    font-weight: 900;
    position: absolute;
    left: 12px;
    font-size: 9px;
}

.main-slider .slider-wrapper .image {
 
    height: 450px;
    color: #fff;
}

.back-to-top.show {
    bottom: 100px;
}

.back-to-top {
    border-radius: 24%;
}
.back-to-top {
    position: fixed;
    bottom: 0;
    right: 8px;
    font-size: 22px;
    z-index: 9999;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 40px;
    background: var(--thm-primary);
    color: #fff !important;
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    opacity: 0;
}
.footer-area ul.list-unstyled.address-list i {
    margin-right: 12px;
    float: left;
    color: var(--thm-white);
    border: 1px solid #e5e5e526;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    border-radius: 100%;
    font-size: 10px;
}
.footer-area .social li a {
    margin-right: 12px;
    float: left;
    color: var(--thm-white);
    border: 1px solid #e5e5e526;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 29px;
    border-radius: 100%;
    font-size: 15px;
}
.footer-area .footer-logo img {

    filter: brightness(0) invert(1);
}
.footer-area h4:after {
   display: none;
}
.footer-area h4 {
    margin-top: 0;
    margin-bottom: 0px;
    padding-bottom: 10px;
    position: relative;
    color: #e7e7e7;
    font-size: 18px;
}
.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
        border: 1px solid #e3dede;
    border-radius: var(--bs-border-radius)!important;
    
}
.main-container {
    margin-top: 20px;
    margin-bottom: 60px;
}
.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.latest-titlew {
    padding: 0px 13px 0px 0;
    font-weight: 600;
}
.main-slider {
    min-height: 350px;
}
.counters-item {
    position: relative;
    padding: 15px;
    color: var(--thm-text);
    margin: 15px 0;
}
.welcome-area {
    margin-top: 40px;
    color: var(--thm-secondary-text);
    margin-bottom: 70px;
}
.main-banner {
    background-size: cover !important;
    background: var(--thm-text);
    background-position: 100%;
    position: relative;
    background-repeat: no-repeat;
    text-align: center;
    padding: 30px 0;
}
.btn {
    border-radius: 7px;
}
.headers-line {
    color: var(--thm-text);
}
.main-banner h2 span {
    padding: 14px 50px 16px 30px;
    letter-spacing: 0.3px;
    background: rgb(255 255 255 / 0%);
    border-radius: 28px 0;
    font-size: 24px;
    font-weight: 600;
    color: white;
}



#nav {
    margin-bottom: 0;
    padding: 0 0 2px;
    background: none;
}

#school_estd {
    margin: 0;
    color: var(--thm-text);
    margin-top: 0px;
}

#schoolName {
    margin: 0px 0px 5px;
    font-size: 24px;
    font-weight: 600;
    color: var(--thm-primary);
}
#schoolHeaderAddress {
    float: left;
    font-size: 14px;
    margin: 0;
    line-height: auto;
    text-decoration: none;
    color: var(--thm-text);
    text-transform: none;
    font-weight: normal;
}

.logo_img_nextzen {
    float: left;
    width: 90px;
    padding: 0;
    border-radius: 5px;
    padding-right: 10px;
}