/* Workshop.css */
/* Custom styles for the Workshop Practice page */
    :root {
      --primary-color: #0d6efd;
      --secondary-color: #6c757d;
      --success-color: #198754;
      --warning-color: #fd7e14;
      --light-color: #f8f9fa;
      --dark-color: #212529;
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      background-color: #f5f5f5;
    }

    main {
      margin-top: 100px;
    }
    
    /* Workshop Practice specific styles */
    .workshop-hero {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
      background-size: cover;
      background-position: center;
      color: white;
      padding: 100px 0;
      text-align: center;
    }
    
    /* Workshop Cards Styling */
    .workshop-card {
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      height: 100%;
      border: none;
      background: white;
      position: relative;
    }
    
    .workshop-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
    
    .workshop-img {
      height: 200px;
      overflow: hidden;
      position: relative;
    }
    
    .workshop-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .workshop-card:hover .workshop-img img {
      transform: scale(1.1);
    }
    
    .workshop-content {
      padding: 20px;
      position: relative;
    }
    
    .workshop-tag {
      display: inline-block;
      background-color: var(--primary-color);
      color: white;
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      margin-bottom: 10px;
      font-weight: 500;
    }
    
    .workshop-tag.sem1 {
      background-color: var(--success-color);
    }
    
    .workshop-tag.sem2 {
      background-color: var(--warning-color);
    }
    
    .workshop-details {
      list-style: none;
      padding: 0;
      margin: 15px 0;
    }
    
    .workshop-details li {
      margin-bottom: 8px;
      display: flex;
      align-items: center;
    }
    
    .workshop-details li i {
      margin-right: 10px;
      color: var(--primary-color);
    }
    
    .workshop-actions {
      display: flex;
      justify-content: space-between;
      margin-top: 15px;
    }
    
    .workshop-section {
      padding: 80px 0;
    }
    
    .workshop-section:nth-child(even) {
      background-color: var(--light-color);
    }
    
    .section-title {
      position: relative;
      margin-bottom: 50px;
      text-align: center;
    }
    
    .section-title:after {
      content: '';
      display: block;
      width: 80px;
      height: 3px;
      background-color: var(--primary-color);
      margin: 15px auto;
    }
    
    .workshop-feature {
      text-align: center;
      padding: 30px 20px;
      border-radius: 10px;
      transition: all 0.3s ease;
    }
    
    .workshop-feature:hover {
      background-color: white;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      transform: translateY(-5px);
    }
    
    .workshop-feature i {
      font-size: 3rem;
      color: var(--primary-color);
      margin-bottom: 20px;
    }
    
    .safety-card {
      background-color: #e7f1ff;
      border-left: 5px solid var(--primary-color);
      padding: 20px;
      border-radius: 5px;
      margin-bottom: 20px;
    }
    
    .shop-overview {
      background-color: white;
      border-radius: 10px;
      padding: 30px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      margin-bottom: 30px;
      height: 100%;
    }
    
    .tool-list {
      list-style: none;
      padding: 0;
    }
    
    .tool-list li {
      margin-bottom: 10px;
      padding-left: 20px;
      position: relative;
    }
    
    .tool-list li:before {
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--primary-color);
      font-weight: bold;
    }
    
    .workshop-gallery img {
      border-radius: 10px;
      margin-bottom: 20px;
      transition: transform 0.3s ease;
    }
    
    .workshop-gallery img:hover {
      transform: scale(1.05);
    }
    
    .learning-outcomes {
      background-color: var(--light-color);
      padding: 30px;
      border-radius: 10px;
      margin-bottom: 30px;
    }
    
    .outcome-item {
      margin-bottom: 15px;
      padding-left: 25px;
      position: relative;
    }
    
    .outcome-item:before {
      content: '•';
      position: absolute;
      left: 10px;
      color: var(--primary-color);
      font-size: 1.2rem;
    }
    
    .semester-badge {
      display: inline-block;
      padding: 8px 20px;
      border-radius: 20px;
      font-weight: 600;
      margin-bottom: 20px;
      font-size: 1.1rem;
    }
    
    .semester-badge.sem1 {
      background-color: #d1e7dd;
      color: #0f5132;
    }
    
    .semester-badge.sem2 {
      background-color: #ffe5d0;
      color: #984c0c;
    }
    
    /* Filter buttons styling */
    .filter-buttons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 40px;
    }
    
    .filter-btn {
      border: 2px solid var(--primary-color);
      background: transparent;
      color: var(--primary-color);
      padding: 8px 20px;
      border-radius: 30px;
      transition: all 0.3s ease;
      font-weight: 500;
    }
    
    .filter-btn:hover, .filter-btn.active {
      background-color: var(--primary-color);
      color: white;
    }
    
    /* Card animation for filtering */
    .workshop-item {
      transition: all 0.5s ease;
    }
    
    .workshop-item.hidden {
      display: none;
    }
    
    /* Loading animation */
    .loading {
      display: none;
      text-align: center;
      padding: 20px;
    }
    
    .spinner {
      width: 40px;
      height: 40px;
      border: 4px solid rgba(0, 0, 0, 0.1);
      border-left-color: var(--primary-color);
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto;
    }
    
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    
    /* Card hover effects */
    .card-hover-effect {
      position: relative;
      overflow: hidden;
    }
    
    .card-hover-effect::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1));
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1;
    }
    
    .workshop-card:hover .card-hover-effect::before {
      opacity: 1;
    }
    
    /* Workshop Details Modal Styling */
    .workshop-modal .modal-header {
      background-color: var(--primary-color);
      color: white;
      border-bottom: none;
    }
    
    .workshop-modal .modal-header .btn-close {
      filter: invert(1);
    }
    
    .workshop-modal .modal-body {
      padding: 2rem;
    }
    
    .workshop-detail-section {
      margin-bottom: 2rem;
    }
    
    .workshop-detail-section h5 {
      color: var(--primary-color);
      margin-bottom: 1rem;
      border-bottom: 2px solid var(--light-color);
      padding-bottom: 0.5rem;
    }
    
    .detail-list {
      list-style-type: none;
      padding-left: 0;
    }
    
    .detail-list li {
      margin-bottom: 0.5rem;
      padding-left: 1.5rem;
      position: relative;
    }
    
    .detail-list li:before {
      content: "•";
      color: var(--primary-color);
      position: absolute;
      left: 0.5rem;
    }
    
    .workshop-tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
    }
    
    .tool-item {
      background-color: var(--light-color);
      padding: 1rem;
      border-radius: 8px;
      text-align: center;
    }
    
    .tool-item i {
      font-size: 2rem;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .workshop-hero {
        padding: 60px 0;
      }
      
      .workshop-section {
        padding: 50px 0;
      }
      
      .filter-buttons {
        flex-direction: column;
        align-items: center;
      }
      
      .filter-btn {
        width: 80%;
        margin-bottom: 10px;
      }
      
      .workshop-tools-grid {
        grid-template-columns: 1fr;
      }
    }
 