    .video_body {
      font-family: 'Roboto', sans-serif;
      margin: 0;
      background-color: #f8f9fa;
      color: #333;
    }

  .video_header {
  background-color: #fff;           
  color: #1e3a8a;                
  padding: 30px 20px;              
  text-align: center;
  font-size: 2rem;                 
  font-weight: 600;                 
  border-bottom: 2px solid #e0e0e0;
  letter-spacing: 0.5px;            
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
  margin-bottom: 30px;
}



    .video_container {
      max-width: 1100px;
      margin: 40px auto;
      padding: 0 20px;
    }

    .event-list {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 40px;
    }

    .event-card {
      background: #fff;
      flex: 1 1 150px;
      min-width: 120px;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      cursor: pointer;
      transition: transform 0.3s, box-shadow 0.3s;
      text-align: center;
      font-weight: 500;
    }

    .event-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .videos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 20px;
    }

    .video-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .video-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .video-card img {
      width: 100%;
      display: block;
    }

    .video-card .title {
      padding: 10px;
      font-weight: 500;
      text-align: center;
      background-color: #f8f9fa;
    }

    /* Modal for video */
    .modal {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.7);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal-content {
      position: relative;
      width: 90%;
      max-width: 900px;
    }

    .modal-content iframe {
      width: 100%;
      height: 500px;
      border: none;
      border-radius: 12px;
    }

    .close-btn {
      position: absolute;
      top: -15px;
      right: -15px;
      background: white;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    /* --- Existing CSS remains the same --- */

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    margin: 20px auto;
    padding: 0 10px;
  }

  .event-list {
    flex-direction: column;
    gap: 10px;
  }

  .event-card {
    flex: 1 1 100%;
    min-width: auto;
    padding: 15px;
    font-size: 1rem;
  }

  .videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .video-card .title {
    font-size: 0.9rem;
    padding: 8px;
  }

  #video-modal .modal-content iframe {
    height: 300px; /* smaller iframe for mobile */
  }

  .video_header {
    font-size: 1.6rem;
    padding: 20px 10px;
  }
}


/*############################## ATTENDANCE ####################################*/
/* Sidebar */
.attend-sidebar {
    width: 250px;
    background: #2c3e50;
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    padding-top: 20px;
    transition: 0.3s;
}

.attend-sidebar .attend-h2 {
    text-align: center;
    margin-bottom: 20px;
}

.attend-sidebar .attend-ul {
    list-style: none;
}

.attend-sidebar .attend-ul .attend-li {
    padding: 15px 20px;
    cursor: pointer;
}

.attend-sidebar .attend-ul .attend-li:hover {
    background: #34495e;
}

/* Main Content */
.attend-main-content {
    margin-left: 350px;
    padding: 30px;
    width: 100%;
    max-width: 950px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.att_h1{
    text-align: center;
        font-size:35px;
        margin-bottom: 20px;
        color: #333;
}

/* Toggle Button */
.attend-toggle-btn {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    background: #2c3e50;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1100;
    border-radius: 4px;
}

/* Table */
.attend-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.attend-thead {
    background: #3498db;
    color: white;
}

.attend-th, .attend-td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

/* Mobile View */
@media (max-width: 768px) {

    .attend-sidebar {
        left: -250px;
    }

    .attend-sidebar.active {
        left: 0;
    }

    .attend-main-content {
        margin-left: 0;
        margin-top: 10%;
    }

    .attend-toggle-btn {
        display: block;
    }
}

.attendance-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 22px;
  border-radius: 12px;
  border: none;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;

  cursor: pointer;
  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;



color: white;
  /* Beautiful depth effect */
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.06);
}

/* Hover effect */
.attendance-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.12),
    0 14px 24px rgba(0, 0, 0, 0.08);
}

/* Click press effect */
.attendance-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Focus for accessibility */
.attendance-btn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.2);
  outline-offset: 3px;
}




