/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body & Fonts */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Header */
.header {
    padding: 60px 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}
.header a {
  background: white;
  color: #4f46e5;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.3s;
  width: fit-content;
}
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid white;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    transition: 0.3s;
}

.social-links a:hover {
    text-decoration: underline;
}

/* About & Research Sections */
.about, .research {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin: 40px auto;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
}

ul li {
    margin: 10px 0;
}

ul li a {
    color: #2575fc;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 20px;
    background: #333;
    color: white;
}
.logo {
    width: 220px;      /* smaller width */
    height: 220px;     /* smaller height */
    border-radius: 15%; /* slightly smaller rounding */
    margin-bottom: 15px;
}
.researchers {
    padding: 60px 0;
    background-color: #f0f8ff; /* light blue background */
}

.researcher-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.researcher-card {
    text-align: center;
    width: 200px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.researcher-card:hover {
    transform: translateY(-5px);
}

.researcher-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.researcher-card h3 {
    margin: 10px 0 5px 0;
    font-size: 18px;
}

.researcher-card p {
    font-size: 14px;
    color: #555;
}
.projects-link .container {
  display: flex;
  flex-wrap: wrap;   /* allows buttons to move to next line */
  gap: 10px;         /* space between buttons */
  justify-content: center; /* optional: center on screen */
  margin: 1rem 0;
}

.projects-link .projects-button {
  display: inline-block;   /* makes sure each button is treated separately */
  padding: 0.75rem 1.5rem;
  background: #007BFF;
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.projects-link .projects-button:hover {
  background: #0056b3;
}
.project-list li {
    margin-bottom: 20px;
    line-height: 1.5;
}

.project-list .project-title {
    font-size: 20px; /* bigger title */
    color: #0077cc;
}
main {
  flex: 1;
  padding: 1rem 5%;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}/* ============================
   Section Buttons
============================ */
#subjects, #notes-subjects {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
}

#subjects::-webkit-scrollbar,
#notes-subjects::-webkit-scrollbar {
  height: 6px;
}

#subjects::-webkit-scrollbar-thumb,
#notes-subjects::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.subject-btn, .note-subject-btn {
  background-color: #007BFF;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  flex: 0 0 auto;
}

.subject-btn:hover, .note-subject-btn:hover {
  background-color: #0056b3;
}

.subject-btn.active, .note-subject-btn.active {
  background-color: #28a745;
}

/* ============================
   Talks (Videos)
============================ */
#main-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 15px;
  margin-top: 15px;
}

#video-list {
  border: 1px solid #ddd;
  padding: 10px;
  overflow-y: auto;
  max-height: 350px;
}

#player {
  display: flex;
  justify-content: center;
  align-items: center;
}

#video-frame {
  width: 100%;
  height: 350px;
  border: none;
}

/* ============================
   Notes (PDFs)
============================ */
#notes-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 15px;
  margin-top: 15px;
}

#notes-list {
  border: 1px solid #ddd;
  padding: 10px;
  overflow-y: auto;
  max-height: 350px;
}

#notes-viewer {
  display: flex;
  justify-content: center;
  align-items: center;
}

#pdf-frame {
  width: 100%;
  height: 350px;
  border: none;
}

/* ============================
   Shared List Styles
============================ */
.video-title, .note-title {
  padding: 8px;
  margin-bottom: 5px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
}

.video-title:hover, .note-title:hover {
  background: #f0f0f0;
}

.video-title.playing, .note-title.playing {
  background: #4f46e5;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #main-container, #notes-container {
    grid-template-columns: 1fr;
  }

  #video-list, #notes-list {
    max-height: none;
    width: 100%;
  }

  #video-frame, #pdf-frame {
    height: 300px;
  }
}
