
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}


/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 800;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-dark);
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 800;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu,
    .navbar .nav-item:focus-within .dropdown-menu,
    .navbar .nav-item .dropdown-menu.show {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/

/* Keep the faculty logo and menu inside the viewport on desktop and mobile. */
@media (min-width: 1200px) {
    .nav-bar > .container {
        width: 100%;
        max-width: 100%;
        padding-right: 24px;
        padding-left: 8px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-bar > .container {
        max-width: 100%;
        padding-right: 18px;
        padding-left: 10px;
    }
}

.nav-bar .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

.nav-bar .navbar-brand {
    flex: 0 1 330px;
    max-width: 330px;
    min-width: 0;
    margin-right: 0.5rem;
}

.nav-bar .site-brand-logo {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 60px;
    height: auto;
    object-fit: contain;
}

.nav-bar .navbar-collapse {
    flex: 1 1 650px;
    min-width: 0;
}

.nav-bar .navbar-nav {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-radius: 0;
}

@media (min-width: 992px) {
    .nav-bar .navbar-nav {
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

.nav-bar .navbar-nav .nav-item {
    padding: 10px 8px;
}

.nav-bar .navbar-nav .nav-link {
    font-size: clamp(0.78rem, 0.9vw, 1rem);
    line-height: 1.25;
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-bar .navbar-brand {
        flex-basis: 250px;
        max-width: 250px;
    }

    .nav-bar .navbar-collapse {
        flex-basis: 560px;
    }

    .nav-bar .navbar-nav .nav-item {
        padding: 8px 5px;
    }
}

@media (max-width: 991.98px) {
    .nav-bar .navbar-brand {
        flex: 1 1 0;
        max-width: min(330px, calc(100% - 64px));
    }

    .nav-bar .navbar-collapse {
        flex: 1 0 100%;
    }

    .nav-bar .navbar-nav {
        width: 100% !important;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        padding: 8px 12px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .nav-bar .navbar-nav .nav-link,
    .nav-bar .navbar-nav .nav-link.text-white {
        color: #17324f !important;
        font-size: 1rem;
        font-weight: 600;
        white-space: normal;
    }

    .nav-bar .navbar-nav .nav-link:hover,
    .nav-bar .navbar-nav .nav-link:focus-visible {
        color: #075b96 !important;
    }

    .nav-bar .navbar-nav .nav-item {
        width: 100%;
        padding: 10px 8px;
    }
}

/* Prevent wide content from creating a horizontal page scrollbar. */
html {
    overflow-x: clip;
}

/* Keep page images and embedded content inside the page column. */
.page-feature-image,
.page-content img,
.page-content figure,
.page-content video {
    height: auto !important;
    max-width: 100% !important;
}

.page-content iframe {
    max-width: 100% !important;
}

.page-feature-image {
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Calendar tables must retain their source proportions inside the card. */
.card .academic-calendar-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.page-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.page-content .cms-page-section-heading {
    margin: 1.75rem 0 1rem;
    text-align: center;
}

.page-content .cms-page-section + .cms-page-section {
    margin-top: 1.75rem;
}

.page-content .cms-page-section-action {
    margin: 1rem 0 0;
}

.page-content img {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain;
}

.page-content figure {
    margin-left: auto;
    margin-right: auto;
}

.page-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Feature Start ***/
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}
.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Feature End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(1, 95, 201, .8);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}
/*** FAQs End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0%  {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}

    25% {border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;}

    50% {border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;}

    75% {border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;}

    100% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
/*** copyright end ***/

#carouselExampleFade .carousel-item {
    background-color: #142d48;
}

#carouselExampleFade .home-carousel-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 40 / 13;
    object-fit: contain;
}

#carouselExampleFade .carousel-caption {
    z-index: 2;
}

#carouselExampleFade .carousel-control-prev,
#carouselExampleFade .carousel-control-next,
#carouselExampleFade .carousel-indicators {
    z-index: 3;
}

