/* ============================================
   SMALL INSTRUCTOR CARD - CSS
   Compact version for quick instructor intro
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500&display=swap');

/* ============================================
   SMALL INSTRUCTOR CARD
   ============================================ */
.instructor-card-small {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
  margin: 0 auto;
}

.instructor-card-small:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ============================================
   PHOTO SECTION
   ============================================ */
.instructor-photo-small-wrapper {
  margin: 0 auto 15px;
  width: 100px;
  height: 100px;
  position: relative;
}

.instructor-photo-small {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.instructor-photo-small:hover {
  transform: scale(1.05);
}

/* Decorative ring */
.instructor-photo-small-wrapper::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(1, 207, 221, 0.4);
  animation: rotate-small 20s linear infinite;
}

@keyframes rotate-small {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   INFO SECTION
   ============================================ */
.instructor-info-small {
  text-align: center;
}

.instructor-name-small {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.instructor-title-small {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #457b9d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.instructor-desc-small {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #4a5568;
  margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile */
@media (max-width: 768px) {
  .instructor-card-small {
    padding: 20px 18px;
    max-width: 100%;
  }
  
  .instructor-photo-small-wrapper {
    width: 90px;
    height: 90px;
  }
  
  .instructor-name-small {
    font-size: 18px;
  }
  
  .instructor-title-small {
    font-size: 12px;
  }
  
  .instructor-desc-small {
    font-size: 13px;
  }
}

/* Very small mobile */
@media (max-width: 480px) {
  .instructor-card-small {
    padding: 18px 15px;
  }
  
  .instructor-photo-small-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .instructor-name-small {
    font-size: 17px;
  }
  
  .instructor-desc-small {
    font-size: 12px;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Focus states */
.instructor-card-small:focus-within {
  outline: 3px solid #01cfdd;
  outline-offset: 3px;
}
