/* Schools Soft – modern theme (loaded after bootstrap.css, replaces style.css) */
:root {
  --ink: #0f172a;
  --muted: #5b6477;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --accent: #f59e0b;
  --bg: #f6f7fb;
  --card: #ffffff;
  --line: #e5e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
p { color: var(--muted); }
.clearfix::after, .clearfix { clear: both; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 104px; }
.brand img { height: 84px; width: auto; display: block; }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 15px; transition: background .2s, color .2s;
}
.site-nav a:hover { background: #eef0ff; color: var(--brand); }
.site-nav li.active a { background: #eef0ff; color: var(--brand); }
.site-nav li.cta a { background: var(--brand); color: #fff; }
.site-nav li.cta a:hover { background: var(--brand-dark); color: #fff; }

/* ---------- Buttons ---------- */
.btn-x {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .2s;
}
.btn-x:hover { transform: translateY(-2px); }
.btn-primary-x { background: var(--accent); color: #1f1300; box-shadow: 0 8px 20px rgba(245, 158, 11, .35); }
.btn-primary-x:hover { color: #1f1300; }
.btn-ghost-x { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-x:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, #7c75ff 0%, transparent 60%),
              linear-gradient(135deg, #1e1b4b 0%, #3730a3 55%, #4f46e5 100%);
  color: #fff; padding: 84px 0 96px; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: #d9dcff; font-size: 18px; max-width: 520px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-slider { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); border: 6px solid rgba(255, 255, 255, .15); }
.hero-slider ul { list-style: none; margin: 0; padding: 0; }
.hero-slider img { display: block; width: 100%; }
.rslides { position: relative; list-style: none; overflow: hidden; width: 100%; padding: 0; margin: 0; }
.rslides li { -webkit-backface-visibility: hidden; position: absolute; display: none; width: 100%; left: 0; top: 0; }
.rslides li:first-child { position: relative; display: block; float: left; }
.rslides img { display: block; height: auto; float: left; width: 100%; border: 0; }
.callbacks_nav { display: none; }
.callbacks_tabs { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; list-style: none; z-index: 5; margin: 0; padding: 0; }
.callbacks_tabs li { display: inline-block; margin: 0 4px; position: static !important; width: auto !important; float: none !important; }
.callbacks_tabs a { display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .5); text-indent: -999px; overflow: hidden; }
.callbacks_tabs .callbacks_here a { background: #fff; }

/* ---------- Stats ---------- */
.stats { margin-top: -48px; position: relative; z-index: 2; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: 'Poppins', sans-serif; font-size: 32px; color: var(--brand); }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-top: 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: #eef0ff; font-size: 26px; margin-bottom: 16px;
}
.card h3 { font-size: 20px; font-weight: 700; }
.card p { margin: 0; font-size: 15px; }

/* school cards */
.school { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.school img { width: 100%; aspect-ratio: 1200 / 556; object-fit: cover; background: #eef0ff; }
.school .body { padding: 24px 26px 28px; }
.school .body p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- CTA ---------- */
.cta-band {
  margin: 0 auto; padding: 56px 40px; border-radius: 24px; text-align: center; color: #fff;
  background: linear-gradient(135deg, #3730a3, #4f46e5);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band p { color: #d9dcff; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1020; color: #aab1c7; padding: 56px 0 24px; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 16px; }
.site-footer p, .site-footer a { color: #aab1c7; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .copy { border-top: 1px solid #1d2540; margin-top: 36px; padding-top: 20px; text-align: center; font-size: 13px; }

/* ================= Inner pages (existing markup) ================= */
.container { width: 100%; max-width: 1180px; padding: 0 20px; margin: 0 auto; }
.about, .content-top, .contact { padding: 56px 0; }
.m_3, .about h3.m_3, .single-top h3.m_3 { font-size: 34px; font-weight: 800; text-align: left; }
.about-top, .single-top, .contact_top { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.ab-top h3, .testimonial h3 { font-size: 22px; font-weight: 700; }
.img-responsive3 { border-radius: var(--radius); width: 100%; border: 1px solid var(--line); box-shadow: var(--shadow); }
.grid_1 { margin-top: 36px; }
.box_1 { padding: 20px 15px; }
.box_1 h3 { font-size: 19px; font-weight: 700; }
.box_1 p { font-size: 14.5px; }
.box_1 i { display: none; }
.testimonial p { padding-left: 14px; border-left: 3px solid var(--brand); margin-bottom: 14px; }
.company_ad { background: #eef0ff; border-radius: var(--radius); padding: 24px; }
.company_ad address p { margin: 0 0 4px; }

/* contact form (legacy table layout) */
.form table { width: 100%; }
.form td { padding: 6px 4px; vertical-align: top; }
.form label { font-weight: 600; color: var(--ink); }
.form input[type=text], .form input[type=email], .form textarea {
  width: 100%; max-width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: #fbfcff; transition: border-color .2s, box-shadow .2s;
}
.form input[type=text]:focus, .form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.form input[type=submit] {
  background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 12px 30px; font-weight: 700; cursor: pointer;
}
.form input[type=submit]:hover { background: var(--brand-dark); }
.form font { padding: 0 !important; }
.errorMessage, .required span { color: #dc2626; font-size: 13px; }
.flash-success { border-radius: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 80px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header .wrap { height: 80px; }
  .brand img { height: 60px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { padding: 40px 22px; }
}

/* ---------- Dashboard preview (Services page) ---------- */
.dash-section .section-head p { margin: 8px 0 0; }
.dash { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #f3f6fc; }
.dash-menu { display: flex; background: linear-gradient(180deg, #2f8cf0, #1769d1); overflow-x: auto; }
.dash-menu span { color: #fff; font-weight: 700; font-size: 14px; padding: 14px 18px; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, .25); }
.dash-body { padding: 22px; }
.dash-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 18px; }
.dash-stat { background: #fff; border: 1px solid var(--line); border-top: 3px solid #1769d1; border-radius: 10px; padding: 14px 16px; }
.dash-stat small { display: block; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; color: var(--muted); }
.dash-stat b { display: block; font-family: 'Poppins', sans-serif; font-size: 30px; color: #1769d1; line-height: 1.2; }
.dash-stat span { font-size: 12px; color: var(--muted); }
.dash-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; align-items: start; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-bottom: 18px; }
.dash-cols > div > .dash-card:last-child, .dash-cols > .dash-card { margin-bottom: 0; }
.dash-card h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: #1769d1; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dash-card h4 em { font-style: normal; font-weight: 400; font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--muted); }
.bar-row { display: grid; grid-template-columns: 56px 1fr 40px; align-items: center; gap: 10px; margin: 6px 0; font-size: 13px; }
.bar-name { text-align: right; color: var(--muted); }
.bar { height: 12px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #2f8cf0, #1769d1); }
.today-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.today-row:last-child { border-bottom: 0; }
.today-row b { background: #e7f0fd; color: #1769d1; border-radius: 999px; padding: 0 10px; font-size: 12px; line-height: 22px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick span { border-left: 3px solid #1769d1; background: #f7faff; border-radius: 6px; padding: 9px 10px; font-weight: 700; font-size: 12.5px; color: #1769d1; }
@media (max-width: 900px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
}
