/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: clamp(12px, 2vh, 48px)
}

html {
    scroll-behavior: smooth;
  }

body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
}



/* Container for content */
.container {
    width: 85%;
    max-width: 1800px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #1f1f1f;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 1em;
    color: #fff;
}

header p {
    color: #ccc;
}


/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(51, 51, 51, 0.5); /* Half-transparent background */
    z-index: 10;
    padding: 0.3rem 0.53em;
    backdrop-filter: blur(0.1rem); /* Optional: Adds a blur effect for better visuals */
}

/* Flex container for logo, title, and navbar links */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 0.2rem;
}

/* Logo and Title Section */
.logo-title {
    display: flex;
    align-items: center;
    gap: 0.8rem; /* Space between the logo and the title */
}

.logo {
    width: 5rem; /* Adjust logo size */
    height: auto;
}

.title {
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    margin: 0; /* Remove default margin */
}

.navbar ul {
    display: flex;
    justify-content: flex-start; /* Items take space as needed */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Ensure no overflow */
}

.navbar ul li {
    margin: 0 0.5rem;
}

.navbar ul li a {
    font-size: 0.8rem; /* Responsive font size */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease; /* Smooth hover effect */
}

.navbar ul li a:hover {
    color: #ffd700;
}


/* Dropdown Button */
.dropbtn {
    background-color:rgba(51, 51, 51, 0.5);
    color: white;
    padding: 0.5rem;
    font-size: 0.5rem;
    border: none;
    cursor: pointer;
  }
  
  /* Dropdown button on hover & focus */
  .dropbtn:hover, .dropbtn:focus {
    background-color: #91969a;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: sticky;
    background-color: #f1f1f1;
    min-width: 4rem;
    box-shadow: 0px 0.3rem 0.7rem 0px rgba(0,0,0,0.2);
    z-index: 1;
    overflow: auto;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 0.5rem 0.6rem;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #ddd;}
  
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {display:block;}

/* Cover section */
.cover {
    position: relative;
    width: 100%;
}

.cover img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures the image covers the container without distortion */
}


.cover-text {
    position: absolute;
    text-align: center;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    /* max-width: 100%; Ensure title has enough space to wrap into two lines */
}

