.video-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
  }

  .video-popup video {
    width: 100%;
    border-radius: 8px;
  }

  .close-video {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
  }

  button {
    border-radius: 0 !important;
    color: black;
    padding: 17px 1px 19px 9px;
    cursor: pointer !important;
    font-size: 15px !important;
    font-weight: bold !important;
    line-height: 0 !important;
  }

  .action-buttons {
    margin-top: 10px;

    text-align: justify;
  }

  .close-video:hover {
    transform: scale(1.2);
  }

  .blink-new {
    font-weight: bold;
    margin-left: 5px;
    animation: blink-color 1s infinite;
  }

  .wrap-1 {
    flex-wrap: wrap;
  }

  .wrap-1 .card-3-1 {
    margin-bottom: 14px;
  }

  @keyframes blink-color {
    0% {
      color: red;
    }

    50% {
      color: yellow;
    }

    100% {
      color: red;
    }
  }
  .footer-app {
    flex: 1;
    min-width: 180px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-app .footer-btn-2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-right {
    text-align: right;
}

.footer-right .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 768px) {
    .footer-app,
    .footer-right {
        margin-top: 20px;
        text-align: center;
    }

    .footer-right .social-icons {
        justify-content: center;
    }
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px; /* increase/decrease this to taste */
}

.footer-left,
.footer-middle,
.footer-app,
.footer-right {
    flex: 1;
}

.app-store-icons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap; /* prevents overflow on narrow screens */
}

.app-store-icons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ff8c00;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.app-store-icons a i {
    font-size: 18px;
}

.app-store-icons a:hover {
    background-color: #e67e00;
    color: #fff;
}

.ost-section h2 { text-align: center; margin-bottom: 20px; }

.ost-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;   /* was flex-start — now both boxes match height */
  justify-content:center;
  gap: 20px;
  margin-bottom: 20px;
}

.ost-group {
  background: #f4f4f4;
  border-radius: 4px;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.ost-group h4 {
  color: #f8931f;
  font-weight: 600;
  text-align: center;
  margin: 0 0 12px;
}

.ost-cardrow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: start;
  gap: 15px;
  flex-grow: 1;   /* lets the card row fill any extra vertical space in the taller box */
}

.ost-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  width: 250px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.ost-card img {
  display: block;
  width: 100%;
  /* height: 150px; */
  object-fit: cover;
  margin-bottom: 8px;
  flex-shrink: 0;   /* keep photo height fixed even as card stretches */
}


.ost-card h3 {
  color: #1a3c6e;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}
.ost-card p {
  font-size: 13px;
  color: #333;
  margin: 0;
  line-height: 1.35;
  flex-grow: 1;     /* text area fills remaining card height so bottoms align */
}

/* Plenary top row: 3 Nobel laureates in a single row */
.plenary-top {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: space-between;
}
.plenary-top .obj-box {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
  padding: 20px !important;
}
.plenary-top .obj-box img {
  max-width: 100%;
  height: auto;
}
.plenary-top .obj-box h2 {
  font-size: 18px;
  margin-top: 12px;
}
.plenary-top .obj-box h6 {
  font-size: 13px;
  line-height: 1.4;
  margin-top: 6px;
}
.plenary-top .obj-box p {
  font-size: 14px;
  line-height: 1.55;
  margin-top: 12px;
}
/* Plenary speakers: same photo size for every card */
.accordion-sec .obj-main.comp-sec .obj-box > img {
  width: 220px;
  height: 260px;
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
}
@media screen and (max-width: 991px) {
  .plenary-top { flex-wrap: wrap; }
  .plenary-top .obj-box { flex: 1 1 calc(50% - 20px); }
}
@media screen and (max-width: 600px) {
  .plenary-top { display: block; }
  .plenary-top .obj-box { width: 100%; margin-bottom: 15px !important; }
}
