/* index.css — Homepage only */

/* HERO */
.carousel-bg-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
}
.hero-overlay-content {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(26,39,68,0.78) 0%, rgba(30,106,160,0.55) 100%);
}
.hero-eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--yellow); margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--serif); font-size: clamp(2rem,5vw,3.2rem);
  font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 32px;
}
.hero-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-btn {
  padding: 14px 32px; border-radius: var(--r); font-size: 15px;
  font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.22s ease;
}
.hero-btn.primary { background: var(--yellow); color: var(--navy); }
.hero-btn.primary:hover { background: var(--yellow-dk); transform: translateY(-2px); }
.hero-btn.outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.hero-btn.outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* JOIN SECTION */
.join-section { background: #fff; padding: 72px 0; }
.join-title {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 700;
  color: var(--navy); text-align: center; margin-bottom: 12px;
}
.join-sub {
  text-align: center; color: var(--muted); font-size: 1.05rem;
  max-width: 640px; margin: 0 auto 44px; line-height: 1.65;
}
.join-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.join-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 28px 16px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); color: var(--text); font-weight: 600;
  font-size: 15px; text-align: center; transition: all 0.25s ease;
}
.join-card i { font-size: 26px; color: var(--blue); }
.join-card:hover {
  background: var(--blue); color: #fff;
  border-color: var(--blue); transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.join-card:hover i { color: #fff; }

/* COURSE PILLARS */
.pillars-section { padding: 72px 0; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
  background: var(--border); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--sh-sm);
}
.pillar-node {
  background: #fff; padding: 44px 24px;
  text-align: center; transition: all 0.3s ease;
}
.pillar-node:hover, .pillar-node.featured {
  background: var(--blue); z-index: 2;
  transform: scale(1.04);
  box-shadow: var(--sh-lg); border-radius: var(--r-lg);
}
.pillar-node:hover h3, .pillar-node.featured h3 { color: #fff; }
.pillar-node:hover .pillar-meta, .pillar-node.featured .pillar-meta { color: rgba(255,255,255,0.72); }
.pillar-node:hover .pillar-icon, .pillar-node.featured .pillar-icon { background: rgba(255,255,255,0.18); }
.pillar-node:hover .pillar-icon i, .pillar-node.featured .pillar-icon i { color: var(--yellow); }

.pillar-icon {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.pillar-icon.blue   { background: var(--blue-lt); }
.pillar-icon.green  { background: var(--green-lt); }
.pillar-icon.yellow { background: var(--yellow-lt); }
.pillar-icon.red    { background: var(--red-lt); }
.pillar-icon.blue i   { color: var(--blue); font-size: 24px; }
.pillar-icon.green i  { color: var(--green); font-size: 24px; }
.pillar-icon.yellow i { color: var(--yellow-dk); font-size: 24px; }
.pillar-icon.red i    { color: var(--red); font-size: 24px; }

.pillar-node h3 {
  font-family: var(--serif); font-size: 1.1rem;
  font-weight: 700; color: var(--navy); margin-bottom: 6px;
}
.pillar-node h3 a { color: inherit; }
.pillar-meta { font-size: 13px; color: var(--muted); font-weight: 500; }

/* CORE CARDS */
.cards-section { padding: 80px 0; background: var(--bg); }
.cards-title {
  font-family: var(--serif); font-size: 2rem; font-weight: 700;
  color: var(--navy); text-align: center; margin-bottom: 40px;
}
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.feature-card {
  background: #fff; border-radius: var(--r-lg);
  overflow: hidden; border: 1.5px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.feature-card img { width: 100%; height: 230px; object-fit: cover; }
.feature-card-body { padding: 24px 22px; }
.feature-card-body h4 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 14px;
}
.feature-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff;
  padding: 9px 18px; border-radius: var(--r);
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px;
}
.feature-link:hover { background: var(--navy); color: #fff; }

/* NEWS */
.news-section { background: #fff; padding: 80px 0; }
.news-title {
  font-family: var(--serif); font-size: 2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 36px;
}
.news-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.news-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-top: 4px solid var(--blue); border-radius: var(--r-lg);
  padding: 28px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 160px; transition: all 0.25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.news-card h3 {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  color: var(--navy); line-height: 1.4; margin-bottom: 18px; flex: 1;
}
.news-link {
  font-size: 13px; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.news-link:hover { color: var(--navy); }

/* TOOLS */
.tools-section { background: #75b798; padding: 80px 0; }
.tools-inner { display: grid; grid-template-columns: 1fr 2.5fr; gap: 60px; align-items: center; }
.tools-text h2 {
  font-family: var(--serif); font-size: 2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 14px;
}
.tools-text p { color: rgba(26,39,68,0.75); font-size: 1rem; line-height: 1.65; }
.tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.tool-item { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; }
.tool-thumb {
  width: 90px; height: 90px; border-radius: 18px;
  overflow: hidden; border: 2px solid rgba(255,255,255,0.45);
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.3);
}
.tool-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tool-item:hover .tool-thumb { border-color: var(--navy); transform: translateY(-6px); box-shadow: 0 14px 28px rgba(26,39,68,0.25); }
.tool-item span { font-size: 12px; font-weight: 600; color: var(--navy); text-align: center; line-height: 1.3; }
.tool-item:hover span { color: #fff; }

@media (max-width: 1100px) {
  .join-grid { grid-template-columns: repeat(2,1fr); }
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: repeat(2,1fr); }
  .tools-inner { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 768px) {
  .join-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr; background: none; gap: 12px; }
  .cards-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
}

/* ============================================================
   ABOUT US SECTION
   ============================================================ */
.about-us-section {
    background: var(--white);
    padding: 88px 0;
    border-bottom: 1px solid var(--border);
}

.about-us-inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 72px;
    align-items: center;
}

/* Visual column */
.about-us-visual { position: relative; }

.about-us-img-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.about-us-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Floating badge */
.about-us-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--navy);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--sh-md);
    border: 2px solid rgba(255,255,255,0.45);
    backdrop-filter: blur(8px);
}

.badge-num {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
}

.badge-lbl {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Stats row */
.about-us-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.stat-item {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 18px 14px;
    text-align: center;
    transition: all 0.22s ease;
}

.stat-item:hover {
    border-color: var(--blue);
    background: var(--blue-lt);
    transform: translateY(-3px);
    box-shadow: var(--sh-sm);
}

.stat-val {
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Text column */
.about-us-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 14px;
}

.about-us-title {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-us-title em {
    font-style: normal;
    color: var(--blue);
}

.about-us-lead {
    font-size: 1.08rem;
    color: var(--text);
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 14px;
    border-left: 4px solid var(--yellow);
    padding-left: 16px;
}

.about-us-text p {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 12px;
}

/* Mini pillars */
.about-us-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}

.au-pillar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
}

.au-pillar i { font-size: 16px; width: 20px; text-align: center; }

/* CTA link */
.au-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    padding: 13px 26px;
    border-radius: var(--r);
    font-size: 14.5px;
    font-weight: 700;
    transition: all 0.22s ease;
    margin-top: 8px;
}