.cover-scroll-button {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin-top: 2rem;
    background-color: #1D3C5E; /*#ffcc00a8;*/
    color: rgb(255, 255, 255);
    font-size: 0.8rem;
    border: none;
    border-radius: 0.4rem;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0.2rem 0.4rem rgba(0,0,0,1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.cover-scroll-button:hover {
background-color: #FF5E3A; /*#00b0e1*/
transform: translateY(-2px);
}

/* Section styles */
.section {
    padding: 2rem 0;
    font-size: 1rem;
}

.section h1 {
    text-align: center;
    padding-bottom: 2%;
    font-size: 1.8rem;
    color: #fcb500;
}

.section h3 {
    font-size: 1.2rem;
    padding-bottom: 0.8rem;
}

.section ul {
    padding-left: 1rem;
}

.section a:link {
    color: #00a0fc;
    background-color: transparent;
    text-decoration: none;
}

.cfp-button-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}


.fancy-button {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: #ffffff !important;
    font-size: 1.2rem;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.fancy-button:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
.section a:visited {
    color: #00a0fc;
    background-color: transparent;
    text-decoration: none;
}
.section a:hover {
    color: #00a0fc;
    background-color: transparent;
    text-decoration: underline;
}
.section a:active {
    color: blue;
    background-color: transparent;
    text-decoration: underline;
}

.wrapper{
    width: 100%;
    justify-items: center;
}
.sessions{
border-radius: 12px;
position: relative;
}
.sessions li{
list-style: none;
padding-bottom: 1.5rem;
border-left: 0.1rem solid #abaaed;
position: relative;
padding-left: 2rem;
margin-left: 1rem;
&:last-child{
    border: 0px;
    padding-bottom: 0;
}
&:before{
    content: '';
    width: 1rem;
    height: 1rem;
    background: white;
    border: 0.1rem solid #4e5ed3;
    box-shadow: 0.2rem 0.2rem 0px #bab5f8;
    border-radius: 50%;
    position: absolute;
    left: -0.65rem;
    top: 0px;
}
}

.sessions li:nth-child(-n+6)::before {
    content: '';                         /* 1 — make the pseudo-element exist   */
  width: 1.4rem;                       /* 2 — give it its own box            */
  height: 1.4rem;
  background-image: url('resources/checkmark.png');  /* 3 — set your image   */
  background-size: contain;            /* 4 — scale it to the box            */
  background-repeat: no-repeat;
  background-position: center;

  /* neutralise the hollow-dot decoration we added earlier */
  border: none;
  box-shadow: none;
}



.time{
color: #2a2839;
font-family: 'Poppins', sans-serif;
font-weight: 500;
@include mobile-and-up{
    font-size: .9rem;
}
@include mobile-only{
    margin-bottom: .3rem;
    font-size: 0.85rem;
}

}
.sessions p{
color: #4f4f4f;
    font-family: sans-serif;
line-height: 1.5;
margin-top:0.4rem;
@include mobile-only{
    font-size: .9rem;
}
}


.table_component {
    overflow: auto;
    width: 90%;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
}

.table_component table {
    border: 1px solid #dededf;
    height: 100%;
    width: 80%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 1px;
    text-align: left;
}

.table_component a:link {
    color: #000;
    background-color: transparent;
    text-decoration: none;
}

.table_component a:visited {
    color: #000;
    background-color: transparent;
    text-decoration: none;
  }

.table_component a:hover {
    color: #000;
    background-color: transparent;
    text-decoration: underline;
}

.table_component caption {
    caption-side: top;
    text-align: left;
}

.table_component th {
    border: 1px solid #dededf;
    background-color: #d4d4d4;
    color: #000000;
    padding-left: 0.8em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-right: 0.8em;
}

.table_component td {
    border: 1px solid #dededf;
    padding-left: 0.8em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-right: 0.8em;
}

.table_component tr:nth-child(even) td {
    background-color: #eceff1;
    color: #000000;
}

.table_component tr:nth-child(odd) td {
    background-color: #ffffff;
    color: #000000;
}


/* Committee section */

.committee-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 4 columns */
    gap: 2rem; /* Space between grid items */
    text-align: center;
}

/* Style for individual committee members */
.committee-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem; /* less rounded */
    box-shadow: 0 0.2rem 0.4rem rgba(0,0,0,0.08);
    padding: 1rem 0.5rem; /* less padding */
    max-width: 250px;     /* set a max width */
    margin: 0 auto;       /* center in grid cell */
    background: #fff;     /* optional: white background */
}

/* Profile image styling */
.profile-img {
    width: 90%;  /* Make the image fill the container */
    height: 90%;
    padding-bottom: 0%; /* Aspect ratio of 1:1 (square) */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.8rem;
    max-width: 10rem;  /* Ensure a max size */
}

.committee-member a:link {
    color: #000;
    background-color: transparent;
    text-decoration: none;
}
.committee-member a:visited {
    color: #000;
    background-color: transparent;
    text-decoration: none;
}
.committee-member a:hover {
    color: #000;
    background-color: transparent;
    text-decoration: underline;
}
.committee-member a:active {
    color: blue;
    background-color: transparent;
    text-decoration: underline;
}

/* A minimalist, responsive treatment */
.sponsors {
    text-align: center;
    padding-block: 2rem;
  }
  
  .sponsors__heading {
    font-size: clamp(1.25rem, 2.5vw + .5rem, 1.75rem);
    margin-bottom: 1rem;
  }
  
  .sponsors__logo img {
    height: 4rem;   /* scales up to 200 px on large screens */
    padding-top: 1rem;
    width: auto;                       /* preserve aspect ratio */
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / .15)); /* subtle lift */
    transition: transform .2s;
  }
  
  .sponsors__logo:hover img,
  .sponsors__logo:focus img {
    transform: scale(1.05);
  }

