/* Alumni and HNI Network Specific Styles */
.alumni-section {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.alumni-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.alumni-section h3 {
  color: var(--primary-color);
  font-size: 3.2rem;
  position: relative;
  display: inline-block;
}

.alumni-section h3::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.4rem;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.alumni-content {
  position: relative;
  z-index: 1;
}

.alumni-text p {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--text-color);
}

.alumni-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
}

.alumni-logo {
  width: 140px;
  height: 140px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 5px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.alumni-logo::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.alumni-logo:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary-color);
}

.alumni-logo:hover::before {
  top: 100%;
  left: 100%;
}

.alumni-logo img {
  max-width: 75%;
  max-height: 75%;
  transition: all 0.4s ease;
}

.alumni-logo:hover img {
  transform: scale(1.1);
}

.hni-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.hni-network-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.hni-network-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hni-network-header {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hni-network-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1557683316-973673baf926?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.hni-network-header h4 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  position: relative;
}

.hni-network-body {
  padding: 2.5rem;
}

.hni-network-body p {
  margin-bottom: 2rem;
}

.hni-network-features {
  list-style: none;
}

.hni-network-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.hni-network-features li i {
  color: var(--secondary-color);
  margin-right: 1.5rem;
  font-size: 1.8rem;
}

.hni-network-footer {
  padding: 2rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.global-connections-map {
  height: 400px;
  background: linear-gradient(rgba(10, 36, 99, 0.8), rgba(10, 36, 99, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.global-connections-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.3) 0%, rgba(10, 36, 99, 0) 70%);
}

.global-connections-content {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 15px;
  max-width: 80%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.global-connections-content h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.connection-points {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.connection-point {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary-color);
  animation: pulse 2s infinite;
}

.connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  transform-origin: left center;
  animation: grow 3s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes grow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100px;
    opacity: 1;
  }
}

/* Responsive styles */
@media screen and (max-width: 992px) {
  .alumni-logos {
    gap: 3rem;
  }
  
  .alumni-logo {
    width: 120px;
    height: 120px;
  }
  
  .hni-network-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .alumni-section {
    padding: 4rem 2rem;
  }
  
  .alumni-logos {
    gap: 2rem;
  }
  
  .alumni-logo {
    width: 100px;
    height: 100px;
  }
  
  .hni-network-grid {
    grid-template-columns: 1fr;
  }
  
  .global-connections-content {
    max-width: 90%;
    padding: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .alumni-logos {
    gap: 1.5rem;
  }
  
  .alumni-logo {
    width: 80px;
    height: 80px;
  }
}
