/* font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans","Bitstream Vera Sans","Liberation Sans",Verdana,"Verdana Ref",sans-serif; */
.head {
  width: 100%;
  display: flex;
  justify-content: space-between; /* Distribute space evenly between divs */
  align-items: center;
  background-color: #ffffff;
  padding: 5px;
}

* {
  box-sizing: border-box;

}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
    padding: 0;
  font-family: Arial;
  /*padding-right: 200px;
	padding-left: 200px;*/
  margin: auto;
  width: 100%;
  max-width: 1100px;
  background: #999999;
  /* padding-top: 15px; */
}

.confname::after {
  content: "18th Asia Pacific Signal and Information Processing Association Annual Summit and Conference";
}

.confname:link, .confname, .confname:visited {
  color: #002b57;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

/* Header/Blog Title */
.header {
  padding: 5px;
  text-align: center;
  /*background: #f4f6fb;*/
  background: white;
  color: #002b57;
}

.header h1 {
  font-size: 28px;
  font-family: Arial Narrow;
}

.header h2 {
  font-size: 20px;
  font-family: Arial Narrow;
}

.header p {
  font-size: 20px;
  font-family: Arial Narrow;
  text-align: center;
}

/* Create two unequal columns that floats next to each other */
/* Left column */

/* Add a card effect for articles */
.card {
  /*background-color: #f4f6fb;*/
  /*border-radius: 20px;*/
  /*background-image: linear-gradient(#ffffff, #ebebe0);*/
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  padding-left: 25px;
  /*font-family:Times;*/
  /* line-height: 22px; */
  font-size: 19px;
  color: #007399;
  font-family: Arial Narrow;
}

.card1 {
  background-color: white;
  padding: 20px;
  margin: 0;
  width: 100%;
}

.card_news {
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  padding-left: 10px;
  font-size: 21px;
  color: #002b57;
  font-family: Arial Narrow;
}

/* News Item Styles */
.news-item {
  background-color: #f9f9f9;
  border-left: 4px solid #0066cc;
  padding: 15px 20px;
  margin: 10px 10px;
  border-radius: 5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.news-date {
  font-size: 13px;
  color: #007399;
  font-weight: 600;
  font-family: Arial, sans-serif;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-title {
  font-size: 18px;
  color: #002b57;
  font-weight: bold;
  font-family: Arial Narrow;
  margin-bottom: 8px;
}

.news-content {
  font-size: 15px;
  color: #3d3d29;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.news-content p {
  margin: 8px 0 0 0;
}

.news-content a {
  font-weight: 600;
  text-decoration: none;
}

.news-content a:hover {
  text-decoration: underline;
}

.card_bar {
  margin-left: 10px;
  padding-left: 25px;
}

.card p {
  font-size: 16px;
  font-family: Arial;
  color: black;
}

.card h2 {
  font-size: 20px;
  color: #007399;
  font-family: Arial Narrow;
}

.card_for_important_date {
  background-color: white;
  padding: 20px 0 20px 20px;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.row {
  width: 100%;
}

/* Flexbox container for equal height columns */
.row-flex {
  display: flex;
  gap: 0;
  align-items: stretch;
  width: 100%;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
  width: auto;
}

.leftcolumn {
  width: 70%;
  background-color: white;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.rightcolumn {
  width: 30%;
  background-color: #f4f4f4;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

/* Ensure container around columns can hold */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 50px;
  text-align: center;
  background: #f4f6fb;
  margin-bottom: 20px;
}

/* navigation dropdown menu */
.navbar {
  overflow: hidden;
  background-color: #00478f;
  font-family: Arial Narrow;
  /*font-stretch: extra-condensed;*/
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 12px 12px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 12px 6px;
  font-family: inherit;
  margin: 0;
  /*font-stretch: extra-condensed;*/
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #008ae6;
  color: white;
  display: block;
}

.homebtn {
  border-right: 1px solid white;
  color: white;
}

.hilightbtn {
  border-right: 1px solid white;
  background-color: #008ae6;
}

.otherbtn {
  border-right: 1px solid white;
  background-color: #00478f;
}

.otherbtn:hover {
  background-color: #008ae6;
  color: white;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #00478f;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  max-width: 40%;
}

.dropdown-content a {
  float: none;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-family: Arial;
  font-size: 17px;
  border-bottom: 1px solid white;
  font-weight: normal;
  font-stretch: ultra-condensed;
  /* max-width: 40%; */
}

.dropdown-content a:hover {
  background-color: #008ae6;
  border-left: none;
  border-right: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.navbar a.icon {
  display: none;
}

.cover img{
  object-fit: cover;
  max-height: 500px;
  display: block;
  width: 100%;
}
.logo_left{
  display: flex;
  flex-direction: column;
  text-align-last: center;

}

.logo_top{
  display: flex;
  flex-direction: left;
  align-items: center;
}

.logo1 {
  float: left;
  margin-left: 30px;
  border: 0;
  height: auto;
  width: 220px;
}

.logo2 {
  float: right;
  margin-right: 16px;
  border: 0;
}

.logo3 .logo4 {
  float: right;
  margin-right: 16px;
  border: 0;
}

/* Css for speakers */
.speakers {
  background: #f4f6fb;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 10px;
}

.our_team {
  width: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.our_team .team_member {
  max-width: 30%;
  min-width: 30%;
  margin: 10px;
  background: #fff;
  padding: 20px 10px;
  min-height: 10%;
  border-radius: 3%;
}

.our_team .team_member .member_img {
  background: #e9e5fa;
  max-width: 190px;
  width: 100%;
  height: 200px;
  margin: 0 auto;
  /* border-radius: 50%; */
  padding: 5px;
  position: relative;
  cursor: pointer;
}

.our_team .team_member .member_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* min-height: 200px; */
}

.our_team .team_member h4 {
  padding-bottom: 10px;
  border-bottom: 2px solid #002b57;
  overflow: hidden;
  white-space: nowrap;
  text-align-last: center;
}

.ProfLau{
  margin-left: -7px;
}

.our_team .team_member .profilebtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 12px 14px;
  background-color: #00478f;
  font-family: inherit;
  margin-left: 35%;
  border-radius: 5%;
}

.our_team .team_member .profilebtn:hover {
  background: #008ae6;
}

.our_team .team_member .profilebtn a {
  color: white;
}

.our_team .team_member p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
  text-align-last: center;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the navbar (.icon) */
@media screen and (max-width: 600px) {
  /* Navigation responsive styles */
  .navbar a,
  .dropdown .dropbtn,
  .dropdown .otherbtn {
    display: none;
  }

  .navbar a.icon {
    float: right;
    display: block;
    width: 55px;
  }

  body {
    width: 100%;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  /* Restructure header for mobile display */
  .head {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2px;
  }

  /* Important: Place logos side by side on mobile with logo4 on left, logo3 on right */
  .logo_left {
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  .logo1 {
    scale: 95%;
    margin: 2px auto;
    border: 0;
    display: block;
  }

  /* Ensure these logo styles have high specificity */
  .logo_left a img.logo4 {
    scale: 95%;
    margin: 2px 5px;
    border: 0;
    width: 160px;
    height: 38px;
    order: 1; /* Place logo4 first (left) */
  }

  .logo_left a img.logo3 {
    scale: 95%;
    margin: 2px 5px;
    border: 0;
    width: 130px;
    height: 75px;
    order: 2; /* Place logo3 second (right) */
  }

  /* Center the header on mobile */
  .header {
    width: 100%;
    margin: 5px 0;
    display: block;
    color: #002b57;
    padding: 2px;
    text-align: center;
  }

  /* Title font size for mobile */
  .confname::after {
    content: "18th Asia Pacific Signal and Information Processing Association Annual Summit and Conference";
    font-size: 30px;
    font-weight: bold;
  }

  .header p {
    font-size: 18px;
    margin: 5px 0;
  }

  /* Column styles for mobile */
  .row-flex {
    display: block;
  }

  .leftcolumn, .rightcolumn {
    width: 100%;
    background-color: white;
    padding: 0;
    margin: 0;
    display: block;
  }

  .card_news {
    margin: 0;
    padding: 10px;
    width: 100%;
    background-color: white; /* Ensure consistent background */
    box-sizing: border-box;
  }

  .card {
    margin: 0;
    padding: 10px;
    width: 100%;
    background-color: white; /* Ensure consistent background */
    box-sizing: border-box;
  }

  .card_for_important_date {
    width: 100%;
    padding: 10px;
    margin: 0;
    background-color: white; /* Ensure consistent background */
    box-sizing: border-box;
  }

  /* Remove unnecessary gap between sections */
  .row {
    margin: 0;
    padding: 0;
  }

  .row::after {
    display: block;
    gap: 0;
  }

  /* Add a wrapper to ensure consistent background */
  .row .leftcolumn,
  .row .rightcolumn {
    background-color: white;
  }

  /* Responsive navbar styles */
  .navbar.responsive {
    position: relative;
  }

  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
    scale: 70%;
  }

  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .navbar.responsive .dropdown {
    float: none;
  }

  .navbar.responsive .dropdown-content {
    position: relative;
    max-width: 100%;
    display: contents;
  }

  .navbar.responsive .dropdown-content a {
    padding-left: 10%;
    font-size: medium;
    font-weight: 600;
  }

  .navbar.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }

  .navbar.responsive .dropdown .dropbtn b {
    font-weight: 900;
  }

  .navbar.responsive .otherbtn {
    border-bottom: 3px solid white;
  }

  .navbar.responsive .otherbtn b {
    font-weight: 900;
  }

  /* Mobile cover image */
  .cover {
    object-fit: cover;
    min-height: 200px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .leftcolumn {
    width: 100%; /* Ensure element occupies 90% width on mobile devices */
  }
}

/* Css for speakers */
.speakers {
  background: #f4f6fb;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 10px;
}

.our_team {
  width: auto;
  display: block;
  justify-content: center;
  flex-wrap: wrap;
}

.our_team .team_member {
  max-width: 80%;
  margin: 5px;
  background: #fff;
  padding: 20px 10px;
  min-height: 10%;
  margin-left: 10%;
}

.our_team .team_member .member_img {
  background: #e9e5fa;
  /* max-width: 190px; */
  width: 100%;
  height: 210px;
  margin: 0 auto;
  /* border-radius: 50%; */
  padding: 5px;
  position: relative;
  cursor: pointer;
}

.our_team .team_member .member_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* min-height: 200px; */
}

.our_team .team_member h4 {
  padding-bottom: 10px;
  border-bottom: 2px solid #002b57;
}

.ProfLau{
  margin-left: 0px;
}

.our_team .team_member .profilebtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 12px 14px;
  background-color: #00478f;
  font-family: inherit;
  margin-left: 35%;
}

.our_team .team_member p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
  text-align-last: center;
}

.singlecolumn {
  font-family: Arial;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.singlecolumn p {
  margin-bottom: 15px;
  text-align: left;
}

.intro-section {
  padding: 10px;
}

.intro-section h3 {
  color: #00478f;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
  margin-top: 25px;
  font-family: Arial Narrow;
}

.intro-section h3 i {
  margin-right: 10px;
  color: #008ae6;
}

.intro-section p {
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.6;
}

.intro-section a {
  color: #008ae6;
  text-decoration: none;
  font-weight: bold;
}

.intro-section a:hover {
  text-decoration: underline;
}

.feature-boxes {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  flex-wrap: wrap;
}

.feature-box {
  background-color: #f5f5f5;
  border-radius: 5px;
  padding: 20px;
  width: 30%;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-box i {
  color: #00478f;
  margin-bottom: 15px;
}

.feature-box h4 {
  color: #00478f;
  margin-bottom: 10px;
  font-family: Arial Narrow;
}

.feature-box p {
  font-size: 14px;
  margin: 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .feature-box {
    width: 100%;
    margin-bottom: 15px;
  }

  .feature-boxes {
    flex-direction: column;
  }
}