html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Adjust based on your fixed header height */
}
.training-card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 450px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.training-card .overlay {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-content h2 {
  font-weight: bold;
  font-size: 24px;
  color: #333;
}

.card-content h2 .blue {
  color: #82b5ff;
}

.card-content p {
  margin-top: 15px;
  font-weight: 500;
  color: #222;
}

.btn-read {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #00a2b8;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-read:hover {
  background-color: #007b8a;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: white;
  padding: 30px;
  max-width: 500px;
  margin: 10% auto;
  border-radius: 8px;
  text-align: center;
  position: relative;
}

.modal-content h4 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.modal-content p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

.modal-btn {
  padding: 10px 25px;
  background-color: transparent;
  border: 1px solid #00a2b8;
  border-radius: 25px;
  color: #00a2b8;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.modal-btn:hover {
  background-color: #00a2b8;
  color: white;
}

.relative:hover .absolute {
    display: block !important;
}

.modal.hidden {
        display: none;
    }
    
/* li.active {
  background-color: rgb(240 253 250 / var(--tw-bg-opacity, 2));
} */

/* ckeditor */

 /* .ck-content {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #333;
} */
    .ck-content h1, 
.ck-content h2, 
.ck-content h3, 
.ck-content h4, 
.ck-content h5, 
.ck-content h6 {
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.ck-content p {
    margin-bottom: 16px;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

.ck-content ul,
.ck-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.ck-content li {
    margin-bottom: 8px;
}

.ck-content strong {
    font-weight: bold;
}

.ck-content em {
    font-style: italic;
}

.ck-content blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    background: #f9f9f9;
    border-left: 5px solid #ccc;
    font-style: italic;
    color: #555;
}

.ck-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.ck-content table th,
.ck-content table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}
.ck-content hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: none;
    /* border-top: 1px solid #ccc; */
}

.ck-content ul {
    list-style: disc;
}

.ck-content ol {
    list-style: decimal;
}

/* swiper */

