/* =====================================================
   BANNER
===================================================== */
.banner-event {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   EVENT BADGE
===================================================== */
.workshop-badge {
  background: linear-gradient(135deg, #17398d, #2759d8);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

/* =====================================================
   EVENT TITLE & DESCRIPTION
===================================================== */
.training-name,
.event-title {
  color: #17398d;
  font-weight: 700;
}

.training-name {
  font-size: 24px;
  line-height: 1.4;
}

.training-card-description {
  font-size: 18px;
  color: #475569;
}

/* =====================================================
   INFO CARDS (date / duration)
===================================================== */
.start-date,
.end-date,
.training-duration,
.venue-info {
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(11, 28, 77, 0.06);
  display: flex;
  align-items: center;
  min-height: 80px;
  width: 100%;
}

.location-section {
  margin-top: 20px;
}

.venue-info {
  border-left: 4px solid #17398d;
  background: #f8fafc;
  border-radius: 14px;
}

/* =====================================================
   ACTION CARD (right side)
===================================================== */
.action-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  position: sticky;
  top: 100px;
}

/* =====================================================
   BROCHURE BUTTON
===================================================== */
.brochure-button,
.brochure-btn {
  background: #17398d;
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: background 0.3s;
}

.brochure-button:hover,
.brochure-btn:hover {
  background: #0f2d74;
  color: #fff !important;
}

/* =====================================================
   QR CODE
===================================================== */
.qr-box {
  text-align: center;
  margin: 20px 0;
}

.qr-wrapper {
  display: inline-block;
  padding: 15px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.qr-code-img {
  width: 180px;
  height: 180px;
  display: block;
}

.qr-box::after {
  content: "Scan QR Code to Register";
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

/* =====================================================
   REGISTER BUTTON
===================================================== */
.training-register-button {
  background: #17398d;
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: background 0.3s;
}

.training-register-button:hover {
  background: #0f2d74;
  color: #fff !important;
}

.training-registration-closed {
  margin-top: 15px;
}

/* =====================================================
   DETAILS SECTION
===================================================== */
.training-content {
  padding: 50px 0;
  background: #f5f7fb;
}

.event-details-card {
  background: linear-gradient(135deg, #e7ecf5, #dfe5ee);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.event-details-header h3 {
  margin: 0 0 25px;
  color: #132d6d;
  font-size: 28px;
  font-weight: 700;
}

.training-detail {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  line-height: 1.9;
  font-size: 15px;
  color: #475569;
}

.extra-info {
  background: #fff;
  padding: 25px;
  border-left: 4px solid #132d6d;
  border-radius: 14px;
  margin-top: 20px;
  line-height: 1.9;
  font-size: 15px;
  color: #475569;
}

.training-detail ul,
.extra-info ul {
  padding-left: 20px;
}

.training-detail li,
.extra-info li {
  margin-bottom: 10px;
}

/* =====================================================
   OBJECTIVES & OUTCOMES
===================================================== */
.overview-section {
  background: #0b1c4d;
  padding: 60px 0;
  color: #fff;
}

.overview-header h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.overview-card {
  background: #fff;
  color: #334155;
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.overview-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2d62ff, #0a326d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.over-icon-color {
  color: #fff;
  font-size: 24px;
}

.overview-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #0b1c4d;
}

.event-objectives,
.expected-outcomes {
  color: #475569;
  line-height: 1.8;
  font-size: 15px;
}

.event-objectives ul,
.expected-outcomes ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.event-objectives li,
.expected-outcomes li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.event-objectives li::before,
.expected-outcomes li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17398d;
  position: absolute;
  left: 0;
  top: 8px;
}

/* =====================================================
   REGISTER BANNER
===================================================== */
.register-section {
  padding: 50px 0;
}

.register-banner {
  background: #132d6d;
  border-radius: 20px;
  padding: 32px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.register-left h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.register-left p {
  color: #fff;
  margin: 0;
  font-size: 18px;
}

.register-right {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-shrink: 0;
}

.register-banner-btn {
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: 0.3s;
  white-space: nowrap;
}

.register-banner-btn:hover {
  background: #fff;
  color: #132d6d;
}

.register-qr {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
}

.register-qr img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
}

/* =====================================================
   GALLERY
===================================================== */
.gallery-section {
  background: #f8fafc;
  padding: 50px 0;
}

.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

.gallery-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   FEEDBACK
===================================================== */
.feedback-section {
  background: #f8fafc;
  padding: 50px 0;
}

.feedback-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  height: 100%;
  border: 1px solid #e9eef7;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.feedback-card:hover {
  transform: translateY(-5px);
}

.feedback-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.feedback-header img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.feedback-header h5 {
  margin: 0;
  color: #0f2a78;
  font-weight: 700;
  font-size: 16px;
}

.feedback-header small {
  color: #6b7280;
  display: block;
  margin-top: 2px;
}

.feedback-org {
  margin-bottom: 12px;
}

.feedback-org span {
  background: #eef4ff;
  color: #0f2a78;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

.feedback-text {
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
  font-size: 15px;
}

/* =====================================================
   SECTION HEADING
===================================================== */
.section-heading {
  position: relative;
  color: #17398d;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 14px;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 60px;
  height: 4px;
  background: #17398d;
  border-radius: 2px;
}

/* =====================================================
   RESPONSIVE — LG (≤ 991px)
===================================================== */
@media (max-width: 991px) {
  .training-name {
    font-size: 20px;
  }

  .training-card-description {
    font-size: 16px;
  }

  .action-card {
    position: static;
    margin-top: 10px;
  }

  .register-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }

  .register-right {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .register-left h2 {
    font-size: 26px;
  }
}

/* =====================================================
   RESPONSIVE — MD (≤ 768px)
===================================================== */
@media (max-width: 768px) {
  .training-name {
    font-size: 18px;
  }

  .event-details-header h3 {
    font-size: 22px;
  }

  .event-details-card {
    padding: 20px;
    border-radius: 14px;
  }

  .training-detail,
  .extra-info {
    padding: 18px;
    font-size: 14px;
  }

  .qr-code-img {
    width: 150px;
    height: 150px;
  }

  .gallery-img {
    height: 200px;
  }

  .overview-section {
    padding: 40px 0;
  }

  .overview-header h2 {
    font-size: 22px;
  }

  .overview-card {
    padding: 20px;
  }

  .register-section {
    padding: 30px 0;
  }

  .register-banner {
    border-radius: 14px;
    padding: 24px 16px;
  }

  .register-left h2 {
    font-size: 22px;
  }

  .register-left p {
    font-size: 15px;
  }

  .register-qr img {
    width: 110px;
    height: 110px;
  }

  .gallery-section,
  .feedback-section {
    padding: 30px 0;
  }

  .feedback-card {
    padding: 18px;
  }

  .section-heading {
    font-size: 20px;
  }
}

/* =====================================================
   RESPONSIVE — SM (≤ 576px)
===================================================== */
@media (max-width: 576px) {
  .workshop-badge {
    font-size: 11px;
    padding: 6px 14px;
  }

  .training-name {
    font-size: 16px;
  }

  .training-card-description {
    font-size: 14px;
  }

  .start-date,
  .end-date,
  .training-duration {
    font-size: 13px;
    min-height: 60px;
    padding: 14px 16px;
  }

  .venue-info {
    font-size: 13px;
    padding: 14px 16px;
  }

  .action-card {
    padding: 16px;
    border-radius: 14px;
  }

  .brochure-button,
  .brochure-btn,
  .training-register-button {
    padding: 12px;
    font-size: 14px;
  }

  .qr-code-img {
    width: 130px;
    height: 130px;
  }

  .gallery-img {
    height: 180px;
    border-radius: 10px;
  }

  .feedback-header img {
    width: 50px;
    height: 50px;
  }

  .feedback-header h5 {
    font-size: 14px;
  }

  .feedback-text {
    font-size: 13px;
  }

  .register-banner-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .section-heading {
    font-size: 18px;
  }
}
