/* ==========================================================================
   CSDCI - Training Providers Page Styles (Clean Raw CSS)
   ========================================================================== */

/* Main content wrapper */
.csdci-tp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  font-family: Raleway, Arial, sans-serif;
  color: #333333;
}

/* Why Affiliation / What is NSQF sections */
.csdci-tp-intro-section {
  margin-bottom: 50px;
}

.csdci-tp-title {
  font-family: 'Raleway', Georgia, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #4e2300;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #6dbfe8;
  text-align: center;
}

.csdci-tp-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 25px;
  text-align: justify;
}

/* Downloads Section wrapper */
.csdci-tp-downloads-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Certificates Grid styling (Trainer & Master) */
.csdci-tp-cert-section {
  background-color: #fcfcfc;
  padding: 50px 30px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
}

.csdci-tp-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.csdci-tp-cert-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.csdci-tp-cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.csdci-tp-cert-card h3 {
  font-family: 'Raleway', Georgia, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #4e2300;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}

.csdci-tp-cert-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.csdci-tp-cert-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  text-align: justify;
}

/* Flex / Grid List blocks (Why Affiliate, Who can Affiliate, Selection) */
.csdci-tp-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.csdci-tp-info-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.csdci-tp-info-card:hover {
  border-color: #6dbfe8;
  box-shadow: 0 6px 18px rgba(109, 191, 232, 0.15);
}

/* Accent top border bar matching board page cards */
.csdci-tp-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #6dbfe8;
  border-radius: 8px 8px 0 0;
  transition: background-color 0.3s ease;
}

.csdci-tp-info-card:hover::before {
  background-color: #4e2300;
}

/* Alternate highlight color card style */
.csdci-tp-info-card.highlight {
  background-color: #f2f9fd;
}

.csdci-tp-card-title {
  font-family: 'Raleway', Georgia, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #4e2300;
  margin-top: 5px;
  margin-bottom: 12px;
}

.csdci-tp-card-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #555555;
  text-align: justify;
}

/* Responsibilities single section wrapper */
.csdci-tp-resp-section {
  background-color: #fefefe;
  border: 1px solid rgba(78, 35, 0, 0.1);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.csdci-tp-resp-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.csdci-tp-resp-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 15px;
}

.csdci-tp-resp-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.csdci-tp-resp-heading {
  font-family: 'Raleway', Georgia, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #4e2300;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.csdci-tp-resp-heading span {
  background-color: #6dbfe8;
  color: #4e2300;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.csdci-tp-resp-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  padding-left: 34px;
  text-align: justify;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .csdci-tp-cert-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .csdci-tp-cert-card {
    max-width: 600px;
    margin: 0 auto;
  }

  .csdci-tp-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .csdci-tp-container {
    padding: 40px 15px;
  }

  .csdci-tp-resp-section {
    padding: 25px 20px;
  }
}