.group-1 h3:nth-of-type(odd) {
  background-color: #f0f8ff;
  padding: 15px;
  border-radius: 8px;
}

.desktop-table {
  display: block !important;
}

/* Remove old table styles */
.styled-table {
  display: none;
}

/* Cards Grid Layout */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(282px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.course-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  height: fit-content;
  box-shadow: 0 4px 6px rgb(62 94 192 / 25%);
}

.course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.card-header div {
  display: flex;
  gap: 6px;

}

.card-header h3 {
  color: #253a7b;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.price {
  background: #253a7b;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
}

.card-details {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.detail-item {
  display: flex;
  gap: 5px;
  align-items: center;
}

.detail-item img {
  width: 18px;
  height: 18px;

}

.label {
  color: #6f6f6f;
  font-size: 12px;
  font-weight: 500;
}

.value {
  color: #253a7b;
  font-size: 12px;
  font-weight: 600;
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-btn {
  flex: 1;
  min-width: 80px;
  height: 30px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.register-btn {
  background: #253a7b;
  color: #fff;
}

.register-btn:hover {
  background: #1e2f5f;
}

.enquire-btn {
  background: #fff;
  color: #253a7b;
  border: 1px solid #253a7b;
}

.enquire-btn:hover {
  background: #253a7b;
  color: #fff;
}

.download-btn {
  background: #28a745;
  color: #fff;
}

.download-btn:hover {
  background: #218838;
}

@media screen and (max-width: 768px) {
  .course-card {
    padding: 16px;
  }

  .card-header h3 {
    font-size: 16px;
  }

  .price {
    font-size: 12px;
    padding: 4px 8px;
  }

  .label,
  .value {
    font-size: 13px;
  }

  .card-btn {
    width: 100%;
    font-size: 14px;
  }
}

/* Course Content Styles */
.course-content {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  margin-block: 50px;
  color: #6f6f6f;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0px 1px 11px rgba(0, 0, 0, 0.07);
}

.course-content ul {
  color: #6f6f6f;
  flex: 1;
  list-style: disc !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style-position: inside;
  padding-inline: 20px !important;
  margin: 1rem !important;
}

.course-content ol {
  list-style-position: inside;
  padding-inline: 20px !important;
}

.course-content h3 {
  margin-bottom: 16px;
}

.course-content .course-title {
  font-weight: 700;
  color: #134e88;
  font-size: 30px;
  line-height: 36px !important;
}

.course-content .group-1 h2,
.course-content .group-1 h3,
.course-content .group-1 h4 {
  font-weight: 700 !important;
  color: #134e88 !important;
}

/* Responsive for smaller screens */
@media screen and (max-width: 768px) {
  .course-content .course-title {
    font-size: 20px;
    line-height: 28px !important;
  }
}

.course-content:nth-child(2) ul {
  list-style-type: circle !important;
}

/* Popup Styles */
.popup {
  width: 50%;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  z-index: 301;
  border-radius: 16px;
}

.popup-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #253a7b;
  opacity: 0.5;
  z-index: 300;
}

.form-popup .form-title {
  margin-bottom: 50px;
}

.form-popup h2 {
  font-size: 30px;
  font-weight: 700;
  color: #253a7b;
}

.form-popup p {
  font-size: 12px;
  color: #495057;
  line-height: 20px;
}

.form-popup .form-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.form-popup label {
  color: #252f40;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 8px;
  display: block;
}

.form-popup input,
.form-popup .select-box {
  width: 100%;
  border: 1px solid #ccc;
  padding: 9px 12px;
  border-radius: 4px;
  outline: 0;
  height: 40px;
  transition: 0.4s;
}

.form-popup input:focus,
.form-popup .select-box:focus {
  border-color: #253a7b;
}

.form-popup .form-actions {
  display: -webkit-flex;
  justify-content: space-between;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 24px;
}

.form-popup .form-actions button {
  max-width: 156px;
  height: 40px;
  width: 100%;
  background-color: #253a7b;
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
  display: -webkit-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  outline: 0;
  border: 0;
}


/* Responsive styles for smaller screens */
@media screen and (max-width: 992px) {
  .table-bottom {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .course-table {
    width: 95% !important;
  }

  .course-table .course-buttons {
    justify-content: space-between;

  }

  #popup-3 {
    max-width: 100%;
    padding: 30px;
  }

  .popup {
    width: 95%;
    border-radius: 10px;
  }

  .form-popup h2 {
    font-size: 25px;
  }

  .form-popup .form-title {
    margin-bottom: 30px;
  }

  .form-popup .form-inputs {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 16px;
  }

  .form-popup button {
    max-width: 100% !important;
    transform: scale(1) !important;
  }

}

/* Simple Search Section Styles */
.simple-search-section {
  max-width: 90%;
  margin: auto;
  flex-direction: column;
  gap: 10px;
}

.simple-search-section h3 {
  color: #253a7b;
  font-size: 18px;

}

.simple-search-form {
  display: flex;
  align-items: center;
}

.search-dropdowns {
  display: flex;
  gap: 10px;
  /*flex-wrap:wrap;*/
  align-items: center;
}

.search-dropdowns .custom-select-wrapper {
  min-width: 160px;
}

.search-dropdowns .custom-select {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  height: 40px;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0 !important;
}

.search-dropdowns .custom-select:hover {
  border-color: #134e88;
  box-shadow: 0 2px 8px rgba(19, 78, 136, 0.1);
}

.search-dropdowns .custom-select-trigger {
  color: #252641;
  font-weight: 500;
  padding: 0 8px;
  font-size: 14px;
  gap: 16px;
  height: 100%;
}

.search-dropdowns .custom-options {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  display: none;
  min-width: 160px;
  width: max-content;
}

.search-dropdowns .custom-option {
  padding: 4px 15px;
  font-size: 14px;
  color: #252641;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.search-dropdowns .custom-option:hover {
  background-color: #f8f9fa;
  color: #134e88;
}

/* Search results styling */
.timing-row[style*="none"] {
  display: none !important;
}

.course-card[style*="none"] {
  display: none !important;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

.no-results h3 {
  margin-bottom: 10px;
  color: #333;
}

/* Active filter indicator */
.search-dropdowns .custom-select.has-selection .custom-select-trigger {
  /*background-color: #f0f8ff;*/
  border-color: #134e88;
}

.search-dropdowns .custom-select.has-selection .custom-select-trigger span {
  color: #134e88;
  font-weight: 600;
}

.error-toast {
  background-color: #253a7b;
  color: #721c24;
  border-left: 5px solid #f44336;
}

.custom-toast.show {
  display: flex;
  opacity: 1;
  animation: fadeIn 0.5s, fadeOut 0.5s 4.5s;
}

/* Reset button styles */
.reset-filters-btn {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  font-weight: 500;
}

.reset-filters-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  color: #495057;
}

.reset-filters-btn:active {
  transform: translateY(1px);
}

.reset-filters-btn img {
  transition: transform 0.3s ease;
}

.reset-filters-btn:hover img {
  transform: rotate(180deg);
}

/* Text input styles to match dropdowns */
.search-dropdowns .custom-text-input {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: #252641;
  transition: all 0.3s ease;
  max-width: 200px;
  width: 100%;
  outline: none;
}

.search-dropdowns .custom-text-input:hover {
  border-color: #134e88;
  box-shadow: 0 2px 8px rgba(19, 78, 136, 0.1);
}

.search-dropdowns .custom-text-input:focus {
  border-color: #134e88;
  box-shadow: 0 2px 8px rgba(19, 78, 136, 0.1);
}

.search-dropdowns .custom-text-input::placeholder {
  color: #666;
  font-weight: 500;
}

/* Search button styles */
.search-filters-btn {
  background: #253a7b;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  font-weight: 500;
}

.search-filters-btn img {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (max-width: 768px) {
  .simple-search-section {
    padding-top: 20px;
    max-width: 90%;
    margin: auto;
    display: flex;
    align-items: start;
    gap: 10px;
  }

  .search-dropdowns {
    width: 100%;
  }

  .search-dropdowns .custom-text-input {
    width: 100%;
    max-width: 100%;
  }

  .simple-search-form {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .search-dropdowns .custom-select-wrapper {
    width: 100%;
    min-width: auto;
  }

  .search-dropdowns .custom-select-trigger {
    font-size: 12px;
  }
}

html {
  scroll-behavior: smooth;
}

.quick-access-timings {
  margin-block: 2rem;
}

.quick-timings-header {
  margin-bottom: 1rem;
  color: #6f6f6f;
  font-size: 16px;
}

.quick-timings-header strong {
  color: #253a7b;
}

.quick-timings-grid {
  margin-top: 0 !important;
  align-items: stretch;
}

.quick-timings-grid .course-card {
  height: 100%;
}

.see-all-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed #253a7b;
  background: #f0f8ff;
  text-decoration: none;
  color: #253a7b;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.see-all-card:hover {
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
}

.see-all-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.see-all-card-subtitle {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 12px;
}

.see-all-card-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.see-all-card:hover .see-all-card-icon {
  transform: translateY(4px);
}

.all-dates-section {
  scroll-margin-top: 96px;
  padding: 2rem 0;
  /*background: #ebf5ff;*/
}

.all-dates-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #253a7b;
  margin: 0 0 4px;
}

.all-dates-subtitle {
  color: #9ca3af;
  font-size: 14px;
  margin: 0 0 1.5rem;
}

.all-dates-section .cards-grid {
  margin-top: 16px;
}