/* ============================================================
   MIS SKILLS SCHOOL — HOME "BROADCAST / ON-AIR" THEME
   Dark cinematic hero + crimson red accent
   ============================================================ */

.ms-home {
    --ink:   #0b1120;
    --ink2:  #131b30;
    --red:   #e11d48;
    --red2:  #f43f5e;
    --page:  #f6f7fb;
    --ink-text: #0f172a;
    --muted: #667085;
    --line:  #e7e9f0;
    font-family: 'Siyam Rupali', 'Inter', sans-serif;
    overflow-x: clip;
}
.ms-home .container { max-width: 1180px; }

/* ---------- shared bits ---------- */
.ms-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(225,29,72,0.1); color: var(--red);
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.4px;
    padding: 7px 16px; border-radius: 30px; text-transform: uppercase;
    margin-bottom: 16px;
}
.ms-eyebrow-light { background: rgba(244,63,94,0.18); color: #fda4af; }
.ms-h2 {
    font-size: 2.3rem; font-weight: 800; color: var(--ink-text);
    letter-spacing: -0.6px; line-height: 1.2; margin: 0;
}
.ms-h2-light { color: #fff; }
.ms-red { color: var(--red); }
.ms-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin: 16px 0 22px; }
.ms-section { padding: 90px 0; background: var(--page); scroll-margin-top: 80px; }
.ms-head-center { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.ms-head-split { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }
.ms-link { color: var(--red); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ms-link:hover { color: var(--red2); }

/* ---------- buttons ---------- */
.ms-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 800; font-size: 0.95rem; padding: 14px 28px;
    border-radius: 12px; text-decoration: none; border: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.ms-btn i { font-size: 1.2rem; }
.ms-btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(225,29,72,0.4); }
.ms-btn-red:hover { background: var(--red2); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(225,29,72,0.5); }
.ms-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.ms-btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.6); }
.ms-btn-white { background: #fff; color: var(--ink-text); box-shadow: 0 10px 26px rgba(0,0,0,0.18); }
.ms-btn-white:hover { transform: translateY(-3px); color: var(--red); }

/* ============================================================
   HERO
   ============================================================ */
.ms-hero {
    position: relative; overflow: hidden;
    background: radial-gradient(120% 120% at 100% 0%, #1a2340 0%, var(--ink) 55%);
    color: #fff; padding: 70px 0 0;
}
.ms-hero-grid-lines {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(90% 80% at 50% 30%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(90% 80% at 50% 30%, #000 40%, transparent 100%);
}
.ms-hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.ms-hero-glow-1 { width: 460px; height: 460px; background: rgba(225,29,72,0.35); top: -120px; right: -80px; }
.ms-hero-glow-2 { width: 380px; height: 380px; background: rgba(59,130,246,0.18); bottom: -140px; left: -100px; }

.ms-hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
    padding-bottom: 60px;
}

.ms-onair {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(225,29,72,0.15); border: 1px solid rgba(225,29,72,0.5);
    color: #fecdd3; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.6px;
    padding: 8px 16px; border-radius: 30px; text-transform: uppercase; margin-bottom: 22px;
}
.ms-onair-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red2); box-shadow: 0 0 0 0 rgba(244,63,94,0.7); animation: msPulse 1.6s infinite; }
@keyframes msPulse { 0%{box-shadow:0 0 0 0 rgba(244,63,94,0.6)} 70%{box-shadow:0 0 0 10px rgba(244,63,94,0)} 100%{box-shadow:0 0 0 0 rgba(244,63,94,0)} }

.ms-hero-title { font-size: 3.2rem; font-weight: 800; line-height: 1.12; letter-spacing: -1px; margin: 0 0 18px; }
.ms-grad-text { background: linear-gradient(100deg, #fb7185, #f43f5e 45%, #fda4af); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ms-hero-desc { color: rgba(255,255,255,0.72); font-size: 1.06rem; line-height: 1.8; max-width: 540px; margin: 0 0 28px; }
.ms-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.ms-hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); }
.ms-hstat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ms-hstat .n { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.ms-hstat .l { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 6px; font-weight: 600; }

/* hero image */
.ms-hero-right { position: relative; }
.ms-hero-media {
    position: relative; border-radius: 22px;
    aspect-ratio: 4 / 3;
    padding: 6px;
    background: linear-gradient(135deg, #f43f5e 0%, #a855f7 50%, #3b82f6 100%);
    box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
}
.ms-hero-img {
    position: relative; z-index: 1;
    width: 100%; height: 100%; object-fit: cover; display: block;
    border-radius: 16px;
}
/* hero video (click to play) */
.ms-hero-video { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; }
.ms-hero-video video.ms-hero-img { background: #000; }
.ms-hero-video iframe.ms-hero-img { border: 0; }
.ms-hero-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
    width: 78px; height: 78px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 2.3rem; padding-left: 4px;
    box-shadow: 0 0 0 10px rgba(225,29,72,0.18), 0 16px 40px rgba(225,29,72,0.5);
    transition: transform 0.25s;
}
.ms-hero-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.ms-hero-video.is-playing .ms-hero-play { display: none; }

/* ---- Home video gallery (3 x 2) ---- */
.ms-vgal { background: #fff; }
.ms-vgal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ms-vgal-item {
    position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
    cursor: pointer; background: #000; box-shadow: 0 10px 30px rgba(15,23,42,0.10);
}
.ms-vgal-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-vgal-item .ms-hero-play { width: 60px; height: 60px; font-size: 1.7rem; }
.ms-vgal-title {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    padding: 30px 14px 12px; color: #fff; font-weight: 700; font-size: 0.9rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.78));
}
.ms-vgal-item.is-playing .ms-hero-play,
.ms-vgal-item.is-playing .ms-vgal-title { display: none; }
@media (max-width: 860px) { .ms-vgal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ms-vgal-grid { grid-template-columns: 1fr; } }
.ms-studio {
    position: relative; border-radius: 22px; padding: 26px;
    background: linear-gradient(160deg, #1c2743 0%, #0d1426 100%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 70px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(225,29,72,0.08);
    aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: space-between;
    overflow: hidden;
}
.ms-studio::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(60% 60% at 50% 40%, rgba(225,29,72,0.22), transparent 70%);
    pointer-events: none;
}
.ms-studio-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.ms-rec { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 800; letter-spacing: 1px; color: #fecdd3; }
.ms-rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red2); animation: msBlink 1.1s steps(1) infinite; }
@keyframes msBlink { 50% { opacity: 0.25; } }
.ms-studio-time { font-family: 'Inter', monospace; font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 700; letter-spacing: 1px; }

.ms-studio-play {
    position: relative; z-index: 2; align-self: center;
    width: 84px; height: 84px; border-radius: 50%;
    background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; text-decoration: none;
    box-shadow: 0 0 0 10px rgba(225,29,72,0.18), 0 16px 40px rgba(225,29,72,0.5);
    transition: transform 0.25s;
}
.ms-studio-play:hover { transform: scale(1.08); color: #fff; }

.ms-studio-bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; position: relative; z-index: 2; }
.ms-studio-bars span { flex: 1; background: linear-gradient(var(--red2), var(--red)); border-radius: 3px; animation: msEq 1s ease-in-out infinite; }
.ms-studio-bars span:nth-child(1){animation-delay:0s} .ms-studio-bars span:nth-child(2){animation-delay:.15s}
.ms-studio-bars span:nth-child(3){animation-delay:.3s} .ms-studio-bars span:nth-child(4){animation-delay:.45s}
.ms-studio-bars span:nth-child(5){animation-delay:.6s} .ms-studio-bars span:nth-child(6){animation-delay:.75s}
.ms-studio-bars span:nth-child(7){animation-delay:.9s}
@keyframes msEq { 0%,100%{height:25%} 50%{height:100%} }
.ms-studio-caption { position: relative; z-index: 2; text-align: center; font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.65); margin-top: 6px; }

.ms-float-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18); color: #fff;
    font-size: 0.82rem; font-weight: 700; padding: 10px 15px; border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 3;
}
.ms-float-chip i { color: var(--red2); }
.ms-chip-1 { top: 18px; left: -26px; animation: msFloat 3.2s ease-in-out infinite; }
.ms-chip-2 { bottom: 30px; right: -22px; animation: msFloat 3.2s ease-in-out infinite 1.4s; }
@keyframes msFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ============================================================
   ABOUT
   ============================================================ */
