html *
{
   font-family: Times New Roman !important;
}
h1, .h1 {
  font-size: calc(1.5rem + 1.5vw) !important;
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 2.5rem;
  }
}
p,ul {
    font-size:1.5rem !important;
}
.navbar-brand img {
  height: 140px;
  width: auto;
}
.hero-header {
    border-bottom:
        1px solid rgba(0,0,0,.08);
}
.header-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
}
.header-logos .lfdt-logo {
    width: 82px;
    height: auto;
    max-width: none;
}
.header-logos .faculty-logo {
    width: 360px;
    height: auto;
    max-width: none;
}
@media (max-width: 576px) {
    .header-logos {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }
    .header-logos .lfdt-logo {
        width: 50px;
    }
    .header-logos .faculty-logo {
        width: 250px;
    }
}
.main-navbar {
    min-height: 58px;
    position: sticky;
    top: 0;
    z-index: 1035;
}

.navbar-nav {
    gap: 1rem;
    align-items: center;
}
.navbar .container {
    align-items: center;
}
.section-nav {
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: sticky;
    top: 58px;
    z-index: 1025;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: .45rem 0;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-100%);
    transition: .25s ease;
}
.section-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;      /* allow wrapping if needed */
    gap: .25rem;
}
.section-nav.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.section-nav a {
    display: inline-flex;
    align-items: center;
    padding: .25rem .4rem;
    font-size: .95rem;
    color: #3c5082;
    text-decoration: none;
    margin: 0 .5rem;
}

.section-nav a:hover {
    color: #0a58ca;
    background: rgba(60,80,130,.08);
    text-decoration: none;
}

@media (max-width: 991px) {
    .section-nav {
        top: 56px;
        font-size: .9rem;
    }
    .navbar-nav {
        padding-top: 1rem;
        text-align: center;
    }
}
.dropdown-menu {
  z-index: 1050;
}
.dropdown-menu {
  z-index: 1050;
}

section {
  scroll-margin-top: 120px; /* adjust to your navbar height */
}

.text-justify-custom {
  text-align: justify;
}
.section-spacing {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
.spacing-top-xs {
  margin-top: 0.8rem !important;
}
.spacing-top-small {
  margin-top: 2rem !important;
}
.spacing-top-medium {
  margin-top: 4rem !important;
}
.spacing-button {
  margin-bottom: 1rem !important;
}
.custom-nav-link,
.custom-nav-link:link,
.custom-nav-link:visited,
.custom-nav-link:hover,
.custom-nav-link:active {
    color: #3c5082 !important;
    text-decoration: none !important;
    font-size: 1.2rem !important;
    display: inline-flex;
    align-items: center;
    padding: .75rem .9rem !important;
    line-height: 1.2;
}
.custom-nav-link.dropdown-toggle {
  padding-right: 0.6rem !important;
}
.custom-nav-link.dropdown-toggle::after {
  margin-left: 0rem !important;
}
.logo-video-wrapper {
    position: relative;
    height: 140px;
    width: auto;
}
h1, .h1 {
  font-size: 2.5rem;
}
h1, h2,
.h1, .h2 {
  color: #3c5082 !important;
}
h2, .h2 {
    text-transform: uppercase;
}
.doi,
.doi a {
    font-size: 1em;
}
.button-writing {
    font-size: calc(1.275rem + 0.3vw);
}
.bg-grey {
	background-color: #f6f6f6;
}

.btn:hover {
  background-color: #3c5082;
}
a,
.btn-link-action {

    color: #3c5082 !important;
    text-decoration: none !important;
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    display: inline;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 500;
}
a:hover,
.btn-link-action:hover {

    color: #0a58ca !important;
    text-decoration: underline !important;
}
.btn-primary{
    background: none;
    color: #3c5082 !important;
    border-color: black;
}
.btn-primary:hover{
    background: #3c5082;
    color: white !important;
    border-color: #3c5082;
}
.btn-primary:active{
    background: #3c5082;
    color: white;
    border-color: #3c5082;
}
.feature-btn {
    width: 150px;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #3c5082;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: .2s ease;
}
.feature-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    color: white;
}
.publication-modal {
    position: fixed;
    inset: 0;
    background:
        var(--bs-light);
    display: none;
    z-index: 9999;
    overflow-y: auto;
}
.publication-modal.active {
    display: block;
}
.publication-content {
    width: min(1200px, 95%);
    margin: 5rem auto 2rem auto;
}
.publication-modal .close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background:
        rgba(0,0,0,.06);
    color: #3c5082;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    box-shadow:
        0 2px 10px rgba(0,0,0,.12);
}
.publication-modal .close-btn:hover {
    background:
        rgba(0,0,0,.12);
}
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background:
        rgba(0,0,0,.06);
    color: black;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    box-shadow:
        0 2px 10px rgba(0,0,0,.12);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity .25s ease;
}
.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}
.scroll-top-btn:hover {
    background:
        rgba(0,0,0,.12);
}
.publication-content {
    max-height: 80vh;
    overflow-y: auto;
}
.footer-section {

    border-top:
        1px solid #ddd;
}
/* FOOTER LOGO */
.footer-logo {
    max-width: 100px;
    border-radius: 10px;
}

/* LINKS */
.footer-link {
    color: inherit;
    text-decoration: none;
}
.footer-link:hover {
    text-decoration: underline;
}
/* GOOGLE MAP */
.map-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 4px 20px
        rgba(0,0,0,.08);
}
.map-wrapper iframe {
    width: 100%;
    height: 240px;
    border: 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
/* FOOTER SCROLL BUTTON */
.footer-scroll-btn {
    border: none;
    border-radius: 999px;
    padding:
        .65rem 1rem;
    background:
        rgba(0,0,0,.06);
    color: #3c5082;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        .2s ease;
}
.footer-scroll-btn span {
    font-size: 1.25rem;
}
.footer-scroll-btn:hover {
    background:
        rgba(0,0,0,.12);
    transform:
        translateY(-2px);
}
@media (max-width: 768px) {
    .footer-bottom {
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
    }
    .footer-scroll-btn span {
        font-size: 1rem !important;
    }
}
.course-item {
    margin-bottom: .5rem;
    margin-left: 2rem;
}
.course-item .btn-link-action {
    display: block;
    width: 100%;
    text-align: left;
}
.text-left-padding {
    margin-left: 2rem;
}
.modal-section-title{
    color:#303030;
}
.clickable-image {
    cursor: pointer;
    max-width: 100%;
    height: auto;
}
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.image-modal.active {
    display: flex;
}
.image-modal-content {
    max-width: 95vw;
    max-height: 95vh;
}
.close-image {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 48px;
    color: white;
    cursor: pointer;
}
.image-container {
    height: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-container img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
}
.footer-section .row {
    margin-left: 0;
    margin-right: 0;
}
.staff-email {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.staff-photo {
    width: 100px;
    max-width: 100%;
    height: auto;
    float: right;
}
.lectutrer-photo {
    width: 80%;
    float: left;
}
.pub-table {
  width: 100%;
  border-collapse: collapse;
}
.img-cell {
  width: 180px;
  vertical-align: top;
  padding: 0;
}
.meta-cell {
    width: auto;
    vertical-align: top;
    padding-left: 25px;
    font-size: 1.2rem;
}
.pub-img {
  width: 180px;;
  height: auto;
  display: block;
}
#modalLink {
    font-size: 20px;
    font-weight: bold;
}
.divider {
  border: 0;
  height: 2px;
  margin: 2rem 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.45),
    transparent
  );
}
.pub-header {
    font-size: 1.25rem;
}
