/* Modern Alumni Services Section */
.alumni-services {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  position: relative;
}

.service-item {
  position: relative;
  padding: 40px 20px;
  transition: all 0.5s ease;
  background: transparent;
}

.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, #1e3c72, #2a5298);
  transition: height 0.5s ease;
}

.service-item:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  color: #1e3c72;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.service-item:hover .service-icon {
  transform: translateY(-10px) scale(1.1);
}

.service-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 20px;
  transition: all 0.5s ease;
}

.service-description {
  color: #64748b;
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  transform: translateY(0);
  transition: all 0.5s ease;
}

.service-item:hover .service-title,
.service-item:hover .service-description {
  transform: translateX(10px);
}

.service-stats {
  margin-top: 1.5rem;
  padding-left: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.service-item:hover .service-stats {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3c72;
  display: block;
}

.stat-label {
  color: #64748b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Notable Alumni Section - Modern Design */
.notable-alumni {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.notable-alumni::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); */
  opacity: 0.3;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.2);
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.alumni-card {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}

.alumni-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.alumni-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.alumni-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.alumni-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: grayscale(20%);
}

.alumni-card:hover .alumni-image {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.alumni-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 60, 114, 0.2) 0%,
    rgba(30, 60, 114, 0.7) 100%
  );
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alumni-card:hover .alumni-overlay {
  opacity: 1;
}

.alumni-social {
  display: flex;
  gap: 20px;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 10;
  opacity: 0;
}

.alumni-card:hover .alumni-social {
  transform: translateY(0);
  opacity: 1;
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  color: #1e3c72;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 1;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.social-link:hover {
  background: white;
  color: #1e3c72;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.alumni-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.alumni-info {
  margin-bottom: 20px;
}

.alumni-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e3c72;
  line-height: 1.2;
}