/* Homepage content sections */
.home-section {
    --home-ink: #17324f;
    --home-accent: #f7b900;
    color: var(--home-ink);
}

.home-section-soft {
    background: #f4f7fb;
}

.home-section-student {
    background: linear-gradient(var(--student-gradient-direction, 135deg), var(--student-gradient-start, #2A7C13), var(--student-gradient-end, #1B365D));
    color: #fff;
}

#mahasiswa {
    border-radius: 18px;
    margin-right: 24px;
    margin-left: 24px;
    overflow: hidden;
}

.home-section-student .home-section-title {
    color: #fff;
}

.home-section-student .home-eyebrow {
    color: #ffe28a;
}

.home-section-student .home-more-link {
    color: #fff;
}

.home-eyebrow {
    color: #08649c;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-section-title {
    color: var(--home-ink);
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.home-section-copy {
    color: #536579;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.home-title-oval {
    background: linear-gradient(var(--sekilas-direction, 135deg), var(--warna-sekilas-awal), var(--warna-sekilas-akhir));
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-size: 1.4rem;
    padding: .2em .65em;
}

.home-program-card {
    background: linear-gradient(var(--sekilas-direction, 135deg), var(--warna-sekilas-awal), var(--warna-sekilas-akhir));
    border-bottom: 4px solid var(--warna-pmb-aksen, var(--home-accent));
    border-radius: 16px;
    color: #fff;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.home-program-card .home-eyebrow,
.home-program-card h3,
.home-program-card p {
    color: #fff;
}

.home-program-card h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin: .55rem 0;
}

.home-program-card p {
    line-height: 1.65;
    opacity: .9;
}

.home-pmb-callout,
.home-section-heading {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.home-pmb-callout {
    align-items: center;
    background: linear-gradient(var(--pmb-direction, 135deg), var(--warna-pmb-awal), var(--warna-pmb-akhir));
    border-bottom: 4px solid var(--warna-pmb-aksen, var(--home-accent));
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(23, 50, 79, .16);
    color: #fff;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin: 1.5rem 0 0;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.4rem, 4vw, 2.5rem);
}

.home-pmb-callout .home-eyebrow {
    color: var(--warna-pmb-aksen, #ffda58);
}

.home-pmb-callout h2 {
    color: #fff;
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 .4rem;
}

.home-pmb-callout p {
    color: rgba(255, 255, 255, .86);
    margin: 0;
}

.home-pmb-button {
    align-items: center;
    background: var(--warna-pmb-aksen, #ffc20e);
    border: 0;
    border-radius: 999px;
    color: #17324f;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 700;
    gap: .6rem;
    justify-content: center;
    padding: .85rem 1.4rem;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.home-pmb-button:hover,
.home-pmb-button:focus-visible {
    background: var(--warna-pmb-aksen, #ffda58);
    filter: brightness(1.08);
    color: #17324f;
    transform: translateY(-2px);
}

.home-section-heading {
    align-items: end;
}

.home-more-link,
.home-card-readmore {
    color: #075b96;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.home-content-card,
.home-agenda-card,
.home-activity-card,
.home-facility-card {
    background: #fff;
    border: 1px solid #e4eaf1;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(23, 50, 79, .07);
    overflow: hidden;
}

.home-content-image {
    display: block;
    height: 170px;
    object-fit: cover;
    width: 100%;
}

.home-content-card-body {
    padding: 1rem;
}

.home-content-card h3,
.home-agenda-card h3,
.home-activity-card h3,
.home-facility-card h3 {
    color: var(--home-ink);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
}

.home-content-card h3 a,
.home-agenda-card h3 a {
    color: inherit;
    text-decoration: none;
}

.home-card-meta {
    color: #778596;
    font-size: .83rem;
}

.home-agenda-card {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.home-agenda-date {
    align-items: center;
    background: #fff4cc;
    border-radius: 10px;
    color: #075b96;
    display: flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
}

.home-agenda-image {
    border-radius: 10px;
    flex: 0 0 96px;
    height: 96px;
    object-fit: cover;
    width: 96px;
}

.home-agenda-copy p:not(.home-card-meta),
.home-activity-card p {
    color: #536579;
    line-height: 1.65;
}

.home-achievement-card {
    background: #fff;
    border: 1px solid #e4eaf1;
    border-radius: 14px;
    overflow: hidden;
    padding-bottom: 1rem;
}

/* Portrait frame for full achievement posters on /prestasi. */
.prestasi-image-frame {
    aspect-ratio: 4 / 5;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f4f7fb;
    border: 2px solid var(--prestasi-frame-border, #075b9d);
    border-radius: 16px;
}

.prestasi-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-achievement-card h3 {
    color: var(--home-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    margin: .85rem 1rem 0;
}

.home-activity-card {
    border-top: 4px solid var(--home-accent);
    padding: 1.35rem;
}

.home-activity-card p:last-child {
    margin-bottom: 0;
}

.home-calendar-image-link {
    display: block;
}

.home-calendar-image-link:focus-visible {
    border-radius: 10px;
    outline: 3px solid #075b96;
    outline-offset: 3px;
}

.home-calendar-image {
    background: #fff;
    border-radius: 10px;
    display: block;
    height: auto;
    margin: 0 auto 1rem;
    max-height: 300px;
    max-width: 100%;
    object-fit: contain;
}

.home-calendar-text-link {
    color: inherit;
    text-decoration: none;
}

.home-calendar-text-link:hover,
.home-calendar-text-link:focus-visible {
    color: #075b96;
    text-decoration: underline;
}

.home-facility-card img {
    display: block;
    height: 210px;
    object-fit: cover;
    width: 100%;
}

.home-facility-card h3 {
    margin: 0;
    padding: 1rem 1.1rem;
}

@media (max-width: 575.98px) {
    #mahasiswa {
        border-radius: 14px;
        margin-right: 12px;
        margin-left: 12px;
    }

    .home-pmb-callout,
    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-pmb-button {
        width: 100%;
    }

    .home-agenda-image {
        flex-basis: 72px;
        height: 72px;
        width: 72px;
    }
}

/* Shared public-page polish: steady type scale and lighter default text. */
.public-site {
    --site-ink: #17324f;
    --site-muted: #5c6c7e;
    --site-border: #e2e8f0;
    background: #fff;
    color: var(--site-ink);
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site h4,
.public-site h5 {
    color: var(--site-ink);
    line-height: 1.25;
}

.public-site .container > .h3,
.public-site .container > .h3 h3 {
    color: var(--site-ink);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
}

.public-site .container > .row > .card,
.public-site .container > .card {
    border: 1px solid var(--site-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(23, 50, 79, .07) !important;
    overflow: hidden;
}

.public-site .container > .row > .card > .row {
    align-items: stretch;
}

.public-site .container > .row > .card > .row > [class*='col-'] {
    min-width: 0;
}

.public-site .container > .row > .card img {
    display: block;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
}

.public-site .container > .row > .card .card-body {
    padding: clamp(1rem, 2.5vw, 1.75rem);
}

.public-site .container > .row > .card .card-title a {
    color: var(--site-ink);
    font-weight: 700;
}

.public-site .container > .row > .card p {
    color: var(--site-muted);
    line-height: 1.7;
}

.public-site .page-content {
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.8;
    padding-bottom: 2rem;
}

.public-site .page-content p {
    margin-bottom: 1.1rem;
}

.public-site .page-content a {
    overflow-wrap: anywhere;
}

.home-counter-section {
    position: relative;
    isolation: isolate;
    margin-top: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    color: #fff;
    background-color: #1b365d;
    background-image: linear-gradient(rgba(11, 39, 68, .68), rgba(11, 39, 68, .68)), var(--counter-background-image, linear-gradient(115deg, #075b9e, #1b365d));
    background-position: center;
    background-size: cover;
}

.home-counter-item {
    height: 100%;
    min-height: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 1rem;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: rgba(255, 255, 255, .08);
    transition: background-color .18s ease, transform .18s ease;
}

.home-counter-item:hover,
.home-counter-item:focus-visible {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .17);
    transform: translateY(-2px);
}

.home-counter-icon { font-size: 1.65rem; }
.home-counter-number { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 750; line-height: 1; }
.home-counter-label { font-size: 1rem; font-weight: 600; }

@media (max-width: 767.98px) {
    .public-site .container > .row > .card img {
        height: auto;
        max-height: 280px;
        width: 100%;
    }
}

.home-pmb-callout.home-pmb-callout-with-photo {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.home-pmb-photo {
    border-radius: 18px 18px 0 0;
}

.home-program-card-with-controls {
    position: relative;
    padding-inline: max(3rem, clamp(1.5rem, 4vw, 2.5rem));
}

#home-program-carousel {
    position: static;
}

.home-program-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    z-index: 2;
}

.home-program-controls button:first-child { left: .5rem; }
.home-program-controls button:last-child { right: .5rem; }

/* Contain the slide content so its measured height includes the last line. */
#home-program-carousel .carousel-item::after {
    display: block;
    clear: both;
    content: "";
}

#home-program-carousel .carousel-inner {
    overflow: visible;
    overflow-x: clip;
}

.publication-results {
    touch-action: pan-y pinch-zoom;
}

.home-social {
    position: fixed;
    inset-inline: 0;
    bottom: calc(2.5rem + env(safe-area-inset-bottom));
    z-index: 1019;
    pointer-events: none;
}

.home-social .hero-social {
    position: absolute;
    bottom: 0;
    pointer-events: auto;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    border: 1px solid rgba(255, 255, 255, .65);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.home-social .hero-social-wa { left: 1rem; background: linear-gradient(135deg, #15803d, #008267); }
.home-social .hero-social-ig { right: 1rem; background: linear-gradient(125deg, #8a36c3, #cb2167 62%, #bc4426); }
@media (hover: hover) {
    .home-social .hero-social:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
        filter: brightness(1.12);
    }
}

.home-social .hero-social:active {
    transform: scale(.96);
    filter: brightness(.92);
}

@media (prefers-reduced-motion: reduce) {
    .home-social .hero-social { transition: none; }
    .home-social .hero-social:hover,
    .home-social .hero-social:active { transform: none; }
}
.home-social .hero-social:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#carouselExampleFade .carousel-control-prev,
#carouselExampleFade .carousel-control-next {
    top: 25%;
    bottom: 25%;
}

@media (max-width: 767.98px) {
    .home-social .hero-social {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .home-social .hero-social-wa { left: .5rem; }
    .home-social .hero-social-ig { right: .5rem; }

    #carouselExampleFade .carousel-indicators {
        margin-bottom: .125rem;
    }

    #carouselExampleFade .carousel-indicators [data-bs-target] {
        width: 1rem;
    }

    #carouselExampleFade .carousel-control-prev,
    #carouselExampleFade .carousel-control-next {
        top: 0;
        bottom: auto;
        height: 32.5vw;
    }
}

@media (min-width: 992px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home-counter-section[style*="--counter-background-image"] {
        background-attachment: scroll, fixed;
    }
}
.site-footer {
    background: linear-gradient(var(--footer-direction, to right), var(--footer-start), var(--footer-end));
    color: #fff;
}

.site-footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 4vw, 3.5rem);
    padding-block: clamp(2rem, 4vw, 3.5rem);
}

.site-footer-content h2 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.site-footer-identity { font-weight: 700; }
.site-footer-contact, .site-footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer-contact li { display: flex; align-items: baseline; gap: .65rem; margin-bottom: .6rem; }
.site-footer-contact i { width: 1rem; flex: 0 0 1rem; text-align: center; }
.site-footer-contact span, .site-footer-content a { overflow-wrap: anywhere; }
.site-footer-links li + li { margin-top: .4rem; }
.site-footer-content a { color: #fff; }
.site-footer-content a:hover, .site-footer-content a:focus-visible { color: #fff; text-decoration: underline; }
.site-footer-content iframe { display: block; width: 100%; height: 240px; border: 0; border-radius: .75rem; }
.site-footer-copyright { background: var(--footer-accent); color: #17324f; padding-block: .85rem; text-align: center; font-size: .9rem; }

@media (max-width: 991.98px) {
    .site-footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer-content section:has(iframe) { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .site-footer-content { grid-template-columns: 1fr; }
}

/* Foto utama berita dan kegiatan memakai ukuran yang sama dan tetap tampil utuh. */
.article-cover {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    background: #f6f8fb;
}

@media (min-width: 992px) {
    #facility-gallery .modal-dialog {
        max-width: min(64rem, calc(100% - 3.5rem));
    }
}

#facility-slides :is(.carousel-control-prev, .carousel-control-next) {
    opacity: .9;
}

#facility-slides :is(.carousel-control-prev-icon, .carousel-control-next-icon) {
    filter: drop-shadow(0 1px 2px #000) drop-shadow(0 0 3px #000);
}

.facility-gallery-photo {
    display: block;
    width: 100%;
    height: min(69svh, 36rem);
    object-fit: contain;
    background: #f6f8fb;
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
}

/* Gunakan bingkai yang seragam dan tampilkan logo mitra secara utuh. */
.partnership-grid .partnership-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .partnership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .partnership-grid { grid-template-columns: 1fr; }
}

/* Gunakan warna teks sesuai latar yang dipilih admin. */
.topbar .text-white { color: var(--bar-ink) !important; }
.topbar .border-white { border-color: var(--bar-ink) !important; }
.nav-bar .navbar-brand .text-white,
.nav-bar .navbar.navbar-expand-lg .navbar-toggler {
    color: var(--header-ink) !important;
    background-color: var(--header-backing);
}
.nav-bar .navbar-toggler { border-color: currentColor !important; }

@media (min-width: 992px) {
    .nav-bar .navbar-nav { background: transparent; }
    .nav-bar .navbar-nav .nav-link.text-white {
        color: var(--header-ink) !important;
        background-color: var(--header-backing);
    }
}

.site-footer,
.site-footer-content h2,
.site-footer-content a,
.site-footer-content a:hover,
.site-footer-content a:focus-visible { color: var(--header-ink); }
.site-footer-content section,
.site-footer-content nav { background-color: var(--header-backing); }
.site-footer-copyright,
.home-pmb-button,
.home-pmb-button:hover,
.home-pmb-button:focus-visible { color: var(--accent-ink); }
.home-pmb-button:hover,
.home-pmb-button:focus-visible { filter: none; }

.home-pmb-callout .home-pmb-content { background-color: var(--pmb-backing); }
.home-pmb-callout .home-eyebrow,
.public-site .home-pmb-callout h2,
.home-pmb-callout p { color: var(--pmb-ink); }

.public-site .home-title-oval,
.home-program-card {
    color: var(--program-ink);
    box-shadow: inset 0 0 0 100vmax var(--program-backing);
}
.public-site .home-program-card h3,
.home-program-card .home-eyebrow,
.home-program-card p { color: var(--program-ink); opacity: 1; }
.home-program-controls button.text-white { color: var(--program-ink) !important; }

.home-section-student .home-section-title,
.home-section-student .home-eyebrow,
.home-section-student .home-more-link {
    background-color: var(--student-backing);
    color: var(--student-ink);
}
