/* OfficeMastery Moodle-ready stylesheet: vanilla CSS only. */

:root, body, .moovehome-frontpage, .ag-page {
  --brand-blue: #00a4ef;
  --brand-blue-dark: #006494;
  --brand-green: #7fba00;
  --brand-red: #f25022;
  --brand-yellow: #ffb900;
  --brand-orange: #ff6e46;
  --bg-white: #ffffff;
  --bg-surface: #f6f9ff;
  --surface-container: #eaeef5;
  --surface-container-high: #e4e8ef;
  --surface-container-highest: #dee3e9;
  --on-surface: #171c21;
  --on-surface-variant: #3e4851;
  --outline: #bec8d2;
  --container-max: 1280px;
  --border-radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--on-surface);
  background: var(--bg-surface);
  line-height: 1.5;
}

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.om-icon-img {
  display: inline-block;
  width: 1em;
  height: 1em;
  object-fit: contain;
  vertical-align: middle;
  flex: 0 0 auto;
}

.om-icon-img--social {
  width: 20px;
  height: 20px;
}

.om-icon-img--logo {
  width: 30px;
  height: 30px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  background: transparent;
}

.om-body {
  min-height: 100vh;
  overflow-x: hidden;
}

.om-main {
  background: var(--bg-surface);
}

.om-container {
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
}

.om-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(190, 200, 210, 0.8);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.om-nav-container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.om-nav-brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--on-surface);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.om-nav-brand::first-letter {
  color: var(--brand-red);
}

.om-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.om-nav-link,
.om-mobile-nav-link {
  color: var(--on-surface-variant);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.om-nav-link {
  padding: 10px 12px;
}

.om-nav-link:hover,
.om-nav-link.active,
.om-mobile-nav-link:hover,
.om-mobile-nav-link.active {
  color: var(--brand-blue-dark);
  background: rgba(0, 164, 239, 0.12);
}

.om-mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
  border: 1px solid var(--outline);
  border-radius: 12px;
  cursor: pointer;
}

.om-mobile-menu {
  display: none;
  width: min(100% - 32px, var(--container-max));
  margin: 0 auto;
  padding: 0 0 18px;
}

.om-mobile-menu.open {
  display: grid;
  gap: 8px;
}

.om-mobile-nav-link {
  display: block;
  padding: 12px 14px;
  background: var(--bg-white);
  border: 1px solid rgba(190, 200, 210, 0.7);
}

.om-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.om-shape,
.absolute {
  position: absolute;
  pointer-events: none;
}

.om-grid,
.om-grid-2,
.om-grid-3,
.om-grid-4 {
  display: grid;
  gap: 24px;
}

.om-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.om-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.om-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.om-flex {
  display: flex;
}

.om-flex-col {
  flex-direction: column;
}

.om-flex-wrap {
  flex-wrap: wrap;
}

.om-flex-center {
  justify-content: center;
  align-items: center;
}

.om-flex-between {
  justify-content: space-between;
}

.om-flex-align-center {
  align-items: center;
}

.om-display-title,
.om-section-title,
.om-card-title,
.om-text-lead,
.om-text-body,
.om-text-small,
.om-text-xs {
  overflow-wrap: anywhere;
}

.om-display-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.om-section-title {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.om-card-title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 850;
}

.om-text-lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.om-text-body {
  font-size: 16px;
  line-height: 1.65;
}

.om-text-small {
  font-size: 14px;
  line-height: 1.55;
}

.om-text-xs {
  font-size: 12px;
  line-height: 1.4;
}

.om-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 14px;
  color: var(--on-surface);
  background: var(--surface-container-high);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.om-btn,
.om-btn-primary,
.om-btn-white,
.om-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.om-btn:hover,
.om-btn-primary:hover,
.om-btn-white:hover,
.om-btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.om-btn:active,
.om-btn-primary:active,
.om-btn-white:active,
.om-btn-outline:active {
  transform: translateY(0);
}

.om-btn-primary {
  color: var(--bg-white);
  background: var(--brand-blue);
}

.om-btn-white {
  color: var(--on-surface);
  background: var(--bg-white);
}

.om-btn-outline {
  color: var(--brand-blue-dark);
  background: transparent;
  border-color: currentColor;
}

.om-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid rgba(190, 200, 210, 0.65);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.om-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  color: var(--bg-white);
  background: var(--brand-blue);
  border-radius: 18px;
  font-weight: 900;
}

.om-input,
input.om-input,
select.om-input,
textarea.om-input {
  width: 100%;
  padding: 14px 16px;
  color: var(--on-surface);
  background: var(--bg-white);
  border: 2px solid var(--surface-container-high);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.om-input:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 164, 239, 0.14);
}

