.courses-container {
    width: 90%;
    max-width: 1200px;
    padding: 20px 70px;
    margin: 50px auto;
    border-radius: 20px;
    text-align: center;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    /* background-color: #131c65; */
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff !important;
  }
  
  .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; 
    justify-content: center;
    padding: 20px 0;
  }
  
  .course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .course-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .course-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  
  .course-info {
    padding: 20px;
  }
  
  .course-title {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .course-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .course-btn {
    display: inline-block;
    padding: 12px 18px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px; 
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  .course-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
  }
  
  @media (max-width: 768px) {
    .courses-container {
      padding: 40px 30px;
    }
  
    .section-title {
      font-size: 1.8rem;
    }
  
    .courses-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
  
    .course-title {
      font-size: 1.4rem;
    }
  
    .course-description {
      font-size: 0.95rem;
    }
  }
  
  @media (max-width: 480px) {
    .courses-container {
      padding: 30px 20px;
    }
  
    .section-title {
      font-size: 1.6rem;
    }
  
    .courses-grid {
      grid-template-columns: 1fr;
    }
  
    .course-title {
      font-size: 1.3rem;
    }
  
    .course-btn {
      padding: 10px 15px;
      font-size: 14px;
    }
  }
  