@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&family=Lato&display=swap');
body
{
	margin: 10;
	padding: 10;
	font-family: 'Roboto', sans-serif;
}

nav
{
	float: right;
}
.clearfix
{
	clear: both;
}
nav ul
{
	margin: 0;
	padding: 10px;
	display: flex;
	font-size: 27px;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
}
nav ul li
{
	list-style: none;
	align-items: center; /* Centers the text inside the link */
    	height: 100%; /* Full height of the navbar */
}
nav ul li a
{
	display: block;
	margin: 1px 0;
	padding: 10px 15px;
	height: 100%;
	text-decoration: none;
	color: #81200d;
	border-radius: 9px;
}
nav ul li a active,
nav ul li a:hover
{
	background: #81200d;
	color: #FFC300;
	height: 100%; /* Ensure it fills the height */
}

.pub-strong {
	color: #4c3c3c;
	font-weight: bold;
}
.top-container-navbar
{
	max-width: 1300px;
	background-color: #ffffff; /*#bd3b1f;*/
	margin: 0px auto 0 auto;
	padding: 0px 5px;
	display: flex;
	border-radius: 20px 20px 0px 0px; 
	justify-content: space-between;
	align-items: center; 
	//border-bottom: 4px solid #81200d; /*#d2bf94;*/
}
.top-container-navbar .navbar-brand {
  height: auto;
  padding: 10px;
}
.top-container-navbar.navbar-brand img {
  height: 100px;
}
@media (min-width: 800px) {
  .top-container-navbar .navbar-brand img {
    height: 90px;
  }
}

.top-container
{
    max-width: 1300px;
	background-color: #ffffff;
	margin: 0px auto 0 auto;
	padding: 0px 5px;
	display: flex;
	justify-content: space-between;
	//align-items: flex-start;
}
.full-width {
    display: flex;
    width: 100%; /* 100% of the viewport width */
    flex-direction: row; /* Align children in a row */
}

/* 75% width for the content area */
.content-area {
    width: 75%; /* 75% of the viewport width */
    padding: 1rem; /* Optional padding */
}


.top-container .profile-pic
{
	flex: 1;
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
	margin-bottom: auto;
}
.top-container .profile-desc
{
	flex: 2;
	margin: 0px 30px;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
}
.top-container .profile-desc a
{
	font-family: 'Roboto', sans-serif;
	//font-size: 18px;
	text-decoration: none;
	//background: -webkit-linear-gradient(#600, #BD8233);
	//-webkit-background-clip: text;
	//-webkit-text-fill-color: transparent;
	//font-weight: bold;
	color: #A42D0D;
}
.top-container .profile-desc a:hover
{
	//background: -webkit-linear-gradient(#BD8233, #600);
	//-webkit-background-clip: text;
	//-webkit-text-fill-color: transparent;
	color: #951289;
}

.top-container .lab-profile-pic
{
	flex: 1;
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
	margin-bottom: auto;
}
.top-container .lab-profile-desc
{
	flex: 1.5;
	margin: 0px 30px;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}
.btn {
    display: inline-block; /* Make buttons fit their content */
    padding: 0.5rem 0.5rem; /* Adjust padding to suit your design */
    border-radius: 10px; /* Creates the pill shape */
    color: #ffffff; /* Text color */
    margin: 0.1rem; /* Margin around buttons */
    font-size: 17px; /* Adjust font size as needed */
    text-align: center; /* Center the text inside the button */
    background-color: #a21232; /* Default background color */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.2s ease; /* Smooth transition for background color */
}
.btn:hover {
    background-color: #6643b5; 
    color: #f9fd50; 
}

.card {
  background-color: #fff;
  max-width: 400px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card_text {
  color: #000;
  font-size: 108;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-left: 10px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
}
.index_card-column {
	padding-right: 0.5rem;
	padding-left: 0.5rem;
}

.news-card {
    background-color: #E9E9E9; /* Red background for the news card */
    border: 0px solid #ddd; /* Light border */
    border-radius: 8px 8px 0 0; /* Rounded corners */
    padding: 0rem; /* Padding inside the card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-bottom: 10px solid #d2bf94;
}
.news-card h3 {
    color: #212324; /* White text for the heading */
    font-size: 1.5rem; /* Font size for the heading */
    font-weight: bold; /* Make the heading text bold */
    margin-bottom: 1rem; /* Margin below the heading */
    text-align: center; /* Center the text horizontally */
}

.home_card .card-block {
	padding:0.4rem;
	margin-top:-0.2rem;
	margin-bottom:-0.2rem;
}
.home_card {
	margin-top: 1.0rem;
	border:none;
	line-height: 150%;
	box-shadow: 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .2);
}
.home_card_top {
	margin-top: 0.2rem;

}
.papers
{
  color: #000;
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
}
.papers li{
	padding-bottom: 20px;
}

.publications
{
  color: #000;
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
}


