/* =========================================================
   PRINGLE PCS SHARED TRAINING COURSE STYLESHEET
   File location on website: css/training.css

   Use this stylesheet on individual training course pages.
   Word-specific class names have been changed to shared names
   such as course-hero, course-page-wrapper and course-level-card.
========================================================= */

/* =========================================================
   COURSE TOP IMAGE FRAME
	
	
	
========================================================= */
	/* Blue */
	
	.course-picture-frame-blue {
  width: 100%;
  min-height: 100px;
  background: #0000ff;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
}

.course-picture-frame-blue img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

.course-picture-frame-blue:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6.
	  5%;
  height: 100%;
  background: linear-gradient(to left, transparent 0%, #0000ff 72%);
  z-index: 2;
  pointer-events: none;
}
	
	
	
	
	/* red */
	.course-picture-frame-red {
  width: 100%;
  min-height: 100px;
  background: #ff0000;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
}

.course-picture-frame-red img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

.course-picture-frame-red:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(to left, transparent 0%, #ff0000 72%);
  z-index: 2;
  pointer-events: none;
}
	
	
	/* yellow */
	.course-picture-frame-yellow {
  width: 100%;
  min-height: 100px;
  background: #ffff00;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
}

.course-picture-frame-yellow img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

.course-picture-frame-yellow:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(to left, transparent 0%, #ffff00 72%);
  z-index: 2;
  pointer-events: none;
}
	
	/* green */
	
.course-picture-frame-green {
  width: 100%;
  min-height: 100px;
  background: #00ff00;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
}

.course-picture-frame-green img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

.course-picture-frame-green:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(to left, transparent 0%, #00ff00 72%);
  z-index: 2;
  pointer-events: none;
}

.course-picture-frame {
  width: 100%;
  min-height: 100px;
  background: #0000ff;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
}

.course-picture-frame img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

.course-picture-frame::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(to left, transparent 0%, #0000ff 72%);
  z-index: 2;
  pointer-events: none;
}

.course-image-wrap {
  width: 100%;
  margin: 25px auto 35px auto;
  text-align: center;
  position: relative;
}

.TrainingcourseHeading {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 35px;
  line-height: 1.1;
  font-weight: 900;
  z-index: 3;
}

.TrainingcourseHeading a {
  color: #ffffff;
  text-decoration: none;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.75);
}

@media only screen and (max-width: 900px) {
  .course-picture-frame::before {

    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .course-picture-frame {
    min-height: 95px;
  }

  .course-picture-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }

  .TrainingcourseHeading {
    font-size: 25px !important;
    left: 20px;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
}

.course-page-wrapper {
  width: 95%;
  margin: 0 auto;
  padding: 35px 0 55px;
}

.course-hero {
  width: 95%;
  margin: 0 auto 30px auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 35px 28px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}

.course-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 8px;
  width: 100%;
  background: linear-gradient(90deg, #ff0000, #ff4d4d, #ff0000);
}

.course-hero-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
}

.course-logo-circle {
  width: 200px;
  height: 200px;
  min-width: 200px;
  margin: 0 auto;
  border-radius: 50%;
  background: #ffffff;
  border: 7px solid #ffffff;
  box-shadow:
    0 0 0 3px #0b4ea2,
    0 8px 20px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.course-logo-circle img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.course-logo-circle:hover img {
  transform: scale(1.06);
}

.course-hero h1 {
  margin: 0 0 12px;
  color: #ff0000;
  font-size: 44px;
  font-weight: 900;
}

.course-hero h1 a {
  color: #ff0000;
  text-decoration: none;
}

.course-hero h1 a:hover {
  text-decoration: underline;
}

.course-hero p {
  margin: 0 0 18px;
  color: #555;
  font-size: 17px;
  line-height: 1.6;
}

.course-button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  min-height: 48px;
  background: #ff0000;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(255,0,0,0.35);
  transition: all 0.3s ease;
}

