:root {
  --header-bg: #1f6f84;
  --nav-bg: #244e58;
  --accent: #8fb3c1;
  --text-dark: #2f2f2f;
  --text-muted: #6f6f6f;
  --bg-light: #f7f8fa;
  --white: #ffffff;
  --border: #e3e6ea;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.site-header {
  background-color: var(--header-bg);
  color: var(--white);
  padding: 18px 16px;
}

.header-inner {
  max-width: 1200px;
  text-align: center;
}

.header-institute {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.header-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 2px;
}

.header-subtitle {
  font-size: 16px;
  margin-bottom: 4px;
}

.header-date {
  font-size: 15px;
  opacity: 0.9;
}

.top-nav {
  background-color: var(--nav-bg);
}

.nav-list {
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  align-items: center;
}
.nav-list > li {
  position: relative;
}

.top-nav ul li a {
  display: block;
  padding: 10px 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
}

.top-nav ul li a:hover,
.top-nav ul li a.active,
.dropdown-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 3px solid var(--accent);
}

.content {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 16px;
}

.card-box {
  background-color: var(--white);
  border-radius: 6px;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.card-box p {
  font-size: 16px;
  margin-bottom: 12px;
}
.card-box ul {
  font-size: 16px;
}
.card-box h3 {
  font-size: 18px;
  font-weight: 500;
}

.page-header h1 {
  font-size: 20px;
}

.track-list {
  margin: 8px 0 18px 20px;
  padding: 0;
}

.track-list li {
  font-size: 16px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.card-box h4 {
  margin-top: 22px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 600;
}
.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 15px;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;

  min-width: 240px;
  background-color: var(--nav-bg);

  list-style: none;
  padding: 6px 0;
  margin: 0;

  display: none;
  z-index: 1000;

  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.dropdown-list li a {
  padding: 10px 16px;
  font-size: 18px;
}

.has-dropdown.open .dropdown-list {
  display: block;
}

.has-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-list a.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.dropdown-btn:focus {
  outline: none;
  box-shadow: none;
}

.dropdown-btn {
  background: none;
  border: none;
  outline: none;

  color: #ffffff;
  font-family: inherit;
  font-size: 16px;

  padding: 10px 12px;
  cursor: pointer;

  display: flex;
  align-items: center;
}

.content img.circular-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 12px auto;
  border: 4px solid var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;

  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 10px;
  text-align: center;
}

.speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.speaker-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 6px 0 6px;
  color: #1f2d3d;
}

.speaker-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  max-width: 260px;
}

.important-dates {
  background-color: #ffffff;
  border-left: 4px solid #4f8fa3;
  border-radius: 8px;

  padding: 18px 20px;
  max-width: 320px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.important-dates h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #1f2d3d;
}

.important-dates ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.important-dates li {
  margin-bottom: 14px;
}

.date-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2f5d87;
}

.date-value {
  display: block;
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}
.home-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;

  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-image {
    height: 260px;
  }
}

.content {
  width: 100%;
}

