/* Site styles (organized) */

body {
  font-family: 'Roboto', ui-sans-serif, system-ui, Arial, sans-serif;
  background: #64b5f6;
  color: #ffffff; 
  padding-top: 80px; 
  margin: 0; 
  overflow-x: hidden; 
}

/* Components: Pills */
.pill-link {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; text-decoration: none; color: inherit;
  min-height: 120px; padding-top: 88px;
  font-size: 16px; 
}
.pill-link::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: transparent; 
  border: 8px solid rgba(255,255,255,0.45); 
  transition: border-color .25s ease, box-shadow .25s ease;
}
.pill-link:hover::before { border-color: #ffffff; box-shadow: 0 0 0 2px rgba(255,255,255,0.15); }

/* Icon inside pill circle */
.pill-icon {
  position: absolute; top: 32px; left: 50%; transform: translate(-50%, -50%);
  font-family: 'icomoon' !important; font-size: 22px; line-height: 1; color: #ffffff;
}

/* Image icon inside pill circle (for Symfony SVG) */
.pill-icon-img {
  position: absolute; top: 32px; left: 50%; transform: translate(-50%, -50%);
  width: 28px; height: 28px; display: block; filter: brightness(0) invert(1);
}


/*Links*/
a { color: inherit; }
a:hover { opacity: .9; }

/* Divider under intro sentence */
.zigzag-divider { width: 100%; height: 8px; margin: 12px 0 0 0; }
.zigzag-divider svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 -2px 10px rgba(0,0,0,0.12)); }

/* Background under wave */
.after-wave-bg {
  background: linear-gradient(180deg, #8ec9f9 0%, #8ec9f9 10%, #64b5f6 30%, #64b5f6 100%);
}

/* Small inline icon for headings */
.inline-icon {
  display: inline-block; vertical-align: middle; margin-left: 8px; font-family: 'icomoon' !important; font-size: 18px;
}

h1 .inline-icon { position: relative; top: -2px; }

/* Title link hover: lighter color without opacity fade */
h1 a { color: inherit; text-decoration: none; transition: color .2s ease; }
h1 a:hover { color: #e6f3ff; opacity: 1; }

/* Fine-tune icons next to contact links */
.contact-links a { display: inline-flex; align-items: center; gap: 6px; }
.contact-links .inline-icon { margin-left: 0; font-size: 16px; position: relative; top: -0.5px; }

/* Responsive adjustments for small screens */
@media (max-width: 640px) {
  body { padding-top: 32px; }
  header .intro-text { font-size: 1.25rem !important; line-height: 1.4; }
  .pill-link { min-height: 110px; padding-top: 78px; font-size: 14px; }
  .pill-link::before { width: 54px; height: 54px; border-width: 7px; }
  .pill-icon { top: 27px; font-size: 20px; }
  .pill-icon-img { top: 27px; width: 24px; height: 24px; }
  /* Center last orphan pill on mobile (2-col grid) */
  .pills-grid { justify-items: center; }
  .pills-grid .pill-link { width: 100%; max-width: 240px; }
  /* If odd number of items, center the last by spanning both columns */
  .pills-grid > .pill-link:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1; justify-self: center;
  }
}


