/* Course cards (.ttc-*) — moved from index so course.php / courses.php use the same design */

/* colour tokens also on the card itself, so cards work outside the home Courses section */
.ttc-card {
  --ttc-accent: #a5732f;
  --ttc-accent-dark: #8a5f25;
  --ttc-accent-soft: #f6efe4;
  --ttc-heading: #1f1f1f;
  --ttc-text: #4a4a4a;
  --ttc-muted: #8a8a8a;
  --ttc-line: #ece7df;
}
/* =====================================================
   COURSES SECTION — copy from here into your stylesheet
   ===================================================== */
.our-services.ttc-section {
 --ttc-accent: #a5732f;        /* brand gold-brown */
  --ttc-accent-dark: #8a5f25;
  --ttc-accent-soft: #f6efe4;
  --ttc-heading: #1f1f1f;
  --ttc-text: #4a4a4a;
  --ttc-muted: #8a8a8a;
  --ttc-line: #ece7df;

  padding: 100px 0;
  background-color: #f7f4ef;
  /* faint lotus pattern like the reference */
  
 
}

/* ---------- Heading ---------- */
.ttc-section .ttc-head {
  max-width: 860px;
  margin: 0 auto 50px;
  text-align: center;
}
.ttc-section .ttc-lotus {
  width: 34px; height: 34px;
  color: var(--ttc-accent);
  margin-bottom: 6px;
}
.ttc-section .section-title { margin-bottom: 0; }
.ttc-section .section-title h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .5px;
  
  margin-bottom: 10px;
}
.ttc-section .section-title h2 {
  
  font-weight: 500;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.2;
  color: #000;
}
.ttc-section .section-title h2 span { color: var(--ttc-accent); }
.ttc-section .ttc-intro {
  margin: 16px auto 0;
  
  line-height: 1.7;
  color: #000;
}
.ttc-section .ttc-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ttc-accent);
}
.ttc-section .ttc-tagline::before,
.ttc-section .ttc-tagline::after {
  content: "";
  width: 40px; height: 1px;
  background: var(--ttc-accent);
  opacity: .5;
}

/* ---------- Card ---------- */
.ttc-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.ttc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

.ttc-img {
  position: relative;
  height: 350px;
  overflow: hidden;
}
.ttc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.ttc-card:hover .ttc-img img { transform: scale(1.06); }
.ttc-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.65) 100%);
}
.ttc-img h3 {
  position: absolute;
  left: 18px; right: 18px; bottom: 14px;
  z-index: 2;
  margin: 0;
  
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.ttc-img h3 a { color: inherit; text-decoration: none; }
.ttc-badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 2px solid var(--ttc-accent);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ttc-accent);
}

.ttc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 20px;
}

/* level / duration strip */
.ttc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ece7df;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.ttc-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ttc-meta-item + .ttc-meta-item {
  border-left: 1px solid var(--ttc-line);
  padding-left: 12px;
}
.ttc-ico {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #f6efe4;
  color: #a5732f;
  display: grid;
  place-items: center;
}
.ttc-ico svg { width: 16px; height: 16px; }
.ttc-meta small,
.ttc-row small {
  display: block;
  font-size: 10.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ttc-muted);
  line-height: 1.3;
}
.ttc-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ttc-heading);
}

.ttc-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ttc-text);
  margin-bottom: 6px;
}

/* style / certification rows */
.ttc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--ttc-line);
  font-size: 14px;
  color: var(--ttc-text);
}
.ttc-row b { color: var(--ttc-accent); font-weight: 600; }

/* price + button pinned to bottom */
.ttc-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ttc-line);
}
.ttc-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 30px;
  background: var(--ttc-accent-soft);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ttc-heading);
  margin-bottom: 14px;
}
.ttc-price i {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ttc-accent);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.ttc-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: 40px;
  background: var(--ttc-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .3s ease;
}
.ttc-btn:hover { background: var(--ttc-accent-dark); color: #fff; }

/* bottom note */
.ttc-section .section-footer-text {
  margin-top: 50px;
  text-align: center;
}
.ttc-section .section-footer-text p {
  margin: 0;
  font-size: 16px;
  color: var(--ttc-text);
}
.ttc-section .section-footer-text p span {
  display: inline-block;
  background: var(--ttc-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 20px;
  margin-right: 10px;
}
.ttc-section .section-footer-text a {
  color: var(--ttc-accent);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .our-services.ttc-section { padding: 70px 0; }
  .ttc-img { height: 220px; }
}
/* ================= copy until here ================= */
