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 */

/* Simple loader animation */
.loader {
    border-top-color: #14b8a6;
    /* teal-600 */
    border-radius: 50%;
    width: 48px;
    height: 48px;
    border-width: 4px;
    border-style: solid;
    border-color: #d1d5db transparent #d1d5db transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#demoLoader {
    pointer-events: all;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#demoLoader.show {
    opacity: 1;
}

#estimateModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}
#estimateModal .modal-title {
    font-weight: 600;
    color: #333;
}
#estimateModal .download-btn img {
    transition: transform 0.2s ease;
}
#estimateModal .download-btn img:hover {
    transform: scale(1.05);
}

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.25);
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
}

/* nemt plus driver */
.benefit-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #4dabf7);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 36px;
    color: #0d6efd;
}

.benefit-card h4 {
    font-weight: 600;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #6c757d;
    margin-bottom: 0;
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}


.requirements-section {
    background-color: #f8f9fa;
}

.number-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-weight: bold;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.card-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
    .requirement-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .number-circle {
        margin-bottom: 10px;
    }
}

.program-point-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.program-point-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.point-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.program-point-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

/* NEMT+ Callout Section */
.nemt-plus-section {
    background: #f5f7fa;
    padding: 60px 0;
}

/* Card */
.nemt-plus-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 50px 40px;
    text-align: center;
    max-width: 900px;
    margin: -80px auto 0; /* pulls it up slightly */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

/* Title */
.nemt-plus-card h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0b2c4d;
}

/* Subtitle */
.nemt-plus-card p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* Actions */
.nemt-plus-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nemt-plus-actions .btn {
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 8px;
}

/* Mobile */
@media (max-width: 768px) {
    .nemt-plus-card {
        margin-top: -40px;
        padding: 35px 25px;
    }

    .nemt-plus-card h2 {
        font-size: 26px;
    }
}