.au-cta:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

/* ============================================================
   FOUNDER SECTION
   ============================================================ */
.founder-section {
    background: var(--bg);
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,134,199,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.founder-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.founder-inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 72px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* Photo column */
.founder-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.founder-img-frame {
    position: relative;
    width: 300px;
    height: 340px;
    flex-shrink: 0;
}

.founder-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    position: relative;
    z-index: 2;
    display: block;
}

/* Decorative corner accent */
.founder-accent-ring {
    position: absolute;
    bottom: -14px;
    right: -14px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--blue);
    border-radius: var(--r-xl);
    z-index: 1;
    opacity: 0.3;
}

/* Social links */
.founder-social {
    display: flex;
    gap: 10px;
}

.fsoc-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 14px;
    transition: all 0.22s ease;
    box-shadow: var(--sh-sm);
}

.fsoc-btn:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-2px);
}

/* Text column */
.founder-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 10px;
}

.founder-name {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 6px;
}

.founder-role {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 0;
}

.founder-divider {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--yellow));
    border-radius: 2px;
    margin: 20px 0;
}

.founder-bio {
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.78;
    margin-bottom: 14px;
}

.founder-bio em {
    font-style: italic;
    color: var(--navy);
    font-weight: 500;
}

/* Blockquote */
.founder-quote {
    position: relative;
    background: var(--navy);
    color: rgba(255,255,255,0.88);
    border-radius: var(--r-lg);
    padding: 28px 28px 24px;
    margin: 24px 0;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.65;
    border: none;
}

.fq-mark {
    display: block;
    color: var(--yellow);
    font-size: 22px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.founder-quote cite {
    display: block;
    margin-top: 14px;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Credentials */
.founder-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.fc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text);
    padding: 11px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--sh-sm);
}

.fc-item i {
    color: var(--blue);
    font-size: 15px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.fc-item em { font-style: italic; color: var(--navy); }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .about-us-inner { grid-template-columns: 1fr; gap: 44px; }
    .about-us-img-wrap img { height: 320px; }
    .founder-inner { grid-template-columns: 1fr; }
    .founder-photo-col { flex-direction: row; align-items: center; gap: 28px; }
    .founder-img-frame { width: 220px; height: 250px; }
}

@media (max-width: 768px) {
    .about-us-section { padding: 64px 0; }
    .founder-section { padding: 64px 0; }
    .about-us-pillars { grid-template-columns: 1fr; }
    .about-us-stats { grid-template-columns: repeat(3, 1fr); }
    .founder-photo-col { flex-direction: column; }
    .founder-img-frame { width: 240px; height: 270px; }
    .founder-name { font-size: 1.9rem; }
}

