﻿/* ============================================================
   Achievers Academy — Responsive Styles
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   DESKTOP HEADER REDESIGN (all breakpoints, mobile overrides below)
   ══════════════════════════════════════════════════════════ */

/* ── Top bar ─────────────────────────────────────────────── */
.header-top {
  font-size: 13px;
  letter-spacing: 0.2px;
}
.header-top .list-inline > li {
  position: relative;
}
.header-top .list-inline > li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background: rgba(255,255,255,0.35);
}
.header-top a.text-white:hover {
  opacity: 0.85;
  text-decoration: none;
}
.header-top ul.styled-icons li a {
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  transition: background 0.25s, border-color 0.25s;
}
.header-top ul.styled-icons li a:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
}

/* ── Header middle ───────────────────────────────────────── */
.header-middle {
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
/* Logo sizing — desktop */
.menuzord-brand img {
  max-height: 70px;
  max-width: 210px;
  width: auto;
  height: auto;
  display: block;
}

/* Info widgets row — vertically centered */
.hdr-info-row {
  display: flex;
  align-items: center;
  height: 100%;
}
.hdr-info-col {
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.hdr-info-col--border {
  border-left: 1px solid #ececec;
}

/* Each widget: icon circle + text side by side */
.hdr-info-widget {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hdr-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d42b2b 0%, #b82020 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(212,43,43,0.3);
  transition: box-shadow 0.25s, transform 0.25s;
}
.hdr-icon-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212,43,43,0.4);
}
.hdr-icon-wrap i {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.hdr-info-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hdr-label {
  font-size: 10px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 3px;
  display: block;
}
.hdr-value {
  font-size: 14px;
  color: #222;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
  word-break: break-word;
  transition: color 0.2s;
}
.hdr-value:hover {
  color: #d42b2b;
  text-decoration: none;
}

/* ── Nav bar ─────────────────────────────────────────────── */
.header-nav-wrapper {
  border-top: 3px solid #d42b2b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Replace rounded-pill active state with clean underline */
.menuzord-menu > li > a {
  border-radius: 0 !important;
  padding: 24px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #555 !important;
  letter-spacing: 0.2px;
  position: relative;
}
.menuzord-menu > li.active > a,
.menuzord-menu > li:hover > a {
  background: transparent !important;
  color: #d42b2b !important;
}
.menuzord-menu > li.active > a::after,
.menuzord-menu > li:hover > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: #d42b2b;
  border-radius: 3px 3px 0 0;
}
/* Dropdown hover */
.menuzord .menuzord-menu ul.dropdown li:hover > a {
  background: #d42b2b !important;
  color: #fff !important;
  padding-left: 28px !important;
}
/* Enquire Now button */
.header-nav .btn-theme-colored2 {
  padding: 10px 22px !important;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 4px !important;
}

/* ══════════════════════════════════════════════════════════
   GALLERY THUMB LINK (index.php preview)
   ══════════════════════════════════════════════════════════ */
.gallery-thumb-link {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-thumb-link img {
  transition: transform 0.35s ease;
}
.gallery-thumb-link:hover img {
  transform: scale(1.06);
}

/* ══════════════════════════════════════════════════════════
   SHARED PAGE VARIABLES
   ══════════════════════════════════════════════════════════ */
:root {
  --card-radius: 12px;
  --card-shadow: 0 2px 12px rgba(0,0,0,.08);
  --card-shadow-hover: 0 10px 36px rgba(0,0,0,.15);
  --accent: #d42b2b;
  --accent-dark: #b01f1f;
  --gap: 20px;
  --text-main: #1a1a1a;
  --text-sub: #666;
  --bg-page: #f4f4f6;
  --bg-card: #fff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #18181b;
    --bg-card: #27272a;
    --text-main: #f0f0f0;
    --text-sub: #a1a1aa;
    --card-shadow: 0 2px 12px rgba(0,0,0,.4);
    --card-shadow-hover: 0 10px 36px rgba(0,0,0,.6);
  }
}

/* ══════════════════════════════════════════════════════════
   COURSE MASONRY GRID (courses.php)
   ══════════════════════════════════════════════════════════ */

/* Search + filter bar */
.page-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.page-search-wrap { position: relative; flex: 1; min-width: 180px; max-width: 360px; }
.page-search {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.page-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,43,43,.12); }
.page-search-icon {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: #aaa; pointer-events: none; font-size: 13px;
}
.page-filter-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 0;
}
.page-filter-pills button {
  padding: 7px 18px; border: 1.5px solid #ddd; border-radius: 50px;
  background: var(--bg-card); color: var(--text-sub);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.page-filter-pills button:hover   { border-color: var(--accent); color: var(--accent); }
.page-filter-pills button.active  { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-sub);
  font-size: 15px; display: none;
}
.page-empty-state.visible { display: block; }
.page-empty-state .fa { font-size: 42px; opacity: .3; display: block; margin-bottom: 12px; }
.page-load-more-wrap { text-align: center; margin-top: 32px; }
.page-load-more {
  padding: 11px 36px; border: 2px solid var(--accent); border-radius: 50px;
  background: transparent; color: var(--accent);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.page-load-more:hover { background: var(--accent); color: #fff; }
.page-load-more[hidden] { display: none; }

/* Masonry grid */
.course-masonry {
  columns: 1; column-gap: var(--gap);
}
@media (min-width: 480px)  { .course-masonry { columns: 2; } }
@media (min-width: 768px)  { .course-masonry { columns: 3; } }
@media (min-width: 1200px) { .course-masonry { columns: 4; } }

.course-masonry__item {
  break-inside: avoid; margin-bottom: var(--gap); display: block;
}
.course-masonry__item.pf-hidden { display: none; }

/* Card */
.course-card {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  border-top: 4px solid var(--accent);
  cursor: pointer;
}
.course-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-5px); }