.download-button:hover {
  background: #cc0000;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Standard course images inside content */
.course-content img.course-small-image {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 12px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}


.course-benefit-strip {
  width: 95%;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 16px;
}

.course-benefit-card {
  background: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.course-benefit-card strong {
  display: block;
  color: #ff0000;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 5px;
}

.course-benefit-card span {
  color: #555555;
  font-size: 14px;
  line-height: 1.4;
}

.course-section-title {
  text-align: center;
  margin: 35px 0 28px;
}

.course-section-title h2 {
  margin: 0 0 8px;
  color: #ff0000;
  font-size: 34px;
  font-weight: 900;
}

.course-section-title p {
  margin: 0;
  color: #555;
  font-size: 17px;
}

.course-level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}

.course-level-grid.course-expanded {
  grid-template-columns: 1fr;
}

.course-level-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e9e9e9;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: all 0.3s ease;
}


.course-level-card {
  position: relative;
}

.course-level-card::before {
  content: "";
  display: block;
  height: 7px;
  width: 100%;
}

.course-introduction::before {
  background: #00ff00;
}

.course-intermediate::before {
  background: #ffff00;
}

.course-advanced::before {
  background: #ff0000;
}

.course-bespoke::before {
  background: #0000ff;
}

.course-level-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

.course-level-card.hidden-course {
  display: none;
}

.course-level-card.full-width-course {
  width: 100%;
}

.course-level-card.full-width-course .course-content {
  display: block;
}

.course-level-card.full-width-course .course-level-card-top {
  border-bottom: 1px solid #eeeeee;
}

.course-level-card-top {
  padding: 26px 20px 22px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  cursor: pointer;
}

