.nav-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section h2 {
    text-align: center;                
    font-size: 2rem;                   
    font-weight: bold;                 
    border-bottom: 3px solid #004f9f;  
    padding-bottom: 0.3rem;            
    margin: 2rem auto 1.5rem auto;     
    display: table;                    
}

.register-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1ca64d;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin: 2rem auto;
    text-align: center;
}

.register-btn:hover {
    background-color: #158539;
}

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

.event-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.event-details div {
    flex: 1;
    min-width: 200px;
}

.event-details i {
    font-size: 2rem;
    color: #004f9f;
    margin-bottom: 0.5rem;
}

.homepage-sponsors {
    display: grid;
    gap: 1rem;
    margin: 0.75rem 0 1.5rem;
}

.sponsor-tier {
    border: 1px solid #e0e6ef;
    border-top: 4px solid #004f9f;
    border-radius: 8px;
    padding: 0.9rem;
    background: #ffffff;
}

.sponsor-tier h3 {
    margin: 0 0 0.9rem;
    text-align: center;
    color: #004f9f;
}

.sponsor-tier-gold {
    border-top-color: #c49a2c;
}

.sponsor-tier-silver {
    border-top-color: #9aa7b4;
}

.sponsor-tier-bronze {
    border-top-color: #b47b4a;
}

.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.sponsor-card {
    width: 220px;
    min-height: 128px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
    color: #333333;
    font-weight: 700;
    overflow: hidden;
}

.sponsor-card:hover {
    text-decoration: none;
}

.sponsor-logo {
    display: block;
    width: 170px;
    height: 82px;
    object-fit: contain;
}

.sponsor-logo-r12 {
    transform: scale(1.2);
}

.sponsor-logo-wie {
    transform: scale(1.08);
}

.sponsor-logo-mks,
.sponsor-logo-aess,
.sponsor-logo-tems {
    transform: scale(0.86);
}

.sponsor-logo-bu {
    transform: scale(1.18);
}

.sponsor-card-text span {
    line-height: 1.3;
    font-size: 1.05rem;
    max-width: 240px;
}

nav {
    background-color: #004f9f;
    padding: 0.5rem 1rem;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
}

nav a:hover {
    text-decoration: underline;
}

nav a[aria-current="page"] {
    text-decoration: underline;
}
body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

header {
    background-color: #004f9f; /* IEEE Blue */
    color: white;
    padding: 1rem 2rem;
    text-align: center;
}

header img {
    max-height: 150px;
    height: auto;
    width: auto;
    max-width: 80%; /* makes it responsive on small screens */
    display: block;
    margin: 0 auto 10px auto; /* center it */
}

.about-partners {
    text-align: center;
    margin: 1rem 0 1.2rem 0;
}

.partner-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
    padding: 0.45rem 0.8rem;
    background: #ffffff;
    border: 1px solid #e0e6ef;
    border-radius: 6px;
}

.partner-lockup img {
    max-height: 46px;
    max-width: 150px;
    margin: 0;
}

.partner-lockup span {
    width: 1px;
    height: 38px;
    background: #d8d8d8;
}

header h1 {
    font-size: 2rem;
    margin: 0.5rem 0;
}

header p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

.partner-kicker {
    margin: 0 0 0.35rem 0;
    color: #5f6f82;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.highlight {
    color: #1ca64d; /* green to match logo */
    font-weight: bold;
}

.section {
    margin-bottom: 0.5rem;
}

footer {
    background-color: #f5f5f5;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

a {
    color: #004f9f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    header img {
        max-height: 80px;
    }

    .partner-lockup {
        gap: 0.65rem;
        padding: 0.35rem 0.55rem;
    }

    .partner-lockup img {
        max-height: 34px;
        max-width: 96px;
    }

    .partner-lockup span {
        height: 28px;
    }

    .container {
        padding: 0 0.5rem;
    }
}


  
h2, h3 {
    margin: 0.5em 0;
}
  
ul {
    margin: 0.5em 0;
    padding-left: 1.2em;
}
  
li {
    margin-bottom: 0.3em;
}
  
#map {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.travel-table {
    margin: 1rem auto; /* top/bottom spacing + center alignment */
    width: 80%;
    border-collapse: collapse;
  }
  
  .travel-table th, .travel-table td {
    border: 1px solid #ddd;
    padding: 0.5em;
    text-align: left;
  }
  
  .travel-table thead {
    background-color: #f3f3f3;
  }
  
  .travel-table tr:nth-child(even) {
    background-color: #fafafa;
  }
  
  .leaflet-tooltip.hotel-tooltip {
    background-color: transparent;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .summit-map-marker span {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  }

  .bus-route-label span {
    display: block;
    min-width: 24px;
    padding: 1px 4px;
    border-radius: 4px;
    background: #f2c94c;
    color: #111111;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
  }

  .green-line-label span {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1ca64d;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
  }
  
  .nav-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
   #map {
          height: 70vh;
          width: 100%;
          max-height: 600px;
        }
        body {
          margin: 0;
          font-family: sans-serif;
        }
        h2 {
          text-align: center;
          margin: 1rem 0;
        }
        .icon-label {
          font-weight: bold;
          font-size: 14px;
          color: white;
          text-align: center;
          line-height: 28px;
        }
		
		.speaker-card {
    background-color: #f7f9fc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.speaker-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.speaker-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
    color: #004f9f;
}

.speaker-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.speaker-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1ca64d;
    margin-bottom: 0.5rem;
}

.speaker-card .abstract p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.nav-container a,
.nav-container .dropbtn {
  text-decoration: none;
  color: white;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 8px 10px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-radius: 8px;
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #111;
}

.dropdown-content a:hover {
  background: #f3f3f3;
}

.dropdown:hover .dropdown-content {
  display: block;
}
