:root {
  --bs-body-color: #333;
  --bs-body-font-family: 'Inter', var(--bs-font-sans-serif);
}

body {
  --bs-body-bg: #FFFCF3;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* --- Custom Header --- */
.navbar-custom {
  background-color: #fff;
  --bs-navbar-padding-y: 0.7rem;
  transition:
    min-height .35s ease,
    background-color .35s ease,
    box-shadow .35s ease;
}

.btn-primary {
  --bs-btn-color: white;
}

.btn-primary:hover {
  color: white;
}

.btn-check:checked+.btn,
:not(.btn-check)+.btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
  color: white;
}

.navbar-custom .nav-link:hover,
.nav-link.active {
  border-bottom: 3px solid var(--bs-primary);
}

.navbar-custom .navbar-nav {
  --bs-nav-link-padding-y: .5rem;
  --bs-nav-link-padding-x: 1rem;
  padding-left: 130px;
  gap: 1rem;
}

.navbar-custom .nav-item,
.navbar-custom .nav-link {
  transition: .3s;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--bs-accent);
  font-weight: bold;
}

.navbar-custom>.container {
  position: relative;
}

.navbar-custom .navbar-brand {
  position: absolute;
  top: -18px;
  left: 1rem;
  z-index: 10;
}

.navbar-custom .navbar-brand img {
  width: 120px;
  height: auto;
  transition: all .35s ease;
}

.navbar-custom .navbar-collapse {
  justify-content: space-between;
}

.card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 0px 16px rgba(177, 170, 170, 0.1), 0 4px 6px rgba(0, 0, 0, 0.03);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header-left {
  margin-bottom: 2rem;
}

.section-header .sh-title,
.section-header-left .sh-title {
  font-size: 2rem;
  color: var(--bs-primary);
  font-weight: 800;
}

.sh-desc {
  font-size: 20px;
}

.section-header .sh-subtitle,
.section-header-left .sh-subtitle {
  font-size: 1.2rem;
  font-weight: normal;
}

#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#wrapper #content {
  flex: 1;
}

/* footer */
.footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.footer h5,
.footer h6 {
  color: #fff;
  font-weight: 700;
}

.footer p {
  color: rgba(255, 255, 255, .85);
  line-height: 1.8;
  font-size: 14px;
}

.footer-link {
  padding: 0;
  margin: 0;
}

.footer-link li {
  margin-bottom: 12px;
}

.footer-link a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: .3s ease;
  font-size: 15px;
}

.footer-link a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer .d-flex {
  align-items: flex-start;
}

.footer-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  color: #fff;
  margin-top: 3px;
}

.footer-icon path,
.footer-icon circle {
  stroke: currentColor;
}


.footer .contact-text {
  color: rgba(255, 255, 255, .9);
  line-height: 1.8;
  font-size: 14px;
}

.footer-bottom {
  background: rgba(0, 0, 0, .15);
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.footer-bottom p {
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  margin: 0;
}

.footer .d-flex:hover .footer-icon {
  transform: translateY(-2px);
  transition: .3s;
}

@media (max-width: 991px) {

  .footer .col-md-4,
  .footer .col-md-3,
  .footer .col-md-2 {
    margin-bottom: 2rem;
  }

}

@media (max-width: 767px) {

  .footer {
    text-align: left;
  }

  .footer h5 {
    margin-top: 10px;
  }

  .footer-bottom p {
    font-size: 13px;
  }

}

#page-title {
  color: #fff;
}


#page-title .breadcrumb {
  margin-bottom: 5%;
  color: #fff;
  --bs-breadcrumb-divider-color: white;
  font-family: 'Barlow Condensed', sans-serif;
}

#page-title .breadcrumb .breadcrumb-item {
  font-size: 18px;
  font-weight: 700;
}

#page-title .breadcrumb .breadcrumb-item.active {
  color: #fff;
  font-weight: 500;
}

#page-title .breadcrumb a {
  color: #CCCCCC;
  text-decoration: none;
}

#page-title h1 {
  font-size: 2rem;
  margin-bottom: 0rem;
}

#mainHeader.fixed-top+#content {
  padding-top: 80px;
}

/* Landing page */
.glm-img {
  border-radius: 1.5rem;
  overflow: hidden;
}

.adv-card {
  text-align: center;
  overflow: hidden;
}

.adv-card-body {
  padding: 1.5rem;
  min-height: 285px;
}

.cb-card-body {
  padding: 1.25rem;
  min-height: 153px;
}

.adv-icon,
.cb-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 80px;
  border-radius: .675rem;
  margin: 0 auto 20px;
}

.cc-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 96px;
  width: 96px;
  border-radius: .675rem;
  margin: 0 auto 20px;
}

.adv-card .advc-title,
.cb-card .cbc-title {
  font-size: 1.5rem;
  color: var(--bs-accent);
  margin-bottom: 0.5rem;
}

.adv-card .advc-description,
.cb-card .cbc-description {
  margin-bottom: 0;
}

.customer-count-section {
  padding: 3.5rem 0;
  overflow: hidden;
}

