/*
Theme Name: Matrix Square
Theme URI: https://matrixsquare.com
Author: Matrix Square Education
Author URI: https://matrixsquare.com
Description: Official WordPress theme for Matrix Square Learning Centre — a premier education center offering Math, Science, SAT Prep, Coding, and Robotics programs for Grades 1-12.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matrix-square
Tags: education, learning, clean, responsive
*/

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --ms-teal: #009689;
  --ms-teal-dark: #007a6e;
  --ms-teal-light: #edfcfa;
  --ms-teal-50: #f0fdfa;
  --ms-orange: #f97316;
  --ms-orange-dark: #ea6c0a;
  --ms-orange-light: #fff7ed;
  --ms-navy: #001f3f;
  --ms-dark: #111827;
  --ms-gray-900: #111827;
  --ms-gray-800: #1f2937;
  --ms-gray-700: #374151;
  --ms-gray-600: #4b5563;
  --ms-gray-500: #6b7280;
  --ms-gray-400: #9ca3af;
  --ms-gray-200: #e5e7eb;
  --ms-gray-100: #f3f4f6;
  --ms-white: #ffffff;
  --ms-radius: 0.75rem;
  --ms-radius-lg: 1rem;
  --ms-radius-xl: 1.5rem;
  --ms-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --ms-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --ms-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --container-max: 1280px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--ms-gray-700);
  background: var(--ms-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

section[id] {
  scroll-margin-top: 100px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--ms-radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ms-orange);
  color: var(--ms-white);
  border-color: var(--ms-orange);
}
.btn-primary:hover {
  background: var(--ms-orange-dark);
  border-color: var(--ms-orange-dark);
  color: var(--ms-white);
}

.btn-outline {
  background: transparent;
  color: var(--ms-teal);
  border-color: var(--ms-teal);
}
.btn-outline:hover {
  background: var(--ms-teal-50);
  color: var(--ms-teal);
}

.btn-white {
  background: var(--ms-white);
  color: var(--ms-orange);
  border-color: var(--ms-white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--ms-gray-100);
  color: var(--ms-orange);
}

.btn-teal-ghost {
  background: var(--ms-teal-dark);
  color: var(--ms-white);
  border-color: var(--ms-white);
}
.btn-teal-ghost:hover {
  background: var(--ms-orange);
  border-color: var(--ms-white);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ms-gray-900);
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--ms-gray-600);
  max-width: 42rem;
  margin: 0 auto;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ms-white);
  border-bottom: 1px solid var(--ms-gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 1.5rem;
}

.site-logo img,
.site-logo .custom-logo {
  height: 5rem;
  width: auto;
}

.site-logo,
.site-logo a,
.site-logo .custom-logo-link {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-links a,
.nav-links button {
  color: var(--ms-teal);
  font-weight: 600;
  font-size: 1.0625rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a:hover,
.nav-links button:hover {
  color: var(--ms-orange);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ms-white);
  border: 1px solid var(--ms-gray-200);
  border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow-xl);
  min-width: 14rem;
  padding: 0.75rem 0 0.5rem;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--ms-teal);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
}
.nav-dropdown-menu a:hover {
  background: var(--ms-teal-50);
  color: var(--ms-orange);
}

.nav-chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .nav-cta { display: flex; }
}

/* Mobile menu */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ms-gray-700);
}
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  display: none;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--ms-gray-200);
  background: var(--ms-white);
}
.mobile-menu.is-open {
  display: block;
}
.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0;
  color: var(--ms-teal);
  font-weight: 600;
  font-size: 1.0625rem;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 1px solid var(--ms-gray-100);
  transition: color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu button:hover { color: var(--ms-orange); }
.mobile-menu .mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  border-bottom: none;
  padding: 0;
}
.mobile-menu .mobile-cta .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Mobile sub-nav */
.mobile-subnav {
  display: none;
  padding-left: 1.5rem;
}
.mobile-subnav.is-open { display: block; }
.mobile-subnav a {
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 1px solid var(--ms-gray-100);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 50%, #fff7ed 100%);
  padding: 5rem 0;
  overflow: hidden;
}
.hero-blob-1,
.hero-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}
.hero-blob-1 {
  top: 5rem; left: 5rem;
  width: 16rem; height: 16rem;
  background: #2dd4bf;
}
.hero-blob-2 {
  bottom: 5rem; right: 5rem;
  width: 20rem; height: 20rem;
  background: #fb923c;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}
.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: #ffedd5;
  color: #c2410c;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--ms-gray-900);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title .accent { color: var(--ms-teal); }
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--ms-gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-image-wrapper {
  position: relative;
}
.hero-image-glow {
  position: absolute;
  inset: 0;
  background: #2dd4bf;
  border-radius: var(--ms-radius-xl);
  filter: blur(2.5rem);
  opacity: 0.2;
}
.hero-image-wrapper img {
  position: relative;
  border-radius: var(--ms-radius-xl);
  box-shadow: var(--ms-shadow-xl);
  width: 100%;
  object-fit: cover;
  max-height: 520px;
}

/* =========================================
   PROGRAMS GRID
   ========================================= */
.programs-section {
  padding: 5rem 0;
  background: var(--ms-white);
}

.programs-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(4, 1fr); }
}

