:root {
  --primary-color: #002147;
  /* Dark Blue */
  --accent-color: #C9A13A;
  /* Gold */
  --secondary-color: #17806D;
  /* FGI Green */
  --background-color: #f4f6f8;
  --white: #ffffff;
  --text-color: #333;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
}

.logo {
  width: 50px;
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-weight: 600;
  font-size: 1.2rem;
}

/* Back link */
.back-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 60px 0 30px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  color: #666;
}

/* Portal Grid */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding-bottom: 60px;
}

.portal-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  padding: 25px 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.portal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-left-color: var(--accent-color);
}

.portal-card h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.portal-card p {
  color: #555;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
}