
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.top-banner {
    background-color: #ff9b0f;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 140px;
    width: auto;
    object-fit: contain;
    display: block;
}

.left-section {
    display: flex;
    align-items: center;
}

.left-section .info {
    margin-left: 20px; 
}

.left-section .info h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

.left-section .info p {
    font-size: 18px;
    line-height: 1.6;
}

.right-section {
    display: flex;
    justify-content: flex-end;
    align-items: center; 
    min-width: 300px;     
    
}

.logo-wrapper {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.edcl {
    height: 140px;
    width: 450px;
    max-height: 140px;
    /* max-width: 380px; */
    /* object-fit: contain; */
}


.navbar {
    background-color: white;
    padding: 10px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    width: 100%;
}

.navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px; 
    width: 100%;
    gap: 50px;
}

.navbar li {
    /* flex: 1; */
    text-align: center;
}

.nav-highlight:hover {
  color: #000;
}

.navbar a:hover {
    color:#ff9b0f;
}

.nav-highlight {
  background-color: #ff9b0f; 
  border-radius: 8px;
  padding: 8px 12px;
  color: #000;
}

.navbar a {
  
  text-decoration:none;
  color: #1A1A1A ;
  padding: 10px 15px;
  display: inline-block;
  transition: color 0.3s, text-decoration 0.3s;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: nowrap;
}


.homepage-content {
  padding: 25px 50px;
  background-color: white;
}

.home-content {
  padding: 0px 0px;
}

.admin-duty {
  padding: 0px 20px;
}

.left-block {
    flex: 0 0 260px; 
    border: 1px solid #ccc;
    padding: 0 15px 15px 15px;
    border-radius: 10px;
    overflow: hidden;
}


.left-block .photo {
    width: calc(100% + 40px);  
    margin: 0 -20px 15px -20px; 
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: block;
    height: auto;
}

.left-block h2 {
    font-size: 22px;
    margin-bottom: 5px;
    text-align: center;
    white-space: nowrap;
}

.left-block .designation {
    white-space: nowrap;
    text-align: left;
    margin-bottom: 10px;
}


.left-block p {
    font-size: 14px;  
    margin: 5px 0;
    text-align: left;
}

.left-block .social-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.left-block .social-links img {
  border-radius: 8px;
    width: 35px;
    height: 35px;
}

.middle-block {
    flex: 1;
    padding: 12px;
    line-height: 1.4;
}

.img-wrap {
  text-align: center;
  flex-wrap: wrap;
}

.core-research-img {
  width: 100%;
  height: 100%;             
  max-width: 100%;
  object-fit: contain;
}

.right-block {
    /* flex: 1; */
    border: 1px solid #ccc;
    /* padding: 15px; */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    max-height: 700px;
    width: 350px;
}


.updates-header {
    background-color: #ff9b0f;
    padding: 10px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: 0; 
}

.updates-container {
    height: 680px;
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.updates-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    position: relative;
}

.updates-list li {
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 10px;
    border-bottom: 1px solid #ccc;
    word-wrap: break-word;
    white-space: normal;
}
.updates-list li:last-child {
    border-bottom: none;
}

.site-footer {
    background-color: #ff9b0f;
    color: black;
    text-align: center;
    padding: 12px 10px;
    font-size: 14px;
    border-top: 1px solid #bbb;
    margin-top: 15px;
    width: 100%;
}

.research-diagram {
  display: block;
  max-width: 70%;    /* Controls width of the image */
  height: auto;
  margin: 20px auto; /* Centered with space */
}

.ongoing-projects {
  padding: 40px ;
  background-color: white;
}

.project-heading {
  text-align: left;
  font-size: 24px;
  color: black;
  background-color: white;
  /* padding: 10px; */
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Overall section styling */
.research-topics {
  padding: 0px 50px;
  background-color: white;
}

/* 2-column grid layout */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.research-card {
  background-color:#f3e8ff ;
  display: flex;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);

  box-sizing: border-box;
  align-items: flex-start;
  gap: 15px;
  align-items: stretch;
  overflow: hidden;
}

.research-card img {
  width: 50%;
  height:100%;
  object-fit: fill;
}

/* Text section */
.card-text {
  flex: 1;
}

.card-text h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: bold;
}

.card-text p {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}

.experience-heading {
  font-size: 22px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  
  overflow: hidden;
  padding: 20px 20px;
  
}

.table th,
.table td {
  font-size: 15px;
  background-color: #f3e8ff;
  padding: 5px 5px;
  border: 2px solid #ffffff;
  vertical-align: top;
  text-align: left;
}

.table.orange-header th {
  background-color: #ff9b0f;
  color: black;
  font-weight: bold;
  text-align: center;
}

.table td {
  text-align: center;
}

.table td a {
  color: #2e62b5;
  font-weight: bold;
  text-decoration: underline;
}

.table td a:hover {
  color: #401d91;
}

.nowrap {
  white-space: nowrap;
}

.publications-section {
  padding: 20px 50px;
  background-color: #ffffff;
}

.pub-main-heading {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}

.pub-year {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  color:#bf8af7;
}

.pub-subheading {
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
  color:black;
}

.pub-list {
  margin-top: 5px;
  margin-bottom: 15px;
  padding-left: 22px;
}