.program-card {
  border: 2px solid var(--ms-gray-200);
  border-radius: var(--ms-radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
  background: var(--ms-white);
}
.program-card:hover {
  box-shadow: var(--ms-shadow-xl);
  border-color: var(--ms-teal);
}
.program-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--ms-shadow);
  transition: transform 0.3s;
}
.program-card:hover .program-icon {
  transform: scale(1.1);
}
.program-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--ms-white);
  stroke: var(--ms-white);
}
.program-icon.teal-600 { background: #0d9488; }
.program-icon.orange-500 { background: #f97316; }
.program-icon.teal-500 { background: #14b8a6; }
.program-icon.orange-600 { background: #ea580c; }
.program-icon.teal-700 { background: #0f766e; }
.program-icon.teal-700b { background: #0f766e; }

.program-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ms-gray-900);
  margin-bottom: 0.5rem;
}
.program-card p {
  color: var(--ms-gray-600);
  font-size: 0.9375rem;
}

/* =========================================
   WHY MATRIX SQUARE
   ========================================= */
.why-section {
  padding: 5rem 0;
  background: var(--ms-teal-light);
}
.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  text-align: center;
  padding: 1.75rem;
  background: var(--ms-white);
  border-radius: var(--ms-radius-xl);
  box-shadow: var(--ms-shadow);
  transition: box-shadow 0.3s;
}
.feature-card:hover { box-shadow: var(--ms-shadow-xl); }
.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: var(--ms-shadow);
}
.feature-icon svg { width: 2rem; height: 2rem; stroke: var(--ms-white); color: var(--ms-white); }
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ms-gray-900);
  margin-bottom: 0.5rem;
}
.feature-card p { color: var(--ms-gray-600); font-size: 0.9375rem; }

/* =========================================
   LEARNING PATH
   ========================================= */
.learning-path-section {
  padding: 5rem 0;
  background: var(--ms-white);
}
.path-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .path-grid { grid-template-columns: repeat(4, 1fr); } }

.path-card {
  border: 2px solid var(--ms-gray-200);
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  background: var(--ms-white);
}
.path-card:hover {
  box-shadow: var(--ms-shadow-xl);
  border-color: var(--ms-teal);
}
.path-card-bar { height: 0.5rem; }
.path-card-body { padding: 1.5rem; }
.path-card-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ms-gray-900);
  margin-bottom: 0.25rem;
}
.path-card-grades {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.path-card-body p { color: var(--ms-gray-600); font-size: 0.9375rem; }

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
  padding: 5rem 0;
  background: var(--ms-teal-light);
  position: relative;
  overflow: hidden;
}
.stats-blob-1, .stats-blob-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.stats-blob-1 { top: -12rem; right: -12rem; width: 31rem; height: 31rem; background: rgba(45,212,191,0.4); filter: blur(100px); }
.stats-blob-2 { bottom: -12rem; left: -12rem; width: 31rem; height: 31rem; background: rgba(251,146,60,0.3); filter: blur(100px); }
.stats-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

.stat-card {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  transition: all 0.5s;
}
.stat-card:hover {
  box-shadow: 0 20px 60px rgba(13,148,136,0.12);
  background: rgba(255,255,255,0.6);
}
.stat-icon {
  width: 3rem; height: 3rem;
  background: var(--ms-teal);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(13,148,136,0.15);
  transition: transform 0.5s;
}
.stat-card:hover .stat-icon { transform: scale(1.1); }
.stat-icon svg { width: 1.5rem; height: 1.5rem; stroke: var(--ms-white); color: var(--ms-white); }
.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ms-teal);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-title { font-size: 1.25rem; font-weight: 700; color: var(--ms-gray-900); margin-bottom: 0.25rem; }
.stat-desc { color: var(--ms-gray-600); font-size: 0.9375rem; }

/* =========================================
   EXPERTS SECTION
   ========================================= */
.experts-section {
  padding: 4rem 0;
  background: var(--ms-teal-light);
}
.experts-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .experts-grid { grid-template-columns: repeat(3, 1fr); } }

.expert-card {
  background: var(--ms-white);
  border: 1px solid var(--ms-gray-200);
  border-radius: var(--ms-radius-xl);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.expert-card:hover { box-shadow: var(--ms-shadow-lg); }
.expert-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.expert-cap-icon {
  width: 3rem; height: 3rem;
  background: var(--ms-teal-50);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.expert-cap-icon svg { width: 1.5rem; height: 1.5rem; stroke: var(--ms-teal); color: var(--ms-teal); }
.expert-avatar {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ms-teal-50);
  box-shadow: var(--ms-shadow);
  flex-shrink: 0;
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--ms-navy); margin-bottom: 0.25rem; }
.expert-specialty { color: var(--ms-teal); font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.expert-qualification { color: var(--ms-gray-500); font-size: 0.875rem; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section {
  padding: 4rem 0;
  background: var(--ms-white);
}
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: rgba(240,253,250,0.5);
  border: 1px solid rgba(153,246,228,0.5);
  border-radius: var(--ms-radius-xl);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover { box-shadow: var(--ms-shadow-lg); }
.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--ms-white);
  box-shadow: var(--ms-shadow);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; color: var(--ms-gray-900); font-size: 0.9375rem; }
