/* estyle.css - Bootstrap 5 compatible version */

:root {
  --header-bg: #3399cc;
  --footer-bg: #3399cc;
  --navbar-bg: #3399cc; /* #e4f1fe; */
  --viewin-btn: #e4f1fe;
  --section-one: #f7fbff;
  --section-two: #fffbf7;
  --section-three: #fffff7;
  --table-head-bg: #b3d8fc;
  --highlight: darkred;
  --info-color: purple;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: serif;
  font-size: 18px;
}

main {
  padding-bottom: 2rem;
}

p {
  font-size: 18px;
}

table {
  font-size: 17px;
}

table th {
  background-color: var(--table-head-bg);
  text-align: center;
  color: black;
  font-weight: 550;
}

footer {
  background-color: var(--footer-bg);
}

.navbar {
  background-color: var(--navbar-bg);
}

.navbar a {
  color: white;
  font-size: 20px;
}

.navbar-nav a:hover {
  background-color: #e4f1fe;
}

.navbar-logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.navbar-logo:hover {
  transform: scale(1.2);
}

.dropdown-menu a {
  color: black;
  font-size: 20px;
}

#btnLang {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: var(--viewin-btn);
  border-radius: 50%;
  padding: 12px 15px;
  font-size: 20px;
  color: black;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-align: center;
  width: 50px;
  height: 50px;
  line-height: 26px;
  transition: all 0.3s ease-in-out;
}

#btnLang:hover {
  transform: scale(1.1);
  background-color: #dcdcdc;
  color: black;
}

.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  z-index: 9999;
  border-radius: 50%;
  padding: 12px 15px;
  font-size: 18px;
  transition: all 0.4s ease-in-out;
}

.scroll-top.show {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(0); }
}

.site-banner {
  width: 100%;
  height: 400px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
              url('../images/banner-image.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* Base animation */
.animate {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

/* Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delay utilities */
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }
.delay-5 { animation-delay: 1.5s; }

/* Divider styling */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #fff;
  margin: 0 1rem;
}
.divider-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}


.banner-container {
  width: 100%;
  max-width: 700px;
  padding: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  overflow: hidden;
}

.banner-container h1, .banner-container h2, .banner-container h4 {
  text-shadow: 0 1px 2px rgba(0,0,0,0.9);
  font-family: serif;
}

.banner-container h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.banner-container h2 {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
}

.banner-container h5 {
  font-size: clamp(0.9rem, 3vw, 1.2rem);
}

.unselectable {
  user-select: none;
}

.one { background-color: var(--section-one); padding: 10px; }
.two { background-color: var(--section-two); padding: 10px; }
.three { background-color: var(--section-three); padding: 10px; }
.four { background-color: var(--section-one); padding: 10px; }
.five { background-color: var(--section-two); padding: 10px; }
.six { background-color: var(--section-three); padding: 10px; }

.card a {
  text-decoration: none;
}

.breadcrumb {font-size: 13px;}

.breadcrumb-item, a {text-decoration: none;}

.custom-table-threecol {font-size: 14px;}

.bi-geo-alt-fill {color: red;}

.for-map {color: white;}

@media screen and (max-width: 720px) {
  .panel-group {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .breadcrumb {
    font-size: 0.85rem;
  }
}
