/* -------------------------------------------------------
   Global base
------------------------------------------------------- */

html {
  font-size: 15px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html, body {
  
  margin: 0;
  padding: 0;
  background-color: #f5f6f8; /* neutral Apple-like background */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



.page-content {


  flex: 1;
  padding-bottom: 100px;



}

/* -------------------------------------------------------
   Typography
------------------------------------------------------- */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  line-height: 1.6;
}

/* Prevent Bootstrap from centering long text blocks */
main p,
main li {
  text-align: left;
}

/* -------------------------------------------------------
   Navbar
------------------------------------------------------- */

.navbar {
  backdrop-filter: saturate(180%) blur(12px);
  background-color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-link {
  font-weight: 500;
  color: #3a3a3c !important;
}

.nav-link:hover {
  color: #000 !important;
}

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */

.footer {
  margin-top: auto;
  padding: 18px 0;
  background: transparent;
  font-size: 14px;
}

/* -------------------------------------------------------
   Buttons & focus (keep accessibility)
------------------------------------------------------- */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(0, 122, 255, 0.35);
}

/* -------------------------------------------------------
   Forms
------------------------------------------------------- */

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: #8e8e93;
  text-align: start;
}

/* -------------------------------------------------------
   Utilities
------------------------------------------------------- */

.box-shadow {
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .06);
}


/* =========================
   Emergency footer override
   ========================= */

footer.footer,
footer.border-top.footer,
.footer {
  position: relative !important;
  bottom: auto !important;
  width: auto !important;
  z-index: 5 !important;
  margin-top: auto !important;
}


/* =========================
   iApps Footer (Apple style)
   ========================= */

.iapps-footer{
  background:#f5f5f7;
  border-top:1px solid #d2d2d7;
  padding:64px 0 40px;
  color:#6e6e73;
  font-size:14px;
}

.footer-container{
  max-width:1100px;
  margin:auto;
  padding:0 24px;
}


/* Top section */

.footer-top{
  margin-bottom:28px;
}

.footer-brand{
  font-size:28px;
  font-weight:600;
  color:#1d1d1f;
  letter-spacing:-0.01em;
  margin-bottom:10px;
}

.footer-tagline{
  font-size:16px;
  color:#6e6e73;
  max-width:520px;
  line-height:1.6;
}


/* Divider */

.footer-divider{
  height:1px;
  background:#d2d2d7;
  margin:36px 0 24px;
}


/* Bottom section */

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}

.footer-copyright{
  color:#86868b;
  font-size:13px;
}


/* Links */



.footer-links{
  display:flex;
  gap:22px;
  font-size:13px;
}





.footer-links a{
  color:#424245 !important;
  text-decoration:none;
  position:relative;
  transition:color .2s ease;
}

.footer-links a:hover{
  color:#000;
  text-decoration:none;
}


/* underline animation */

/* underline */

.footer-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:1px;
  background:#424245;
  transition:width .25s ease;
}

.footer-links a:hover::after{
  width:100%;
}

/* hover */

.footer-links a:hover::after{
  width:100%;
}

/* active page */

.footer-links a.active::after{
  width:100%;
}

/* =========================
   Responsive
   ========================= */

@media (max-width:768px){

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .footer-links{
    gap:14px;
  }

}