html {
    scroll-behavior: smooth;
}

.contacts-page {
  background: linear-gradient(#379cd0, #00293f);
  padding: 20px 10px;
}

.contacthead {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 15px;
  text-align: center;
  padding: 30px 0 20px;
  color: white;
}

.contacthead h2 {
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.contacthead p {
  opacity: 0.85;
  font-size: 1rem;
}

.contacts-menu {
  display: flex;
  flex-direction: column;
  gap: 25px;

  max-width: 1000px;
  margin: 0 auto;
  padding: 0;

  list-style: none;
}

.association-card {
  min-height: 280px;
  background: #004080;
  overflow: hidden;
  border-radius: 15px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.association-card h3 {
  color: white;
  margin: 0 0 20px;
  font-size: 1.6rem;
  font-weight: bold;
}

.association-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.association-contacts a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 150px;
  min-height: 130px;

  padding: 14px 10px;

  text-decoration: none;
  color: #222;

  background: #f4f4f4;
  border-radius: 12px;

  transition: 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

  text-align: center;
  gap: 10px;
}

.association-contacts a:hover {
  transform: translateY(-3px);
  background: #fff;
  color: #379cd0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.association-contacts img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.association-contacts span {
  font-weight: 500;
}

.placeholder-block {
  width: 100%;
  text-align: center;
  padding: 50px 20px;
  color: #e9e9e9;
}

.placeholder-block__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 16px;
  opacity: 0.5;
}

.asso-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.asso-head img {
  width: 60px;
  height: 60px;
  object-fit: contain;

  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 6px;
}

.asso-head h3 {
  margin: 0;
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
}

.section-title {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  max-width: 1000px;
  margin: 40px auto 20px;
}

.dev-team-grid,
.co-team-grid {
  margin: 0 auto 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.dev-card {
  width: 240px;
  background: white;
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: 0.25s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.dev-card:hover,
.co-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.dev-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 15px;
  border: 4px solid #379cd0;
}

.dev-card h3 {
  margin: 0;
  color: #00293f;
  font-size: 1.2rem;
}

.section-title-co {
  color: white;
  font-size: 1.7rem;
  font-weight: 800;
  max-width: 1000px;
  margin: 40px auto 20px;
}

.co-card {
  width: 170px;
  background: white;
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: 0.25s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.co-card img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 15px;
  border: 4px solid #379cd0;
}

.co-card h3 {
  margin: 0;
  color: #00293f;
  font-size: 0.9rem;
}

.hidden-association {
    display: none;
}

.show-more-btn {
    display: block;
    margin: 25px auto;
    padding: 12px 24px;

    border: none;
    border-radius: 12px;

    background: #e0f4ff;
    color: #379CD0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;

    transition: 0.2s;
}

.show-more-btn:hover {
    background: #379CD0;
    color: white;
    transform: translateY(-2px);
}