.alumni-designation {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.alumni-description {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.alumni-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.achievement-tag {
  display: inline-block;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #475569;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.achievement-tag:hover {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.alumni-cta {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.alumni-cta p {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 25px;
  font-weight: 500;
}

.alumni-cta .btn {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.alumni-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(30, 60, 114, 0.4);
}

.alumni-social a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.alumni-item:hover .alumni-name {
  transform: translateY(-5px);
}

.alumni-item:hover .alumni-designation {
  transform: translateY(-3px);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.section-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1e3c72;
  position: relative;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.3rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.section-header:hover::after {
  width: 150px;
}

/* Alumni Chapters Section */
.alumni-chapters {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.chapter-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.chapter-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 60, 114, 0.2),
    rgba(42, 82, 152, 0.8)
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.chapter-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.chapter-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.chapter-name {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.chapter-location {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}

.chapter-stats {
  display: flex;
  gap: 20px;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
}

.chapter-stat {
  color: white;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chapter-item:hover {
  transform: perspective(1000px) rotateX(5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.chapter-item:hover::before {
  opacity: 1;
}

.chapter-item:hover .chapter-image {
  transform: scale(1.1);
}

.chapter-item:hover .chapter-content {
  transform: translateY(0);
}

.chapter-item:hover .chapter-name,
.chapter-item:hover .chapter-location,
.chapter-item:hover .chapter-stats {
  opacity: 1;
  transform: translateY(0);
}

/* Chapter Link Styles */
.chapter-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  text-decoration: none;
}

.chapter-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.chapter-item:hover .chapter-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .alumni-services,
  .notable-alumni {
    padding: 80px 0 60px;
  }

  .service-grid,
  .alumni-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }

  .alumni-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .alumni-image-wrapper {
    height: 240px;
  }

  .alumni-content {
    padding: 25px;
  }

  .alumni-name {
    font-size: 1.6rem;
  }

  .alumni-designation {
    font-size: 1rem;
  }

  .alumni-description {
    font-size: 0.9rem;
  }

  .alumni-social {
    gap: 15px;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
    text-align: center;
  }

  .section-header p {
    text-align: center;
    margin: 0 auto;
  }

  .section-header::after {
    left: 50%;
    transform: translateX(-50%) scaleX(0.3);
  }

  .section-header:hover::after {
    transform: translateX(-50%) scaleX(1);
  }

  .service-title {
    font-size: 1.5rem;
  }

  .alumni-chapters {
    padding: 60px 0;
  }

  .chapters-grid {
    gap: 20px;
  }

  .chapter-content {
    padding: 1.5rem;
  }

  .chapter-name {
    font-size: 1.5rem;
  }

  .chapter-stats {
    gap: 15px;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .alumni-cta {
    margin-top: 40px;
  }

  .alumni-cta p {
    font-size: 1.1rem;
  }

  .alumni-cta .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .notable-alumni {
    padding: 60px 0 40px;
  }

  .alumni-grid {
    gap: 25px;
    padding: 30px 0;
  }

  .alumni-card {
    max-width: 100%;
  }

  .alumni-image-wrapper {
    height: 200px;
  }

  .alumni-content {
    padding: 20px;
  }

  .alumni-name {
    font-size: 1.4rem;
  }

  .alumni-designation {
    font-size: 0.9rem;
  }

  .alumni-description {
    font-size: 0.85rem;
  }

  .alumni-social {
    gap: 12px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .achievement-tag {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .alumni-cta p {
    font-size: 1rem;
  }

  .alumni-cta .btn {
    padding: 10px 25px;
    font-size: 0.85rem;
  }
}

/* Modern Alumni Services Section - Timeline/Feature List Style */
.alumni-services {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.service-row {
  display: grid;
  grid-template-columns: 48px 1fr 160px;
  align-items: center;
  min-height: 110px;
  background: none;
  position: relative;
  padding: 0 0 0 0;
}

.service-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
  min-width: 48px;
  justify-content: center;
}

.service-dot {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(30, 60, 114, 0.12);
  border: 3px solid #fff;
  margin: 0 auto;
}

.service-line {
  flex: 1 1 auto;
  width: 2px;
  background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
  opacity: 0.15;
  margin: 0 auto;
  min-height: 30px;
}

.service-row:last-child .service-line {
  display: none;
}

.service-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.service-icon-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0.2rem;
}

.service-icon {
  font-size: 2.1rem;
  color: #1e3c72;
  display: inline-block;
  margin: 0;
  transition: transform 0.3s;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3c72;
  margin: 0;
}

.service-description {
  color: #64748b;
  line-height: 1.7;
  font-size: 1.08rem;
  margin-bottom: 0;
  margin-left: 2.7rem;
}

.service-stats-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 120px;
  padding-right: 12px;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3c72;
  display: block;
}

.stat-label {
  color: #64748b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 36px 1fr 90px;
    min-height: 80px;
  }
  .service-dot {
    width: 10px;
    height: 10px;
  }
  .service-icon {
    font-size: 1.3rem;
  }
  .service-title {
    font-size: 1rem;
  }
  .service-description {
    font-size: 0.95rem;
    margin-left: 2rem;
  }
  .service-stats-col {
    min-width: 70px;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .alumni-services {
    padding: 60px 0;
  }
  .service-list {
    margin-top: 18px;
    gap: 32px;
  }
  .service-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    min-height: 0;
    gap: 0;
    padding: 0 0 24px 0;
    border-bottom: 1px solid #e0e7ef;
    margin-bottom: 16px;
  }
  .service-timeline {
    min-width: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
  }
  .service-dot {
    width: 12px;
    height: 12px;
    margin-bottom: 0;
  }
  .service-line {
    min-height: 40px;
    width: 2px;
    margin: 0 auto;
  }
  .service-main {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 12px;
  }
  .service-icon-title {
    gap: 10px;
    margin-bottom: 0.1rem;
  }
  .service-icon {
    font-size: 1.5rem;
  }
  .service-title {
    font-size: 1.1rem;
  }
  .service-description {
    font-size: 0.98rem;
    margin: 0 0 0 0;
    line-height: 1.6;
  }
  .service-stats-col {
    align-items: flex-start;
    min-width: 0;
    padding: 0;
    margin: 10px 0 0 12px;
    border-left: 2px solid #e0e7ef;
    padding-left: 12px;
  }
  .stat-number {
    font-size: 1.1rem;
  }
  .stat-label {
    font-size: 0.85rem;
  }
  .service-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}
