/* Syllabus Section */
.syllabus {
    padding: 80px 0;
    background: white;
    text-align: center;
  }
  
  .syllabus h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }
  
  .syllabus .syllabus-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .syllabus .syllabus-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 40px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .syllabus .syllabus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  .syllabus .syllabus-card i {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 20px;
  }
  
  .syllabus .syllabus-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .syllabus .syllabus-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
  }
  
  .syllabus .syllabus-card .btn {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .syllabus .syllabus-card .btn:hover {
    background: #45a049;
  }
  
 /* Full-Screen PDF Viewer Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    overflow: auto;
  }
  
  .modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    box-sizing: border-box;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: rgb(136, 3, 3);
    cursor: pointer;
    z-index: 1001;
  }
  
  .close:hover {
    color: #f80000;
  }
  
  #pdfViewer {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 90vh;
  }
  
  #pdfViewer canvas {
    display: block;
    margin: 10px auto;
    border: 1px solid #ccc;
    width: 100%; /* Ensure canvas fits the container width */
    height: auto; /* Maintain aspect ratio */
  }