@font-face {
  font-family: 'LatoBlack';
  src: url('../../vendor/Lato/Lato-Black.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: 'LatoThinItalic';
  src: url('../../vendor/Lato/Lato-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: 'LatoRegular';
  src: url('../../vendor/Lato/Lato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'LatoBold';
  src: url('../../vendor/Lato/Lato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'LatoBoldItalic';
  src: url('../../vendor/Lato/Lato-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'LibertinusMath';
  src: url('../../vendor/Lato/LibertinusMath-Regular.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'LibertinusMath';
  scroll-behavior: smooth;
  font-size: 18px;
}

body li {
  font-family: 'LibertinusMath';
  font-size: 18px;
}

.body-background-img-1 {
  background-image: url('../../images/index_background_image.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.body-background-img-2 {
  background-image: url('../../images/background_image.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}


a {
  text-decoration: none;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Full height of the screen */
}

.main-content {
  flex: 1;
  /* Takes up remaining vertical space */
}


/*--------------------------------------------------------------
# LOADER
--------------------------------------------------------------*/
#loader {
  position: fixed;
  z-index: 9999;
  background: white;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Rotating image */
#loader-img {
  width: 100px;
  /* adjust as needed */
  height: 100px;
  animation: rotate 2s linear infinite;
}

/* Rotation animation */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# NAVIGATION
--------------------------------------------------------------*/

.dropdown-menu {
  z-index: 1050;
  /* Bootstrap modals use 1050+, so it's safe */
  position: absolute;
  /* Ensure it's positioned relative to its container */
}

.info-label {
  font-weight: 600;
}

.btn-download {
  background: #4a6cf7;
  color: white;
  border-radius: 30px;
  padding: 10px 25px;
  border: none;
}

.btn-download:hover {
  background-color: #3950d1;
}


.navbar-brand span {
  font-weight: bold;
  color: #000;
}

.navbar-brand span:first-child {
  color: #4a6cf7;
}

.nav-link.active {
  border-bottom: 2px solid #4a6cf7;
  color: #4a6cf7 !important;
}

.card {
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: none;
}

.container_padding {
  padding-top: 50px;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 576px) {
  .container_padding {
    padding-top: 100px;
  }
}

/*--------------------------------------------------------------
# INDEX PAGE
--------------------------------------------------------------*/

.gradient-header {
  color: #fff;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.bg-news {
  background: linear-gradient(135deg, #f05151, #f8c2c2);
}


.ticker-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  font-family: Arial, sans-serif;
}

.ticker-text {
  position: absolute;
  margin-left: 0px;
  margin-right: 0px;
  top: 0;
  left: 0;
  right: 0;
  will-change: transform;
}

.paused {
  animation-play-state: paused !important;
}

.profile-img {
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive adjustment for larger screens */
@media (min-width: 992px) {
  .profile-img {
    width: 590px;
    height: 405px;
    border-radius: 10px;
    object-fit: cover;
  }
}

/* Responsive adjustment for larger screens */
@media (min-width: 992px) {
  .about-me {
    width: 650px;
    height: 400px;
  }

}

.about-section {
  /* background-color: #f9f9f9; */
  padding: 60px 0;
}

.news-section {
  margin-bottom: 50px;
}

.custom-card {
  height: 150px;
}

.publication-section {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 60px 0;
  border-radius: 10px;
  margin-bottom: 40px;
}

.project-section {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 60px 0;
  border-radius: 10px;
  margin-bottom: 40px;
}

.student-section {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 60px 0;
  border-radius: 10px;
  margin-bottom: 40px;
}

.teaching-section {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 60px 0;
  border-radius: 10px;
  margin-bottom: 40px;
}


.contact-section {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 60px 0;
  border-radius: 10px;
  margin-bottom: 40px;
}

.photo_gallery-section {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 60px 0;
  border-radius: 10px;
  margin-bottom: 40px;
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
  color: white;
  background-color: var(--background-color);
  font-size: 16px;
  background-color: #282828;
}

footer.fixed-bottom {
  z-index: 1030;
}

.footer .footer-top {
  padding-top: 35px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 16px;
  font-family: var(--heading-font);
  font-weight: 500;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: #ed502e;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}