.testimonial-role { color: var(--ms-teal); font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.testimonial-quote-icon { opacity: 0.6; }
.testimonial-quote-icon svg { width: 1.5rem; height: 1.5rem; stroke: #99f6e4; color: #99f6e4; transform: rotate(180deg); }
.testimonial-text {
  color: var(--ms-gray-600);
  font-size: 0.875rem;
  line-height: 1.75;
  font-style: italic;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  padding: 5rem 0;
  background: var(--ms-teal);
  color: var(--ms-white);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--ms-gray-900);
  color: var(--ms-white);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-brand img,
.footer-brand .site-logo-img { height: 4rem; width: auto; margin-bottom: 1rem; background: transparent; }
.footer-brand p { color: var(--ms-gray-400); font-size: 0.9375rem; }

.footer-col h4 {
  color: var(--ms-white);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
  color: var(--ms-gray-400);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #2dd4bf; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg {
  width: 1rem; height: 1rem;
  flex-shrink: 0;
  stroke: #2dd4bf; color: #2dd4bf;
  margin-top: 0.125rem;
}
.footer-contact-item span, .footer-contact-item a {
  color: var(--ms-gray-400);
  font-size: 0.875rem;
}
.footer-contact-item strong { color: var(--ms-white); display: block; }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--ms-gray-800);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--ms-teal); }
.footer-social a svg { width: 1rem; height: 1rem; stroke: var(--ms-white); color: var(--ms-white); }

.footer-bottom {
  border-top: 1px solid var(--ms-gray-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--ms-gray-500);
  font-size: 0.875rem;
}

/* =========================================
   PROMO WIDGET (figma bottom-right icon)
   ========================================= */
.promo-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
}
.promo-circle {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 9999px;
  background: var(--ms-orange);
  color: var(--ms-white);
  box-shadow: 0 18px 32px rgba(249,115,22,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.promo-circle:hover { background: var(--ms-orange-dark); color: var(--ms-white); }
.promo-circle svg { width: 2rem; height: 2rem; stroke: currentColor; }
.promo-help {
  position: absolute;
  right: -0.3rem;
  bottom: -0.3rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(17,24,39,0.08);
  background: var(--ms-white);
  color: var(--ms-dark);
  box-shadow: 0 8px 20px rgba(17,24,39,0.12);
  font-size: 1.15rem;
  line-height: 1;
}

/* =========================================
   INNER PAGE STYLES
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--ms-teal-light) 0%, var(--ms-white) 100%);
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--ms-gray-900);
  margin-bottom: 0.75rem;
}
.page-hero p {
  font-size: 1.125rem;
  color: var(--ms-gray-600);
  max-width: 38rem;
  margin: 0 auto;
}
.page-hero .page-hero-badge {
  display: inline-block;
  background: rgba(13,148,136,0.1);
  color: var(--ms-teal);
  border-radius: 9999px;
  padding: 0.25rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Blog */
.blog-section { padding: 4rem 0; background: var(--ms-white); }
.blog-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  border: 1px solid var(--ms-gray-200);
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s;
  background: var(--ms-white);
}
.blog-card:hover { box-shadow: var(--ms-shadow-xl); }
.blog-card-thumb { height: 12rem; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body { padding: 1.25rem; }
.blog-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ms-teal);
  margin-bottom: 0.5rem;
}
.blog-card-body h3 { font-size: 1.125rem; font-weight: 700; color: var(--ms-gray-900); margin-bottom: 0.5rem; }
.blog-card-body p { color: var(--ms-gray-600); font-size: 0.9rem; }
.blog-card-meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--ms-gray-400); font-size: 0.8125rem; }

/* Contact Form */
.contact-section { padding: 4rem 0; }
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-form-wrapper {
  background: var(--ms-white);
  border: 1px solid var(--ms-gray-200);
  border-radius: var(--ms-radius-xl);
  padding: 2rem;
  box-shadow: var(--ms-shadow);
}
.ms-form-group { margin-bottom: 1.25rem; }
.ms-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--ms-gray-700);
  font-size: 0.9375rem;
}
.ms-form-group input,
.ms-form-group select,
.ms-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ms-gray-200);
  border-radius: var(--ms-radius);
  font-size: 1rem;
  background: var(--ms-gray-100);
  color: var(--ms-gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: inherit;
}
.ms-form-group input:focus,
.ms-form-group select:focus,
.ms-form-group textarea:focus {
  border-color: var(--ms-teal);
  box-shadow: 0 0 0 3px rgba(0,150,137,0.15);
  background: var(--ms-white);
}
.ms-form-group textarea { resize: vertical; min-height: 7rem; }

