/* Reset default margins */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Basic font and background */
body {
  font-family: "bookman old style", Verdana, Geneva, Tahoma, sans-serif;
  background: #f5f7fa;
  color: #333333;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  text-align: center;
  padding: 15px 20px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
}

.header-top .title {
  flex-grow: 1;
  text-align: center;
}

.logo-group {
  display: flex;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 5px;
  gap: 10px;
}

.logo-group img {
  max-height: 500px;
  width: 170px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-group img:hover {
  transform: scale(1);
  opacity: 0.9;
}

.logo-group-others img {
  transition: transform 0.5s ease;
  margin-bottom: -45px;
  margin-top: -40px;
}

.header .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: fit-content;
  flex-wrap: nowrap;
  margin-top: 0px;
}

.header .title .conference-logo {
  max-height: 80px;
  width: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.header .title .conference-logo:hover {
  transform: scale(1.1);
}

.header .title h1 {
  margin-top: 5px;
  margin-bottom: 0px;
  font-size: 2.2rem;
  color: #6e007f;
  font-weight: 700;
  line-height: 1.2;
}

.header .title h2 {
  margin-top: 10px;
    margin-bottom: 10px;
  font-size: 2.2rem;
  color: #666666;
  font-weight: 500;
}

.divider {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 15px auto;
  max-width: 90%;
}

.event-details {
    font-family: "arial narrow";
    margin-top: 15px;
    margin-right: 0;
    margin-bottom: 10px;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #08666f;
}

.event-details p {
  margin: 5px 0;
  font-weight: 500;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: center;
  background: #ffa500;
  padding: 14px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ff6f61;
}

.navbar a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #00467f;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  color: white;
  font: inherit;
  cursor: pointer;
  padding: 0 16px;
  text-decoration: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(58, 12, 163, 0.15);
  z-index: 1000;
  border: 1px solid #3a0ca3;
}

.dropdown-content a {
  color: #3a0ca3;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  background: none;
}

.dropdown-content a:hover {
  background-color: #e0e7ff;
  color: #17191b;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  background: #00467f;
  color: #ffffff;
  white-space: nowrap;
  padding: 10px 0;
  min-height: 30px;
  z-index: 5;
}

.ticker {
  display: inline-block;
  animation: scroll-left 20s linear infinite;
}

.ticker span {
  display: inline-block;
  padding: 0 40px;
  font-size: 1.15rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ticker:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Attractions Container */
.attractions-container {
  flex: 1 0 auto;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Why Visit Section */
.why-visit {
  background: linear-gradient(135deg, #f5f7fa, #ffffff);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(0, 70, 127, 0.1);
  text-align: center;
}

.why-visit h2 {
  color: #00467f;
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.why-visit h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #ffa500;
  margin: 10px auto;
  transition: width 0.3s ease;
}

.why-visit:hover h2::after {
  width: 70px;
}

.why-visit p {
  font-size: 1.1rem;
  color: #444444;
  line-height: 1.6;
}

/* Attraction Cards */
.attraction-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.card {
  background: linear-gradient(135deg, #f5f7fa, #ffffff);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 70, 127, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  min-height: 350px; /* Increased to accommodate image */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 70, 127, 0.15);
}

.card h3 {
  color: #00467f;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.card p {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.card a {
  color: #00467f;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.card a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: #ffa500;
  transition: width 0.3s ease;
}

.card a:hover {
  color: #ff6f61;
}

.card a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .attraction-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .card {
    min-height: 320px;
  }
  .card img {
    height: 130px;
  }
  .card h3 {
    font-size: 1.4rem;
  }
  .card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .attractions-container {
    padding: 20px;
  }
  .why-visit {
    padding: 20px;
  }
  .why-visit h2 {
    font-size: 1.8rem;
  }
  .why-visit p {
    font-size: 1rem;
  }
  .card {
    padding: 15px;
    min-height: 300px;
  }
  .card img {
    height: 120px;
  }
  .card h3 {
    font-size: 1.3rem;
  }
  .card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .attractions-container {
    padding: 10px;
  }
  .why-visit {
    padding: 15px;
  }
  .why-visit h2 {
    font-size: 1.5rem;
  }
  .why-visit p {
    font-size: 0.9rem;
  }
  .attraction-cards {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 280px;
    padding: 10px;
  }
  .card img {
    height: 100px;
  }
  .card h3 {
    font-size: 1.2rem;
  }
  .card p {
    font-size: 0.85rem;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

footer {
  background: #2b2d42;
  color: white;
  text-align: center;
  padding: 25px 0;
  font-size: 1rem;
}