.ms-about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.ms-check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.ms-check-list span { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-text); }
.ms-check-list i { color: var(--red); font-size: 1.25rem; }
.ms-about-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ms-tile {
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 24px;
    display: flex; flex-direction: column; gap: 6px; transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 6px 20px rgba(15,23,42,0.04);
}
.ms-tile:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,23,42,0.1); }
.ms-tile i { font-size: 2rem; color: var(--red); margin-bottom: 6px; }
.ms-tile .t-num { font-size: 1.5rem; font-weight: 800; color: var(--ink-text); }
.ms-tile .t-lbl { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.ms-tile-red { background: linear-gradient(160deg, var(--red), #9f1239); border-color: transparent; }
.ms-tile-red i, .ms-tile-red .t-num { color: #fff; }
.ms-tile-red .t-lbl { color: rgba(255,255,255,0.8); }
.ms-about-tiles .ms-tile:nth-child(2) { margin-top: 24px; }
.ms-about-tiles .ms-tile:nth-child(3) { margin-top: -24px; }

/* ============================================================
   SPEAKER
   ============================================================ */
.ms-speaker { background: #fff; }
.ms-speaker-card {
    display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: stretch;
    background: var(--page); border: 1px solid var(--line); border-radius: 26px; padding: 34px;
    box-shadow: 0 20px 50px rgba(15,23,42,0.06);
}
.ms-speaker-media {
    position: relative; border-radius: 20px; overflow: hidden;
    background: radial-gradient(120% 120% at 50% 0%, #1c2743, var(--ink));
    display: flex; align-items: center; justify-content: center; min-height: 320px;
}
.ms-speaker-avatar {
    width: 150px; height: 150px; border-radius: 50%;
    background: linear-gradient(160deg, var(--red), #9f1239);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 4.4rem;
    box-shadow: 0 0 0 12px rgba(225,29,72,0.14);
}
.ms-speaker-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.3,1); }
/* hover animation on the instructor image */
.ms-speaker-media { transition: box-shadow 0.4s ease; cursor: pointer; }
.ms-speaker-media:hover { box-shadow: 0 26px 55px rgba(225,29,72,0.30); }
.ms-speaker-media:hover .ms-speaker-img { transform: scale(1.1); }
.ms-speaker-exp {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: #fff; color: var(--ink-text); font-weight: 800; font-size: 0.82rem;
    padding: 8px 18px; border-radius: 30px; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.ms-speaker-frame-tag {
    position: absolute; top: 16px; left: 16px; background: var(--red); color: #fff;
    font-size: 0.66rem; font-weight: 800; letter-spacing: 1px; padding: 5px 12px; border-radius: 6px;
}
.ms-speaker-body { display: flex; flex-direction: column; justify-content: center; }
.ms-speaker-name { font-size: 1.7rem; font-weight: 800; color: var(--ink-text); margin: 0 0 6px; }
.ms-speaker-role { color: var(--red); font-weight: 700; font-size: 0.92rem; margin-bottom: 16px; }
.ms-speaker-bio { color: var(--muted); font-size: 0.96rem; line-height: 1.8; margin-bottom: 12px; }
.ms-speaker-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ms-speaker-tags span { background: #fff; border: 1px solid var(--line); color: var(--ink-text); font-weight: 700; font-size: 0.76rem; padding: 6px 15px; border-radius: 30px; }

/* ============================================================
   COURSES
   ============================================================ */
.ms-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ms-course {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px;
    overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.ms-course:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(15,23,42,0.12); border-color: transparent; }
/* course title inside the card body (below the poster) */
.ms-course-title {
    margin: 0 0 8px; text-align: left;
    font-size: 1.05rem; font-weight: 800; line-height: 1.35; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* poster image */
.ms-course-poster { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink); }
.ms-course-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.ms-course:hover .ms-course-poster img { transform: scale(1.05); }
.ms-course-body { padding: 18px 20px 22px; }
.ms-course-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line); }
.ms-course-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--ink-text); }
.ms-course-meta i { color: var(--red); }
.ms-course-btn {
    display: inline-flex; align-items: center; gap: 4px; width: 100%; justify-content: center;
    background: var(--ink); color: #fff; font-weight: 800; font-size: 0.9rem;
    padding: 12px; border-radius: 12px; text-decoration: none; transition: background 0.25s;
}
.ms-course-btn i { font-size: 1.2rem; }
.ms-course:hover .ms-course-btn { background: var(--red); }

/* ============================================================
   WHY (dark)
   ============================================================ */
.ms-why { background: radial-gradient(120% 120% at 0% 0%, #1a2340, var(--ink) 60%); }
.ms-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ms-why-item {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px; padding: 22px 24px; transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.ms-why-item:hover { background: rgba(225,29,72,0.1); border-color: rgba(225,29,72,0.4); transform: translateY(-4px); }
.ms-why-ico {
    width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
    background: rgba(225,29,72,0.16); color: var(--red2);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.ms-why-item p { margin: 0; color: #e6eaf3; font-weight: 700; font-size: 0.98rem; line-height: 1.45; }

/* ============================================================
   FAQ
   ============================================================ */
.ms-courses { padding-bottom: 40px; }
.ms-faq { background: #fff; padding-top: 40px; }
.ms-faq-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.ms-faq-item { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--page); transition: box-shadow 0.25s, border-color 0.25s; }
.ms-faq-item[open] { border-color: rgba(225,29,72,0.35); box-shadow: 0 12px 30px rgba(225,29,72,0.08); }
.ms-faq-item summary {
    list-style: none; cursor: pointer; padding: 20px 24px;
    font-weight: 800; color: var(--ink-text); font-size: 1.03rem;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.ms-faq-item summary::-webkit-details-marker { display: none; }
.ms-faq-item summary i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: transform 0.25s; }
.ms-faq-item[open] summary i { transform: rotate(135deg); }
.ms-faq-a { padding: 0 24px 22px; color: var(--muted); line-height: 1.8; font-size: 0.96rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.ms-contact { background: var(--page); }
.ms-contact-cta {
    display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--red), #9f1239); color: #fff;
    border-radius: 26px; padding: 44px 46px; margin-bottom: 34px;
}
.ms-contact-cta h2 { font-size: 1.9rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.5px; }
.ms-contact-cta p { margin: 0; color: rgba(255,255,255,0.85); font-size: 1rem; }
.ms-contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ms-contact-card {
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
    text-decoration: none; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.ms-contact-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,23,42,0.12); border-color: var(--red); }
.ms-cc-ico { width: 58px; height: 58px; border-radius: 50%; background: rgba(225,29,72,0.1); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.ms-cc-lbl { font-size: 0.82rem; color: var(--muted); font-weight: 700; }
.ms-cc-val { font-weight: 800; color: var(--ink-text); word-break: break-word; }

/* WhatsApp direct-contact box */
.ms-wa {
    display: grid; grid-template-columns: 1.2fr 1fr;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(15,23,42,0.06);
}
.ms-wa-left { padding: 40px 44px; text-align: center; }
.ms-wa-badge {
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.65rem; margin: 0 auto 18px; box-shadow: 0 10px 24px rgba(37,211,102,0.35);
}
.ms-wa-title { font-size: 1.5rem; font-weight: 800; color: var(--red); margin: 0 0 12px; }
.ms-wa-text { color: var(--muted); font-size: 1rem; line-height: 1.9; margin: 0; }
.ms-wa-right {
    padding: 40px 44px; border-left: 1px solid var(--line);
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;
}
.ms-wa-label { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.ms-wa-num { font-size: 1.5rem; font-weight: 800; color: var(--red); text-decoration: none; letter-spacing: 0.5px; }
.ms-wa-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #25D366; color: #fff; font-weight: 700; font-size: 0.98rem;
    padding: 12px 26px; border-radius: 40px; text-decoration: none;
    box-shadow: 0 10px 24px rgba(37,211,102,0.35); transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.ms-wa-btn:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,0.45); }
@media (max-width: 640px) {
    .ms-wa { grid-template-columns: 1fr; }
    .ms-wa-right { border-left: none; border-top: 1px solid var(--line); }
    .ms-wa-left, .ms-wa-right { padding: 30px 26px; }
}

/* ============================================================
   SCROLL REVEAL ANIMATION (section-by-section + staggered items)
   ============================================================ */
.reveal, .reveal-zoom, .reveal-left, .reveal-right, .reveal-up, .reveal-down {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.3,1);
    will-change: opacity, transform;
}
.reveal       { transform: translateY(48px); }
.reveal-zoom  { transform: scale(0.92); }
.reveal-left  { transform: translateX(-120px); }
.reveal-right { transform: translateX(120px); }
.reveal-up    { transform: translateY(80px); }    /* enters from below, moves up */
.reveal-down  { transform: translateY(-80px); }   /* enters from above, moves down */
.reveal.in-view,
.reveal-zoom.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-up.in-view,
.reveal-down.in-view { opacity: 1; transform: none; }

/* staggered children — cards/items appear one after another */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.3,1);
    will-change: opacity, transform;
}
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.41s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.50s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-zoom, .reveal-left, .reveal-right, .reveal-up, .reveal-down, .reveal-stagger > * {
        opacity: 1 !important; transform: none !important; transition: none !important;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .ms-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .ms-hero-right { max-width: 440px; }
    .ms-hero-title { font-size: 2.5rem; }
    .ms-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .ms-speaker-card { grid-template-columns: 1fr; }
    .ms-speaker-media { min-height: 240px; }
    .ms-course-grid { grid-template-columns: repeat(2, 1fr); }
    .ms-why-grid { grid-template-columns: repeat(2, 1fr); }
    .ms-contact-grid { grid-template-columns: repeat(2, 1fr); }
    .ms-h2 { font-size: 2rem; }
}
@media (max-width: 640px) {
    .ms-section { padding: 60px 0; }
    .ms-hero { padding-top: 48px; }
    .ms-hero-title { font-size: 2rem; }
    /* keep the two CTA buttons on a single row */
    .ms-hero-cta { flex-wrap: nowrap; gap: 10px; }
    .ms-hero-cta .ms-btn { flex: 1; justify-content: center; padding: 13px 8px; font-size: 0.88rem; white-space: nowrap; }
    /* keep the three stats on a single row */
    .ms-hero-stats { flex-wrap: nowrap; gap: 14px; }
    .ms-hstat .l { font-size: 0.72rem; }
    .ms-hstat .n { font-size: 1.5rem; }
    .ms-course-grid, .ms-why-grid, .ms-contact-grid, .ms-about-tiles { grid-template-columns: 1fr; }
    .ms-about-tiles .ms-tile:nth-child(n) { margin-top: 0; }
    .ms-float-chip { display: none; }
    .ms-contact-cta { padding: 32px 26px; text-align: center; justify-content: center; }
    .ms-h2 { font-size: 1.7rem; }
    .ms-speaker-card { padding: 20px; }
}
