/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&family=Inter:wght@400;600;700&family=Sahitya:wght@700&family=Dancing+Script:wght@600;700&family=Cinzel:wght@400;600;700&family=Aguafina+Script&display=swap');

/* ---------- Local Fonts ---------- */
@font-face {
  font-family: 'SVN-Hottroof Semhesta';
  src: url('/assets/fonts/SVN-Hottroof_Semhesta.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VN-Brenza';
  src: url('/assets/fonts/VN-Brenza.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HY-Thu Phap 1';
  src: url('/assets/fonts/HY-Thu Phap 1.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bt-bg:           #F7F3E8;
  --bt-cream:        #FEFAF0;
  --bt-cream-alt:    #FFF4DD;
  --bt-teal-dark:    #031411;
  --bt-teal:         #02443B;
  --bt-teal-mid:     #017562;
  --bt-teal-light:   #00A88B;
  --bt-gold:         #DA9D28;
  --bt-gold-light:   #FCF28D;
  --bt-gold-bright:  #FFCF45;
  /* --bt-text:         #1a2e28; */
  --bt-text:         #005E52;
  --bt-border:       rgba(218, 157, 40, 0.35);
  /* Five elements */
  --bt-kim:   #9E9E9E;
  --bt-moc:   #4CAF50;
  --bt-thuy:  #2196F3;
  --bt-hoa:   #E53935;
  --bt-tho:   #8D6E63;
  --font-thuphap: 'HY-Thu Phap 1', 'Dancing Script', cursive;
  --font-title: 'SVN-Hottroof Semhesta', 'Dancing Script', cursive;
  --font-section: 'Inter', sans-serif;
  --font-brenza: 'VN-Brenza', 'Cinzel', serif;
  --font-body: 'ABeeZee', 'Noto Sans', sans-serif;
  --font-ui: 'Inter', sans-serif;
  --font-numbers: 'Sahitya', serif;
}

/* .container {
  background: rgba(255, 255, 255, 0.8);
} */

.main-bg {
    background: url('/assets/img/main-bg.jpg') repeat-y center top;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(244, 241, 232, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-height: 80px;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar .navbar-brand {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar .logo-icon {
  height: 52px;
  width: auto;
}

.nav-link {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bt-text) !important;
  padding: 10px 14px !important;
  border-radius: 20px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-link:hover {
  background: rgba(6, 98, 47, 0.08);
}

.nav-link.active {
  background: linear-gradient(183.846deg, rgba(6, 98, 47, 0) 16.428%, rgba(6, 98, 47, 0.2) 90.452%);
  border-bottom: 2px solid var(--bt-teal-light);
  border-radius: 20px;
}

.navbar .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================================
   MAIN
   ============================================================ */
.main {
  background-color: var(--bt-bg);
  overflow-x: hidden;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  /* background: linear-gradient(
    183.991deg,
    rgb(0, 168, 139)  10.007%,
    rgb(1, 117, 98)   23.366%,
    rgb(2, 68, 59)    72.234%,
    rgb(3, 20, 17)   111.47%
  ); */
  background: linear-gradient(2deg, #00A88B -33.71%, #017562 23.98%, #02443B 108.44%, #031411 176.26%);
  border-top: 3px solid var(--bt-gold);
  border-radius: 10px 10px 0 0;
  padding: 40px 64px 28px;
  color: #fff;
}

/* Newsletter row */
.footer .newsletter-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.27;
  color: #fff;
  margin-bottom: 6px;
}

.footer .newsletter-sub {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 0;
}

.footer .email-input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  color: #fff;
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-size: 1rem;
  width: 320px;
  max-width: 100%;
  outline: none;
  transition: box-shadow 0.2s;
}

.footer .email-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.footer .email-input:focus {
  box-shadow: 0 0 0 2px rgba(255, 207, 69, 0.55);
  border-color: var(--bt-gold-bright);
}

.footer .subscribe-btn {
  background: var(--bt-gold-bright);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}

.footer .subscribe-btn:hover {
  background: #e5b800;
}

/* Footer divider */
.footer .footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 32px 0;
}

/* Logo block */
.footer .footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer .footer-logo-icon {
  height: 68px;
  width: auto;
  flex-shrink: 0;
}

.footer .footer-brand-text {
  font-family: var(--font-title);
  font-size: 3.8rem;
  line-height: 0.9;
  background: linear-gradient(
    -81.6133deg,
    rgb(217, 157, 40)   7.2731%,
    rgb(197, 148, 44)  17.51%,
    rgb(252, 242, 141) 45.391%,
    rgb(255, 207, 69)  70.175%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: capitalize;
}

.footer .footer-desc {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 380px;
}

/* Footer link columns */
.footer .links-title {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 28px;
  line-height: 1.2;
}

.footer .links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer .links-list a {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.footer .links-list a:hover {
  color: var(--bt-gold-bright);
}

/* Footer bottom bar */
.footer .footer-bottom {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer .copyright {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.footer .social-icons {
  height: 32px;
  width: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .footer {
    padding: 32px 24px 24px;
  }

  .footer .footer-brand-text {
    font-size: 2.8rem;
  }
}

@media (max-width: 767.98px) {
  .footer {
    padding: 24px 16px 20px;
  }

  .footer .email-input {
    width: 100%;
  }

  .footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    color: var(--bt-text);
    background-color: var(--bt-gold-bright);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all .4s;
}