/* ==============================================
   GLOBAL STYLES & RESETS
   ============================================== */

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F5F7F8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 160px;
}

/* ==============================================
   NAVIGATION
   ============================================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  padding: 0 1rem;
  background: transparent;
  transition: all 0.4s ease;
}

.navbar.sticky {
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar.sticky ~ main {
  padding-top: 30px;
}

.navbar-brand img {
  height: 160px;
  transition: height 0.4s ease;
  image-rendering: optimizeSpeed;
}

.navbar.sticky .navbar-brand img {
  height: 130px;
}

.navbar-nav {
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  font-family: "Jost", sans-serif;
  color: #333 !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2e3192 !important;
}

.btn-login {
  background-color: #2e3192;
  color: white;
  padding: 6px 14px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.3s ease;
  transform: translateZ(0);
}

.btn-login:hover {
  background-color: #1f236e;
  color: #ffc107;
}

/* Offcanvas Menu */
.offcanvas-header {
  border-bottom: 1px solid #ddd;
}

.offcanvas-body .btn-login {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

/* ==============================================
   FOOTER
   ============================================== */

footer.footer {
  margin-top: auto;
}

.footer-logo {
      height: 100px;
    margin-right: 10px;
    margin-left: -23px;

}

footer a.text-light:hover i {
  color: #ffc107;
  text-decoration: underline;
}

footer .social-icons a:hover i {
  color: #ffc107;
  transform: scale(1.2) translateZ(0);
  transition: all 0.3s ease;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (min-width: 769px) {
  .nav-link {
    font-weight: 600;
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .navbar-nav.flex-row {
    gap: 100px;
  }
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 100px;
  }

  .footer-logo {
    height: 100px;
    margin-right: 0;
    margin-left: 0;
  }

  footer .col-md-4 {
    text-align: center;
  }
}