.contact-info-card {
  background: var(--ms-teal);
  color: var(--ms-white);
  border-radius: var(--ms-radius-xl);
  padding: 2rem;
}
.contact-info-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-info-card > p { opacity: 0.9; margin-bottom: 2rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-info-item svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; stroke: rgba(255,255,255,0.8); margin-top: 0.1rem; }
.contact-info-item strong { display: block; font-weight: 700; }
.contact-info-item span { font-size: 0.9375rem; opacity: 0.9; }

/* Map embed */
.contact-map {
  margin-top: 2rem;
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ms-gray-200);
}

/* Single post */
.entry-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ms-gray-700);
}
.entry-content h2 { font-size: 1.75rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--ms-gray-900); }
.entry-content h3 { font-size: 1.375rem; font-weight: 700; margin: 1.5rem 0 0.75rem; color: var(--ms-gray-900); }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.25rem 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; list-style: disc; }
.entry-content ol li { list-style: decimal; }

/* Assessment / Enrollment form page */
.form-page-section { padding: 4rem 0; background: var(--ms-gray-100); min-height: 60vh; }
.form-card {
  max-width: 40rem;
  margin: 0 auto;
  background: var(--ms-white);
  border-radius: var(--ms-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--ms-shadow-xl);
}
.form-card h2 { font-size: 1.75rem; font-weight: 800; color: var(--ms-gray-900); margin-bottom: 0.5rem; }
.form-card .form-subtitle { color: var(--ms-gray-600); margin-bottom: 2rem; }
.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

/* =========================================
   PROGRAMS DETAIL PAGE
   ========================================= */
.programs-detail-section { padding: 4rem 0; }
.programs-detail-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .programs-detail-grid { grid-template-columns: repeat(2, 1fr); } }

.program-detail-card {
  border: 2px solid var(--ms-gray-200);
  border-radius: var(--ms-radius-xl);
  padding: 2rem;
  transition: all 0.3s;
  background: var(--ms-white);
}
.program-detail-card:hover {
  border-color: var(--ms-teal);
  box-shadow: var(--ms-shadow-xl);
}
.program-detail-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.program-detail-header .program-icon { margin: 0; }
.program-detail-card h3 { font-size: 1.375rem; font-weight: 800; color: var(--ms-gray-900); }
.program-detail-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.program-detail-card p { color: var(--ms-gray-600); margin-bottom: 1rem; line-height: 1.7; }
.program-features-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.program-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ms-gray-700);
}
.program-feature-item svg { width: 1rem; height: 1rem; flex-shrink: 0; stroke: var(--ms-teal); color: var(--ms-teal); }

/* =========================================
   ABOUT / WHY PAGE
   ========================================= */
.about-hero {
  background: linear-gradient(135deg, var(--ms-teal) 0%, #0f766e 100%);
  padding: 5rem 0;
  color: var(--ms-white);
  text-align: center;
}
.about-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.about-hero p { font-size: 1.2rem; opacity: 0.9; max-width: 40rem; margin: 0 auto; }

.founder-section { padding: 5rem 0; background: var(--ms-white); }
.founder-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .founder-grid { grid-template-columns: 1fr 1fr; } }
.founder-image {
  border-radius: var(--ms-radius-xl);
  overflow: hidden;
  box-shadow: var(--ms-shadow-xl);
  max-height: 480px;
}
.founder-image img { width: 100%; height: 100%; object-fit: cover; }
.founder-content h2 { font-size: 2rem; font-weight: 800; color: var(--ms-gray-900); margin-bottom: 0.5rem; }
.founder-content .founder-title { color: var(--ms-teal); font-weight: 700; margin-bottom: 1.5rem; }
.founder-content p { color: var(--ms-gray-600); line-height: 1.8; margin-bottom: 1rem; }

/* =========================================
   404 PAGE
   ========================================= */
.error-404-section {
  padding: 8rem 0;
  text-align: center;
  background: var(--ms-gray-100);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-404-section h1 { font-size: 6rem; font-weight: 900; color: var(--ms-teal); line-height: 1; }
.error-404-section h2 { font-size: 2rem; font-weight: 700; color: var(--ms-gray-900); margin: 1rem 0; }
.error-404-section p { color: var(--ms-gray-600); font-size: 1.125rem; margin-bottom: 2rem; }

/* =========================================
   WORDPRESS NATIVE SUPPORT
   ========================================= */
.wp-block-image { margin-bottom: 1.5rem; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}
.pagination { margin: 3rem 0; text-align: center; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--ms-radius);
  margin: 0 0.25rem;
  font-weight: 600;
  background: var(--ms-gray-100);
  color: var(--ms-gray-700);
  transition: all 0.2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--ms-teal);
  color: var(--ms-white);
}

/* =========================================
   EXPORT-MATCHED PAGE POLISH
   ========================================= */