/* Responsive design for smaller devices */
@media (max-width: 768px) {
    
    .cover-text h1 {
        font-size: 3rem; /* Responsive font size */
    }

    .cover-text p {
        padding-top: 1rem;
        font-size: 1rem; /* Responsive font size */
    }
    

    .committee-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 480px) {
    .committee-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }

    .cover-text h1 {
        font-size: 2rem; /* Responsive font size */
    }

    .cover-text p {
        padding-top: 0.8rem;
        font-size: 0.8rem; /* Responsive font size */
    }
}

@media only screen and (max-width: 480px) {
    .dropbtn {
        display: block;
    }

    .navlist {
        display: none;
    }

    .navbar {
        position: sticky;
    }
}

@media (min-width: 480px) {
    .dropbtn {
        display: none;
    }

    .dropdown-content {
        display: none;
    }

    .navlist {
        display: block;
    }
}

/* Footer */
footer {
    background-color: #1f1f1f;
    padding: 0.6rem 0;
    text-align: center;
}

footer p {
    color: #ccc;
}

.speaker-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5em 2.5em 2.5em 2em;
    margin: 2em 0;
    width: 100%;
    min-width: 0;
    gap: 2.5em;
}
  
.speaker-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
  
.speaker-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.05rem;
    color: #222;
    line-height: 1.4;
}
  
.speaker-info strong {
    font-size: 1.25rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.2em;
    /* color: #fcb500; */
}
  
.speaker-affiliation {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.7em;
    color: #111;
    letter-spacing: 0.5px;
}

.speaker-info p {
    font-size: 1.05rem;
    margin: 0;
    color: #222;
    text-align: justify;
}

.speaker-info a:visited {
    color: #000;
    background-color: transparent;
    text-decoration: none;
}

@media (max-width: 700px) {
  .speaker-card {
    flex-direction: column;
    align-items: center;
    padding: 1.5em 1em;
    gap: 1.2em;
    max-width: fit-content;
  }
  .speaker-img {
    margin-right: 0;
    margin-bottom: 1em;
  }
  .speaker-info {
    align-items: center;
    text-align: center;
  }
  .speaker-info p {
    display: block;
    margin-top: 0.7em;
  }
  .speaker-info a:link {
    color: #000;
    background-color: transparent;
    text-decoration: none;
  }
  .speaker-info a:visited {
    color: #000;
    background-color: transparent;
    text-decoration: none;
  }
  .speaker-info a:hover {
    color: #000;
    background-color: transparent;
    text-decoration: underline;
  }
}

/* @media (max-width: 700px) {
    .speaker-info p {
      display: none;
    }
  } */

.subtitle {
    font-size: 0.7rem;
    color: #4b6cb7 !important;
}

.tabs {
    display: flex;
    gap: 1em;
    margin: 1em 0 0.5em;
  }
  
  .tab-button {
    padding: 0.5em 1em;
    font-size: 0.95rem;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #333;
  }
  
  .tab-button.active {
    border-bottom: 2px solid #0073e6;
    color: #0073e6;
  }
  
  .tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  .tab-content.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .papers-list {
    margin-top: 1rem;
  }
  .paper-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .paper-item:hover {
    background-color: #eef6ff;
  }
  
  .paper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .paper-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1d3c5e;
    flex: 1;
  }
  
  .paper-type {
    background-color: #1d3c5e;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    margin-left: 1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  
  .paper-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
  }
  
  
  .paper-details p {
    margin: 0.3rem 0;
  }
  
  .paper-item.open .paper-details {
    max-height: 1000px; /* adjust if abstracts are longer */
    opacity: 1;
    margin-top: 0;
  }
  

  @media (max-width: 700px) {
    .paper-item {
      padding: 0.9rem 1rem;
    }
  
    .paper-header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .paper-title {
      font-size: 1rem;
      margin-bottom: 0.4rem;
    }
  
    .paper-type {
      font-size: 0.7rem;
      padding: 0.25rem 0.5rem;
      margin-left: 0;
      align-self: flex-start;
    }
  
    .paper-details {
      font-size: 0.9rem;
      line-height: 1.4;
    }
  
    .paper-details p {
      margin: 0.4rem 0;
    }
  
    /* Make it easier to tap */
    .paper-item {
      border-radius: 8px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
  
    .paper-item:hover {
      background-color: #f4f9ff;
    }
  }