/* ============================================================
   COURSES SECTION
   ============================================================ */
.courses-section {
    padding: 96px 0 80px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

/* Header */
.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 24px;
}

.courses-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 10px;
}

.courses-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.2;
}

.courses-title em { font-style: normal; color: var(--blue); }

.courses-sub {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 560px;
    margin: 0;
}

.courses-total-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 90px;
    background: var(--navy);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    flex-shrink: 0;
}

.ctb-num {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
}

.ctb-lbl {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.3;
    margin-top: 4px;
}

/* Pillar filter tabs */
.pillar-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    padding: 14px 16px;
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1.5px solid var(--border);
    box-shadow: var(--sh-sm);
}

.ptab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--r);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg);
    border: 1.5px solid transparent;
    cursor: pointer;
    font-family: var(--sans);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ptab i { font-size: 12px; }

.ptab:hover {
    color: var(--navy);
    background: var(--blue-lt);
    border-color: var(--blue);
}

.ptab.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    box-shadow: var(--sh-sm);
}

/* Cards grid */
.course-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@keyframes courseIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Individual card */
.course-card {
    background: var(--white);
    border-radius: var(--r-xl);
    border: 1.5px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    animation: courseIn .4s ease forwards;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}

/* Featured badge */
.cc-featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--yellow);
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Colored top strip */
.cc-top {
    padding: 28px 24px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.cc-top.blue   { background: linear-gradient(135deg, #1e6aa0 0%, #2d86c7 100%); }
.cc-top.green  { background: linear-gradient(135deg, #1e5c38 0%, #2e7d4f 100%); }
.cc-top.yellow { background: linear-gradient(135deg, #b86e12 0%, #f5a623 100%); }
.cc-top.red    { background: linear-gradient(135deg, #922b21 0%, #c0392b 100%); }
.cc-top.teal   { background: linear-gradient(135deg, #0f6674 0%, #1a99ab 100%); }
.cc-top.purple { background: linear-gradient(135deg, #5b2c7e 0%, #8e44ad 100%); }
.cc-top.navy   { background: linear-gradient(135deg, #0d1b36 0%, #1a2744 100%); }

.cc-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    border: 1.5px solid rgba(255,255,255,0.25);
}

.cc-pillar-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Card body */
.cc-body {
    padding: 22px 24px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cc-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cc-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    background: var(--blue-lt);
    padding: 4px 10px;
    border-radius: 20px;
}

.cc-level {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.cc-title {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.cc-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

/* Topics list */
.cc-topics {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cc-topics li {
    font-size: 12.5px;
    color: var(--text);
    padding: 6px 10px 6px 26px;
    background: var(--bg);
    border-radius: 6px;
    position: relative;
    border: 1px solid var(--border);
    line-height: 1.4;
}

.cc-topics li::before {
    content: '→';
    position: absolute;
    left: 9px;
    color: var(--blue);
    font-weight: 700;
    font-size: 11px;
}

/* Card footer / CTA */
.cc-footer {
    padding: 16px 24px 22px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.cc-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--r);
    font-size: 13.5px;
    font-weight: 700;
    width: 100%;
    justify-content: center;
    transition: all 0.22s ease;
    background: var(--blue);
    color: #fff;
}

.cc-btn.green  { background: var(--green); }
.cc-btn.yellow { background: var(--yellow-dk); color: #fff; }
.cc-btn.red    { background: var(--red); }
.cc-btn.teal   { background: #1a99ab; }
.cc-btn.purple { background: #8e44ad; }
.cc-btn.navy   { background: var(--navy); }

.cc-btn:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }

/* Featured card special border */
.featured-course {
    border: 2px solid var(--yellow);
    box-shadow: 0 8px 32px rgba(245,166,35,0.15);
}

/* Footer strip */
.courses-footer-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 44px;
    padding: 20px 28px;
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1.5px solid var(--border);
}

.courses-footer-strip p {
    color: var(--muted);
    font-size: 14.5px;
    margin: 0;
}

.courses-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--blue);
    transition: gap 0.2s ease;
}

.courses-contact-link:hover { gap: 11px; color: var(--navy); }

/* Responsive */
@media (max-width: 1100px) {
    .course-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .courses-header { flex-direction: column; align-items: flex-start; }
    .courses-total-badge { display: none; }
    .pillar-tabs { gap: 6px; padding: 10px 12px; }
    .ptab { padding: 7px 12px; font-size: 12.5px; }
    .course-cards-grid { grid-template-columns: 1fr; }
    .courses-footer-strip { flex-direction: column; gap: 8px; text-align: center; }
}
