

/* ------------------------------
   Box model normalization
-------------------------------- */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* ------------------------------
   Base body & typography
-------------------------------- */
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Arial, sans-serif;
  color: #52565b;
  background-color: #fff;
  overflow-x: hidden;
  font-size-adjust: 0.5; /* CLS font-metric safety */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  color: #181d38;
  line-height: 1.2;
  margin-top: 0;
}

/* Paragraphs */
p {
  line-height: 1.6;
  margin-top: 0;
}

/* ------------------------------
   Links
-------------------------------- */
a {
  color: #06BBCC;
  text-decoration: none;
}
a:hover {
  color: #0596a3;
}

/* ------------------------------
   Images (global safety)
-------------------------------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------
   Navbar (global)
-------------------------------- */
.navbar {
  min-height: 72px;
  z-index: 1055;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand img {
  max-height: 60px;
}

/* Desktop hover dropdown (Bootstrap enhancement) */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* ------------------------------
   Buttons
-------------------------------- */
.btn-primary {
  background-color: #06BBCC;
  border-color: #06BBCC;
  color: #000;
}

.btn-primary:hover {
  background-color: #2bc5d4;
  border-color: #2bc5d4;
}

/* ------------------------------
   Icons (CLS-safe sizing)
-------------------------------- */
.fa,
.fab,
.fas,
.bi {
  width: 1em;
  height: 1em;
  display: inline-block;
}

.bi::before {
  display: inline-block;
  width: 1em;
  height: 1em;
}

/* ------------------------------
   Grid stability helpers
-------------------------------- */
.container-xxl {
  min-height: 1px;
}

.row > [class*="col-"] {
  min-height: 1px;
}

/* ------------------------------
   Generic utilities
-------------------------------- */
.layout-stable {
  contain: layout style paint;
  content-visibility: auto;
}

/* Disable WOW.js layout shift globally */
.wow {
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}

/* ======================================================
   FOOTER — GLOBAL
   ====================================================== */

.footer {
  background-color: #4c785c;
  color: #ffffff;
}

.footer h4 {
  color: #ffffff;
}

.footer .btn-link {
  color: #ffffff;
  padding: 0;
  margin-bottom: 6px;
  display: block;
  text-align: left;
}

.footer .btn-link:hover {
  letter-spacing: 0.5px;
}

/* Social icons */
.footer .btn-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Footer copyright */
.footer .copyright {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Decorative top border (optional use) */
.footer-top-border {
  border-top: 3px solid transparent;
  border-image: linear-gradient(
    to right,
    #f1c40f,
    #e67e22,
    #e74c3c
  );
  border-image-slice: 1;
}
