  /* Magazine Viewer Styles */
  .magazine-viewer-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .magazine-viewer {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
  }
  
  .magazine-inner {
    position: relative;
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
  }
  
  .magazine-page {
    flex: 0 0 50%;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    border-radius: 2px;
  }
  
  .page-content {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* Magazine Controls */
  .magazine-controls {
    position: relative;
    z-index: 10;
  }
  
  /* Issue Thumbnails */
  .issue-thumb {
    width: 180px;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .issue-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .issue-thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
  }
  
  .issue-caption {
    background-color: white;
    text-align: center;
  }
  
  /* Fullscreen Mode */
  .magazine-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  
  .magazine-fullscreen .magazine-viewer {
    height: calc(100vh - 100px);
    border: none;
    background-color: transparent;
  }
  
  .magazine-fullscreen .magazine-controls {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-bottom: 10px;
  }
  
  .magazine-fullscreen #page-counter {
    color: white;
  }
  
  .magazine-fullscreen .btn-outline-primary,
  .magazine-fullscreen .btn-outline-secondary {
    color: white;
    border-color: white;
  }
  
  /* Animation for page turn */
  @keyframes pageTurn {
    0% { transform: rotateY(0deg); opacity: 1; }
    50% { transform: rotateY(90deg); opacity: 0.5; }
    100% { transform: rotateY(0deg); opacity: 1; }
  }
  
  .page-turning {
    animation: pageTurn 0.5s;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .magazine-viewer {
      height: 400px;
    }
    
    .controls-center {
      display: none;
    }
    
    .issue-thumb {
      width: 140px;
    }
    
    .issue-thumb img {
      height: 180px;
    }
  }


  .magazine-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f8f9fa;
    overflow: hidden;
  }
  
  .magazine-frame {
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #f1f1f1;
    min-height: 600px;
  }
  
  /* For mobile devices */
  @media (max-width: 768px) {
    .magazine-frame {
      min-height: 500px;
    }
  }
  
  /* Add a subtle effect on the section */
  #digital-magazine-pdf {
    &.bg-light {
        --bs-bg-opacity: 1;
        background-color: #1c0522 !important;
    }
  }



  /* PDF Magazine Viewer Styles */
  .pdf-magazine-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .pdf-viewer {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: auto;
    background-image: linear-gradient(45deg, #3e3e3eb3, #d9a5e67a);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #f9cd02;
    box-shadow: inset 5px 5px 5px #0000007a;
}
  
  .pdf-canvas {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: white;
  }
  
  #pdf-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 5;
  }
  
  /* Magazine Card Styles */
  .magazine-card {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    overflow: hidden;
  }
  
  .magazine-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .card-cover {
    position: relative;
    overflow: hidden;
  }
  
  .card-cover img {
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s;
  }
  
  .magazine-card:hover .card-cover img {
    transform: scale(1.05);
  }
  
  .card-badges {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  /* Fullscreen Mode */
  .pdf-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: #525659;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }
  
  .pdf-fullscreen .pdf-controls {
    background-color: white;
    margin-bottom: 20px;
  }
  
  .pdf-controls {
    &.bg-white {
        --bs-bg-opacity: 1;
        background-color: rgb(27 23 31) !important;
        border: 1px solid #fcc506;
    }
    &.mb-3 {
        margin-top: 1rem!important;
    }
  }
  

  .pdf-fullscreen .pdf-viewer {
    flex: 1;
    height: auto;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .pdf-viewer {
      height: 600px;
    }
    
    .pdf-controls {
      flex-direction: column;
    }
    
    .controls-nav, .controls-zoom {
      width: 100%;
      justify-content: center;
      margin-bottom: 10px;
    }
  }