/* General Reset + Base */
body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  background: #f9f9f9;
  color: #222;
}

/* ================= HEADER ================= */
header {
  background: url("img/clgimg.jpg") center/cover no-repeat;
  color: #ffffff;
  padding: 100px 20px;
  min-height: 400px;
  text-shadow: 0px 0px 3px black;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header h1 {
  background-color: #5985AE;
  border-radius: 4px;
  padding: 8px 16px;
  margin: 0;
  margin-bottom: 1.5rem;
}

header h1 a {
  text-decoration: none;
  color: inherit;
}

header h3 {
  background-color: #CCA186;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 1.5rem;
  margin-top: 10px;
  max-width: 700px;
}

/* ================= BRANCHES SECTION ================= */
#top-3 {
  background: #89B7D5;
  padding: 40px 20px;
}

#top-3 h2 {
  margin-bottom: 30px;
}

#top-3 {
  display: flex;
  flex-wrap: wrap; /* responsive */
  justify-content: space-around;
  gap: 20px;
}

#top-3 article {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 6px #0000001a;
  text-align: center;
  transition: transform 0.3s ease;
}

#top-3 article:hover {
  transform: translateY(-5px);
}

#top-3 .im {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
}

#top-3 h3 a {
  text-decoration: none;
  color: #2b2839;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

#top-3 h3 a:hover {
  border-color: #B77952;
}

/* ================= GUIDE CARD ================= */
.card {
  width: 400px;
  margin: 50px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #4A90BF;
  color: #2b2839;
  border-bottom: 8px solid #B77952;
  border-radius: 8px;
  text-align: center;
}

.avatar {
  width: 150px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card strong {
  font-size: 1.1em;
  display: block;
  margin-bottom: 10px;
}

.card h4 {
  margin-top: 15px;
  font-style: italic;
}

/* Hover effect for all images */
img:hover {
  box-shadow: 8px 8px 12px #B77952;
}