.page-hero-programs {
  background: linear-gradient(135deg, #eefdfb 0%, #fff 70%);
}
.hero-title-programs {
  max-width: 46rem;
}
.stacked-accent {
  display: inline-block;
  color: #43b7aa;
}
.hero-buttons-vertical-mobile .btn + .btn {
  margin-top: 1rem;
}
.export-page-section {
  padding: 5rem 0;
}
.export-program-grid {
  align-items: stretch;
}
.export-program-card {
  border-width: 2px;
}
.program-highlights {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}
.program-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--ms-gray-700);
  font-size: 0.95rem;
}
.program-highlights li svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--ms-teal);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.programs-results-section {
  padding: 5rem 0;
  background: #fff;
}
.programs-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.programs-result-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f9fafb, #fff);
  border: 2px solid var(--ms-gray-100);
  border-radius: 1.25rem;
}
.programs-result-stat {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.programs-result-stat.teal { color: var(--ms-teal); }
.programs-result-stat.orange { color: var(--ms-orange); }
.why-section-alt {
  background: var(--ms-teal-50);
}
.cta-soft-section {
  background: linear-gradient(135deg, #E6F4F1, #edfcfa);
}
.cta-soft-section h2,
.cta-soft-section p {
  color: var(--ms-gray-900);
}
.cta-soft-section p {
  opacity: 0.85;
}

.export-about-hero {
  background: linear-gradient(135deg, #eefdfb, #fff);
  padding: 4rem 0 3rem;
  text-align: center;
}
.export-about-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--ms-gray-900);
  margin-bottom: 1rem;
}
.export-about-hero p {
  max-width: 52rem;
  margin: 0 auto;
  font-size: 1.25rem;
  color: var(--ms-gray-600);
  line-height: 1.7;
}
.two-row-grid {
  grid-template-columns: repeat(4, 1fr);
}
.export-feature-card {
  min-height: 22rem;
  border-width: 2px;
}
.founder-text-section {
  background: #fff;
  padding: 5rem 0;
}
.founder-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  min-height: 42rem;
}
.founder-empty-space {
  min-height: 30rem;
}
.founder-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo {
  width: 100%;
  max-width: 28rem;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.founder-content-clean h2 {
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  color: var(--ms-gray-900);
  margin-bottom: 1.5rem;
}
.founder-quote-clean {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.3;
  color: #43b7aa;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 2rem;
}
.founder-content-clean p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ms-gray-600);
  margin-bottom: 2rem;
}
.founder-callout-clean {
  margin-top: 1rem;
  background: #eefdfb;
  border-left: 6px solid #43b7aa;
  border-radius: 0 1rem 1rem 0;
  padding: 1.8rem 2rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ms-gray-900);
}
.who-we-are-clean {
  background: #fff;
  padding: 5rem 0 4rem;
}
.who-copy {
  max-width: 70rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.who-copy p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ms-gray-600);
  margin-bottom: 2rem;
}
.who-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}
.who-card {
  background: linear-gradient(135deg, #eefdfb, #fff7ed);
  border-radius: 1.5rem;
  padding: 2.2rem 1.5rem;
  text-align: center;
}
.who-card-icon {
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 9999px;
  background: #43b7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.who-card-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: #fff;
}
.who-card h3 {
  font-size: 1.05rem;
  color: var(--ms-gray-900);
}
.mission-clean-band {
  background: #eefdfb;
  padding: 4.5rem 0;
  text-align: center;
}
.mission-clean-band p {
  max-width: 70rem;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 1.55;
  color: var(--ms-gray-700);
  font-weight: 500;
}
.export-testimonials-clean {
  background: #eefdfb;
}
.testimonials-grid-two {
  grid-template-columns: repeat(2, 1fr);
}
.clean-quote-card {
  border-width: 2px;
  padding: 2.2rem;
}
.clean-quote-mark svg {
  width: 2.3rem;
  height: 2.3rem;
  stroke: #43b7aa;
  margin-bottom: 1.5rem;
}
.large-italic {
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--ms-gray-700);
}
.testimonial-divider {
  height: 1px;
  background: var(--ms-gray-200);
  margin: 1.8rem 0;
}
.clean-author-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.clean-author-block strong {
  font-size: 1rem;
  color: var(--ms-gray-900);
}
.clean-author-block span {
  font-size: 0.95rem;
  color: var(--ms-gray-600);
}

