

.box-style {
    background-color: #fff;
    padding: 50px;
    border: 1px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  @media only screen and (max-width: 768px) {
    .box-style {
      margin: 5px;
    }
  }

  .author-info {
    display: flex;
    align-items: center;
  }
  
  .author-image {
    margin-right: 10px;
  }

    /*Course Detail Design*/


    /**/
    .cat-list li {
      margin-bottom: 10px;
    }
    
    .cat-list li a {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .cat-list li a.label {
      font-weight: bold;
      margin-right: 10px;
    }
    
    .cat-list li a.value {
      font-weight: normal;
    }
       
    .course-enroll {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 10vh;
    }
    
    .enroll-button {
        padding: 10px 80px;
        background-color:#8B70FF; /* Black background */
        color: #fff; /* White text */
        border: none;
        border-radius: 5px;
        font-size: 18px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .enroll-button:hover {
        background-color: #D469FF; /* Blue on hover */
    }  
    
    /* Style the modal */
    #contactFormOverlay {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.4);
    }
    
    #contactForm {
      background-color: #fefefe;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px; /* Update width */
      height: 440px; /* Update height */
    }
    
    #closeBtn {
      color: #aaaaaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }
    
    #closeBtn:hover,
    #closeBtn:focus {
      color: #000;
      text-decoration: none;
      cursor: pointer;
    }
    
    #enrollForm input[type="text"],
    #enrollForm input[type="email"],
    #enrollForm input[type="tel"],
    #enrollForm textarea,
    #enrollForm button {
      width: 100%;
      padding: 10px;
      margin: 5px 0 10px;
      display: inline-block;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
    
    #enrollForm button {
      background-color: #007bff; /* Update button color */
      color: white;
      border: none;
      cursor: pointer;
    }
    
    #enrollForm button:hover {
      background-color: #ff7f0e; /* Update button hover color */
      color: white; /* Update button hover text color */
    }

    /*Course detail page description*/
.body
{
  font-family: 'Times New Roman', Times, serif;
}
.containersd {
  padding: 10px;
  text-align: center;
}
.hover-sections {
  padding: 20px;
}
.hover-sections h2 {
  margin: 0 0 20px 0;
}
.content1-box {
  display: inline-block;
  width: 90%;
  max-width: 450px;
  margin: 15px auto; /* Center the content box */
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  text-align: left;
}
.content1-box:hover {
  background-color: #AB5AFF;
  color: white;
}
.content1-box img {
  width: 100%;
  border-radius: 10px;
}
.content1-box h3 {
  margin-top: 10px;
}
.content1-box:hover h3, .content1-box:hover p {
  color: white;
}
/* Responsive Design */
@media only screen and (max-width: 768px) {
 .content1-box {
    width: 100%; /* Make each box full-width */
    margin-bottom: 20px; /* Add some space between boxes */
  }
 .content1-box img {
    width: 50px; /* Reduce image size for mobile */
    height: 50px;
  }
 .content1-box h3 {
    font-size: 18px; /* Reduce font size for mobile */
  }
 .content1-box p {
    font-size: 14px; /* Reduce font size for mobile */
  }
}


