.hero{
    height: 60vh;
}


.all-courses-container {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    justify-content: flex-start;
}

.course-card{
    display: flex;
    flex-direction: column;
    flex-basis: calc(33.33% - 13px); /* For 3 cards per row */
    /* max-width: 302px; */
    border: 1px solid #c2bcbc;
    padding: 20px;
    background: #e9e9e9;
    /* height: 308px; */
}

/* Media query for 2 cards per row */
@media (max-width: 900px) {
    .course-card{
        flex-basis: calc(50% - 13px); /* For 2 cards per row */
    }
}

/* Media query for 1 card per row */
@media (max-width: 600px) {
    .course-card{
        flex-basis: 100%; /* For 1 card per row */
    }
}
.course-img img{
    width: 100%;
}
.course-description h5{
    margin-top: 20px;
}

.course-description p:last-of-type {
 
   margin-top: -16px;
}


.each-courses-design-container {
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 66px 66px 0 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 30px 20px;
    transition: all 0.3s ease-in-out;
    margin-top: 15px;
    border: 1px solid #ededed;
    margin-bottom: 40px;

  }
  
 
  
  .each-courses-design-header {
    text-align: center;
    background-color: #000080;
    color: #fff;
    padding: 25px;
    border-radius: 66px 66px 0 0; 
  }
  
  .each-courses-design-header h1 {
    margin: 0;
    font-size: 2.4em;
    font-weight: 700;
    color: #bbbbbb;
  }
  
  .each-courses-design-price {
    margin-top: 10px;
    font-size: 1.1em;
    font-weight: 400;
    text-align: center;
  }
  
  .each-courses-design-course-details {
    padding: 20px;
  }
  
  .each-courses-design-sessions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
  }
  
  .each-courses-design-detail-box {
    text-align: center;
    background-color: #f4f7fa;
    border-radius: 10px;
    padding: 15px;
    flex: 1;
    margin: 0 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .each-courses-design-detail-box h3 {
    font-size: 1.2em;
    color: #000080;
    margin: 0;
  }
  
  .each-courses-design-detail-box p {
    font-size: 1.4em;
    font-weight: 700;
    margin-top: 8px;
    text-align: center;
    color: #734b4b;
  }
  
  .each-courses-design-topics h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #595789;
    border-bottom: 2px solid #000080;
    display: inline-block;
    padding-bottom: 1px;
    border-radius: 5px;
  }
  
  .each-courses-design-topics ul {
    list-style: none;
    padding-left: 20px;
    line-height: 1.6;
  }
  
  .each-courses-design-topics ul ul {
    padding-left: 15px;
  }
  
  .each-courses-design-topics li {
    margin: 10px 0;
    font-size: 1em;
    color: #555;
    list-style: disc;
  }
  
  .each-courses-design-footer {
    text-align: center;
    margin-top: 30px;
  }
  
  .each-courses-design-enroll-btn {
    background-color: #3a8dff;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 6px 14px rgba(58, 141, 255, 0.2);
  }
  
  .each-courses-design-enroll-btn:hover {
    background-color: #2f78db;
  }
  
  /* Responsiveness */
  @media (max-width: 768px) {
    .each-courses-design-container {
      width: 100%;
      padding: 15px;
    }
  
    .each-courses-design-header h1 {
      font-size: 1.8em;
    }
  
    .each-courses-design-sessions {
      flex-direction: column;
    }
  
    .each-courses-design-detail-box {
      margin-bottom: 20px;
    }
  
    .each-courses-design-enroll-btn {
      width: 100%;
    }
  }
  @keyframes blink-colors {
    0% { color: #3498db; }   /* Light blue */
    25% { color: #e74c3c; }  /* Vibrant red */
    50% { color: #2ecc71; }  /* Bright green */
    75% { color: #f39c12; }  /* Orange-yellow */
    100% { color: #9b59b6; } /* Purple */
}

.back-to-course-button {
  border: 1px solid #aab9d7;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: fit-content;
  top: 29vw;
  left: -40px;
  margin-left: 11px;
  margin-top: 13px;
  font-size: 15px;
  animation: blink-colors 1s infinite;
  position: sticky;
}