/* Components for about.html, what-we-do.html, partners.html and contact.html — reuse the index.html look. Loads after site.css. */

/* ---------- Section headings ---------- */
.pg-section { margin-top: clamp(64px, 7vw, 110px); scroll-margin-top: 24px; }
.pg-center { text-align: center; }
.pg-label { font-family: Inter, sans-serif; font-size: clamp(18px, 1.5vw, 25px); color: var(--blue); }
.pg-h2 { margin-top: 8px; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.pg-note { margin-top: 28px; font-size: clamp(15px, 1.05vw, 17px); color: var(--muted); }

/* ---------- Buttons ---------- */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; padding: 16px 32px; border: 1px solid transparent; border-radius: 10px; font-family: 'Albert Sans', sans-serif; font-weight: 700; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.3; cursor: pointer; }
.pg-btn-primary { background: var(--blue); color: #fff; }
.pg-btn-dark { background: #000; color: #fff; }
.pg-btn-light { border-color: #fff; color: #fff; }
.pg-btn-primary:hover, .pg-btn-dark:hover, .pg-btn-light:hover { color: #fff; }
.pg-btn:disabled { opacity: .7; cursor: progress; }

/* ---------- Story (about) ---------- */
.pg-story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pg-prose { margin-top: 16px; }
.pg-prose p { font-size: clamp(16px, 1.15vw, 20px); line-height: 1.6; }
.pg-prose p + p { margin-top: 18px; }
.pg-quote { position: relative; overflow: hidden; padding: clamp(32px, 3.4vw, 52px); border-radius: 16px; background: #000; color: #fff; }
.pg-quote p { position: relative; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(22px, 2vw, 32px); line-height: 1.25; letter-spacing: -0.02em; }
.pg-quote-line { position: relative; display: block; width: 120px; height: 2px; margin-top: 24px; background: var(--blue); }
.pg-quote .pg-swirl { opacity: .45; }

/* Card swirl decoration (same image as the index.html cards) */
.pg-swirl { position: absolute; opacity: .9; pointer-events: none; }
.pg-swirl-tl { left: -24px; top: -24px; width: 100px; rotate: 80deg; }
.pg-swirl-br { right: -30px; bottom: -30px; width: 128px; rotate: 255deg; }

/* ---------- Black cards (what we do) ---------- */
.pg-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 4vw, 64px); }
.pg-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 46px; border-radius: 8px; background: #000; color: #fff; text-align: center; transition: transform .18s ease; }
.pg-card:hover { transform: translateY(-3px); }
.pg-card h3 { position: relative; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(22px, 2vw, 33px); }
.pg-card-line { position: relative; width: 120px; height: 2px; margin: 16px 0 14px; background: var(--blue); }
.pg-card p { position: relative; font-size: clamp(16px, 1.25vw, 22px); line-height: 1.25; letter-spacing: -0.02em; }

/* ---------- Service cards (what we do, partners) ---------- */
.pg-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; text-align: left; }
.pg-service { padding: clamp(28px, 2.6vw, 40px); border: 1px solid var(--line); border-radius: 16px; background: #fff; scroll-margin-top: 24px; transition: transform .18s ease, box-shadow .18s ease; }
.pg-service:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(9, 121, 254, .12); }
.pg-service:target { border-color: var(--blue); box-shadow: 0 0 0 3px var(--soft); }
.pg-service-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--soft); color: var(--blue); }
.pg-service h3 { margin-top: 20px; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.2; color: var(--ink); }
.pg-service p { margin-top: 12px; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.6; }
.pg-service-meta { display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: var(--soft); color: var(--blue); font-family: Inter, sans-serif; font-weight: 600; font-size: 14px; }