.contact-hero-export {
  background: linear-gradient(135deg, #eefdfb 0%, #fff7ed 100%);
  padding: 4.5rem 0 4rem;
  text-align: center;
}
.contact-hero-export h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  color: var(--ms-gray-900);
  margin-bottom: 1rem;
}
.contact-hero-export h1::after {
  content: '';
}
.contact-hero-export h1 {
  line-height: 1.05;
}
.contact-hero-export h1 span,
.contact-hero-export .touch-accent {
  color: #43b7aa;
}
.contact-hero-export p {
  max-width: 68rem;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ms-gray-600);
}
.contact-export-section {
  padding: 2.5rem 0 5rem;
}
.contact-export-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.contact-export-card {
  border: 2px solid var(--ms-gray-200);
  border-radius: 1.8rem;
  padding: 2.2rem 1.5rem;
  text-align: center;
}
.contact-export-card.teal-soft { background: linear-gradient(135deg, #eefdfb, #fff); }
.contact-export-card.orange-soft { background: linear-gradient(135deg, #fff7ed, #fff); }
.contact-export-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
}
.contact-export-icon.teal { background: #43b7aa; }
.contact-export-icon.orange { background: #ff7a00; }
.contact-export-icon svg { width: 2rem; height: 2rem; stroke: #fff; }
.contact-export-card h3 {
  font-size: 1.2rem;
  color: var(--ms-gray-900);
  margin-bottom: 0.75rem;
}
.contact-export-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ms-gray-700);
}
.contact-export-card span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--ms-gray-500);
}

/* =========================================
   ASSESSMENT / ENROLL PAGES
   ========================================= */
.export-form-hero {
  background: linear-gradient(135deg, #fff7ed 0%, #eefdfb 100%);
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  border-top: 1px solid rgba(17,24,39,0.04);
}
.export-form-hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--ms-gray-900);
  margin-bottom: 1rem;
}
.export-form-hero p {
  max-width: 72rem;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ms-gray-600);
}
.assessment-benefits-section {
  background: #fff;
  padding: 4rem 0 4.5rem;
}
.assessment-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.assessment-benefit-card {
  background: #fff;
  border: 2px solid #edf0f4;
  border-radius: 1.8rem;
  padding: 2.6rem 1.6rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(17,24,39,0.04);
}
.assessment-benefit-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 12px 20px rgba(17,24,39,0.08);
}
.assessment-benefit-icon.teal { background: #43b7aa; }
.assessment-benefit-icon.orange { background: #ff7a00; }
.assessment-benefit-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: #fff;
}
.assessment-benefit-card h3 {
  font-size: 1.35rem;
  color: var(--ms-gray-900);
  margin-bottom: 0.6rem;
}
.assessment-benefit-card p {
  font-size: 1rem;
  color: var(--ms-gray-600);
  line-height: 1.5;
}
.export-form-shell-section {
  background: #eef9f8;
  padding: 5rem 0 6rem;
}
.export-form-card {
  max-width: 78rem;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #e7e7eb;
  border-radius: 1.75rem;
  padding: 3.5rem 4rem;
  box-shadow: 0 20px 40px rgba(17,24,39,0.05);
}
.export-form-card h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ms-gray-900);
  margin-bottom: 0.75rem;
}
.export-form-divider {
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background: #43b7aa;
  margin: 0 0 2rem;
}
.export-form-card .ms-form-group label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ms-gray-900);
  margin-bottom: 0.65rem;
  display: block;
}
.export-form-card .ms-form-group label span {
  color: #ef4444;
}
.export-form-card input,
.export-form-card select,
.export-form-card textarea {
  min-height: 4rem;
  border: 1px solid #ececf1;
  border-radius: 1rem;
  background: #f7f7fb;
  font-size: 1.1rem;
  color: var(--ms-gray-800);
}
.export-form-card textarea {
  min-height: 9rem;
}
.export-form-card small {
  display: block;
  margin-top: 0.7rem;
  color: var(--ms-gray-500);
  font-size: 0.95rem;
}
.export-form-submit {
  width: 100%;
  justify-content: center;
  min-height: 4rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}
