/* Library.css */
/* Custom styles for the Library page */

main {
  margin-top: 120px;    
}
    /* Library Hero Section */
    .library-hero-section {
      position: relative;
      padding: 4rem 0;
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/library-bg.jpg') center/cover no-repeat;
    }
    
    .library-stats-card {
      background-color: white;
    }
    
    .stat-number {
      font-size: 1.5rem;
    }
    
    .stat-label {
      font-size: 0.875rem;
      color: #6c757d;
    }
    
    /* Service Cards */
    .service-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }
    
    .service-icon {
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Upcoming Section */
    .upcoming-section {
      position: relative;
    }
    
    .upcoming-badge {
      position: absolute;
      top: 20px;
      right: 20px;
      background-color: #ffc107;
      color: #212529;
      padding: 5px 15px;
      border-radius: 20px;
      font-weight: 600;
      font-size: 0.875rem;
      z-index: 10;
    }
    
    /* Gallery Images */
    .gallery-img {
      transition: transform 0.3s ease;
      height: 200px;
      width: 100%;
      object-fit: cover;
    }
    
    .gallery-img:hover {
      transform: scale(1.03);
    }
    
    /* Faculty Modal */
    .faculty-detail-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      z-index: 1050;
      overflow-y: auto;
    }
    
    .faculty-detail-content {
      position: relative;
      background-color: white;
      margin: 2rem auto;
      max-width: 800px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .faculty-detail-close {
      position: absolute;
      top: 15px;
      right: 15px;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      z-index: 10;
    }
    
    .faculty-detail-body {
      display: flex;
      flex-direction: column;
    }
    
    .faculty-detail-image {
      background-color: #f8f9fa;
      padding: 2rem;
      text-align: center;
    }
    
    .faculty-detail-img-container {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      overflow: hidden;
      margin: 0 auto;
      border: 5px solid white;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .faculty-detail-main-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .faculty-detail-info {
      padding: 2rem;
    }
    
    .faculty-detail-name {
      font-size: 1.75rem;
      margin-bottom: 0.5rem;
    }
    
    .faculty-detail-designation {
      font-size: 1.125rem;
      color: #6c757d;
      margin-bottom: 1.5rem;
    }
    
    .faculty-detail-section {
      margin-bottom: 1.5rem;
    }
    
    .faculty-detail-section h6 {
      color: #0d6efd;
      margin-bottom: 0.5rem;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .library-hero-section {
        padding: 2rem 0;
      }
      
      .library-hero-section h1 {
        font-size: 2rem;
      }
      
      .library-stats-card {
        margin-top: 2rem;
      }
      
      .faculty-detail-body {
        flex-direction: column;
      }
      
      .faculty-detail-image {
        padding: 1.5rem;
      }
      
      .faculty-detail-img-container {
        width: 150px;
        height: 150px;
      }
      
      .faculty-detail-info {
        padding: 1.5rem;
      }
      
      .faculty-detail-name {
        font-size: 1.5rem;
      }
    }
    
    @media (max-width: 576px) {
      .faculty-detail-content {
        margin: 1rem;
      }
      
      .faculty-detail-image {
        padding: 1rem;
      }
      
      .faculty-detail-img-container {
        width: 120px;
        height: 120px;
      }
      
      .faculty-detail-info {
        padding: 1rem;
      }
      
      .faculty-detail-name {
        font-size: 1.25rem;
      }
    }
