* {
    margin: 0;
    padding: 0;
    /*box-sizing: border-box;*/
  }
  body {
    font-family: 'Poppins', sans-serif;
    padding: 70px;
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #343a40;
    padding: 1rem;
    z-index: 1100;
  }
  
  .navbar-brand {
    color: #fff !important;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .navbar-toggler {
    border: none;
  }
  
  .navbar-toggler-icon i {
    color: #fff;
    font-size: 1.5rem;
  }
  
  /* Nav Overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    transition: left 0.3s ease;
    z-index: 1200;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }
  
  .nav-overlay.active {
    left: 0;
  }
  
  .nav-list {
    list-style: none;
    /* text-align: center; */
  }
  
  .nav-list li {
    margin: 1.5rem 0;
  }
  
  .nav-link {
    display: block;
    color: #fff !important;
    font-size: 1.8rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    color: #0dcaf0 !important;
  }
  
  .nav-link:active, .nav-link:focus, .nav-link.active {
    text-decoration: underline;
    text-decoration-color: #0dcaf0;
    text-decoration-thickness: 3px;
    box-shadow: 0 4px 8px rgba(13, 202, 240, 0.5);
    color: #0dcaf0 !important;
  }
  
  .nav-link i {
    margin-right: 0.5rem;
  }
  
  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .close-btn:hover {
    color: #0dcaf0;
  }
  
  .close-btn i {
    line-height: 1;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(25px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes imageFadeIn {
    from {
      opacity: 0;
      transform: scale(1.15);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* Responsive Hero Section */
  @media (max-width: 768px) {
    .hero-section {
      height: 450px;
    }
    .hero-content {
      flex: 0 0 180px;
      padding: 1rem;
    }
    .hero-image {
      flex: 0 0 270px;
      height: 270px;
    }
    .hero-heading {
      font-size: 1.8rem;
    }
    .hero-subheading {
      font-size: 1rem;
    }
    .hero-button {
      padding: 0.6rem 1.5rem;
      font-size: 1rem;
    }
  }
  
  /* Carousel */
  .carousel {
    margin-top: 2rem;
    background-color: #f8f9fa;
    padding: 2rem 0;
  }
  
  .carousel-content {
    text-align: center;
    padding: 4rem 1rem;
    color: #343a40;
  }
  
  .carousel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease;
  }
  
  .carousel-content p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 0.8rem;
    color: #343a40;
    line-height: 1.6;
  }
  
  .quote-author {
    font-style: italic;
    color: #6c757d;
  }
  
  .arabic-text {
    direction: rtl;
    font-family: 'Noto Naskh Arabic', sans-serif;
    font-size: 2.8rem;
    line-height: 1.4;
    color: #1a3c34;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
 
  
  /* Track Activities Section */
  .activities-section {
    padding: 5rem 0;
  }
  
  .activities-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a3c34;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
  }
  
  .project-card {
    background: linear-gradient(145deg, #ffffff, #e6f7fa);
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  }
  
  .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .project-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a3c34;
    margin-bottom: 1rem;
    text-transform: capitalize;
  }
  
  .project-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
  }
  
  .project-details {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 1.5rem;
  }
  
  .project-details p {
    margin: 0.3rem 0;
  }
  
  .project-status {
    margin-top: 1rem;
  }
  
  .project-status .progress {
    background-color: #e9ecef;
    border-radius: 10px;
  }
  
  .project-status .progress-bar {
    border-radius: 10px;
    font-weight: 600;
  }
  
  .project-status span {
    font-size: 1rem;
    color: #555;
    display: block;
    margin-top: 0.5rem;
  }
  
  .project-status i {
    margin-right: 0.5rem;
  }
  
  /* Filter Buttons (Bootstrap btn-group) */
  .btn-group .filter-btn {
    margin: 0 0.5rem;
  }
  
  .btn-group .filter-btn.active {
    background-color: #0aa8cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  }
  
  /* Animation for filtered projects */
  @keyframes filterFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Statistics Section */
  .statistics-section {
    padding: 5rem 0;
  }
  
  .statistics-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a3c34;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
  }
  
  .statistics-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a3c34;
    margin-bottom: 1.5rem;
  }
  
  .stat-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px; /* Fixed height for consistency */
    border: 1px solid black;
  }
  
  .stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: linear-gradient(145deg, #ffffff, #333333);
  }
  
  .stat-image {
    width: 100%;
    height: 150px;
    max-height: 150px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    /* addition code */
    margin: 0 auto 1rem auto;
    transform: scale(1.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6f7fa;
    padding: 10px;

  }
  
  .stat-card:hover .stat-image {
    transform: scale(1.05);
  }
  
  .stat-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a3c34;
    margin-bottom: 0.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 1rem;
  }
  
  .stat-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #0dcaf0;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .stat-link:hover {
    background-color: #0aa8cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  }
  /* EKP table */
  .enrolled-table .ekp-button {
    background-color: #fff;
  }
  /* .enrolled-table .ekp-button:hover{
    background-color: #0b5ed7;
  } */
  
  /* Collection table */
  .collection-section form {
    display: inline-block;
    width: auto;
    text-align: center;
    white-space: nowrap;
  }
  .collection-table {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
  }
  .collection-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a3c34;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
  }
  .collection-table th, .collection-table td {
    font-size: 0.9rem;
  }
  .collection-button  {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
  }
  .collection-select {
    font-size: 0.8rem;
    display:inline-block;
    width: auto;
    max-width: 300px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #0dcaf0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  .totals-section h3 {
    font-size: 1.3rem;
  }

  /* DATATABLE */
     label{
      font-weight: bold;
     }
     .dataTables_length label { /* prevent filter entries not to display */
       display: none;
     }  
     .dataTables_filter {
     display: inline-block;
 }
 .dataTables_filter label {
     display: inline-block;
     font-weight: 500;
     color: #333;
     /* margin-right: 10px; */
 }
 .dataTables_filter input[type="search"] {
     display: inline-block;
     padding: 5px 10px;
     border: 1px solid #ccc;
     border-radius: 4px;
     background: #fff;
     font-size: 14px;
     width: 200px; /* Fixed width for consistency */
     transition: border-color 0.3s ease;
 }
 .dataTables_filter input[type="search"]:focus {
     border-color: #007bff;
     outline: none;
     box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
 }
 /* General enhancements for a polished look */
 .dataTables_wrapper {
     padding: 10px;
     /* background: #f8f9fa; */
     border-radius: 8px;
     /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
     
 }
  
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    body{
     padding:20px;
     padding-top: 0;
    }
    .carousel-content h2 {
      font-size: 2rem;
    }
    .nav-link {
      font-size: 1.5rem;
    }
    .close-btn {
      font-size: 2rem;
    }
   
    .arabic-text {
      font-size: 2rem;
    }
    .carousel-content p {
      font-size: 1rem;
      max-width: 90%;
    }
    .activities-section h1 {
      font-size: 2rem;
    }
    .project-card h3 {
      font-size: 1.5rem;
    }
    .project-card {
      padding: 1.5rem;
    }
    .card-icon {
      font-size: 2.5rem;
    }
    .btn-group .filter-btn {
      margin: 0.25rem;
      padding: 0.6rem 1.5rem;
      font-size: 1rem;
    }
    .statistics-section h1 {
      font-size: 2.5rem;
    }
    .statistics-section h2 {
      font-size: 1.8rem;
    }
    .stat-card h3 {
      font-size: 1.4rem;
    }
    .stat-number {
      font-size: 1.8rem;
    }
    .stat-card {
      min-height: 300px;
    }
    .stat-image {
      max-height: 120px;
    }
  }
  
  @media (max-width: 576px) {
    body {
        padding: 15px;
        padding-top: 0;
    }
    .stat-card {
      min-height: 280px;
    }
    .ekp-table th, .ekp-table td {
      font-size: 0.8rem;
    }
    .stat-image {
      max-height: 100px;
    }
    .collection-table th, .collection-table td {
      font-size: 0.9rem;
    }
  }
  