:root {
  --bg: #f6f8fb;
  --text: #1a1a1a;
  --accent: #0057AD;
  --accent-light: #41A0FF;
  --card-bg: #fbfbfb;
  --shadow: rgba(0,0,0,0.1);
  --radius: 14px;
}

/* BASIC RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 125px; /* voor header */
}

/* PARTNERS LINK EFFECT */
.partners {
  color: var(--accent);
  text-decoration: none;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.partners::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1.5px;
  background: var(--accent-light);
  transition: width 0.3s ease-in-out;
}

.partners:hover::after {
  width: 0;
}

/* INTRO */
.portal-intro {
  text-align: left;
  margin: 2rem 1rem 3rem;
  padding-left: 10rem;
}

.portal-intro h1 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.portal-intro p {
  font-size: 1.1rem;
  color: var(--text);
}

/* CARDS GRID */
.portal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 3rem;
}

/* CARD */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: 0 4px 12px var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-light);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  cursor: pointer;
}

/* ICONS */
.card-icon {
  font-size: 3rem;
  margin-bottom: 0.2rem;
}

.aqua-icon {
  font-weight: 600;
  font-size: 55px;
  margin-top: -15px;
  margin-bottom: 15px;
}

.card-icon img {
  height: 64px;
}

.pbid-icon img {
  height: 45px;
  margin-top: 10px;
  margin-bottom: 27px;
}

.pbso-icon {
  font-weight: 600;
  color: #076AB3;
  font-size: 55px;
  margin-top: -10px;
  margin-bottom: 15px;
}

/* CARD TITLES */
.card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.card h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 2px;
  background: var(--accent-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.card:hover h2::after {
  transform: scaleX(1);
}


/* CARD TEXT */
.card p {
  font-size: 1rem;
  color: #555;
}

/* FOOTER */
.portal-footer {
  margin-top: auto;
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
  color: #555;
  flex-wrap: wrap;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  margin-left: 1rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .portal-intro h1 {
    font-size: 1.7rem;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .portal-intro {
    padding-left: 2rem;
  }
}

.cardBtn {
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  border: 0;
  border-radius: 0.4rem;
  background-color: rgba(65, 160, 255, 0.2);
  color: #0057AD;
  display: block;
  width: max-content;
  margin-top: 1.5rem;
  transition: background 0.3s, color 0.10s;
  text-decoration: none;
}

.cardBtn:hover {
  background-color: #0057AD;
  color: rgb(255, 255, 255);
  text-decoration: none;
}