.customer-counter .cc-content {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Proxima Soft', 'Inter';
}

.customer-counter .cc-content .cc-count {
  font-weight: 800;
  font-size: 3rem;
}

.glance-section {
  background-image: url('../img/about-us/background-about.png');
  width: 100%;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hslc-cta {
  font-size: 1.25rem;
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 0.5rem;
  font-weight: 600;
}

/* --- Hero Section --- */
.banner {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  font-family: 'Proxima Soft', 'Inter';
}

.banner .background {
  position: absolute;
  inset: 0;
}

.banner .background .img-header {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.banner .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative;
  height: 450px;
  padding-bottom: 100px;
}

.section-title {
  font-weight: bolder;
  font-size: 46px;
}

.section-subtitle {
  font-size: 20px;
  font-family: var(--bs-body-font-family);
}

.line-break {
  height: 4px;
  background-color: var(--bs-primary);
  width: 120px;
}

.feature-h {
  color: var(--bs-accent);
  font-size: 32px;
  padding-bottom: 4px;
}

.card-text {
  color: #4D4D4D;
}

/* product category */
.content-card {
  transition: transform 0.3s ease-in-out;
}

.content-card:hover {
  transform: translateY(-8px);
}

/* about us */
.customer-base-section {
  background-image: url('../img/about-us/background-about2.jpg');
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* client */
.client-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.client-marquee:hover .marquee-content {
  animation-play-state: paused;
}

.brand-card-client {
  min-width: 160px;
  height: 96px;
  background-color: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  transition: .3s;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.brand-card-client img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  transition: .3s;
}

/* bakery solutions partner */
.glm-img {
  position: relative;
}

.glm-img-label {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background-image: linear-gradient(to bottom, var(--bs-accent), rgba(var(--bs-accent-rgb), 0));
}

.glm-img-label h3,
.glm-img-label p {
  color: #fff;
}

.glm-img-label h3 {
  font-size: 28px;
}

.glm-img-label h3>strong {
  font-size: 2em;
  display: block;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* Style untuk Loading Screen */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.bubble-description,
.button-actions {
  position: relative;
  z-index: 9;
}

.form-control::placeholder {
  opacity: .5;
}

.bg-brush-paper {
  border: 8px solid;
  border-image: url(../img/base-charcoal-border.svg) 36;
  border-image-outset: 8px;
  background-color: #fff;
}

body.modal-open {
  padding-right: 0 !important;
}

body.modal-open #mainHeader.fixed-top {
  padding-right: 0 !important;
}

#loader-main {
  position: relative;
  width: fit-content;
  overflow: hidden;
}

.loader__bg {
  width: 200px;
  transform: translateY(-100%);
  animation: bgMove .75s forwards;
}

.loader__letter {
  width: 200px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: letterShow .75s forwards;
}

.loader__letter.loader__badge-school {
  transform-origin: 80% 80%;
  animation: badgeZoom .5s forwards;
}

.loader__letter.loader__letter--h {
  animation-delay: .375s;
}

.loader__letter.loader__letter--i {
  animation-delay: .5s;
}

.loader__letter.loader__letter--l {
  animation-delay: .625s;
}

.loader__letter.loader__letter--o {
  animation-delay: .75s;
}

.loader__letter.loader__badge-school {
  animation-delay: .5s;
}

.loader-aligner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loader-main span {
  background-color: var(--bs-primary);
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 16px;
  animation: loading 3.5s infinite;
  margin-top: 16px;
}

@keyframes floatingMove {
  0% {
    transform: translate(0, 0px);
  }

  20% {
    transform: translate(2px, 4px);
  }

  40% {
    transform: translate(2px, -4px);
  }

  60% {
    transform: translate(-2px, 4px);
  }

  80% {
    transform: translate(-2px, -4px);
  }

  100% {
    transform: translate(0, 0px);
  }
}

@keyframes letterShow {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgeZoom {
  from {
    transform: scale(.3);
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bgMove {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes loading {
  0% {
    width: 8px;
    transform: translateX(0px);
  }

  40% {
    width: 100%;
    transform: translateX(0px);
  }

  80% {
    width: 8px;
    transform: translateX(134px);
  }

  90% {
    width: 100%;
    transform: translateX(0px);
  }

  100% {
    width: 8px;
    transform: translateX(0px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.product-tile-content .content-card {
  height: 100%;
  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.product-tile-content .content-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.product-tile-content .card-img-top {
  border-radius: 8px;
}


.trusted-partner .adv-card-body {
  height: auto;
  min-height: unset !important;
}

.customer-count-section .adv-card-body {
  height: auto;
  min-height: unset !important;
}

/* dropdown */
.navbar-lang-switch .nav-link {
  display: flex;
  align-items: center;
}

.flag-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.language-dropdown .dropdown-toggle::after {
  margin-left: .4rem;
  vertical-align: middle;
}

.language-dropdown .dropdown-menu {
  min-width: 120px;
  border-top: 2px solid #1e4fa1;
}

/* animate */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all .8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all .8s ease;
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}