body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  border-bottom: 3px solid #e0e0e0;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  background-color: #fff;
}

.logo {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav li {
  padding: 8px 12px;
  font-weight: bold;
  color: #003366;
  cursor: pointer;
}

nav li.active {
  background-color: #f2f2f2;
  border-radius: 4px;
}

.banner {
  background: url('banner.jpg') no-repeat center center;
  background-size: cover;
  width: 100% 250px ;
  min-height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.banner h1 {
  font-size: 5vw;
  font-weight: 700;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 1px 1px 4px black;
}

.library-tabs {
  display: flex;
  justify-content: center;
  background-color: #f4f4f4;
  border-bottom: 2px solid #e0e0e0;
}

.library-tabs a {
  padding: 10px 20px;
  margin: 0 5px;
  color: #003366;
  font-weight: bold;
}

.library-tabs a.active {
  border-bottom: 3px solid #003366;
}

.section-title {
  text-align: center;
  font-size: 24px;
  margin: 30px 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 40px 40px;
}

.item {
  text-align: center;
}

.item img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #ccc;
  transition: transform 0.3s;
  object-fit: cover;
}

.item img:hover {
  transform: scale(1.02);
}

.item p {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 500;
}

.pagination {
  text-align: center;
  margin-bottom: 40px;
}

.page {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.page.active {
  background-color: #003366;
  color: white;
}

footer {
  background-color: #f5f5f5;
  padding: 30px 40px;
  font-size: 14px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.column {
  flex: 1 1 220px;
}

.column h3 {
  font-size: 16px;
  color: #003366;
  margin-bottom: 10px;
}

.column p {
  margin: 4px 0;
}

.column img {
  height: 50px;
  margin-right: 10px;
}

copyright {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid #ccc;
  font-size: 13px;
}

.zalo-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  transition: all 0.3 ease;
}

.zalo-float img {
  width: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.call-now-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  text-decoration: none;
  background-color: #0080c0;
  color: white;
  border-radius: 30px;
  padding: 10px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  font-weight: bold;
}

.call-now-button img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.phone-animation {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: rgba(0, 128, 192, 0.2);
  border-radius: 50%;
  animation: ripple 1.6s infinite ease-out;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
}

@keyframes ripple {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-50%) scale(2.5);
    opacity: 0;
  }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    padding: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .banner h1 {
    font-size: 7vw;
    top: 40%;
  }

  .gallery {
    padding: 0 20px 20px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 10px;
  }

  .call-now-button, .zalo-float {
    width: 50px;
    height: 50px;
    padding: 8px 12px;
  }

  .call-now-button img {
    width: 20px;
    height: 20px;
  }

  .call-now-button span {
    display: none;
  }
}