.pub-list li {
  margin-bottom: 0px;
  font-size: 16px;
  line-height: 1.4;
}

.pub-list a {
  color:#ff9b0f;
  
  text-decoration: none;
}

.pub-list d {
  color: #1613d7;
}

.pub-list a:hover {
  text-decoration: underline;
}

.people-section {
  padding: 30px 50px;
  background-color: #fff;
}

.group-photo-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.group-photo {
  width: 80%;         
  height: 350px;
  object-fit: cover;    
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 100%;     
}

.current-people {
  
  background-color: #fff;
}
.section-heading {
  font-size: 24px;
  font-weight: bold;
  color: black;
  margin-bottom: 10px;
}

.section-subheading {
  font-size: 20px;
  font-weight: bold;
  color: black;
  margin-bottom: 5px;
  margin-top: 10px;
  color:#333;
}

.person-card {
  background-color:#f3e8ff;
  padding: 20px;
  margin-bottom: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 10px;
}

.top-section {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.person-photo {
  width: 150px;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.person-info {
  font-size: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  justify-content: space-between;
}

.person-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.person-name a {
  color: #2e62b5;
  text-decoration: none;
}

.person-name a:hover {
  text-decoration: underline;
}

.person-research {
  font-size: 14px;
  margin-top: 20px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);

  gap: 15px;
  margin-bottom: 15px;
}

.alumni {
  padding: 0px 0px;
}

.contact-section {
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.col-left {
  flex: 1 1 45%;
  font-size: 16px;
  line-height: 1.6;
}

.col-left .name {
  font-size: 20px;
  margin-bottom: 5px;
}

.col-left i {
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

.col-left a {
  color: #000;
  text-decoration: none;
}

.col-left a:hover {
  text-decoration: underline;
}

.col-right {
  flex: 1 1 50%;
  min-width: 300px;
}

.contact-section {
  padding: 30px 70px;
  background-color: #fff;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.6;
}

.contact-info h3 {
  font-size: 22px;
  color: #333;
}

.contact-info .designation {
  margin-bottom: 20px;
}

.contact-info .address{
  margin-bottom: 20px;
}

.contact-info a {
  color: #2e62b5;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-map {
  width: 700px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 5px; 
  box-sizing: border-box;
}

.map-inner {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
}

.map-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.collab-slider-container {
  width: 100%;
  overflow: hidden;
  background-color: white;
  padding: 15px 0;
}

.collab-slider {
  display: flex;
  gap: 40px;
  transition: transform 0.5s ease-in-out;
}

.collab-slider img {
  height: 250px;
  width: auto;
  object-fit: contain;
}

.album-card {
  aspect-ratio: 4 / 3;
  border: 2px solid #bbb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.album-photo {
  width: 100%;
  height:100%;
  object-fit: cover;
  display: block; 
}

@media (max-width: 768px) {
  .top-banner {
    flex-direction: row; 
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 2px 5px;
  }

  .left-section {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .left-section .info {
    white-space: nowrap;
    margin-left: 0px;
    flex-shrink: 1;
  }

  .left-section .info h1 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .left-section .info p {
    font-size: 13px;
    line-height: 1.2;
    margin: 2px 0px;
  }

  .logo {
    display: none;
  }

  .right-section {
    flex-shrink: 0;
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .edcl {
    max-width: 180px;
    height: auto;
  }

  .logo-wrapper {
    padding-top: 5px;
    height: auto;
  }

.navbar {
  overflow: visible;
  white-space: normal;
}

.navbar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0px 15px;
  padding: 0px 0px;
  margin: 0;
  list-style: none;
  
}

.navbar li {
  flex-shrink: 0;
}

.navbar a {
  font-size: 14px;
  padding: 5px 5px;
  display: inline-block;
  text-align: center;
  white-space: normal;
}

.homepage-content {
  padding: 10px 10px;
}

.top {
  flex-direction: column;
  gap: 15px;
}

.left-block {
  width: 100%;
  padding: 5px 5px;
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.left-block .photo {
  width: 40%;
  height: 100%;
  border-radius: 10px;
  margin: 0;
  object-fit: cover;
}

.left-block .info-wrapper {
  flex: 1;
}

.left-block h2{
  margin-top: 5px;
  text-align: left;
  font-size: 20px;
}
.left-block p{
  text-align: left;
  font-size: 14px;
  line-height: 1.0;
}

.left-block .social-links {
  justify-content: center;
  gap: 30px;
  margin-top: 5px;
}

.left-block .text-info {
  flex: 1;
}


.right-block {
  width: 100%;
  height: 500px;
}

.middle-block {
  width: auto;
  height: auto;
}

/* .img-wrap {
  width: 100%;
  text-align: center;
} */

.core-research-img {
  height: auto;
  width:100%;
  margin: 0 auto;
}

.collab-slider img {
  height: 180px;
}

.nowrap {
  white-space: normal;
}

.people-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-map {
    width: 100%;
    height: 300px;
  }

  .contact-section {
    padding: 20px;
  }

  .container {
    flex-direction: column;
    gap: 20px;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

.table {
    width: 100%;
    overflow-x:visible;
  }

  .table table {
    min-width: 700px;
  }

  .site-footer {
    font-size: 12px;
    padding: 10px;
  }
}
