@font-face {
  font-family: "Ubuntu";
  src: url("/font/Ubuntu-Regular.ttf") format("truetype");
}

:root {
  --primary_bg: #EBF1F0;
  --primary: #62ACA9;
  --primary_light: #5A9597;
  --secondary: #466869;
  --secondary_dark: #1D4546;
  --font_color: #20334A;
  --white: #FFFFFF;
  --logoHeight: 70px;
  --marqueeHeight: 36px;
  --primary_green: #2B492F;
  --secondary_gree: #2B6141;
  --light_green: #86AB89;
  --dark_green: #074423;

  /* Typography scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --heading-subsection: clamp(1.25rem, 2.5vw, 1.5rem);
  --heading-section: clamp(1.5rem, 3vw, 2rem);
  --heading-hero: clamp(2rem, 5vw, 2.75rem);
  --leading-body: 1.65;
}

/* TAKE NOTE Set Active Color */
/* APPLY TO OTHER PAGE */
/* header a.homeNav{color: var(--primary);} */

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}

body::-webkit-scrollbar {
  width: 6px;
  background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: var(--primary);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Ubuntu", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: var(--font_color);
  background: var(--white);
}

header {
  background: var(--primary_bg);
  color: var(--font_color);
  text-transform: uppercase;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

header .navbar-brand img {
  height: var(--logoHeight);
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  height: var(--marqueeHeight);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  text-transform: none;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee-scroll 18s linear infinite;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.header-left {
  justify-self: start;
}

.header-center {
  justify-self: center;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}

.header-action-btn ion-icon {
  font-size: 1.65rem;
  vertical-align: middle;
}

header .navbar-brand {
  display: inline-block;
  margin: 0;
  padding: 0;
}

header .nav-link {
  color: var(--font_color);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
}

header .nav-link:hover {
  color: var(--primary);
}

header .nav-link.active {
  color: var(--primary);
}

header .btn-pill {
  background-color: var(--white);
  border-radius: 50px;
  border: 0;
  color: var(--font_color);
}

header .btn-pill:hover {
  background-color: var(--font_color);
  color: var(--white);
}

header a.btn-pill.header-cart-btn {
  background-color: var(--primary);
  color: var(--white);
}

header a.btn-pill.header-cart-btn:hover {
  background-color: var(--primary_light);
  color: var(--white);
}

header .btn-pill ion-icon {
  font-size: 1.2em;
  vertical-align: middle;
}

header .dropdown-item:hover {
  background-color: var(--white);
  color: var(--font_color);
}

header .navbar-toggler {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
}

header .navbar-toggler ion-icon {
  font-size: 2.5em;
  color: var(--font_color);
}

@media (max-width: 768px) {
  :root {
    --logoHeight: 40px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-center {
    display: none;
  }

  header .navbar-toggler {
    font-size: 1rem;
  }
}

.page-content {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 60vh;
  padding: calc(var(--logoHeight) + var(--marqueeHeight) + 3rem) 1rem 2rem;
}

footer {
  background: var(--primary_bg);
  border-top: 1px solid rgba(70, 104, 105, 0.2);
  color: var(--font_color);
  margin-top: auto;
}

.site-footer__main {
  padding: 3rem 1rem 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 2fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.site-footer__brand-col {
  max-width: 260px;
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.site-footer__logo {
  max-width: 110px;
  height: auto;
  display: block;
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--secondary);
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary_dark);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li + li {
  margin-top: 0.625rem;
}

.site-footer__links a,
.site-footer__region-meta a {
  color: var(--font_color);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__region-meta a:hover {
  color: var(--primary);
}

.site-footer__regions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.site-footer__region {
  background: var(--white);
  border: 1px solid rgba(70, 104, 105, 0.12);
  border-radius: 12px;
  padding: 1rem 1.125rem;
}

.site-footer__country-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #e9ecec;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__region-name {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--secondary_dark);
}

.site-footer__region-address,
.site-footer__region-meta {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--secondary);
}

.site-footer__region-meta + .site-footer__region-meta,
.site-footer__region-address + .site-footer__region-meta {
  margin-top: 0.35rem;
}

.site-footer__region-meta a {
  font-weight: 600;
}

.site-footer__bottom {
  border-top: 1px solid rgba(70, 104, 105, 0.15);
  background: rgba(255, 255, 255, 0.45);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1rem;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--font_color);
  text-decoration: none;
  border: 1px solid rgba(70, 104, 105, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer__social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.site-footer__social i {
  font-size: 1.125rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--secondary);
  text-align: right;
}

@media (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .site-footer__brand-col {
    max-width: none;
    grid-column: 1 / -1;
    text-align: center;
  }

  .site-footer__brand {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__tagline {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__regions-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-footer__main {
    padding: 2.5rem 1rem 1.5rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .site-footer__regions {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__copy {
    text-align: center;
  }
}
