/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */
html{
 }
body{
    font-family: Palatino Linotype, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 13pt;
    background-color: #f5f5f5;
}

/* Section styles with shadows and borders */
.section {
    padding: 40px 0;
    margin: 20px auto;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

.section:last-of-type::after {
    display: none;
}

.profile-section{
    background: #f7f7f7;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.news-section{
    background: #f7f7f7;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.projects-section{
    background: #f7f7f7;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.partners-section {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Enhanced title styles with better spacing */
.title{
    font-size: 20pt;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #002db3;
    border-radius: 2px;
}

.subtitle{
    font-size: 16pt;
    font-weight: bold;
    margin: 20px 0 15px 0;
}


.nav-item{
    font-size: 12pt !important;
    color: black;
}

.nav-menu{
  color:black;
}

.cover-block {
  padding-top: 50px;
}

.profile-link{
  font-size: 13pt;
}

.profile-link a {
  color: white;
}
.profile-link a:hover {
  color: #DDDDDD;
}

.profile-block {
    background-color: #fff;
    transition: box-shadow .25s;
    border-radius: 20px;
}

.profile-image-block {
    vertical-align: middle;
}

.profile-content-block{
    color: white;
    padding-top: 10px !important;
}

.profile-photo{
    border-radius: 125px !important;
    border-color: white;
    margin: 10px;
}

.profile-name{
  font-size: 32px;
  font-weight: bold;

  font-family: Palatino Linotype, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.about-card{
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}


.social-photo{
    width: 70px !important;
    margin-right: 10px;
    padding-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-photo{
    -webkit-transition: all 0.25s ease; /* Safari and Chrome */
    -moz-transition: all 0.25s ease; /* Firefox */
    -o-transition: all 0.25s ease; /* IE 9 */
    -ms-transition: all 0.25s ease; /* Opera */
    transition: all 0.25s ease;
}
.social-photo:hover {
    -webkit-transform:scale(1.2); /* Safari and Chrome */
    -moz-transform:scale(1.2); /* Firefox */
    -ms-transform:scale(1.2); /* IE 9 */
    -o-transform:scale(1.2); /* Opera */
     transform:scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}


.collection {
    border: 0px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}
.collection-item{
    border: 0px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: background-color 0.2s ease;
}

.collection-item:last-child {
    border-bottom: 0 !important;
}

.collection-item:hover {
    background-color: #fafafa !important;
}

.icon {
    width: 15px;
    margin-right: 5px;
    vertical-align: middle;
}
.news-date {
    width: 120px !important;
    font-weight: bold;
    color: #666;
}

/* Research item styles */
.research-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #002db3;
}

.research-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.research-content h5 {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.research-content p {
    color: #666;
    line-height: 1.6;
}

/* Paper card styles */
.paper-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.paper-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.test{
    border: 10px solid;
}

/* Enhanced horizontal rule */
hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 30px 0;
}


.parallax-container {
  min-height: 380px;
  line-height: 0;
  height: auto;
  color: rgba(255,255,255,.9);
}
  .parallax-container .section {
    width: 100%;
  }

@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #home .section {
    top: 10%;
  }
}

@media only screen and (max-width : 600px) {
  #home .section {
    top: 10%;
  }
}

@media only screen and (max-width : 992px) {
  .profile-content-block {
    text-align: center;
  }
}


.paper-title{
  font-size: 20px;
  font-weight: bold;
  color: black;
}

.paper-author{
  font-size: 16px !important;
  margin-top: 10px;
}

.paper-conf{
  font-size: 16px !important;
  font-style: italic !important;
}

a {
  color: #002db3;
}
a:hover{
  color: #3366ff;
}

/* Carousel styles - full width horizontal */
.carousel {
  height: 750px !important;
  width: 100% !important;
  overflow: hidden !important;
  margin-top: 0 !important;
  margin-bottom: 30px !important;
  position: relative;
  z-index: 1;
}

.carousel.carousel-slider {
  height: 750px !important;
  overflow: hidden !important;
}

.carousel-item {
  width: 100% !important;
  height: 750px !important;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.carousel-item img {
  object-fit: contain !important;
  height: 650px !important;
  width: 100% !important;
  transform: scale(1.0) !important;
  transform-origin: center center !important;
}

/* Research Directions title */
.title:has(+ .carousel) {
  margin-bottom: 20px !important;
}

/* Carousel caption styles */
.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  text-align: center;
  padding: 15px 25px;
  font-size: 14pt;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 3;
  border-radius: 8px;
  margin: 0;
  line-height: 1.4;
  max-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Spacing between carousel and research direction descriptions */
.carousel + .row {
  margin-top: 0 !important;
  padding-top: 0 !important;
  position: relative;
  z-index: 2;
}

/* Ensure research items have proper spacing */
.research-item {
  margin-top: 20px !important;
  padding-top: 0 !important;
}

.research-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Normal paragraph margins */
.carousel + .row p {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.publication-hr{
  border: 0;
  border-top: 1px solid #DDDDDD;
}

.partner-img {
  height: 80px !important;
  width: 100% !important;
  object-fit: contain !important;
  padding: 10px;
}

.partners-section .row {
  margin-top: 20px !important;
}