@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .important-dates {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .home-layout {
    grid-template-columns: 1fr;
  }

  .important-dates {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .content img.circular-img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .tracks-table {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .header-title {
    font-size: 20px;
  }

  .header-subtitle {
    font-size: 13.5px;
  }

  .top-nav ul {
    flex-direction: column;
  }

  .top-nav ul li a {
    padding: 10px 16px;
  }

  .content {
    margin: 20px auto;
  }
}

/* .site-header {
  background-color: #2a6f80;
  padding: 18px 15px;
} */
.site-header {
  background-color: #2a6f80;
  padding: 22px 16px;
}
.header-container {
  max-width: 1280px;
  margin: 0 auto;

  display: flex;
  align-items: center; /* vertical centering */
  justify-content: space-between;
}

/* .header-container {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
} */

/* .header-logo {
  flex: 0 0 auto;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.left-logo img {
  max-width: 150px;
}

.right-logo img {
  max-width: 100px;
} */

.header-logo {
  display: flex;
  align-items: center;
}

.left-logo img {
  max-width: 150px;
  transform: scale(1.4);
  transform-origin: left center;
}

.right-logo img {
  max-width: 100px;
  transform: scale(1.5);
  transform-origin: right center;
}
.header-logo img {
  height: auto;
}

/* .header-center {
  flex: 1;
  text-align: center;
  color: #ffffff;
  margin-top: -40px;
} */
.header-center {
  flex: 1;
  text-align: center;
  color: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* vertical centering */
}

.header-institute {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.header-title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 6px;
}

.header-subtitle {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.header-date {
  font-size: 16px;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .header-title {
    font-size: 26px;
  }

  .header-subtitle {
    font-size: 15px;
  }

  .left-logo img {
    max-width: 150px;
  }
  .right-logo img {
    max-width: 90px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 10px 12px;
  }

  /* Force equal-width logo columns */
  .header-container {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo-left logo-right"
      "content content";
    row-gap: 6px;
    align-items: center;
    margin-top: -40px;
    text-align: center;
  }

  .left-logo {
    grid-area: logo-left;
    display: flex;
    justify-content: flex-start; /* 🔥 edge aligned */
  }

  .right-logo {
    grid-area: logo-right;
    display: flex;
    justify-content: flex-end; /* 🔥 edge aligned */
  }

  /* Kill desktop transform safely */
  .left-logo img,
  .right-logo img {
    transform: none !important;
  }

  /* Balanced mobile logo size */
  .left-logo img {
    max-width: 110px;
  }

  .right-logo img {
    max-width: 100px;
  }

  /* Center text cleanly */
  .header-center {
    grid-area: content;
    margin-top: -40px;
    padding-top: 4px;
  }

  .header-institute {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .header-title {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .header-subtitle {
    font-size: 13.5px;
    line-height: 1.4;
    margin-bottom: 4px;
  }

  .header-date {
    font-size: 12.5px;
  }
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    padding: 12px 16px;
    cursor: pointer;
  }

  .top-nav {
    position: relative;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background: #2f4f56;
    width: 100%;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-list a,
  .dropdown-btn {
    width: 100%;
    padding: 14px;
    color: #fff;
  }

  .dropdown-list {
    display: none;
    background: #3a6169;
  }

  .nav-item.open .dropdown-list {
    display: block;
  }
}
.gallery-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f7f8;
}

.gallery-container img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 32px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.nav-btn.left {
  left: 15px;
}

.nav-btn.right {
  right: 15px;
}

@media (max-width: 768px) {
  .gallery-container img {
    height: 250px;
  }

  .nav-btn {
    font-size: 24px;
    padding: 8px 12px;
  }
}
.card-box-contact {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}
.card-box-contact a {
  word-break: break-all;
  overflow-wrap: anywhere;
  text-decoration: underline;
}
.card-box-contact a {
  color: #2c6e7e;
  font-weight: 500;
}

@media (max-width: 600px) {
  .card-box-contact {
    font-size: 15px;
    line-height: 1.5;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 30px;
  align-items: stretch;
}

.card-box-map {
  padding: 0;
  overflow: hidden;
  display: flex;
}

.card-box-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-box-map {
    height: 320px;
  }
}

.tracks-hero {
  width: 100%;
  height: 55vh;
  overflow: hidden;
}

.tracks-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tracks-content {
  padding: 60px 20px;
}

.tracks-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.tracks-text h4 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #1f2d3d;
}

.track-list {
  margin-left: 18px;
  line-height: 1.7;
}

.tracks-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 120px;
}

.tracks-images img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .tracks-hero {
    height: 35vh;
  }

  .tracks-wrapper {
    grid-template-columns: 1fr;
  }

  .tracks-images {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tracks-images img {
    width: 48%;
  }
}
