@font-face {
  font-family: 'AveriaSerifLibreItalic';
  src: url('../../vendor/Averia_Serif_Libre/AveriaSerifLibre-Italic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  font-size: 15px;
}

/* Laptop screens */
@media (min-width: 992px) and (max-width: 1599.98px) {
  body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    margin: 0;
    font-size: 11px;
  }
}

 .display-section-ul-ol li {
    font-size: 18px;
    margin-bottom: 5px; /* spacing between items */
  }

  /* Optional: Remove extra space after the last item */
  .display-section-ul-ol li:last-child {
    margin-bottom: 0;
  }


a {
  text-decoration: none;
}

b {
  font-family: 'Roboto', sans-serif;
}

.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 1s linear infinite;
}

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

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

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

.nav_logo_margin {
  padding-left: 85px;
}


/* Laptop screens */
@media (min-width: 992px) and (max-width: 1599.98px) {

  /* styles for laptops */
  .col-auto-custom {
    margin-left: 70px;
    margin-right: 70px;
  }

  .navbar-nav li {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Desktop and larger */
@media (min-width: 1600px) {

  /* styles for desktops and bigger */
  .col-auto-custom {
    margin-left: 80px;
    margin-right: 120px;
  }

  .navbar-nav li {
    padding-left: 20px;
    padding-right: 20px;
  }
}



.nav-item:last-child {
  border-right: none;
  /* remove border from the last item */
}



/* Reduce logo size and margin on tablets and below */
@media (max-width: 992px) {
  .nav_logo_margin {
    padding-left: 0px;
  }

}

/* Further reduce on mobiles */
@media (max-width: 576px) {
  .nav_logo_margin {
    padding-left: 10px;
  }

  /* Optionally, reduce logo size on small screens */
  .navbar-img {
    width: 350px;
  }

  /* Adjust navbar items padding on mobile */
  .navbar-nav li {
    padding: 5px;
  }
}

/*--------------------------------------------------------------
# Home Page
--------------------------------------------------------------*/

.display-home-section {
  /* background-color: rgba(255, 255, 255, 0.9); */
  padding: 0px 0;
  border-radius: 10px;
  margin-bottom: 40px;
  overflow: hidden;
}

/* Gradient Card */
.gradient-card {
  border-radius: 20px;
  padding: 2.5rem;
  background: linear-gradient(135deg, #ffffff, #dbe7ff);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card hover effect */
.gradient-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Profile Image */
.profile-img {
  width: 400px;
  height: 600px;
  border-radius: 12px;
  border: 5px solid #fff;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  /* center on small screens */
}

/* Reduce image size and margin on tablets and below */
@media (max-width: 992px) {
  .profile-img {
    width: 240px;
    height: 300px;
    border-width: 3px;
  }
}

/* Further reduce on mobiles */
@media (max-width: 576px) {
  .profile-img {
    width: 180px;
    height: 225px;
    border-width: 2px;
  }
}

.gradient-card h2,
.section-title {
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 1rem;
}

.gradient-card p {
  margin-bottom: 0.4rem;
  color: #333;
}

.btn-custom {
  background-color: #1976d2;
  color: white;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #0d47a1;
}

.section-title {
  border-bottom: 2px solid #1976d2;
  display: inline-block;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}

/* Research ACtivity Carousel */
.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Courses */
.scrolling-courses {
  height: 10rem;
  overflow: hidden;
  position: relative;
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
  animation: scrollUp 20s linear infinite;
}

.course-list li {
  height: 3rem;
  line-height: 2.5rem;
  color: #333;
  font-weight: 500;
  text-align: left;
  font-size: 1.3rem;
}

.course-list a {
  color: #0d47a1;
  text-decoration: none;
  transition: color 0.3s;

}

.course-list a:hover {
  color: #0d47a1;
  text-decoration: underline;
}

/* .scrolling-courses:hover .course-list {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100%);
  }
} */

/* Publication paper download button */


.download-button-small:hover {
  background: linear-gradient(135deg, #dbe7ff, #ffffff);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #001f4d;
}

.download-button-small {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  background: linear-gradient(135deg, #ffffff, #dbe7ff);
  color: #003366;
  font-weight: bold;
  text-decoration: none;
  border-radius: 15px;
  border: 1px solid #aac4f6;
  font-family: sans-serif;
  transition: all 0.2s ease;
}



.info-box {
  border-radius: 20px;
  padding: 2.5rem;
  background: linear-gradient(135deg, #ffffff, #dbe7ff);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box h2 {
  margin-bottom: 10px;
}

.text-danger {
  color: red;
}

.fw-bold {
  font-weight: bold;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color:  #2E3E79; /* Teal background */
  color: white;
  text-align: center;
  line-height: 36px;
  font-size: 16px;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 8px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: #004f52; /* Darker on hover */
}


.cv-link i {
  margin-right: 5px;
}

/* Updated Course Box */
.course-box {
  margin-top: 20px;
  background-color: #004080;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  overflow: hidden;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

.scroll-text {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  will-change: transform;
  animation: scroll-left 25s linear infinite;
  /* slower */
  left: 100%;
  /* start just outside right */
}

@keyframes glow-blink {
  0%, 100% {
    color: rgb(248, 25, 25);
    text-shadow:
      0 0 2px rgba(255, 0, 0, 0.5),
      0 0 4px rgba(255, 0, 0, 0.4);
  }

  70% {
    color: rgb(248, 25, 25);;
    text-shadow:
      0 0 6px rgba(255, 255, 0, 0.3),
      0 0 12px rgba(255, 255, 0, 0.2);
  }
}


.cv-link {
  font-weight: bold;
  text-decoration: none;
  animation: glow-blink 1s infinite;
  white-space: nowrap;
  font-size: 22px;
}

@media (max-width: 576px) {
  .cv-link {
    font-size: 16px;
  }
}


@keyframes scroll-left {
  0% {
    transform: translateX(0);
    /* at left:100% position */
  }

  100% {
    transform: translateX(-200%);
    /* moves all the way left */
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-200%);
  }
}


/*font designing of all page*/
.font_design {
  font-family: 'AveriaSerifLibreItalic';
  font-size: 25px;
  line-height: 1.6;
  color: #333333;
}

.font_design_index {
  font-family: 'AveriaSerifLibreItalic';
  font-size: 18px;
  line-height: 1.5;
  color: #333333;
}

.font_design_index_name {
  font-family: 'AveriaSerifLibreItalic';
  font-size: 25px;
  line-height: 1.3;
  color: #333333;
}



/*--------------------------------------------------------------
# PAGES
--------------------------------------------------------------*/

.custom-card {
  height: 150px;
}


.section-heading {
  font-family: 'AveriaSerifLibreItalic';
  /* Sleek, modern font */
  font-size: 1.5rem;
  /* Bold and prominent */
  font-weight: 700;
  /* Strong weight for impact */
  color: #1f2937;
  /* Deep gray for non-hover state */
  letter-spacing: 0.04em;
  /* Subtle letter spacing */
  text-transform: uppercase;
  /* Uppercase for bold style */
  display: inline-block;
  position: relative;
  padding: 0.6rem 1.2rem;
  /* Balanced padding */
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease, border-radius 0.3s ease;
  /* Smooth transitions */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  /* Subtle text shadow for depth */
}

.section-heading:hover {
  color: #ffffff;
  /* White text on hover */
  background: #2E3E79;
  /* Navy Blue background on hover */
  transform: translateY(-4px);
  /* Slight lift for interactivity */
  text-shadow: 0 2px 8px rgba(167, 139, 250, 0.6);
  /* Violet glowing text shadow */
  border-radius: 50px;
  /* High border-radius for round/pill shape on hover */
}

.section-heading::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3), transparent);
  /* Violet glow around characters */
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-heading:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1.3);
  /* Expand glow on hover */
}

.section-heading.tapped::before {
  opacity: 1;
  transform: translateX(-50%) scale(1.3);
  /* Same for tap */
}


.display-section {
  /* background-color: rgba(255, 255, 255, 0.9); */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
}


/*--------------------------------------------------------------
# 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;
}