/* =====================================
   UmojaSoft Custom Styles
   ===================================== */

.transparent-header {
  background: transparent !important;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 999;
  transition: background 0.3s ease;
}

.transparent-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.umojasoft-logo {
  max-height: 55px;
}

.slogan {
  font-style: italic;
  font-weight: 500;
  color: #0a1f44;
}

/* Brand Colors */
:root {
  --umojasoft-blue: #004c70;
  --umojasoft-green: #34a853;
}

/* Buttons */
.button {
  background-color: var(--umojasoft-blue);
  border: none;
}

.button:hover {
  background-color: var(--umojasoft-green);
  color: #fff !important;
}

/* Scroll trigger to toggle header color on scroll */
window.addEventListener('scroll', () => {
  const header = document.querySelector('.transparent-header');
  if (window.scrollY > 50) {
    header.classList.add('scrolled');
  } else {
    header.classList.remove('scrolled');
  }
});