.publications li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .publications li img {
    width: 150px;
    height: auto;
    margin-left: 20px;
  }

  .publications li .text-content {
    flex: 1;
    padding-right: 20px;
  }

  /* Media query for mobile screens */
  @media (max-width: 768px) {
    .publications li {
      flex-direction: column; /* Stack the image on top of the text */
    }

    .publications li img {
      margin-left: 0;
      margin-bottom: 10px; /* Add space between the image and the text */
      width: 100%; /* Make the image take full width on mobile */
    }

    .publications li .text-content {
      padding-right: 0;
    }
  }
footer {

	max-width: 1300px;
	background-color: #ffffff; /*#d2bf94;*/
	margin: 0px auto 0 auto;
	padding: 10px 10px;
	display: flex;
	border-radius: 0px 0px 10px 10px; /* This will round the top edges */
	justify-content: space-between;
	align-items: center; /* Vertically centers the logo and other content */
	border-top: 4px solid #81200d; /*#bd3b1f;*/

}
/*
footer{
	position: relative;
	bottom: 0;
	width: 100%;
	background-color: #d2bf94;
	margin: 0px auto 0 auto;
	padding: 0px 5px;
	display: flex;
	border-radius: 0px 0px 20px 20px; 
	//justify-content: space-between;
	align-items: center; 
	border-top: 10px solid #bd3b1f;
}
*/

@media (min-width: 1200px)
{
	header
	{
		margin: 10px;
	}

}
@media (max-width: 800px)
{
	.logo
	{
		font-size: 27px;
		margin: 15px 20px 5px 0px;
	}
	.menu-toggle
	{
		display: block;
		width: 40px;
		height: 40px;
		margin: 10px;
		background: #fff;
		float: right;
		cursor: pointer;
		text-align: center;
		font-size: 30px;
		color: #bd3b1f;
	}
	.menu-toggle:before
	{
		content: '\f0c9';
		font-family: fontAwesome;
		line-height: 40px;
	}
	.menu-toggle.active:before
	{
		content: '\f00d';
	}
	nav
	{
		display: none;
	}
	nav.active
	{
		display: block;
		width: 90%;
        margin: 0 auto; 
		background: #d2bf94;
		color: #641e16;
	    border-radius: 10px 0 0 10px; /* Rounded corners */
		overflow: hidden; /* To ensure the border-radius applies correctly */
	}
	nav.active ul
	{
		display: block;
	}
	nav.active ul li {
		display: block;
		margin: 0;
		color: #641e16;
	}
	nav.active ul li:last-child {
		border-bottom: none; /* Remove the separator from the last item */
	}
	nav.active ul li a {
		display: block;
		color: #641e16; 
		padding: 10px;
		text-decoration: none;
	}
	nav ul li a:hover
	{
		background: #641e16;
		color: #fff;
	}
	.top-container
	{
		display: block;
	}
	/*.top-container .profile-pic
	{
		width: 80%;
		height: 80%;
		margin-left: auto;
		margin-right: auto;
	}*/
	.top-container .profile-desc
	{
		flex: 3;
		margin: 0px 30px;
		font-family: 'Roboto', sans-serif;
		font-size: 17px;
	}
	.top-container .profile-desc a
	{
		font-size: 18px;
	}

}

/* Styles added by Amartya */

  .team-section {
    margin-left: 10px; /* Adjust this value to move the section further right */
    margin-bottom:20px;
  }

  .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align items to the start */
    gap: 12px;
  }

  .team-member {
    flex: 1 1 calc(25% - 20px); /* 4 members per row */
    max-width: calc(25% - 20px); /* Ensures 4 per row */
    text-align: center;
}
  .team-card {
    background-color:  #faf5e4;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px 2px 10px 2px;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .team-card:hover {
    background-color:  #ffeab6;
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }

  .team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 40%;
    margin: 0 auto; /* Center the image */
    display: block; /* Ensures block-level element behavior */
  }

  .student-info {
    margin-top: 10px;
  }
  

  /* Section heading styling */
  .section-heading {
    font-size: 32px; /* Increase the font size */
    font-weight: bold;
    position: relative;
    padding-left: 20px; /* Space for the vertical line */
    margin-bottom: 30px;
  }

  /* Vertical line before heading */
  .section-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px; /* Width of the vertical line */
    background-color: #000; /* Line color */
  }

  /* Responsive adjustment for smaller screens */
  @media (max-width: 1024px) {
    .team-member {
      flex: 1 1 calc(33.333% - 20px); /* 3 per row on smaller screens */
      max-width: calc(33.333% - 20px);
    }
  }

  @media (max-width: 768px) {
    .team-member {
      flex: 1 1 calc(50% - 20px); /* 2 per row on smaller screens */
      max-width: calc(50% - 20px);
    }
    
    div[style*="display: flex"] {
      flex-direction: column;
      align-items: center;
    }
  }

  @media (max-width: 480px) {
    .team-member {
      flex: 1 1 100%; /* 1 per row on very small screens */
      max-width: 100%;
    }
  }
