/* Base app CSS - minimal reset and container */
* { box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; background: #fff; margin:0; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }

/* Utility grid used by templates */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 25px; }

@media (max-width: 992px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== Scrollbar styling (global) ===== */
html {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #f7931e #f1f5f9; /* thumb and track for Firefox */
}

/* WebKit browsers */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff6b35, #f7931e);
  border-radius: 10px;
  border: 3px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  filter: brightness(0.95);
}

/* ===== Text utilities ===== */
.text-justify { text-align: justify; text-justify: inter-word; }

/* Header / Navbar */
header { border-bottom: 1px solid rgba(0,0,0,0.04); background: transparent; }
header .container { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
header .logo { display: flex; align-items: center; gap: 10px; }
header .logo img { height: 48px; }
header nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; align-items: center; }
header nav a { color: inherit; text-decoration: none; padding: 8px 6px; display: inline-block; }
header nav a:hover { color: #f7931e; text-decoration: none; }
header nav .dropdown-content { position: absolute; display: none; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-radius: 6px; padding: 10px; }
header nav li.has-dropdown:hover > .dropdown-content { display: block; }

@media (max-width: 768px) {
  header .container { padding: 12px 0; }
  header nav ul { gap: 10px; }
  header .logo img { height: 40px; }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  z-index: 9999;
  text-decoration: none;
}
.whatsapp-float:hover { transform: translateY(-3px); }

@media (max-width: 420px) {
  .whatsapp-float { right: 14px; bottom: 14px; width:48px; height:48px; font-size:20px; }
}

