:root {
  --blue: #1e88e5;
  --blue-dark: #0d47a1;
  --blue-light: #e3f2fd;
  --white: #ffffff;
  --gray: #6b7280;
  --shadow: 0 0 25px rgba(0,0,0,0.1);
}

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

body {
  font-family: "Inter", sans-serif;
  background: #f5f9ff;
  color: #1f2937;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.nav-container {
  background-color: #285aaa;
  color: var(--white);
  padding: 24px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
}

.brand img {
  width: 64px;
  height: px;
  border-radius: 50%;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px
}

nav a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: #7dc4ff;
}

nav a.card {
  display: flex;
  align-items: center;
  padding: 2px 6px;
  background-color: #fff;
  border-radius: 8px;
}

nav a.card img {
  max-height: 25px;
}

nav a.card:hover {
  background-color: #ededed;
}


/* Language buttons */
.lang-buttons {
  display: flex;
  gap: 8px;
}

.lang-btn {
  padding: 6px 12px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  background-color: var(--white);
  color: var(--blue-dark);
}

.lang-btn:hover {
  background-color: #e3f2fd;
}

.lang-btn.active {
  background-color: var(--blue-dark);
  color: var(--white);
}

/* ================= HERO ================= */
.hero {
  height: 180px;
  background: linear-gradient(to bottom, #0d48a1e6, #1e88e5b3), url("https://images.unsplash.com/photo-1501630834273-4b5604d2ee31") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 12px;
  animation: fadeInDown 1s ease forwards;
}

.hero p {
  font-size: 16px;
  opacity: 0.95;
  animation: fadeInUp 1s ease forwards;
}

/* ================= SECTIONS ================= */
section {
  padding: 70px 24px;
  max-width: 1200px;
  margin: auto;
}

section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

/* ================= ROLES GRID ================= */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* ROLE CARD */
.role-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 20px 35px rgba(0,0,0,0.18);
}

.role-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.role-card ul {
  text-align: left;
  list-style: disc inside;
}

.role-card li {
  margin-bottom: 6px;
  color: #333;
  font-size: 14px;
}

/* ================= FOOTER ================= */
/*  FOOTER  */
footer {
  height: 200px;
  background: linear-gradient(to bottom, #1e88e5b3, #0d48a1e6), url("https://images.unsplash.com/photo-1501630834273-4b5604d2ee31") center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding-top: 30px;
  padding-bottom: 20px;
  margin-top: 60px;
  font-size: 14px;
  border-radius: 12px 12px 0 0;
}

.logos {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-evenly;
  flex-shrink: 0;
  background-color: transparent;
}

.circle {
  border-radius: 50%;
}

.logos img {
  max-height: 100px;
}

.copyright {
  margin-top: 25px;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero { height: 260px; }
  .hero.small { height: 200px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero.small p { font-size: 14px; padding: 0 20px; }

  header .container { flex-direction: column; gap: 12px; }

  .timeline { padding-left: 16px; }
  .timeline-item { flex-direction: column; align-items: flex-start; }
  .timeline-icon { margin-bottom: 12px; }
  .timeline-content { max-width: 100%; }
  
  .nav-container {
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav a {
    font-size: 14px;
  }

  /* SLIDESHOW ADJUSTMENTS */
  .text {
    top: 20px;
    left: 20px;
    width: 180px;
  }

  #slideshow {
    flex-direction: column;
    gap: 20px;
  }

  .table {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    width: 100%;
    padding: 12px;
  }
  .table li {
    white-space: nowrap;
    border-radius: 12px;
  }
  .prev, .next { font-size: 16px; width: 40px; height: 40px;}
  .text {font-size : 12px; width: 180px; }
  .text h1 { font-size: 16px; }
}

@media (max-width: 480px) {
  .timeline-content h3 { font-size: 16px; }
  .timeline-content p { font-size: 13px; }
  .member-card h3 { font-size: 16px; }
  .timeline-image { max-width: 100%; }
  .logos img { max-height: 64px; }
  .text {
    width: 140px;
    top: 15px;
    left: 15px;
  }
}