.course-card__image { overflow: hidden; position: relative; }
.course-card__image img {
  width: 100%; height: auto; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.course-card:hover .course-card__image img { transform: scale(1.06); }

/* Hover overlay */
.course-card__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.course-card:hover .course-card__overlay { opacity: 1; }
.course-card__overlay-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}

/* Tag badge */
.course-card__tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .4px;
  pointer-events: none;
}

.course-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.course-card__title { font-size: 15px; font-weight: 700; color: var(--text-main); margin: 0 0 8px; line-height: 1.4; }
.course-card__desc  { color: var(--text-sub); line-height: 1.8; flex: 1; font-size: 13px; }
.course-card__btn   { margin-top: 16px; border-radius: 6px !important; font-weight: 600; letter-spacing: .3px; text-align: center; }

/* ══════════════════════════════════════════════════════════
   BOARD CARDS (courses.php — Boards We Cover)
   ══════════════════════════════════════════════════════════ */
.board-card {
  background: #fff;
  border-radius: 6px;
  padding: 36px 28px 32px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  border-bottom: 3px solid #eee;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  height: 100%;
}
.board-card:hover,
.board-card--featured {
  border-bottom-color: #d42b2b;
  box-shadow: 0 6px 24px rgba(212,43,43,0.15);
  transform: translateY(-3px);
}
.board-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d42b2b, #b82020);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 14px rgba(212,43,43,0.3);
}
.board-card__icon i {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}
.board-card__name {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.board-card__desc {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   BLOG MASONRY GRID (blog.php)
   ══════════════════════════════════════════════════════════ */
.blog-section { background: var(--bg-page); padding: 52px 0 60px; }

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 992px) { .blog-layout { grid-template-columns: 1fr 300px; } }

/* Masonry posts */
.blog-masonry { columns: 1; column-gap: var(--gap); }
@media (min-width: 600px)  { .blog-masonry { columns: 2; } }
@media (min-width: 992px)  { .blog-masonry { columns: 1; } }
@media (min-width: 1200px) { .blog-masonry { columns: 2; } }

.blog-masonry__item {
  break-inside: avoid; margin-bottom: var(--gap); display: block;
}
.blog-masonry__item.pf-hidden { display: none; }

/* Blog card */
.blog-card {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }

.blog-card__img { overflow: hidden; display: block; position: relative; }
.blog-card__img img {
  width: 100%; height: auto; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }

/* Category badge on image */
.blog-card__cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 50px; text-transform: uppercase; letter-spacing: .4px;
  pointer-events: none;
}