.enroll-mail-icon {
  width: 7.2rem;
  height: 7.2rem;
  margin: 0 auto 2rem;
  border-radius: 9999px;
  background: #2f9188;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 32px rgba(47,145,136,0.18);
}
.enroll-mail-icon svg {
  width: 3rem;
  height: 3rem;
  stroke: #fff;
}
.enroll-layout {
  max-width: 88rem;
  margin: 0 auto;
}
.enroll-layout.with-side-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32rem;
  gap: 2.5rem;
  align-items: start;
}
.enroll-form-card {
  max-width: 64rem;
}
.enroll-form-intro {
  max-width: 45rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ms-gray-600);
}
.admissions-panel {
  position: sticky;
  top: 7rem;
  border: 4px solid #43b7aa;
  border-radius: 1.8rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 48px rgba(17,24,39,0.16);
}
.admissions-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: #2f9188;
  color: #fff;
}
.admissions-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.1rem;
}
.admissions-cap {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
}
.admissions-close {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  line-height: 1;
}
.admissions-panel-body {
  padding: 1.4rem 1.4rem 1.6rem;
}
.admissions-image {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-radius: 1.25rem;
  margin-bottom: 1.5rem;
}
.admissions-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.admissions-list li {
  position: relative;
  padding-left: 2.6rem;
  font-size: 1.1rem;
  color: var(--ms-gray-800);
}
.admissions-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
}
.admissions-list li.teal-dot::before { background: #d8f5ef; border: 0.45rem solid #43b7aa; }
.admissions-list li.orange-dot::before { background: #fff1df; border: 0.45rem solid #ff7a00; }
.admissions-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.admissions-actions .btn {
  justify-content: center;
  min-height: 3.8rem;
  border-radius: 1rem;
}
.admissions-call svg,
.admissions-book svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
}
.admissions-book {
  background: #2f9188;
  color: #fff;
}
.admissions-book:hover {
  background: #26796f;
  color: #fff;
}

/* =========================================
   RESPONSIVE TWEAKS
   ========================================= */
@media (max-width: 1023px) {
  .assessment-benefits-grid,
  .programs-results-grid,
  .two-row-grid,
  .contact-export-grid,
  .who-cards-3,
  .testimonials-grid-two,
  .enroll-layout.with-side-panel {
    grid-template-columns: 1fr 1fr;
  }
  .enroll-layout.with-side-panel {
    gap: 1.5rem;
  }
}



@media (max-width: 767px) {
  .assessment-benefits-grid,
  .programs-results-grid,
  .two-row-grid,
  .contact-export-grid,
  .who-cards-3,
  .testimonials-grid-two,
  .enroll-layout.with-side-panel,
  .admissions-actions,
  .form-row {
    grid-template-columns: 1fr;
  }
  .export-form-hero {
    padding: 4rem 0 3.2rem;
  }
  .export-form-card {
    padding: 2rem 1.25rem;
    border-radius: 1.25rem;
  }
  .assessment-benefit-card {
    padding: 2rem 1.1rem 1.5rem;
  }
  .enroll-mail-icon {
    width: 5.2rem;
    height: 5.2rem;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 639px) {
  .hero-section { padding: 3rem 0; }
  .cta-section { padding: 3rem 0; }
  .programs-section,
  .why-section,
  .learning-path-section,
  .stats-section { padding: 3rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .promo-circle { width: 4rem; height: 4rem; }
  .promo-help { width: 2rem; height: 2rem; }
}

/* =========================================
   BROCHURE PAGE
   ========================================= */
.brochure-hero {
  position: relative;
  background: linear-gradient(135deg, #0d9488, #0f766e, #115e59);
  padding: 5rem 0;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.brochure-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.brochure-hero-sub1 { font-size: 1.3rem; opacity: .9; margin-bottom: .5rem; }
.brochure-hero-sub2 { font-size: 1.1rem; opacity: .75; margin-bottom: 2rem; }
.brochure-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: .75rem 2rem;
  font-size: 1rem;
}
.brochure-logo { height: 5rem; width: auto; margin: 0 auto 2rem; display: block; }
.brochure-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.brochure-about-text p { margin-bottom: 1rem; color: #374151; line-height: 1.75; font-size: 1.05rem; }
.brochure-mission-box {
  background: linear-gradient(135deg, #f0fdfa, #fff7ed);
  border-radius: 1rem;
  padding: 2rem;
}
.brochure-mission-box h3 { font-size: 1.4rem; font-weight: 700; color: #111827; margin-bottom: .75rem; }
.brochure-mission-box p { color: #374151; line-height: 1.75; }
.brochure-programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-divider {
  width: 6rem; height: 4px;
  background: linear-gradient(90deg, #0d9488, #f97316);
  border-radius: 2px;
  margin: 1rem auto 1.5rem;
}
@media (max-width: 639px) {
  .brochure-about-grid { grid-template-columns: 1fr; }
}

/* =========================================
   HERO — 3-COLUMN HOME LAYOUT
   ========================================= */
.hero-section-home { padding: 4rem 0; }
.hero-grid-3col {
  display: grid;
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .hero-grid-3col {
    grid-template-columns: 5fr 4fr 3fr;
    align-items: start;
  }
}

/* =========================================
   UPCOMING EVENTS WIDGET (hero right col)
   ========================================= */
.hero-events-widget {
  background: var(--ms-white);
  border: 2px solid #ccf1ec;
  border-radius: var(--ms-radius-xl);
  padding: 1.25rem;
  box-shadow: var(--ms-shadow-lg);
}
.events-widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ms-gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.events-widget-bar {
  display: inline-block;
  width: 4px;
  height: 1.25rem;
  background: var(--ms-orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.events-widget-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.event-widget-item {
  background: linear-gradient(135deg, #f0fdfa, #fff);
  border: 1px solid var(--ms-gray-200);
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
}
.event-widget-item:hover {
  border-color: #99f6e4;
  box-shadow: var(--ms-shadow);
}
.event-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.375rem;
}
.event-dot.teal { background: var(--ms-teal); }
.event-dot.orange { background: var(--ms-orange); }
.event-dot.teal-light { background: #14b8a6; }
.event-widget-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ms-gray-900);
  margin-bottom: 0.125rem;
}
.event-widget-item:hover h4 { color: var(--ms-teal); }
.event-date {
  font-size: 0.75rem;
  color: var(--ms-orange);
  font-weight: 600;
  margin-bottom: 0.125rem;
}
.event-desc {
  font-size: 0.75rem;
  color: var(--ms-gray-600);
}
.btn-teal-full {
  background: var(--ms-teal);
  color: var(--ms-white);
  border-color: var(--ms-teal);
}
.btn-teal-full:hover {
  background: var(--ms-orange);
  border-color: var(--ms-orange);
  color: var(--ms-white);
}
.events-widget-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

/* =========================================
   PROGRAMS NAV DROPDOWN (with all 8 programs)
   ========================================= */
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ms-teal);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.nav-dropdown-trigger:hover { color: var(--ms-orange); }

/* =========================================
   PROGRAM CARDS AS LINKS
   ========================================= */
.program-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.program-card-link:hover { color: inherit; }

/* =========================================
   FOOTER — 5 COLUMN GRID
   ========================================= */
.footer-grid-5 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid-5 { grid-template-columns: 2fr 1.2fr 1fr 1.5fr 1fr; } }

.footer-contact-item div {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.footer-qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-qr-wrapper {
  background: var(--ms-white);
  padding: 0.75rem;
  border-radius: 0.75rem;
  width: 100%;
  max-width: 180px;
  transition: all 0.3s;
}
.footer-qr-wrapper:hover {
  box-shadow: var(--ms-shadow-xl);
  transform: scale(1.05);
}
.footer-qr-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* =========================================
   PROMO WIDGET PANEL (new design)
   ========================================= */
.promo-open-btn {
  cursor: pointer;
  border: none;
}
.promo-panel {
  position: absolute;
  bottom: 5.5rem;
  right: 0;
  width: 20rem;
  background: var(--ms-white);
  border: 2px solid var(--ms-teal);
  border-radius: var(--ms-radius-xl);
  box-shadow: var(--ms-shadow-xl);
  overflow: hidden;
}
.promo-panel-header {
  background: var(--ms-teal);
  color: var(--ms-white);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.promo-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
}
.promo-panel-title svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; }
.promo-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ms-white);
  padding: 0.25rem;
  border-radius: 50%;
  transition: background 0.2s;
  display: flex; align-items: center;
}
.promo-close-btn:hover { background: rgba(255,255,255,0.2); }
.promo-close-btn svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; }
.promo-panel-body { padding: 1rem; }
.promo-panel-img {
  width: 100%;
  height: 8rem;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: block;
}
.promo-panel-benefits { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.promo-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ms-gray-700);
}
.promo-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.promo-dot::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}
.promo-dot.teal { background: #ccfbf1; }
.promo-dot.teal::after { background: var(--ms-teal); }
.promo-dot.orange { background: #ffedd5; }
.promo-dot.orange::after { background: var(--ms-orange); }
.promo-panel-ctas {
  display: flex;
  gap: 0.5rem;
}
.promo-btn {
  flex: 1;
  justify-content: center;
  font-size: 0.875rem;
  padding: 0.625rem 0.75rem;
  gap: 0.375rem;
}
.promo-btn svg { width: 1rem; height: 1rem; }
.btn-teal {
  background: var(--ms-teal);
  color: var(--ms-white);
  border-color: var(--ms-teal);
}
.btn-teal:hover {
  background: var(--ms-teal-dark);
  border-color: var(--ms-teal-dark);
  color: var(--ms-white);
}

/* =========================================
   INDIVIDUAL PROGRAM SUBPAGES
   ========================================= */
.program-subpage-hero { padding: 5rem 0; }
.program-subpage-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: #f0fdfa;
  color: var(--ms-teal);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.program-subpage-tagline {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ms-gray-700);
  margin-bottom: 1rem;
}
.curriculum-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .curriculum-grid { grid-template-columns: repeat(2, 1fr); } }
.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0fdfa, #fff);
  border: 2px solid #ccfbf1;
  border-radius: 0.75rem;
  transition: border-color 0.2s;
}
.curriculum-item:hover { border-color: var(--ms-teal); }
.curriculum-item svg { width: 1.5rem; height: 1.5rem; stroke: var(--ms-teal); flex-shrink: 0; margin-top: 0.125rem; }
.curriculum-item span { font-size: 1.0625rem; color: var(--ms-gray-700); font-weight: 500; }
.why-choose-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .why-choose-grid { grid-template-columns: repeat(2, 1fr); } }
.why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--ms-white);
  border-radius: 0.75rem;
  box-shadow: var(--ms-shadow);
  transition: box-shadow 0.2s;
}
.why-choose-item:hover { box-shadow: var(--ms-shadow-lg); }
.why-choose-item svg { width: 1.5rem; height: 1.5rem; stroke: var(--ms-orange); flex-shrink: 0; margin-top: 0.125rem; }
.why-choose-item span { font-size: 1.0625rem; color: var(--ms-gray-700); }
.program-overview-text {
  max-width: 56rem;
  margin: 0 auto;
}
.program-overview-text p {
  font-size: 1.0625rem;
  color: var(--ms-gray-600);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* =========================================
   EVENTS PAGE
   ========================================= */
.events-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }
.event-card {
  border: 2px solid var(--ms-gray-200);
  border-radius: var(--ms-radius-xl);
  padding: 1.5rem;
  background: var(--ms-white);
  transition: all 0.3s;
}
.event-card:hover {
  border-color: var(--ms-teal);
  box-shadow: var(--ms-shadow-xl);
}
.event-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--ms-shadow);
}
.event-card-icon svg { width: 1.75rem; height: 1.75rem; stroke: var(--ms-white); }
.event-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ms-gray-900);
  margin-bottom: 0.75rem;
}
.event-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ms-gray-600);
}
.event-meta-item svg { width: 1rem; height: 1rem; stroke: var(--ms-teal); flex-shrink: 0; }
.event-spots {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #f0fdfa;
  color: var(--ms-teal);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.75rem;
}
.event-card p.event-description {
  font-size: 0.9375rem;
  color: var(--ms-gray-600);
  line-height: 1.6;
}