.om-accordion {
  background: var(--bg-white);
  border: 1px solid rgba(190, 200, 210, 0.7);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.om-accordion + .om-accordion {
  margin-top: 16px;
}

.om-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  color: var(--on-surface);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.om-accordion-header::-webkit-details-marker {
  display: none;
}

.om-accordion-icon {
  transition: transform 0.2s ease;
}

.om-accordion[open] .om-accordion-icon {
  transform: rotate(180deg);
}

.om-accordion-content {
  padding: 0 24px 24px;
  color: var(--on-surface-variant);
}

.om-footer {
  position: relative;
  padding: 72px 0 28px;
  color: var(--bg-white);
  background: var(--on-surface);
  overflow: hidden;
}

.om-footer .om-nav-brand {
  color: var(--bg-white);
}

.om-footer-col-title {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 10px;
  color: var(--bg-white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.om-footer-col-title.yellow {
  color: var(--brand-yellow);
}

.om-footer-col-title.red {
  color: var(--brand-red);
}

.om-footer-col-title.green {
  color: var(--brand-green);
}

.om-footer-links,
.om-footer-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.om-footer-links {
  display: grid;
  gap: 10px;
}

.om-footer-link,
.om-footer-contact-item {
  color: rgba(255, 255, 255, 0.82);
}

.om-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.om-footer-link:hover,
.om-footer-contact-item a:hover {
  color: var(--brand-yellow);
}

.om-footer-contact-list {
  display: grid;
  gap: 14px;
}

.om-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.om-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.om-footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--bg-white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.om-footer-social-btn:hover {
  transform: translateY(-2px);
}

.om-footer-social-btn.facebook {
  background: #1877f2;
}

.om-footer-social-btn.instagram {
  background: #e4405f;
}

.om-footer-social-btn.linkedin {
  background: #0a66c2;
}

.om-footer-social-btn.youtube {
  background: #ff0000;
}

.om-footer-map-container {
  height: 180px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.om-footer-copyright {
  margin-top: 48px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  text-align: center;
}

.material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  font-family: "Material Symbols Outlined", "Material Icons", sans-serif;
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.text-white {
  color: var(--bg-white) !important;
}

.text-brand-blue {
  color: var(--brand-blue) !important;
}

.text-brand-green {
  color: var(--brand-green) !important;
}

.text-brand-yellow {
  color: var(--brand-yellow) !important;
}

.text-2xl {
  font-size: 24px !important;
}

.text-5xl {
  font-size: 48px !important;
}

.text-7xl {
  font-size: 72px !important;
}

.py-24 {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.opacity-30 {
  opacity: 0.3 !important;
}

@keyframes om-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.om-animate-float {
  animation: om-float 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1100px) {
  .om-navbar {
    position: relative;
  }

  .om-nav-container {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .om-nav-links {
    order: 3;
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .om-nav-links::-webkit-scrollbar {
    display: none;
  }

  .om-mobile-menu-btn {
    display: none;
  }

  .om-mobile-menu {
    display: none;
  }

  .om-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .om-container {
    width: min(100% - 28px, var(--container-max));
  }

  .om-hero {
    min-height: auto;
  }

  .om-grid-2,
  .om-grid-3,
  .om-grid-4 {
    grid-template-columns: 1fr;
  }

  .om-display-title {
    font-size: clamp(38px, 13vw, 56px);
  }

  .om-section-title {
    font-size: clamp(30px, 10vw, 44px);
  }

  .om-card {
    border-radius: 20px;
  }

  .om-footer {
    padding-top: 56px;
  }

  .om-footer-map-container {
    height: 220px;
  }
}

@media (max-width: 560px) {
  .om-nav-container {
    min-height: 66px;
  }

  .om-nav-brand {
    font-size: 21px;
  }

  .om-btn,
  .om-btn-primary,
  .om-btn-white,
  .om-btn-outline {
    width: 100%;
  }

  .om-nav-links .om-btn {
    width: auto;
    flex: 0 0 auto;
  }

  .om-display-title {
    font-size: 38px;
  }

  .om-text-lead {
    font-size: 17px;
  }

  .py-24 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}


.om-display-title,
.om-section-title,
.om-card-title,
.om-hero h1,
.om-hero h2,
.om-hero h3,
.om-card h1,
.om-card h2,
.om-card h3,
.om-card h4 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.om-text-lead,
.om-text-body,
.om-text-small,
.om-text-xs,
.om-btn,
.om-badge {
  font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.om-hl-yellow {
  display: inline-block;
  color: var(--on-surface);
  background-color: var(--brand-yellow);
  padding: 0 12px 4px;
  border-radius: 12px;
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-decoration-thickness: 4px;
}
