/* =========================================================
   Kropman – Base Styles (Bootstrap 5 compatible)
   - Works with your current HTML 
   - Keeps original rotation + slide animation
   - Narrows only the "I" image
   ========================================================= */

/* ---------- Brand variables ---------- */
:root {
  --baxtools-blue: #102A43;
  --baxtools-teal: #14B8A6;
  --baxtools-light: #EAF8F6;
}
.pt-0p03 { padding-top: 0.03rem !important; }  /* ~0.48px at 16px root */
/* ---------- Global ---------- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #fff;
    margin: 0;
    padding: 0;

    font-family: "Segoe UI", "Inter", sans-serif;
    color: #334155;
}
h1,h2,h3,h4,h5,h6 {
    color: #102A43;
    font-weight: 700;
}
a {
    color: var(--baxtools-teal);
    text-decoration: none;
}

a:hover {
    color: var(--baxtools-blue);
}
main { flex: 1 1 auto; }

img { max-width: 100%; height: auto; }

/* ---------- Navbar / Header ---------- */
.header-banner {
    background: #fff;
    border-bottom: 2px solid #14B8A6;
}

/* Prevent animation clipping */
.header-banner .navbar,
.header-banner .navbar .container,
.navbar-brand { overflow: visible; }

.container {
    max-width: 1320px;
}
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--baxtools-teal);
    outline-offset: 2px;
}
::selection {
    background: var(--baxtools-teal);
    color: white;
}
/* Brand block */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: 0;
  line-height: 1;
  text-decoration: none;
  position: relative;
}


/* Mobile tweak: slightly smaller to fit collapsed nav neatly */
@media (max-width: 576px) {
 
}

/* Small nav icons (login/logout/profile) */
.nav-icon { height: 25px; width: auto; vertical-align: middle; }

/* Desktop underline for nav links */
@media (min-width: 992px) {
  .navbar-nav .nav-link { position: relative; }
  .navbar-nav .nav-link::after {
    content: "";
    position: absolute; left: 0; bottom: -6px;
    height: 3px; width: 0;
    background: var(--baxtools-teal);
    transition: width .3s ease;
  }
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link:focus::after { width: 100%; }
}

/* ---------- Banners (use Bootstrap containers inside) ---------- */
.top-banner {
  background: #102A43;
  color: white;
}
.top-banner h1 { color: #f7f7f7; }

/* Keep your structural wrappers centered on large screens */
.top-banner-items,
.second-banner-items,
.main-banner-items,
.footer-banner {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ---------- Footer ---------- */
footer {
    background: var(--baxtools-blue);
    color: white;
    font-size: 0.95rem;
}
.footer-image { cursor: pointer; }

/* Stack footer bits on small screens */
@media (max-width: 767.98px) {
  .footer-banner { display: flex; flex-direction: column; gap: 1rem; }
}

/* ---------- Auth buttons look like icons in nav ---------- */
#logoutbutton, #login {
  border: none;
  border-left: 4px solid var(--baxtools-teal);
  padding-left: 10px;
  color: #000;
  background: transparent;
  cursor: pointer;
  text-transform: lowercase;
}
#signup, #change_pass { text-transform: lowercase; }

/* ---------- Print ---------- */
@media print {
  @page { size: A4; margin: 2cm; }
  header, footer { display: none !important; }
}
/* ===== Nav link color override ===== */
.navbar-nav .nav-link.active {
    color: var(--baxtools-teal) !important;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: #14B8A6 !important;
}


/* ===== Gradient underline on hover ===== */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;                    /* adjust to taste */
  height: 3px;
  width: 0;
  background: linear-gradient(
      to right,
      #102A43,
      #14B8A6
  );
  transition: width 0.4s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* ===== Hover text color change ===== */
.navbar-nav .nav-link:hover {
  color: #666 !important;          /* grey on hover */
}

.navbar {
    min-height: 85px;
}

.navbar-brand {
    padding: 0;
}

.navbar-logo {
    height: 55px;
    width: auto;
    display: block;
}