/* Base Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
  --white: #fff;
  --gray: #95a5a6;
  --light-gray: #f5f5f5;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*html {
  scroll-behavior: auto;
}*/

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-gray);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: var(--transition);
}

a:hover {
  color:rgb(11, 129, 147);
}

ul {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.section-with-bg {
  background-color: var(--white);
  box-shadow: var(--shadow);
  margin: 1rem 0;
  border-radius: 8px;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.text-center {
  text-align: center;
}

.lead {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-align: center;
}

.drosophila {
  font-style: italic;
}

/* Header Styles */
.header-with-bg {
  position: relative;
  height: 80vh;
  background-image: url('images/lab\ pic1\ \(1\).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
}

.header-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.header-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Navigation */



/* Mission & Vision */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-large {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Research Focus */
.research-focus-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.research-focus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.research-focus-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Principal Investigator */
.pi-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.pi-image {
  flex: 1;
  min-width: 300px;
}

.pi-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.pi-content {
  flex: 2;
  min-width: 300px;
}

.pi-content h3 {
  color: var(--primary-color);
  font-size: 2rem;
}

.pi-content p {
  margin-bottom: 1.5rem;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.award-card {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.award-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.award-card i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.award-card h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Team Members */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.member-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.member-image-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid var(--secondary-color);
  margin-top: 1.5rem;
}

.member-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 1.5rem;
  flex-grow: 1;
}

.member-info h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
}

.member-info p {
  margin-bottom: 1rem;
}

.member-info strong {
  color: var(--secondary-color);
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

/* Students and Interns */
.student-list {
  columns: 2;
  column-gap: 2rem;
  margin-bottom: 2rem;
}

.student-list li {
  margin-bottom: 0.8rem;
  break-inside: avoid;
}

@media (max-width: 768px) {
  .student-list {
    columns: 1;
  }
}

/* Publications */
.publication-list {
  margin-top: 2rem;
}

.publication-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.publication-item p {
  margin-bottom: 0.5rem;
}

/* Talks and Presentations */
.video-container {
  margin-bottom: 3rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-top: 0.2rem;
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */


/* Responsive Adjustments */
@media (max-width: 768px) {
  .header-content h1 {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .header-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .pi-container {
    flex-direction: column;
  }
  
  .pi-image {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .header-content h1 {
    font-size: 2rem;
  }
  
  .nav-container {
    flex-wrap: wrap;
  }
  
  .nav-link {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
  }
}
/* Principal Investigator Section */
.pi-profile {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
  text-align: center;
}

.pi-image-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pi-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pi-content {
  max-width: 900px;
  margin: 0 auto;
}

.pi-content h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pi-title {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.pi-bio {
  text-align: left;
  margin-bottom: 2rem;
}

.pi-bio p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.pi-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.pi-interests {
  flex: 1;
  min-width: 250px;
  text-align: left;
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
}

.pi-interests h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.pi-interests ul {
  list-style-type: none;
  padding-left: 0;
}

.pi-interests li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.pi-interests li:before {
  content: "•";
  color: var(--accent-color);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -3px;
}

.pi-awards {
  flex: 2;
  min-width: 300px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.award-card {
  background: var(--light-gray);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}

.award-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.award-card i {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.award-card h5 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.award-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .pi-image-circle {
    width: 180px;
    height: 180px;
  }
  
  .pi-content h3 {
    font-size: 1.6rem;
  }
  
  .pi-title {
    font-size: 1rem;
  }
  
  .pi-details {
    flex-direction: column;
  }
}
/* Compact Research & Awards Layout */
.pi-details-compact {
  display: flex;
  gap: 20px;
  margin: 2rem 0;
}

.pi-detail-column {
  flex: 1;
  min-width: 0;
}

.detail-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
}

.detail-card h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-card h4 i {
  font-size: 1.2em;
}

.compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compact-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
}

.compact-list li:before {
  content: "•";
  color: var(--accent-color);
  margin-right: 10px;
}

/* Collapsible Awards Section */
.expandable-section {
  margin-top: 1rem;
}

.toggle-awards-btn {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0;
}

.toggle-awards-btn:hover {
  color: var(--accent-color);
}

.toggle-awards-btn i {
  transition: transform 0.3s ease;
}

.awards-grid-collapsible {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Show when expanded */
.awards-grid-collapsible.show {
  display: grid;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Rotate chevron when expanded */
.toggle-awards-btn.active i {
  transform: rotate(180deg);
}