/* PhamHoangNamDoAn.css*/
body {
  font-family: Arial, sans-serif;
  line-height: 1.7; 
  background-color: #f8f9fa;
  color: #333;
  font-size: 1.1rem; 
}

.logo {
  height: 40px;
}
.main-banner h1 {
  font-size: 3.8rem; 
  margin-bottom: 15px;
}

.main-banner p {
  font-size: 1.4rem; 
}

.main-banner .btn {
  background-color: #007bff;
  border-color: #007bff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.main-banner .btn:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}
footer {
  background-color: #343a40;
  color: white;
  padding: 40px 0;
  margin-top: 60px;
  font-size: 1rem;
}

footer h5 {
  color: #f8f9fa;
  margin-bottom: 15px;
}

footer p {
  margin-bottom: 8px;
}

footer a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
}

footer a:hover {
  color: #cce5ff;
}

.footer-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 8px;
  margin-top: 10px;
}

.gallery-image {
  max-width: 100%; 
  height: auto; 
  display: block; 
  margin: 0 auto;
  max-height: 450px; 
  object-fit: cover; 
}


@media (min-width: 768px) {
  .gallery-image {
    max-height: 350px; 
  }
  h2 {
    font-size: 2.2rem;
  }
}
@media (min-width: 992px) {
  .gallery-image {
    max-height: 300px; 
  }
  h2 {
    font-size: 2.5rem; 
  }
}


h2 {
  font-size: 2rem; 
}
h5 {
  font-size: 1.3rem; 
}
.card-text {
  font-size: 1rem; 
}


.navbar {
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 10px 15px;
}

.navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0; 
}


.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #007bff;
  transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #007bff; 
  transform: translateY(-2px); 
}

.navbar-nav .nav-link:hover::after {
  width: 100%; 
}

.navbar-nav .nav-link.active {
  color: #0056b3; 
  font-weight: bold;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
  background-color: #0056b3; 
}

.table {
  margin-top: 20px;
}

.table th, .table td {
  vertical-align: middle;
}