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

:root {
    --primary-color: #4891ff;
    --light-color: #f4f4f6;
    --dark-color: #111;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Navbar */
.navbar {
    background: #fff;
    padding: 20px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items:center;
}

.navbar .main-menu ul {
    display: flex;
}

.navbar ul li a {
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    transition: 0.5s;
}

.navbar ul li a:hover {
    color: var(--primary-color)
}

.navbar ul li a i {
    margin-right: 10px;
}

.navbar ul li:last-child a {
    margin-left: 10px
}

/* About Section */

.about-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
  }
  
  .container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .about-heading {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .entry {
    margin-bottom: 25px;
  }
  
  .institution {
    font-style: italic;
    color: #666;
    margin-bottom: 5px;
  }
  
  ul {
    list-style-type: disc;
    margin-left: 20px;
  }
  
  .experience ul li {
    margin-bottom: 8px;
  }
  
  .supervisor-list-to-do a {
    color: #0077cc;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
  }
  
  .supervisor-list a:hover {
    color: #005fa3;
    text-decoration: underline;
  }

  .supervisor-list a {
    color: #0077cc;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
  }
  
  .supervisor-list a:hover {
    color: #005fa3;
    text-decoration: underline;
  }

.main-menu ul {
list-style: none;      /* Removes bullets */
padding: 0;            /* Optional: removes default padding */
margin: 0;             /* Optional: removes default margin */
display: flex;         /* Makes the nav horizontal */
gap: 20px;             /* Optional: spacing between nav items */
}

.main-menu li {
list-style: none;      /* Extra safety */
}
  
.intro-box {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: #444;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
  }

  .date {
    font-size: 0.9em;
    color: gray;
    margin-bottom: 10px;
  }
  

/* Hero */
.hero {
    margin-bottom: 50px;
}

.hero .hero-content {
    width: 70%
}

.hero .hero-text {
    width: 70%;
    margin-bottom: 20px;
}

.hero-background {
    background: url('../images/team_csm.JPG') no-repeat center bottom;
    background-size: contain;
    height: 400px; /* adjust as needed */
    margin-top: 40px;
  }

/* Video */
.video {
    padding: 10px 0 40px;
}

.video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-preview {
    margin-bottom: 20px;
}

/* Utility Classes */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Gallery */
.gallery {
    margin-bottom: 50px;
}

.gallery .gallery-content {
    width: 70%
}

.hero .gallery-text {
    width: 70%;
    margin-bottom: 20px;
}

.poster-img {
  display: block;
  margin: 0 auto 15px;
  max-width: 80%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Poster sessions */
.poster-button {
text-align: center;     
padding-top: 20px;   
}

.poster-content {
  text-align: center;
  margin: 40px auto;
  max-width: 600px;
}
  
.poster-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px 0 8px;  /* tighter spacing above/below */
  color: #333;
}

.poster-meta {
  font-style: italic;
  color: #666;
  margin: 0 0 15px; /* ensures equal spacing before button */
  font-size: 0.95rem;
}

.text-center {
    text-align: center;
}


/* Contact section */

.contact {
    padding: 60px 20px;
    background-color: #000;
    color: #fff;
  }
  
  .contact-heading {
    margin-bottom: 30px;
  }
  
  .contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .contact-text {
    color: #ccc;
    font-size: 1.1rem;
  }
  
  .btn.btn-primary {
    background-color: #007BFF;
    color: #fff;
    padding: 6px 6px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  
  .btn.btn-primary:hover {
    background-color: #0056b3;
  }
  

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 20px;
    background: var(--light-color);
    color: #333;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-dark {
    background: var(--dark-color);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Text Classes */
.text-xxl {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 40px 0 20px;
}

.text-xl {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 40px 0 20px;
}

.text-lg {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 30px 0 20px;
}


.text-md {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0 10px;
}

.text-sm {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
}

.text-sm {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
}

/* Background */
.bg-primary {
    background: var(--primary-color);
    color: #fff;
}

.bg-light {
    background: var(--light-color);
    color: #333;
}

.bg-dark {
    background: var(--dark-color);
    color: #fff;
}

.bg-black {
    background: #000;
    color: #fff;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  margin-right: 20px;
  border-radius: 6px; /* optional */
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 2.2rem;   /* large bold name */
  font-weight: 700;
  margin: 0;
  color: #111;
  font-family: 'Poppins', sans-serif;
}

.logo-subtitle {
  font-size: 1rem;     /* smaller than name */
  font-weight: 400;
  margin: 4px 0;
  color: #555;
  font-family: 'Poppins', sans-serif;
}

.logo-linkedin {
  color: #0a66c2;       /* LinkedIn blue */
  text-decoration: none;
}

.logo-linkedin:hover {
  text-decoration: underline;
}

