:root {
  --primary-color: #0A3A8C;
  --secondary-color: #05a74e;
  --bg-color: #ecf0f1;
  --text-color: #333;
  --white: #ffffff;
  --border-color: #d1d1d1;
  --hover-shadow: 0 4px 12px rgba(0,0,0,0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --font-main: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: clip;
  width: 100%;
}
body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}



/* v33 FINAL: prevent scrollbar-width white strip and horizontal overflow. */
*, *::before, *::after { box-sizing: border-box; }
html, body {
    max-width: 100%;
    overflow-x: clip !important;
}


/* v34 FINAL: prevent mobile horizontal overflow without breaking position:sticky. */
@media (max-width: 768px) {
  html { width: 100%; max-width: 100%; overflow-x: clip; }
  body { width: 100%; max-width: 100%; overflow-x: clip; }
}
