
.btn-primary-modern {
  background: linear-gradient(45deg, #ff6b35, #ff8a60);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
  width: 20rem;
}

.btn-primary-modern:hover {
  background: linear-gradient(45deg, #ff5722, #ff6b35);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  color: white;
}

.btn-secondary-modern {
  background: #1a4b73;
  border: 2px solid white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 20rem;
}

.btn-secondary-modern:hover {
  background: white;
  color: #0e3559;
  transform: translateY(-3px);
  
}

.learn-more-btn-container {
    margin-top: 2rem;
    max-height: 200px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.learn-more-btn {
  display: inline-block;
  background: linear-gradient(45deg, #0e3559, #1a4b73);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(14, 53, 89, 0.3);
}

.learn-more-btn:hover {
  background: linear-gradient(45deg, #1a4b73, #2c5f8a);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 53, 89, 0.4);
  color: white;
}

.exec-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.exec-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.exec-info {
  padding: 1.5rem;
  text-align: center;
}

.exec-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0e3559;
  margin-bottom: 0.5rem;
}

.exec-position {
  color: #6c757d;
  font-size: 1rem;
  font-weight: 500;
}

.contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

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

.about-grid,
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image,
.mission-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image img,
.mission-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.about-image:hover img,
.mission-image:hover img {
  transform: scale(1.05);
}

.calendar-container {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.calendar-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 10px;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  justify-items: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.alumni-card {
  background: linear-gradient(145deg, #2c3e50, #34495e);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  text-align: center;
  color: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  max-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.alumni-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.alumni-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #ff8a60);
}

/* Loading Spinner and Lazy Loading Styles */
.alumni-photo-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid rgba(14, 53, 89, 0.1);
  border-top: 3px solid #0e3559;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  z-index: 2;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.alumni-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(14, 53, 89, 0.1);
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.alumni-photo:hover {
  border-color: #0e3559;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(14, 53, 89, 0.2);
}

/* Loading state styles */
.alumni-photo-container.loading .loading-spinner {
  display: block;
}

.alumni-photo-container.loading .alumni-photo {
  opacity: 0.3;
}

/* Error state styles */
.alumni-photo.error {
  opacity: 0.6;
  filter: grayscale(100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .alumni-photo-container {
    width: 100px;
    height: 100px;
  }
  
  .alumni-photo {
    width: 100px;
    height: 100px;
  }
  
  .loading-spinner {
    width: 25px;
    height: 25px;
    border-width: 2px;
  }
}

@media (max-width: 576px) {
  .alumni-photo-container {
    width: 80px;
    height: 80px;
  }
  
  .alumni-photo {
    width: 80px;
    height: 80px;
  }
  
  .loading-spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }
}

.alumni-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: white;
}

.alumni-title {
  font-size: 1.1rem;
  color: #ff6b35;
  font-weight: 600;
  margin-bottom: 0.3rem;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.alumni-company {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 0.7rem;
  text-transform: capitalize;
}

.alumni-major {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.7rem;
  font-style: italic;
}

.alumni-shpe-status {
  font-size: 0.85rem;
  color: white;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(45deg, #0e3559, #1a4b73);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(14, 53, 89, 0.3);
}

.alumni-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  flex-grow: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-height: 120px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* Custom scrollbar for webkit browsers */
.alumni-bio::-webkit-scrollbar {
  width: 6px;
}

.alumni-bio::-webkit-scrollbar-track {
  background: transparent;
}

.alumni-bio::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.alumni-bio::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.alumni-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.alumni-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.alumni-social a:hover {
  background: #ff6b35;
  transform: translateY(-2px);
}

.alumni-contact-btn {
  background: linear-gradient(45deg, #ff6b35, #ff8a60);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.alumni-contact-btn:hover {
  background: linear-gradient(45deg, #ff5722, #ff6b35);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.featured-alumni {
  margin-bottom: 4rem;
}

.featured-alumni .alumni-card {
  background: linear-gradient(145deg, #0e3559, #1a4b73);
  border: 2px solid rgba(255, 107, 53, 0.3);
}

.featured-alumni .alumni-card::before {
  height: 6px;
  background: linear-gradient(90deg, #ff6b35, #0e3559);
}

.alumni-year-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 107, 53, 0.9);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.alumni-stats {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 3rem;
}

.alumni-stats h3 {
  color: #0e3559;
  margin-bottom: 0.5rem;
}

.alumni-stats p {
  color: #6c757d;
  margin: 0;
}
