/* Basic styling for a clean academic look */

body {
    font-family: 'Inter', sans-serif;
    max-width: 1000px;
    margin: 2em auto;
    padding: 0 1em;
    line-height: 1.6;
    color: #2c0606;
    background-color: #ddcaca;
  }

  /* HREF colour modification */
  a {
    color: #510818;      
    text-decoration: underline; /* Removes underline */
  }
  
  a:visited {
    color: #510818;        /* Same as unvisited */
  }
  
  a:hover,
  a:focus {
    color: #2a040c;        /* Slightly darker for hover */
    text-decoration: underline; /* Optional hover effect */
  }
  
  a:active {
    color: #000000;        /* Even darker when clicked */
  }

  footer {
    text-align: center;
    margin-top: 3em;
    padding: 1.5em 0 0.5em;
    border-top: 1px solid #cbb;
    color: #715656;
    font-size: 0.85em;
    background: #ddcaca;
  }
  
  .footer-contacts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 0.8em;
  }
  
  .footer-contacts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #e7d7d7;
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
  }
  
  .footer-contacts a:hover {
    background: #2a040c;
    transform: translateY(-2px);
  }
  
  .footer-contacts img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(12%) sepia(8%) saturate(3453%) hue-rotate(332deg) brightness(96%) contrast(92%);
    transition: filter 0.3s;
  }
  
  .footer-contacts a:hover img {
    filter: brightness(0) invert(1);
  }  

  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
  }
  .gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }
  
  h1 {
    margin: 0.2em 0;
    font-size: 2em;
  }

  h2 {
    border-bottom: 1px solid #fff;
    padding-bottom: 0.3em;
    margin-top: 1.5em;
  }

  header {
    text-align: center;
    margin-bottom: 1em;
    padding: 2em 1em 1em;
    border-radius: 10px;
    background: #2a040c;
    color: #f6dfdf;
  }
  
  header h1 {
    margin-bottom: 0em;
    font-size: 1.8em;
  }
  
  header p {
    color: #f6dfdf;
    font-style: capitalize;
  }

  header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 0.8em;
    border: 2px solid #fff;
  }

  /* Scrolling between sections */
  html {
    scroll-behavior: smooth;
  }

  html, body {
    /* width: 100%; */
    overflow-x: hidden;
    zoom: 100%;
  }

  main {
    max-width: 900px;
    margin: 2em auto;
    padding: 0 1em;
  }
  
  nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #ddcaca;
    border-bottom: 1px solid #ddcaca;
    text-align: center;
    margin-bottom: 2em;
  }

  nav button {
    background: none;
    border: none;
    padding: 1em;
    border-radius: 10px;
    margin: 0.05em;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
  }
  nav button:hover, nav button.active {
    background: #2a040c;
    color: #fff;
  }
  
  nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #510818;
    font-weight: 700;
  }
  
  nav a:hover {
    text-decoration: underline;
  }

  section {
    /* display: none; */
    background: #e7d7d7;
    border-radius: 10px;
    padding: 1.5em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    animation: fadeIn 0.4s ease-in;
  }

  ul {
    list-style: square inside;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Responsive for mobile */
  @media (max-width: 600px) {
    body {
      padding: 1em;
    }
    .profile {
      float: none;
      display: block;
      margin: 0 auto 1em;
    }
  }
  
  /* For Events tab */
  .experience {
    background: #e7d7d7;
    border-radius: 10px;
    padding: 1.5em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  
  .event {
    margin-bottom: 2.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #cbb;
  }
  
  .event h3 {
    margin-top: 0;
    color: #2a040c;
  }
  
  .event-date {
    font-style: italic;
    color: #715656;
    margin-top: -0.5em;
  }
    
  .links a {
    display: inline-block;
    margin-top: 0.5em;
    background: #2a040c;
    color: #fff;
    padding: 0.4em 0.8em;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .links a:hover {
    background: #510818;
  }

  
  .gallery img {
    max-width: 100%;
    border-radius: 8px;
    margin: 0.5em 0;
  }
  
  .post-embed {
    margin-top: 1em;
    margin-bottom: 1em;
    overflow: hidden;
  }
  
  .post-embed iframe {
    width: 100%;
    max-width: 500px;
    height: 400px;
    border: none;
    border-radius: 8px;
  }
  
  .post-embed.twitter {
    max-width: 500px;
  }

  .social-embeds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
    justify-items: center;
  }
  
  .social-embed {
    width: 100%;
    max-width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f8f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5em;
  }
  
  /* Target the iframe and Twitter blockquote */
  .social-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .social-embed blockquote.twitter-tweet {
    width: 100% !important;
    max-width: 300px !important;
    height: 100%;
    max-height: 400px;
    overflow: auto;
    margin: 0 auto !important;
  }

  /* For Research tab */
  .research {
    background: #e7d7d7;
    border-radius: 10px;
    padding: 1.5em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  
  .interests-list {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin: 1em 0 2.5em;
  }
  
  .interest-item {
    background: #e7d7d7;
    border-radius: 10px;
    padding: 1em 1.2em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .interest-item:hover {
    transform: translateY(0px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }
  
  .interest-item h3 {
    margin: 0 0 0.3em;
    color: #2a040c;
    font-size: 1.1em;
  }
  
  .interest-item p {
    margin: 0;
    color: #4a3c3c;
    font-size: 0.95em;
    line-height: 1.5;
  }
  
  .pubs {
    margin-top: 2em;
  }
  
  .pub {
    background: #f3e8e8;
    border-radius: 10px;
    padding: 1em 1.2em;
    margin-bottom: 1em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }

  .pub:hover {
    transform: translateY(0px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }
  
  .pub-title {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
  }
  
  .pub-details {
    font-size: 0.9em;
    color: #715656;
    margin: 0.4em 0 0.8em;
  }
  
  .pub-links a {
    background: #2a040c;
    color: #fff;
    padding: 0.4em 0.8em;
    margin-right: 0.5em;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.3s;
  }
  
  .pub-links a:hover {
    background: #510818;
  }
  
  .year-divider h3 {
    margin-top: 1em;
    color: #2a040c;
    font-weight: 700;
  }
  
  .more {
    margin-top: 1.5em;
    text-align: center;
  }
  
  /* For Contact tab
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1em;
    margin-top: 1.5em;
  }
  
  .contact-card {
    background: #e7d7d7;
    border-radius: 10px;
    text-align: center;
    padding: 1em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    color: #2a040c;
    text-decoration: none;
    transition: transform 0.2s, background 0.3s;
  }
  
  .contact-card:hover {
    background: #2a040c;
    color: #fff;
    transform: translateY(-3px);
  }
  
  .contact-card img {
    width: 30px;
    height: 30px;
    margin-bottom: 0.5em;
    filter: brightness(0) saturate(100%) invert(12%) sepia(8%) saturate(3453%) hue-rotate(332deg) brightness(96%) contrast(92%);
    transition: filter 0.3s;
  }
  
  .contact-card:hover img {
    filter: brightness(0) invert(1);
  }
  
  .contact-card span {
    display: block;
    font-size: 0.95em;
    font-weight: 600;
  } */
  