/* =========================================
   REGISTERED & AFFILIATED WITH (affiliations-section.css)
========================================= */
html {                      
    scroll-behavior: smooth;
}                           

.affiliations-section,
.affiliations-section * {
  box-sizing: border-box;
}

.affiliations-section {
  width: 100%;
  padding: 68px 24px;
  background-color: #ffffff;
  overflow: hidden;
}

.affiliations-inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* Section Header */
.affiliations-header {
  text-align: center;
  margin-bottom: 36px;
}

.affiliations-tag {
  display: inline-block;
  color: #a47a22;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.affiliations-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #285b40;
  margin: 0;
}

/* Cards Grid */
.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* Individual Affiliation Card */
.affiliation-card {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 20px rgba(23, 53, 45, 0.05);
  border: 1px solid #d7e8d1;
  background: linear-gradient(145deg, #ffffff 0%, #edf6e9 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.affiliation-card:hover {
  transform: translateY(-5px);
  border-color: #c9a64e;
  box-shadow: 0 12px 26px rgba(23, 53, 45, 0.1);
}

/* Logo / Icon Badge Box */
.affiliations-logo-box {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #285b40 0%, #17352d 100%);
  border: 2px solid #c9a64e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 10px;
  box-shadow: 0 6px 14px rgba(23, 53, 45, 0.14);
  transition: transform 0.25s ease, background 0.25s ease;
}

.affiliation-card:hover .affiliations-logo-box {
  background: linear-gradient(135deg, #a47a22 0%, #c9a64e 100%);
  transform: scale(1.05);
}

.affiliations-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.affiliations-logo-box i {
  font-size: 1.85rem;
  color: #e8cb7a;
  transition: color 0.25s ease;
}

.affiliation-card:hover .affiliations-logo-box i {
  color: #ffffff;
}

/* Affiliation Name */
.affiliation-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #17352d;
  margin: 0;
}

/* =========================================
   TABLET RESPONSIVE (<= 991px)
========================================= */

@media (max-width: 991px) {
  .affiliations-section {
    padding: 54px 20px;
  }

  .affiliations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .affiliations-title {
    font-size: 1.75rem;
  }
}

/* =========================================
   MOBILE RESPONSIVE (<= 767px)
========================================= */

@media (max-width: 767px) {
  .affiliations-section {
    padding: 44px 16px;
  }

  .affiliations-header {
    margin-bottom: 28px;
  }

  .affiliations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .affiliation-card {
    padding: 22px 16px;
    border-radius: 12px;
  }

  .affiliations-logo-box {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
  }

  .affiliations-logo-box i {
    font-size: 1.65rem;
  }
}

/* =========================================
   SMALL MOBILE (<= 480px)
========================================= */

@media (max-width: 480px) {
  .affiliations-section {
    padding: 36px 14px;
  }

  .affiliations-tag {
    font-size: 0.78rem;
    letter-spacing: 1.2px;
  }

  .affiliations-title {
    font-size: 1.5rem;
  }

  .affiliation-name {
    font-size: 0.95rem;
  }
}