/* Override Bootstrap's html{font-size:10px} */
html{
  font-size: 16px !important;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ========== GLOBAL LAYOUT (MAKES FOOTER STICK) ========== */
html, body{
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: #141722;
}

*{ box-sizing: border-box; }


body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  /* header is fixed at top (~70px) */
  padding-top: 70px;
}

/* main expands and pushes footer to bottom */
main {
  flex: 1;
  display: block;
}

/* footer is always last at bottom */
footer {
  margin-top: auto;
}

/* ========== HEADER STYLES ========== */

/* ========= Base (Desktop) ========= */
.top-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  box-sizing: border-box;

  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
  box-shadow:
    0 1px 10px rgba(0, 0, 0, 0.6);

  color: #ffffff;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

/* Desktop nav visible */
.main-nav {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex: 1;
}

.main-nav a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease, font-weight 0.15s ease;
}

.main-nav a.active{
  opacity: 1 !important;
  transform: translateY(-1px) !important;
  font-weight: 700 !important;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.icon {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

/* Hamburger hidden on desktop */
.mobile-menu-btn {
  display: none;
}

/* Mobile drawer elements default (hidden until open) */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1500;
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: #1F212A;
  z-index: 1600;
  padding: 18px 18px 24px;

  transform: translateX(-100%);
  transition: transform 0.28s ease;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.close-menu {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 6px;
  font-size: 17px;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.95;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Open states (toggled by JS) */
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay.show {
  display: block;
}

/* ========= Tablet tweaks ========= */
@media (max-width: 1024px) {
  .top-header-bar {
    padding: 0 24px;
  }
  .main-nav {
    gap: 28px;
  }
}

/* ========= Mobile layout ========= */
@media (max-width: 768px) {
  .top-header-bar {
    height: 64px;
    padding: 0 16px;

    /* hamburger | logo | icons */
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
  }

  /* Show hamburger */
  .mobile-menu-btn {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  /* Center logo */
  .logo {
    justify-self: center;
  }

  .logo img {
    height: 34px;
  }

  /* Hide desktop nav on mobile */
  .main-nav {
    display: none !important;
  }

  .header-icons {
    justify-self: end;
    gap: 12px;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .mobile-menu {
    width: min(86vw, 320px);
  }
  .mobile-nav-links a {
    font-size: 16px;
  }
}








/* ========== FOOTER STYLES ========== */

.site-footer {
  width: 100%;
  margin-top: 0;
  color: #ffffff;
  background-image: url("/assets/images/footerbg.png"); /* update path if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 30px;
  text-align: center;
  box-sizing: border-box;
}

/* Logo */
.footer-logo img {
  display: block;
  margin: -1% auto 3% auto;
  height: 90px;
  width: auto;
}

/* Connect With Us text */
.footer-connect-title {
  margin-top: 5px;
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 600;
}

/* Social icons */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 5px;
}

/* Social icons – just the logo, no outer circle */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /* no width/height, no border, no border-radius */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon .icon {
  width: 26px;   /* slightly bigger logo */
  height: 26px;
  fill: #ffffff;
}

.social-icon:hover {
  transform: translateY(-1px) scale(1.05);
  opacity: 0.9;
}


/* Policy links row */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 35px;
}

.footer-links a {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.9;
}

/* Copyright text */
.footer-copy {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}







/* =========================
   Footer optimization (screenshot-style) — Instagram only
   Paste AFTER your existing footer CSS
   No HTML changes required
   ========================= */


/* Tablet */
@media (max-width: 900px) {

  .footer-logo img {
    height: 68px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    column-gap: 36px;
    row-gap: 10px;
  }
}

/* Mobile */
@media (max-width: 520px) {

  .footer-logo img {
    height: 62px;
  }

  .footer-connect-title {
    font-size: 15px;
  }

  /* Stack links cleanly */
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .footer-links a {
    white-space: normal;
  }

  .footer-copy {
    font-size: 11px;
    line-height: 1.4;
  }
}