.level-circle {
  width: 160px;
  height: 160px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 44px;
  font-weight: 800;
  line-height: 160px;
  text-align: center;
  border: 7px solid #ffffff;
  box-shadow:
    0 0 0 3px #ff0000,
    0 8px 18px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.course-level-card:hover .level-circle {
  transform: scale(1.06);
}

/* Bright Green Introduction */
.level-introduction {
  background: radial-gradient(circle at top left, #b8ff9e 0%, #00ff00 100%);
  box-shadow:
    0 0 0 3px #00cc00,
    0 8px 18px rgba(0,0,0,0.25);
  color: #111111;
}

/* Bright Yellow Intermediate */
.level-intermediate {
  background: radial-gradient(circle at top left, #ffffb3 0%, #ffff00 100%);
  box-shadow:
    0 0 0 3px #d6c900,
    0 8px 18px rgba(0,0,0,0.25);
  color: #111111;
}

/* Bright Red Advanced */
.level-advanced {
  background: radial-gradient(circle at top left, #ffb3b3 0%, #ff0000 100%);
  box-shadow:
    0 0 0 3px #cc0000,
    0 8px 18px rgba(0,0,0,0.25);
  color: #111111;
}

/* Bright Blue Bespoke */
.level-bespoke {
  background: radial-gradient(circle at top left, #b3d1ff 0%, #0000ff 100%);
  box-shadow:
    0 0 0 3px #0000cc,
    0 8px 18px rgba(0,0,0,0.25);
  color: #ffffff;
}

.course-subtitle {
  margin: 0 0 14px;
  color: #555;
  font-size: 15px;
  line-height: 1.45;
}

.course-code-box,
.course-code-box-introduction,
.course-code-box-intermediate,
.course-code-box-advanced,
.course-code-box-bespoke {
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  padding: 12px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.course-code-box {
  background: #f1f1f1;
}

/* Green Introduction */
.course-code-box-introduction {
  background: radial-gradient(circle at center, #f2ffe8 0%, #d9ffc7 45%, #00ff00 100%);
}

/* Yellow Intermediate */
.course-code-box-intermediate {
  background: radial-gradient(circle at center, #ffffe6 0%, #ffff99 45%, #ffff00 100%);
}

/* Red Advanced */
.course-code-box-advanced {
  background: radial-gradient(circle at center, #ffeaea 0%, #ffb3b3 45%, #ff0000 100%);
}

/* Blue Bespoke */
.course-code-box-bespoke {
  background: radial-gradient(circle at center, #eaf2ff 0%, #99c2ff 45%, #0000ff 100%);
 
}
.open-text {
  margin-top: 20px;
  color: #000000;
  font-weight: 800;
  font-size: 14px;
}

.course-content {
  display: none;
  padding: 0 24px 26px;
  border-top: 1px solid #eeeeee;
}

.course-content h4 {
  color: #ff0000;
  font-size: 20px;
  font-weight: 900;
  margin: 24px 0 12px;
}

.course-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin: 14px 0;
}

.course-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-content li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 11px;
  color: #444;
  font-size: 15px;
  line-height: 1.5;
}

.course-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Introduction - Green bullets */
.course-introduction .course-content li::before {
  background-image: url("../images/Logos/Circles/Circle_GreenSmall20px.png");
}

/* Intermediate - Yellow bullets */
.course-intermediate .course-content li::before {
  background-image: url("../images/Logos/Circles/Circle_YellowSmall20px.png");
}

/* Advanced - Red bullets */
.course-advanced .course-content li::before {
  background-image: url("../images/Logos/Circles/Circle_RedSmall20px.png");
}

/* Bespoke - Blue bullets */
.course-bespoke .course-content li::before {
  background-image: url("../images/Logos/Circles/Circle_BlueSmall20px.png");
}

.course-content img.course-small-image {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 12px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.footer-logo {
  text-align: center;
  margin-top: 45px;
  font-size: 17px;
}

.footer-logo a {
  color: #ff0000;
  font-weight: 800;
  text-decoration: none;
}

.footer-logo a:hover {
  text-decoration: underline;
}

.footer-logo img {
  margin: 0 10px;
  vertical-align: middle;
}

#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
}

@media (max-width: 760px) {
  .course-page-wrapper {
    width: 95%;
    padding-top: 25px;
  }

  .course-hero {
    width: 95%;
    padding: 28px 18px;
  }

  .course-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .course-hero h1 {
    font-size: 34px;
  }

  .course-hero p {
    font-size: 16px;
  }

  .course-level-grid {
    grid-template-columns: 1fr;
  }

  .course-benefit-strip {
    grid-template-columns: 1fr;
  }

  .course-logo-circle {
    width: 170px;
    height: 170px;
    min-width: 170px;
  }

  .course-logo-circle img {
    width: 130px;
    height: 130px;
  }

  .course-image-wrap {
    width: 95%;
  }

  .download-button {
    width: 240px;
  }
}

/* =========================================================
   BUSINESS SKILLS OVERRIDE - SAME STRUCTURE AS ITEW COURSE PAGES
========================================================= */

.course-picture-frame,
.course-picture-frame-yellow {
  background: #ffea00;
}

.course-picture-frame::before,
.course-picture-frame-yellow:before {
  background: linear-gradient(to left, transparent 0%, #ffea00 72%);
}

.course-hero::before {
  background: linear-gradient(90deg, #ffea00, #fff36b, #ff0000);
}

.course-hero h1,
.course-hero h1 a,
.course-section-title h2,
.course-content h4,
.footer-logo a {
  color: #d6a900;
}

.download-button {
  background: #ffea00;
  color: #111111;
  box-shadow: 0 6px 16px rgba(255,216,0,0.42);
}

.download-button:hover {
  background: #ffd800;
  color: #111111;
}

.course-logo-circle {
  box-shadow:
    0 0 0 3px #d6a900,
    0 8px 20px rgba(0,0,0,0.28);
}

.course-business::before {
  background: #ffea00;
}

.level-business {
  background: radial-gradient(circle at top left, #fff36b 0%, #ffea00 100%);
  box-shadow:
    0 0 0 3px #d6a900,
    0 8px 18px rgba(0,0,0,0.25);
  color: #111111;
}

.course-code-box-business {
  background: radial-gradient(circle at center, #fffdf0 0%, #fff5b8 100%);
  border: 1px solid #f0d45c;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  padding: 12px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.course-single-grid {
  grid-template-columns: 1fr;
}

.course-single-grid .course-level-card {
  width: 100%;
}

.course-single-grid .course-content {
  display: block;
  padding-top: 22px;
}

.course-content ul li {
  margin-bottom: 8px;
}

@media only screen and (max-width: 900px) {
  .course-picture-frame-yellow:before {
    display: none;
  }
}
