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

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  background: #f8f9fa;
  color: #333;
}

.page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

header {
  flex: 0 0 auto;
  background: #f3f1f1;
  color: black;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 10px 0px 0px;
}

.navbar .logo {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar .logo img{
  height: 64px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
}

.nav-links a:hover { text-decoration: underline; }
.lang-switch a {
  color: black;
  margin-left: 10px;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
}
.lang-switch a.active {
  font-weight: bold;
  text-decoration: underline;
}

.content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 10px;
}

.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #333;
}

.hero-map {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat; 
  z-index: 0;
}

.hero-overlay {
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  text-shadow: 0 0px 10px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 1);
  color: black;
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: white;
  margin: 10px 0;
}

.hero p {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: white;
  margin: 5px 0 15px 0;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  align-items: flex-start;
  padding: 0 10px;
}

.card {
  flex: none;
  min-width: 250px;
  margin: 0;
  padding: 20px;
  border-radius: 12px;
  background: #f3f1f1;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  position: relative;
  margin-right: auto;
  margin-left: auto;
}

.card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: black;
  margin-bottom: 8px;
}


.card.student h2::before{
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(3px);
}

.card.student h2::before {
  background-image: url('student.svg');
}

footer {
  flex: 0 0 auto;
  background: #f3f1f1;
  color: black;
  text-align: right;
  padding: 10px;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
}

/* --- Statistics Numbers Section --- */

.stats {
    width: 100%;
    padding: 0 20px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

.stat-item {
    text-align: center;
    padding: 10px 0;
    flex: 1;
    position: relative;
    min-width: 150px;
}
.stat-item::after {
    content: '';
    position: absolute;
    top: 10%; 
    bottom: 10%; 
    right: -10px; 
    width: 1px;
    background-color: #ddd;
    display: block; 
}

.stat-item:last-child {
    border-right: none;
}
.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: black;
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-type {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 500;
    color: #555;
}

@media (max-width: 600px) {
    .stats-grid {
        flex-direction: column;
        gap: 15px;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 10px 0;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
  }
  .card {
    /* width: 80%; */
    max-width: none;
  }
}

@media (max-width: 600px) {
  .card h2 {
    gap: 6px;
    font-size: 1rem;
  }

  .card.student h2::before{
    width: 20px;
    height: 20px;
    transform: translateY(1px);
  }
}