.blog-card__body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 11.5px; color: #aaa; margin-bottom: 9px;
}
.blog-card__meta i { color: var(--accent); margin-right: 4px; }
.blog-card__title { font-size: 15.5px; font-weight: 700; color: var(--text-main); line-height: 1.45; margin: 0 0 9px; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt { font-size: 13px; color: var(--text-sub); line-height: 1.75; flex: 1; margin: 0 0 14px; }
.blog-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.blog-card__read-more {
  font-size: 12.5px; font-weight: 600; color: var(--accent);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  transition: gap .18s;
}
.blog-card__read-more:hover { gap: 9px; color: var(--accent-dark); text-decoration: none; }
.blog-card__save {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: #f5f5f5; color: #aaa; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .15s;
}
.blog-card__save:hover, .blog-card__save.active { background: #ffe4e4; color: var(--accent); transform: scale(1.15); }

/* Sidebar */
.blog-sidebar { position: sticky; top: 90px; }
.sidebar-widget { border-radius: var(--card-radius); overflow: hidden; margin-bottom: 20px; box-shadow: var(--card-shadow); }
.sidebar-widget__head {
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700; padding: 13px 18px;
  text-transform: uppercase; letter-spacing: .6px;
}
.sidebar-widget__body { background: var(--bg-card); padding: 16px 18px; }
.sidebar-post { padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post__title { font-size: 13px; font-weight: 600; color: var(--text-main); line-height: 1.4; margin: 0 0 3px; text-decoration: none; display: block; }
.sidebar-post__title:hover { color: var(--accent); }
.sidebar-post__date { font-size: 11px; color: #aaa; }

/* Search widget in sidebar */
.sidebar-search-wrap { position: relative; }
.sidebar-search {
  width: 100%; padding: 9px 36px 9px 14px;
  border: 1.5px solid #e0e0e0; border-radius: 50px;
  background: var(--bg-card); color: var(--text-main);
  font-size: 13px; outline: none;
  transition: border-color .2s;
}
.sidebar-search:focus { border-color: var(--accent); }
.sidebar-search-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #aaa; font-size: 12px; }

.sidebar-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--card-radius); padding: 22px 18px;
  color: #fff; text-align: center;
  box-shadow: 0 4px 16px rgba(212,43,43,.28);
}
.sidebar-cta h4 { color: #fff; font-size: 15px; margin: 0 0 8px; font-weight: 700; }
.sidebar-cta p  { font-size: 13px; opacity: .88; margin: 0 0 14px; line-height: 1.6; }
.sidebar-cta ul { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; }
.sidebar-cta ul li { font-size: 12.5px; padding: 4px 0; opacity: .9; }
.sidebar-cta ul li i { margin-right: 8px; }

/* ══════════════════════════════════════════════════════════
   FOOTER REDESIGN
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: #1c1c1c;
  color: #ccc;
}

/* Footer Main */
.footer-main {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col {
  margin-bottom: 30px;
}

/* Brand */
.footer-brand img {
  max-height: 70px;
  max-width: 180px;
  width: auto;
  height: auto;
  display: block;
  margin-bottom: 18px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 5px;
}
.footer-brand-text {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
}
.footer-address {
  font-size: 13px;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Contact list */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 13px;
}
.footer-contact-list li i {
  color: #d42b2b;
  font-size: 14px;
  width: 16px;
  flex-shrink: 0;
}
.footer-contact-list li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-list li a:hover {
  color: #d42b2b;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: #d42b2b;
  border-color: #d42b2b;
  color: #fff;
}

/* Widget title */
.footer-widget-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d42b2b;
  display: inline-block;
}

/* Quick links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links li a {
  color: #bbb;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links li a i {
  color: #d42b2b;
  margin-right: 6px;
  font-size: 12px;
}
.footer-links li a:hover {
  color: #d42b2b;
  padding-left: 4px;
}

/* Latest posts */
.footer-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-posts li {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-posts li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.footer-post-title {
  display: block;
  color: #ccc;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-post-title:hover {
  color: #d42b2b;
}
.footer-post-date {
  display: block;
  color: #888;
  font-size: 11px;
  margin-top: 4px;
}
.footer-no-posts {
  color: #888;
  font-size: 13px;
}

/* Mission column */
.footer-mission-text {
  color: #aaa;
  font-size: 13px;
  line-height: 1.8;
}
.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}
.footer-location i {
  color: #d42b2b;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-location a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-location a:hover {
  color: #d42b2b;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  background: #111111;
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
}
.footer-copy {
  color: #777;
  font-size: 12px;
  margin: 0;
}
.footer-copy a {
  color: #d42b2b;
  text-decoration: none;
}
.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-bottom-links li a {
  color: #666;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links li a:hover {
  color: #d42b2b;
}

/* ── Large Desktops (1200px+) — no overrides needed ─────── */

/* ── Medium Desktops / Laptops (992px – 1199px) ─────────── */
@media (max-width: 1199px) {
  .hdr-value { font-size: 12px; }
  .hdr-icon-wrap { width: 44px; height: 44px; }
  .hdr-icon-wrap i { font-size: 19px; }
}

/* ── Tablets (768px – 991px) ─────────────────────────────── */
@media (max-width: 991px) {
  /* Header middle — stack info widgets */
  .header-middle .col-xs-12.col-sm-4 { text-align: center; }
  .header-middle .widget i { display: block; float: none !important; margin: 0 auto 5px; }

  /* Courses — 2 columns on tablet */
  .course-grid__item { width: 50%; }

  /* Board cards — equal height row */
  .board-card { margin-bottom: 20px; }

  /* Footer — 2-col grid on tablet */
  .footer-col { margin-bottom: 35px; }
}

/* ── Mobile (max 767px) ───────────────────────────────────── */
@media (max-width: 767px) {

  /* ── Header top bar — single row: phone left, icons right ── */
  .header-top .container { padding: 0 15px; }
  .header-top .row { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; }
  .header-top .col-md-8,
  .header-top .col-md-4 { width: auto; float: none; padding: 0; }
  .header-top .col-md-8 ul { margin: 0; padding: 0; }
  .header-top .col-md-8 ul li { display: inline-block; padding: 0; margin: 0 6px 0 0; }
  .header-top .col-md-8 ul li:last-child { display: none; } /* hide email — too long */
  .header-top .col-md-4 { margin-left: auto; }
  .header-top .pull-right { float: none !important; display: flex; align-items: center; }
  .header-top ul.styled-icons { display: flex !important; align-items: center; margin: 0; padding: 0; }
  .header-top ul.styled-icons li { margin: 0 0 0 6px; }

  /* ── Header middle — logo only, info widgets hidden ─────── */
  .header-middle { padding: 0; }
  .header-middle .container { padding-top: 12px !important; padding-bottom: 12px !important; }

  /* Hide the 3 info widgets column on mobile (phone already shown in top bar) */
  .header-middle .col-md-8 { display: none !important; }
  .hdr-info-row { display: block; }

  /* Logo column takes full width, centered */
  .header-middle .col-md-4 { width: 100%; text-align: center; }
  .header-middle .menuzord-brand {
    float: none !important;
    display: inline-block !important;
    margin: 0;
  }
  .header-middle .menuzord-brand img { max-height: 55px; max-width: 160px; width: auto; height: auto; }

  /* ── Header nav — reset desktop styles for mobile ───────── */
  .header-nav-wrapper { padding: 0 !important; border-top: none; box-shadow: none; }
  .header-nav .container { padding: 0 15px; }
  .menuzord-menu > li > a::after { display: none; }

  /* ── Menuzord mobile nav ────────────────────────────────── */
  #menuzord { position: relative; }

  #menuzord .showhide {
    display: block !important;
    padding: 12px 15px;
    cursor: pointer;
    float: right;
    line-height: 1;
    background: transparent;
    border: none;
    outline: none;
  }
  #menuzord .showhide em {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    border-radius: 2px;
  }

  /* Hide desktop menu items until toggled */
  #menuzord .menuzord-menu {
    display: none;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,.08);
  }

  #menuzord .menuzord-menu > li {
    display: block;
    float: none;
    border-bottom: 1px solid #f0f0f0;
  }
  #menuzord .menuzord-menu > li > a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Dropdown on mobile */
  #menuzord .menuzord-menu .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 0 0 15px;
    background: #f9f9f9;
  }
  #menuzord .menuzord-menu .dropdown li a {
    padding: 10px 20px;
    font-size: 13px;
    display: block;
    border-bottom: 1px solid #eee;
  }

  /* Enquire Now button in nav — hide on mobile */
  .header-nav .pull-right.sm-pull-none { display: none; }

  /* ── Page title / breadcrumb ────────────────────────────── */
  .page-title h2 { font-size: 22px !important; }
  .page-title .pt-60 { padding-top: 30px !important; }
  .page-title .pb-60 { padding-bottom: 30px !important; }

  /* ── Section padding ────────────────────────────────────── */
  .pt-60 { padding-top: 30px !important; }
  .pb-60 { padding-bottom: 30px !important; }
  .pt-70 { padding-top: 40px !important; }
  .pb-40 { padding-bottom: 20px !important; }

  /* ── Course cards — single column ──────────────────────── */
  .course-grid__item { width: 100%; }
  .mtli-row-clearfix .col-xs-12 { margin-bottom: 20px; }

  /* ── Board cards — single column ───────────────────────── */
  .board-card { transform: none !important; }

  /* ── Section titles ─────────────────────────────────────── */
  h2.title, h3.text-uppercase { font-size: 20px !important; }

  /* ── CTA sections ───────────────────────────────────────── */
  .parallax .btn { display: block; margin: 8px auto; width: 80%; }

  /* ── Footer — single column on mobile ──────────────────── */
  .footer-main { padding: 40px 0 20px; }
  .footer-col { width: 100%; margin-bottom: 30px; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .footer-copy { text-align: center; }

  /* ── Preloader disable button ───────────────────────────── */
  #disable-preloader { display: none; }

  /* ── Scroll to top button ───────────────────────────────── */
  .scrollToTop { bottom: 15px; right: 15px; width: 36px; height: 36px; line-height: 36px; font-size: 16px; }

  /* ── Contact page ───────────────────────────────────────── */
  .contact-info-box { margin-bottom: 20px; }
}

/* ── Small phones (max 479px) ────────────────────────────── */
@media (max-width: 479px) {
  /* Gallery / blog grids */
  .col-sm-6 { width: 100%; }
}