/* ---------- Learn. Practice. Build. ---------- */
.pg-lpb { display: flex; align-items: center; gap: clamp(32px, 5vw, 80px); }
.pg-lpb-title { flex: 0 0 auto; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(44px, 4.4vw, 73px); line-height: 0.86; letter-spacing: -0.03em; text-transform: uppercase; color: var(--ink); }
.pg-lpb-side { flex: 1; }
.pg-lpb-side p { font-size: clamp(16px, 1.25vw, 22px); line-height: 1.45; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; list-style: none; }
.pg-chips li { padding: clamp(12px, 1vw, 18px) clamp(18px, 1.5vw, 26px); border-radius: 12px; background: var(--blue); box-shadow: 6px 8px 0 #000; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(16px, 1.3vw, 23px); line-height: 1.2; letter-spacing: -0.03em; color: #fff; }

/* ---------- Founders (about) ---------- */
.pg-founders { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 48px); margin-top: 38px; }
.pg-founder { position: relative; overflow: hidden; display: flex; border-radius: 12px; background: #000; color: #fff; }
.pg-founder::before { content: ""; position: absolute; left: 172px; top: -208px; width: 302px; height: 302px; border-radius: 50%; background: var(--blue); }
.pg-founder-photo { position: relative; z-index: 1; flex: 0 0 384px; }
.pg-founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pg-founder-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 64px; }
.pg-founder h3 { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -0.02em; }
.pg-founder-role { margin-top: 10px; font-size: clamp(15px, 1.15vw, 20px); color: #D5D5D5; }
.pg-founder-bio { margin-top: 24px; max-width: 640px; font-size: clamp(16px, 1.25vw, 22px); line-height: 1.4; }

/* ---------- Why choose (about) ---------- */
.pg-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px clamp(40px, 6vw, 120px); margin-top: 60px; }
.pg-why-item { display: flex; flex-direction: column; align-items: center; }
.pg-why-item h3 { margin-top: 18px; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.05; letter-spacing: -0.03em; color: #000; }
.pg-why-blob { width: 100%; margin-top: 20px; padding: 26px 44px 44px; border-radius: 0 0 140px 140px / 0 0 80px 80px; background: var(--soft-2); }
.pg-why-blob p { font-size: clamp(16px, 1.15vw, 20px); line-height: 1.4; color: #161C2D; }

/* ---------- Call to action box ---------- */
.pg-cta { padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px); border-radius: 20px; background: linear-gradient(180deg, #0979FE 0%, #2A4BB9 100%); color: #fff; text-align: center; }
.pg-cta h2 { font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(28px, 3vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
.pg-cta p { max-width: 720px; margin: 18px auto 0; font-size: clamp(16px, 1.3vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .92); }
.pg-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 34px; }

/* ---------- Partner logos (partners — filled in when partners are confirmed) ---------- */
.pg-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; list-style: none; }
.pg-logos li { display: flex; align-items: center; justify-content: center; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pg-logos img { max-height: 64px; width: auto; object-fit: contain; }

/* ---------- Contact ---------- */
.pg-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: clamp(40px, 4vw, 64px); }
.pg-contact-img { display: block; width: 280px; height: auto; }
.pg-info { display: grid; gap: 16px; margin-top: 28px; }
.pg-info-card { display: flex; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #F7FAFF; overflow-wrap: anywhere; }
.pg-info-icon { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; }
.pg-info-card h3 { font-family: Inter, sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); }
.pg-info-card p, .pg-info-card address { margin-top: 4px; font-style: normal; font-size: 16px; line-height: 1.55; }
.pg-form { padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 20px 60px rgba(9, 121, 254, .08); }
.pg-form-title { font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(24px, 2vw, 32px); line-height: 1.15; color: var(--ink); }
.pg-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pg-field { display: block; margin-top: 22px; }
.pg-field > span { display: block; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(15px, 1.1vw, 18px); color: #161C2D; }
.pg-field input, .pg-field textarea { display: block; width: 100%; margin-top: 10px; padding: clamp(13px, 1vw, 18px) 20px; border: 1px solid #AAAAAA; border-radius: 12px; background: #fff; font-family: Inter, sans-serif; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.3; color: #000; transition: border-color .15s ease, box-shadow .15s ease; }
.pg-field textarea { resize: vertical; }
.pg-field input:focus, .pg-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(9, 121, 254, .12); }
.pg-form .pg-btn { margin-top: 30px; }
.pg-form-error { margin-top: 16px; font-family: Inter, sans-serif; font-weight: 600; font-size: 16px; color: #D64545; }
.pg-form-ok { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 18px 22px; border: 1px solid var(--blue); border-radius: 12px; background: var(--soft); font-family: Inter, sans-serif; font-weight: 700; font-size: 16px; color: var(--blue); }
.pg-form-ok span { flex: 0 0 32px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pg-lpb { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .pg-story, .pg-contact { grid-template-columns: minmax(0, 1fr); }
  .pg-services { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .pg-founder { flex-direction: column; }
  .pg-founder-photo { flex: none; width: 100%; aspect-ratio: 4 / 3; max-height: 420px; }
  .pg-founder-body { padding: 32px 28px; }
}
@media (max-width: 760px) {
  .pg-cards, .pg-why { grid-template-columns: minmax(0, 1fr); }
  .pg-why { gap: 40px; }
  .pg-chips { gap: 14px; }
  .pg-field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 560px) {
  .pg-card { padding: 36px 24px; }
  .pg-cta-btns .pg-btn, .pg-form .pg-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-card, .pg-service { transition: none; }
}

/* ==================== Course page (Single Course Page.dc.html) ==================== */
.pg-service-link { display: block; margin-top: 16px; font-family: Inter, sans-serif; font-weight: 700; font-size: 16px; }
.cs-hero { padding: clamp(64px, 7vw, 130px) 0 clamp(64px, 6vw, 110px); background: linear-gradient(180deg, #0979FE 0%, #2A4BB9 100%); color: #fff; text-align: center; }
.cs-hero h1 { max-width: 1219px; margin: 0 auto; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(38px, 4.4vw, 70px); line-height: 0.95; letter-spacing: -0.03em; }
.cs-hero-tags { margin-top: clamp(24px, 2.5vw, 40px); font-weight: 600; font-size: clamp(16px, 1.5vw, 24px); }
.cs-hero-text { max-width: 1000px; margin: 24px auto 0; font-size: clamp(16px, 1.5vw, 24px); line-height: 1.4; }
.cs-hero .pg-btn { margin-top: 40px; }
.cs-page { padding-bottom: clamp(64px, 7vw, 110px); }
.cs-prose { max-width: 1000px; }
.cs-intro { max-width: 880px; margin: 22px auto 0; font-size: clamp(18px, 1.5vw, 26px); line-height: 1.3; letter-spacing: -0.03em; color: #000; }

/* Highlights */
.cs-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; list-style: none; }
.cs-highlights li { display: flex; flex-direction: column; align-items: center; gap: 16px; font-size: clamp(17px, 1.5vw, 24px); line-height: 1.15; color: #000; }

/* What you'll learn */
.cs-learn { display: flex; align-items: flex-start; gap: clamp(32px, 4vw, 56px); margin-top: 36px; }
.cs-learn img { flex: 0 0 422px; width: 422px; height: auto; }
.cs-learn-list { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; padding-top: 10px; list-style: none; }
.cs-learn-list li { position: relative; padding-left: 30px; font-weight: 500; font-size: clamp(17px, 1.6vw, 25px); line-height: 1.2; letter-spacing: -0.03em; }
.cs-learn-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); }

/* Who is this course for (film-strip box) */
.cs-who { position: relative; overflow: hidden; padding: clamp(56px, 5vw, 70px) clamp(24px, 4vw, 60px) clamp(60px, 5vw, 74px); border-radius: 2px; background: #000; color: #fff; }
.cs-who::before, .cs-who::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(90deg, transparent 0 12px, #fff 12px 28px, transparent 28px 40px); }
.cs-who::before { top: 12px; }
.cs-who::after { bottom: 12px; }
.cs-who h2 { text-align: center; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -0.02em; }
.cs-who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 40px; margin-top: 52px; list-style: none; }
.cs-who-grid li { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; letter-spacing: -0.02em; }
.cs-who-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 8px; background: #D9D9D9; font-size: 30px; }

/* Learning roadmap */
.cs-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.cs-module { position: relative; padding: 32px 40px 34px; border-radius: 14px; background: #EAF3FF; transition: transform .18s ease; }
.cs-module:hover { transform: translateY(-3px); }
.cs-module-play { position: absolute; top: 30px; right: 34px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid var(--blue); border-radius: 50%; }
.cs-module h3 { max-width: 78%; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(20px, 1.8vw, 27px); line-height: 1.15; letter-spacing: -0.02em; color: #0E1927; }
.cs-module-duration { margin-top: 16px; font-weight: 600; font-size: clamp(16px, 1.2vw, 20px); color: var(--blue); }
.cs-module-desc { margin-top: 14px; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.4; color: #4C4D50; }

/* Instructor */
.cs-instructor { display: flex; align-items: flex-start; gap: clamp(32px, 4vw, 56px); margin-top: 34px; }
.cs-instructor img { flex: 0 0 361px; width: 361px; height: auto; aspect-ratio: 361 / 510; object-fit: cover; object-position: top center; border-radius: 6px; }
.cs-instructor h3 { font-weight: 700; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -0.02em; color: #000; }
.cs-instructor-role { margin-top: 10px; font-size: clamp(15px, 1.15vw, 20px); color: #565E67; }
.cs-instructor-bio { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; font-size: clamp(16px, 1.3vw, 22px); line-height: 1.45; }
.cs-instructor-quote { font-style: italic; color: #0E1927; }

/* Why choose (grey box) */
.cs-why { padding: clamp(40px, 5vw, 64px) clamp(24px, 6vw, 120px); border-radius: 10px; background: rgba(0, 0, 0, .05); }
.cs-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px clamp(40px, 6vw, 120px); margin-top: 52px; text-align: center; }
.cs-why-grid h3 { font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -0.02em; color: #000; }
.cs-why-grid p { margin-top: 16px; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.45; }

/* Testimonials */
.cs-tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; text-align: left; }
.cs-t-rating { display: flex; align-items: center; gap: 12px; color: #FF8000; }
.cs-t-rating b { font-weight: 700; font-size: clamp(28px, 2.3vw, 37px); letter-spacing: -0.03em; }
.cs-t-rating span { font-size: clamp(20px, 1.5vw, 26px); letter-spacing: 2px; }
.cs-t-person { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.cs-t-avatar { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #000; }
.cs-t-name { font-weight: 700; font-size: clamp(18px, 1.4vw, 23px); letter-spacing: -0.03em; color: #000; }
.cs-t-role { font-size: clamp(14px, 1vw, 18px); letter-spacing: -0.03em; color: #000; }
.cs-t-quote { margin-top: 22px; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.45; }
.cs-arrows { display: flex; justify-content: center; gap: 34px; margin-top: 56px; }
.cs-arrow { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: #D9D9D9; }

/* FAQ accordion */
.cs-faq { display: flex; flex-direction: column; gap: 22px; margin-top: 44px; }
.cs-faq details { padding: clamp(22px, 2.2vw, 32px) clamp(22px, 3.4vw, 49px); border-radius: 18px; background: rgba(0, 0, 0, .05); transition: box-shadow .2s ease, background .2s ease; }
.cs-faq details[open] { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.cs-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; cursor: pointer; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(19px, 1.8vw, 27px); letter-spacing: -0.03em; color: #0E1927; }
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary svg { flex: 0 0 auto; transition: transform .25s ease; }
.cs-faq details[open] summary svg { transform: rotate(180deg); }
.cs-faq details p { margin-top: 22px; max-width: 1085px; font-family: Inter, sans-serif; font-size: clamp(16px, 1.5vw, 24px); line-height: 1.35; letter-spacing: -0.03em; color: #616161; }

/* Enquiry */
.cs-cta-text { margin-top: 28px; max-width: 420px; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(18px, 1.5vw, 26px); line-height: 1.35; color: #000; }
.cs-cta-text + .cs-cta-text { margin-top: 18px; }

@media (max-width: 1100px) {
  .cs-learn { flex-direction: column; }
  .cs-learn img { flex: none; width: min(100%, 360px); }
  .cs-tgrid { gap: 28px; }
}
@media (max-width: 900px) {
  .cs-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .cs-instructor { flex-direction: column; }
  .cs-instructor img { flex: none; width: min(100%, 361px); }
  .cs-tgrid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .cs-learn-list, .cs-modules, .cs-why-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-learn-list { gap: 18px; }
  .cs-why-grid { gap: 36px; }
  .cs-who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .cs-module { padding: 26px 24px 28px; }
  .cs-module h3 { max-width: calc(100% - 56px); }
  .cs-module-play { top: 24px; right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-module, .cs-faq details, .cs-faq summary svg { transition: none; }
}
