:root {
  --navy: #151033;
  --navy-2: #1c1546;
  --purple: #7447ff;
  --purple-2: #6d45f8;
  --mint: #22d6a6;
  --text: #44485f;
  --muted: #8a8da3;
  --soft: #f4f1ff;
  --line: #e8e6f3;
  --white: #fff;
  --shadow: 0 12px 28px rgba(29, 23, 68, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
}

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

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1390px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: none;
}

.header-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .86);
  white-space: nowrap;
}

.main-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  gap: 10px;
  margin-inline-start: auto;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  color: #fff;
  border-radius: 4px;
  font-size: 22px;
}

.green-btn,
.purple-btn,
.white-btn,
.outline-btn,
.outline-light,
.outline-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 32px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 17px;
  border: 0;
  cursor: pointer;
}

.green-btn {
  background: var(--mint);
  color: #fff;
}

.header-actions .green-btn,
.header-actions .outline-btn {
  min-height: 34px;
  min-width: 88px;
  padding-inline: 18px;
  font-size: 14px;
}

.header-actions .outline-btn {
  min-width: 132px;
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.purple-btn {
  background: var(--purple);
  color: #fff;
}

.white-btn {
  background: #fff;
  color: var(--purple);
}

.outline-btn,
.outline-light {
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
  background: transparent;
}

.outline-purple {
  min-height: 32px;
  border: 1px solid var(--purple);
  color: var(--purple);
  background: #fff;
}

.small {
  min-height: 38px;
  padding-inline: 18px;
  font-size: 14px;
}

.hero {
  min-height: 680px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  min-height: 680px;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  grid-template-areas: "copy photo";
  align-items: end;
  gap: 24px;
}

.hero-photo {
  grid-area: photo;
  align-self: end;
}

.hero-photo img {
  width: min(600px, 100%);
  height: 610px;
  object-fit: cover;
  object-position: center top;
  margin-inline: auto;
  filter: saturate(.98);
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  text-align: right;
  padding-bottom: 30px;
}

.hero-copy p {
  margin: 0 0 20px;
  font-size: 52px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: 62px;
  line-height: 1.22;
}

.hero-copy h2 {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .88);
  font-size: 38px;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-buttons .purple-btn,
.hero-buttons .outline-light {
  min-height: 61px;
  min-width: 132px;
  padding-inline: 30px;
  border-radius: 6px;
  font-size: 20px;
}

.hero-buttons .purple-btn {
  min-width: 178px;
}

.tracks {
  padding: 0 0 54px;
  background: #fff;
}

.track-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1020px;
  margin: -70px auto 76px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.track-grid article {
  min-height: 210px;
  padding: 30px 28px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
}

.track-grid article:last-child {
  border-inline-start: 0;
}

.track-icon {
  color: var(--purple);
  font-size: 32px;
}

.track-grid h3 {
  margin: 10px 0;
  color: #4c5068;
  font-size: 21px;
}

.track-grid p {
  min-height: 62px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.section-title {
  max-width: 660px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title h2,
.newsletter h2 {
  margin: 0 0 10px;
  color: #5b5f73;
  font-size: 42px;
  line-height: 1.25;
}

.section-title p {
  margin: 0;
  color: #918fa3;
  font-size: 17px;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-bottom: 28px;
}

.partner-logos span {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 3px solid #222;
  color: #222;
  font-weight: 900;
  font-size: 16px;
  background: #fff;
}

.partner-copy {
  max-width: 1080px;
  margin: 0 auto;
  color: #666b7f;
  text-align: center;
  font-size: 24px;
  line-height: 1.9;
  font-weight: 600;
}

.trainer-band {
  background: var(--purple-2);
  color: #fff;
  min-height: 390px;
  overflow: hidden;
}

.trainer-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 42px;
}

.trainer-inner img {
  width: min(430px, 100%);
  height: 390px;
  object-fit: cover;
  object-position: center top;
  margin-inline: auto;
}

.trainer-inner h2 {
  margin: 0 0 10px;
  font-size: 31px;
  line-height: 1.55;
}

.trainer-inner p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .82);
}

.courses {
  padding: 70px 0 82px;
  background: #fff;
}

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

.course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(49, 45, 83, .08);
}

.course-image {
  min-height: 182px;
  display: flex;
  align-items: flex-start;
  padding: 22px;
  color: #fff;
  background-size: cover;
  background-position: center;
  font-size: 27px;
  font-weight: 900;
  text-align: left;
  direction: ltr;
}

.course-image span {
  max-width: 190px;
  line-height: 1.2;
}

.image-office { background-image: linear-gradient(130deg, rgba(11, 45, 77, .88), rgba(23, 103, 168, .50)), url("https://images.unsplash.com/photo-1551847677-dc82d764e1eb?auto=format&fit=crop&w=620&q=80"); }
.image-web { background-image: linear-gradient(130deg, rgba(11, 45, 77, .88), rgba(85, 119, 170, .50)), url("https://images.unsplash.com/photo-1544027993-37dbfe43562a?auto=format&fit=crop&w=620&q=80"); }
.image-it { background-image: linear-gradient(130deg, rgba(11, 45, 77, .88), rgba(217, 59, 69, .45)), url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=620&q=80"); }
.image-robot { background-image: linear-gradient(130deg, rgba(11, 45, 77, .88), rgba(23, 103, 168, .45)), url("https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&w=620&q=80"); }
.image-network { background-image: linear-gradient(130deg, rgba(11, 45, 77, .88), rgba(30, 94, 140, .52)), url("https://images.unsplash.com/photo-1494172961521-33799ddd43a5?auto=format&fit=crop&w=620&q=80"); }
.image-computing { background-image: linear-gradient(130deg, rgba(11, 45, 77, .88), rgba(55, 125, 125, .48)), url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=620&q=80"); }

.course-body {
  padding: 22px 22px 24px;
  text-align: center;
}

.course-body h3 {
  min-height: 72px;
  margin: 0 0 16px;
  color: #555a70;
  font-size: 18px;
  line-height: 1.55;
}

.course-body p {
  margin: 0 0 16px;
  color: #9a9aae;
  font-size: 13px;
  text-transform: uppercase;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.course-footer strong {
  color: #4c5068;
  font-size: 23px;
}

.why {
  padding: 34px 0 64px;
  background: #fff;
}

.why-panel {
  padding: 58px 60px 48px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(50, 45, 81, .11);
}

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

.feature-grid article {
  padding: 36px 30px 32px;
  border-radius: 5px;
  background: #fafafa;
  border-top: 4px solid var(--purple);
  text-align: center;
}

.feature-grid span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  font-size: 29px;
}

.feature-grid h3 {
  margin: 0 0 9px;
  color: #555a70;
  font-size: 22px;
}

.feature-grid p {
  margin: 0;
  color: #9092a2;
  font-size: 16px;
}

.center-btn {
  width: fit-content;
  margin: 0 auto;
  display: flex;
}

.accreditations {
  padding: 54px 0 64px;
  background: #fff;
}

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

.accreditation-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(49, 45, 83, .08);
}

.accreditation-top {
  min-height: 136px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px;
  color: #fff;
  background: var(--purple);
}

.accreditation-top h3 {
  margin: 0;
  font-size: 25px;
}

.accreditation-top span {
  font-size: 42px;
}

.accreditation-grid strong,
.accreditation-grid p,
.accreditation-grid a {
  margin-inline: 26px;
}

.accreditation-grid strong {
  display: inline-flex;
  margin-top: 22px;
  padding: 5px 12px;
  border-radius: 20px;
  background: #ffe269;
  color: #7a6500;
  font-size: 14px;
}

.accreditation-grid p {
  min-height: 112px;
  color: #777b8f;
  font-size: 16px;
}

.accreditation-grid a {
  margin-bottom: 24px;
}

.articles {
  padding: 72px 0 82px;
  background: #f0ecff;
}

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

.article-grid article {
  overflow: hidden;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(65, 58, 118, .08);
}

.article-grid img {
  height: 175px;
  object-fit: cover;
}

.article-grid span {
  display: inline-flex;
  margin: 14px 16px 8px;
  padding: 3px 10px;
  border-radius: 14px;
  background: var(--mint);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.article-grid h3 {
  min-height: 72px;
  margin: 0 16px 8px;
  color: #555a70;
  font-size: 18px;
  line-height: 1.45;
}

.article-grid p {
  margin: 0 16px 18px;
  color: #888b9d;
  font-size: 15px;
}

.newsletter {
  padding: 68px 0;
  background: var(--purple);
  color: #fff;
  text-align: center;
}

.newsletter h2 {
  color: #fff;
}

.newsletter p {
  max-width: 580px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, .82);
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 430px;
  margin: 0 auto;
}

input {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 22px;
  padding: 0 18px;
  font: inherit;
}

.newsletter .green-btn {
  border-radius: 22px;
  min-width: 130px;
}

.booking {
  padding: 72px 0;
  background: #fff;
}

.booking-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: start;
  padding: 44px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(50, 45, 81, .12);
  border: 1px solid var(--line);
}

.booking-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--purple);
  font-weight: 900;
}

.booking-copy h2 {
  margin: 0 0 12px;
  color: #555a70;
  font-size: 36px;
  line-height: 1.28;
}

.booking-copy p {
  margin: 0 0 22px;
  color: #818498;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #555a70;
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 14px;
  color: var(--text);
  background: #fbfaff;
  font: inherit;
}

.field textarea {
  min-height: 104px;
  padding-top: 12px;
  resize: vertical;
}

.booking-submit,
.booking-message {
  grid-column: 1 / -1;
}

.booking-submit {
  width: 100%;
  min-height: 50px;
}

.booking-message {
  min-height: 24px;
  margin: 0;
  color: var(--mint);
  font-weight: 800;
  text-align: center;
}

.booking-message.error {
  color: #dc2626;
}

.faq {
  padding: 66px 0 70px;
  background: #f7f5ff;
}

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid #e1ddf1;
}

.faq-item {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #e1ddf1;
  background: transparent;
  color: #6b5fe7;
  font: inherit;
  font-size: 17px;
  cursor: pointer;
}

.faq-item b {
  color: #6b5fe7;
  font-size: 18px;
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: #777b8f;
  font-size: 16px;
}

.faq-answer.open {
  display: block;
}

.help-line {
  margin: 22px auto 0;
  width: fit-content;
  padding: 9px 18px;
  border-radius: 4px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
}

.footer {
  padding: 76px 0 28px;
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .7fr 1fr;
  gap: 58px;
}

.footer h2,
.footer h3 {
  margin: 0 0 15px;
  color: #fff;
}

.footer p,
.footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 58px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}

.admin-page {
  background: #f7f5ff;
}

.admin-main {
  padding: 54px 0 80px;
}

.admin-panel {
  padding: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(50, 45, 81, .1);
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.admin-head span {
  color: var(--purple);
  font-weight: 900;
}

.admin-head h1 {
  margin: 4px 0;
  color: #555a70;
  font-size: 38px;
}

.admin-head p {
  margin: 0;
  color: #83869a;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stats-4 {
  grid-template-columns: repeat(4, 1fr);
}

.admin-stats article {
  padding: 20px;
  border-radius: 8px;
  background: #fbfaff;
  border: 1px solid var(--line);
}

.admin-stats strong,
.admin-stats span {
  display: block;
}

.admin-stats strong {
  color: var(--purple);
  font-size: 32px;
  line-height: 1;
}

.admin-stats span {
  margin-top: 8px;
  color: #777b8f;
  font-weight: 800;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table-toolbar,
.admin-pagination {
  min-width: 850px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.admin-table-toolbar {
  border-bottom: 1px solid var(--line);
}

.admin-table-toolbar p {
  margin: 0;
  color: #696d80;
  font-size: 14px;
  font-weight: 800;
}

.admin-table-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-client-search-form {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 0;
}

.admin-page-size-form,
.admin-page-size-form label,
.admin-client-search-form label {
  margin: 0;
}

.admin-page-size-form label,
.admin-client-search-form label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555a70;
  font-size: 13px;
  font-weight: 900;
}

.admin-page-size-form select,
.admin-client-search-form input {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}

.admin-page-size-form select {
  padding: 4px 30px 4px 10px;
}

.admin-client-search-form input {
  width: 220px;
  padding: 4px 10px;
}

.admin-client-search-form button,
.admin-client-search-form a {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--purple);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.admin-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

.admin-table th {
  color: #555a70;
  background: #fbfaff;
  font-size: 14px;
}

.admin-table td {
  color: #696d80;
  font-size: 14px;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small {
  margin-top: 4px;
  color: #9a9aae;
}

.status-pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(34, 214, 166, .13);
  color: #0e9f7b;
  font-weight: 900;
}

.status-pending {
  background: rgba(245, 158, 11, .14);
  color: #b45309;
}

.status-confirmed {
  background: rgba(22, 163, 74, .14);
  color: #15803d;
}

.status-cancelled {
  background: rgba(217, 59, 69, .14);
  color: #b9212d;
}

.admin-actions-cell {
  display: flex;
  gap: 8px;
}

.admin-actions-cell button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--purple);
  font-weight: 800;
  cursor: pointer;
}

.admin-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--purple);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.admin-action-link.action-edit {
  border-color: rgba(23, 105, 170, .18);
  background: rgba(23, 105, 170, .10);
  color: #1769aa;
}

.admin-action-link.action-history {
  border-color: rgba(124, 58, 237, .18);
  background: rgba(124, 58, 237, .10);
  color: #6d28d9;
}

.admin-actions-cell button.action-delete {
  border-color: rgba(217, 59, 69, .18);
  background: rgba(217, 59, 69, .10);
  color: #b9212d;
}

.admin-pagination {
  justify-content: flex-start;
  border-top: 1px solid var(--line);
}

.admin-pagination a,
.admin-pagination span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--purple);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.admin-pagination span {
  color: var(--muted);
}

.admin-pagination a.active {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

.admin-pagination a.disabled,
.admin-pagination span.disabled {
  pointer-events: none;
  opacity: .45;
}

.status-form {
  margin: 0;
}

.status-select {
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 900;
}

.status-select.status-pending {
  background: rgba(245, 158, 11, .14);
  color: #b45309;
}

.status-select.status-confirmed {
  background: rgba(22, 163, 74, .14);
  color: #15803d;
}

.status-select.status-cancelled {
  background: rgba(217, 59, 69, .14);
  color: #b9212d;
}

.dashboard-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.dashboard-quick-actions a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(15, 65, 105, .06);
}

.dashboard-quick-actions i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(23, 105, 170, .10);
  color: var(--blue);
}

.dashboard-stats article {
  display: grid;
  gap: 8px;
}

.dashboard-stats article > i {
  color: var(--blue);
  font-size: 24px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.dashboard-grid-wide {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(260px, .7fr);
}

.dashboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-card-head a {
  color: var(--blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.dashboard-list {
  display: grid;
  gap: 10px;
}

.dashboard-list-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
  color: var(--text);
  text-decoration: none;
}

.dashboard-list-item strong,
.dashboard-mini-table strong {
  color: var(--navy);
}

.dashboard-list-item span,
.dashboard-mini-table span {
  color: var(--muted);
  font-size: 13px;
}

.dashboard-mini-table {
  display: grid;
  gap: 10px;
}

.dashboard-mini-table > div {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(160px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
}

.dashboard-mini-table em {
  font-style: normal;
}

.dashboard-summary {
  display: grid;
  gap: 12px;
}

.dashboard-summary p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.dashboard-summary p:last-child {
  border-bottom: 0;
}

.dashboard-summary strong {
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.dashboard-summary span {
  color: var(--muted);
  font-weight: 800;
}

.dashboard-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1180px) {
  .dashboard-quick-actions,
  .dashboard-grid,
  .dashboard-grid-wide {
    grid-template-columns: 1fr;
  }

  .dashboard-mini-table > div {
    grid-template-columns: 1fr;
  }
}

.empty-bookings {
  display: none;
  padding: 26px;
  margin: 0;
  color: #83869a;
  text-align: center;
}

.empty-bookings.visible {
  display: block;
}

.login-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--navy);
}

.login-card {
  width: min(430px, 100%);
  display: grid;
  gap: 12px;
  padding: 34px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.login-kicker {
  color: var(--purple);
  font-weight: 900;
}

.login-card h1 {
  margin: 0 0 8px;
  color: #555a70;
}

.login-card label {
  color: #555a70;
  font-weight: 800;
}

.login-card input {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfaff;
}

.login-card button {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
}

.login-card a {
  color: var(--purple);
  text-align: center;
  font-weight: 800;
}

.login-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #fee2e2;
  color: #b91c1c;
}

.install-panel {
  max-width: 620px;
  text-align: center;
}

.auth-muted {
  margin: -6px 0 8px;
  color: var(--muted);
}

.patient-card .login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.patient-main {
  padding: 56px 0 86px;
}

.patient-hero {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 34px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 45, 77, .96), rgba(23, 103, 168, .90)),
    url("https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: 0 28px 70px rgba(15, 65, 105, .18);
}

.patient-hero .login-kicker {
  color: #ffcad0;
}

.patient-hero h1 {
  margin: 10px 0;
  font-weight: 900;
}

.patient-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.patient-hero-card {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 24px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
}

.patient-hero-card strong {
  font-size: 52px;
  line-height: 1;
}

.patient-hero-card span {
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

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

.dashboard-alert {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 800;
}

.dashboard-alert.success {
  background: rgba(22, 163, 74, .12);
  color: #15803d;
}

.dashboard-alert.error {
  background: rgba(217, 59, 69, .12);
  color: #b9212d;
}

.dashboard-card {
  padding: 28px;
  border: 1px solid rgba(23, 103, 168, .10);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 55px rgba(15, 65, 105, .11);
}

.appointments-card {
  grid-column: 1 / -1;
}

.dashboard-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.dashboard-card-head i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 14px 28px rgba(23, 103, 168, .18);
}

.dashboard-card-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
}

.profile-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.profile-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.profile-list dt {
  color: var(--muted);
  font-weight: 800;
}

.profile-list dd {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}

.dashboard-form {
  display: grid;
  gap: 12px;
}

.dashboard-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dashboard-form label {
  color: var(--navy);
  font-weight: 800;
}

.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7e7f4;
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  font: inherit;
}

.dashboard-form textarea {
  min-height: 108px;
  padding-top: 12px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .logo {
    margin-inline-start: auto;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.open .main-nav,
  .site-header.open .header-actions {
    display: flex;
    width: 100%;
  }

  .site-header.open .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-header.open .main-nav {
    order: 5;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.open .header-actions {
    order: 6;
  }

  .hero-inner,
  .trainer-inner,
  .booking-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
    order: 1;
    padding-top: 44px;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-photo {
    order: 2;
  }

  .hero-buttons {
    justify-content: center;
  }

  .track-grid,
  .course-grid,
  .article-grid,
  .feature-grid,
  .accreditation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-copy p {
    font-size: 30px;
  }

  .hero-copy h2 {
    font-size: 24px;
  }
}

@media (max-width: 1240px) {
  .container {
    width: min(1120px, calc(100% - 38px));
  }

  .main-nav {
    gap: 22px;
    font-size: 15px;
  }

  .header-actions .green-btn,
  .header-actions .outline-btn {
    min-width: auto;
    padding-inline: 20px;
  }

  .hero-copy p {
    font-size: 42px;
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .hero-copy h2 {
    font-size: 30px;
  }

  .hero-photo img {
    width: min(520px, 100%);
    height: 560px;
  }
}

@media (max-width: 900px) {
  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-copy p {
    font-size: 30px;
  }

  .hero-copy h2 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1040px);
  }

  .hero-copy h1 {
    font-size: 33px;
  }

  .hero-copy p {
    font-size: 24px;
  }

  .hero-copy h2 {
    font-size: 19px;
  }

  .hero-photo img,
  .trainer-inner img {
    height: 310px;
  }

  .track-grid,
  .course-grid,
  .article-grid,
  .feature-grid,
  .accreditation-grid {
    grid-template-columns: 1fr;
  }

  .track-grid {
    margin-top: -28px;
  }

  .track-grid article {
    border-inline-start: 0;
    border-bottom: 1px solid var(--line);
  }

  .newsletter form,
  .booking-form,
  .header-actions {
    flex-direction: column;
  }

  .booking-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .booking-panel {
    padding: 28px 18px;
  }

  .admin-head,
  .admin-actions-cell {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-stats-4,
  .patient-hero,
  .patient-grid,
  .dashboard-form-row {
    grid-template-columns: 1fr;
  }

  .why-panel {
    padding: 34px 18px;
  }

  .section-title h2,
  .newsletter h2 {
    font-size: 30px;
  }

  .course-body h3,
  .article-grid h3 {
    min-height: auto;
  }

  .accreditation-grid p {
    min-height: auto;
  }

  .course-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .course-footer .purple-btn {
    width: 100%;
  }
}

/* Premium medical/psychology refresh */
:root {
  --navy: #0b2d4d;
  --navy-2: #123f68;
  --purple: #1f6fb8;
  --purple-2: #0f5e9c;
  --mint: #d93b45;
  --text: #1d2b3a;
  --muted: #6d7b8a;
  --soft: #f3f8fd;
  --line: #dbe8f4;
  --white: #fff;
  --red: #d93b45;
  --blue: #1767a8;
  --sky: #eaf5ff;
  --shadow: 0 22px 55px rgba(15, 65, 105, .13);
}

body {
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 59, 69, .07), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #fff 36%, #f7fbff 100%);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.container {
  width: min(1440px, calc(100% - 28px));
}

.site-header {
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  border-bottom: 1px solid rgba(23, 103, 168, .12);
  box-shadow: 0 10px 30px rgba(12, 46, 78, .07);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), #0b2d4d);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(23, 103, 168, .23);
}

.main-nav {
  color: #30465c;
  gap: 26px;
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  transition: color .2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--red);
  border-radius: 999px;
  transition: width .2s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav a:hover::after {
  width: 100%;
}

.green-btn,
.purple-btn,
.white-btn,
.outline-btn,
.outline-light,
.outline-purple {
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.green-btn:hover,
.purple-btn:hover,
.white-btn:hover,
.outline-btn:hover,
.outline-light:hover,
.outline-purple:hover {
  transform: translateY(-2px);
}

.green-btn {
  background: linear-gradient(135deg, var(--red), #b9212d);
  box-shadow: 0 14px 28px rgba(217, 59, 69, .22);
}

.purple-btn {
  background: linear-gradient(135deg, var(--blue), #0b4f87);
  box-shadow: 0 14px 28px rgba(23, 103, 168, .23);
}

.header-actions .outline-btn {
  background: #fff;
  color: var(--blue);
  border: 1px solid rgba(23, 103, 168, .18);
  box-shadow: 0 10px 24px rgba(15, 65, 105, .08);
}

.hero {
  position: relative;
  min-height: 650px;
  background:
    linear-gradient(120deg, rgba(11, 45, 77, .96), rgba(23, 103, 168, .90)),
    url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1500&q=80") center/cover;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 78% 25%, rgba(255, 255, 255, .16), transparent 24%),
    linear-gradient(90deg, rgba(217, 59, 69, .12), transparent 42%);
}

.hero-inner {
  min-height: 650px;
  align-items: center;
  gap: 56px;
}

.hero-photo {
  position: relative;
}

.hero-photo::before {
  position: absolute;
  inset: 42px 20px 0;
  content: "";
  border-radius: 32px;
  background: rgba(255, 255, 255, .16);
  transform: rotate(-3deg);
}

.hero-photo img {
  position: relative;
  width: min(490px, 100%);
  height: 560px;
  border-radius: 28px 28px 0 0;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

.doctor-identity-card {
  position: relative;
  width: min(520px, 100%);
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  margin-inline: auto;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 32px;
  background:
    radial-gradient(circle at 24% 18%, rgba(217, 59, 69, .22), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
  text-align: center;
  backdrop-filter: blur(16px);
}

.doctor-avatar {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 42px;
  background: linear-gradient(135deg, #fff, #d9edff);
  color: var(--navy);
  font-size: 48px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .20);
}

.doctor-identity-card strong {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
}

.doctor-identity-card small {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
}

.doctor-identity-card p {
  max-width: 360px;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 17px;
}

.doctor-portrait-card {
  position: relative;
  width: min(660px, 100%);
  min-height: 650px;
  display: grid;
  align-content: end;
  overflow: hidden;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 34px;
  background: rgba(255, 255, 255, .10);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
}

.doctor-portrait-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-portrait-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(11, 45, 77, .88));
}

.doctor-portrait-card div {
  position: relative;
  z-index: 1;
  padding: 28px;
  color: #fff;
}

.doctor-portrait-card strong,
.doctor-portrait-card small {
  display: block;
}

.doctor-portrait-card strong {
  font-size: 32px;
  line-height: 1.2;
}

.doctor-portrait-card small {
  margin-top: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 19px;
  font-weight: 700;
}

.hero-copy {
  padding-bottom: 0;
}

.hero-copy p {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  color: #fff;
  font-size: 17px;
}

.hero-copy p::before {
  content: "\F33A";
  font-family: "bootstrap-icons";
  color: #ffb6bd;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.13;
}

.hero-copy h1 span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 700;
}

.hero-copy h2 {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(20px, 2.3vw, 34px);
}

.hero-buttons .purple-btn,
.hero-buttons .outline-light {
  border-radius: 14px;
}

.hero-buttons .outline-light {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08);
}

.tracks {
  padding-bottom: 86px;
  background: #fff;
}

.track-grid {
  max-width: 980px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(15, 65, 105, .16);
}

.track-grid article {
  min-height: 235px;
  border-color: rgba(23, 103, 168, .10);
  background:
    linear-gradient(180deg, #fff, #f7fbff);
  transition: transform .25s ease, box-shadow .25s ease;
}

.track-grid article:hover,
.course-card:hover,
.article-grid article:hover,
.accreditation-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 65, 105, .15);
}

.track-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: var(--sky);
  color: #7fd3ff;
  font-size: 0;
  box-shadow: 0 14px 28px rgba(8, 35, 61, .18);
}

.track-icon i {
  display: block;
  color: currentColor;
  font-size: 28px;
  line-height: 1;
}

.track-grid article:nth-child(1) .track-icon::before,
.track-grid article:nth-child(2) .track-icon::before,
.track-grid article:nth-child(3) .track-icon::before {
  content: none;
}

.section-title {
  margin-bottom: 44px;
}

.section-title h2,
.newsletter h2 {
  color: var(--navy);
  font-weight: 900;
}

.section-title p {
  color: #6f8192;
}

.partner-logos span {
  border: 1px solid rgba(23, 103, 168, .15);
  color: var(--blue);
  box-shadow: 0 14px 32px rgba(15, 65, 105, .10);
}

.trainer-band {
  background: linear-gradient(120deg, var(--blue), #0b2d4d);
}

.courses,
.why,
.accreditations,
.booking {
  padding-top: 90px;
  padding-bottom: 95px;
}

.courses {
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.course-card,
.article-grid article,
.accreditation-grid article {
  border: 1px solid rgba(23, 103, 168, .10);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 65, 105, .10);
  transition: transform .25s ease, box-shadow .25s ease;
}

.course-image {
  min-height: 190px;
  border-radius: 20px 20px 0 0;
}

.course-body h3,
.feature-grid h3,
.article-grid h3 {
  color: var(--navy);
  font-weight: 850;
}

.course-footer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.why-panel,
.booking-panel,
.admin-panel,
.login-card {
  border: 1px solid rgba(23, 103, 168, .10);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(15, 65, 105, .13);
}

.feature-grid article {
  border: 1px solid rgba(23, 103, 168, .10);
  border-top: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 14px 35px rgba(15, 65, 105, .08);
}

.feature-grid span {
  background: linear-gradient(135deg, var(--red), #b9212d);
  box-shadow: 0 14px 28px rgba(217, 59, 69, .18);
}

.accreditation-top {
  background: linear-gradient(135deg, var(--blue), #0b2d4d);
}

.articles {
  background:
    linear-gradient(180deg, #eef7ff, #f9fbff);
}

.article-grid img {
  height: 190px;
}

.article-grid span {
  background: rgba(217, 59, 69, .10);
  color: var(--red);
}

.newsletter {
  background:
    linear-gradient(120deg, rgba(11, 45, 77, .96), rgba(23, 103, 168, .94)),
    url("https://images.unsplash.com/photo-1559757148-5c350d0d3c56?auto=format&fit=crop&w=1300&q=80") center/cover;
}

.newsletter form {
  max-width: 560px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
}

.newsletter input {
  border-radius: 999px;
}

.booking {
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 59, 69, .08), transparent 28%),
    linear-gradient(180deg, #fff, #f4f9ff);
}

.booking-panel {
  grid-template-columns: .9fr 1.1fr;
  padding: 54px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 251, 255, .96)),
    url("https://images.unsplash.com/photo-1559757175-0eb30cd8c063?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.booking-copy span {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(217, 59, 69, .10);
  color: var(--red);
}

.booking-copy h2 {
  color: var(--navy);
  font-weight: 900;
}

.booking-form {
  padding: 28px;
  border: 1px solid rgba(23, 103, 168, .10);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 42px rgba(15, 65, 105, .10);
  backdrop-filter: blur(12px);
}

.field label {
  color: var(--navy);
}

.field input,
.field select,
.field textarea,
.login-card input {
  border: 1px solid #d7e7f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.login-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .25rem rgba(23, 103, 168, .14);
  outline: 0;
}

.admin-page {
  background:
    radial-gradient(circle at 15% 15%, rgba(217, 59, 69, .08), transparent 28%),
    linear-gradient(180deg, #eef7ff, #fbfdff);
}

.admin-main {
  padding-top: 72px;
}

.admin-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.admin-head span,
.login-kicker {
  color: var(--red);
}

.admin-head h1 {
  color: var(--navy);
  font-weight: 900;
}

.admin-stats article {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #eef7ff);
  box-shadow: 0 16px 38px rgba(15, 65, 105, .10);
}

.admin-stats article::after {
  position: absolute;
  top: -24px;
  left: -18px;
  width: 86px;
  height: 86px;
  content: "";
  border-radius: 50%;
  background: rgba(217, 59, 69, .10);
}

.admin-stats strong {
  color: var(--blue);
}

.admin-table-wrap {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 65, 105, .08);
}

.admin-table {
  margin-bottom: 0;
}

.admin-table th {
  color: var(--navy);
  background: #f3f8fd;
}

.admin-table tr:hover td {
  background: #fbfdff;
}

.status-pill {
  background: rgba(23, 103, 168, .10);
  color: var(--blue);
}

.admin-actions-cell button {
  border-color: rgba(23, 103, 168, .14);
  border-radius: 10px;
  color: var(--blue);
  transition: background .2s ease, color .2s ease;
}

.admin-actions-cell button:hover {
  background: var(--blue);
  color: #fff;
}

.login-main {
  background:
    linear-gradient(135deg, rgba(11, 45, 77, .96), rgba(23, 103, 168, .92)),
    url("https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&w=1300&q=80") center/cover;
}

.login-card {
  border: 1px solid rgba(255, 255, 255, .22);
}

.login-card h1 {
  color: var(--navy);
  font-weight: 900;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-photo,
  .track-grid,
  .course-card,
  .booking-panel,
  .admin-panel,
  .login-card {
    animation: fadeUp .55s ease both;
  }

  .hero-photo {
    animation-delay: .08s;
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1240px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .main-nav {
    gap: 17px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .site-header.open .main-nav {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .site-header.open .header-actions {
    margin-inline-start: 0;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 0;
  }

  .hero-inner {
    min-height: auto;
    gap: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy h2 {
    margin-inline: auto;
  }

  .hero-photo img {
    height: 420px;
    border-radius: 26px 26px 0 0;
  }

  .doctor-portrait-card {
    min-height: 480px;
  }

  .booking-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 16px, 1180px);
  }

  .hero-buttons .purple-btn,
  .hero-buttons .outline-light {
    width: 100%;
  }

  .doctor-portrait-card {
    min-height: 390px;
  }

  .track-grid {
    border-radius: 18px;
  }

  .course-card,
  .article-grid article,
  .booking-panel,
  .booking-form,
  .admin-panel,
  .login-card {
    border-radius: 18px;
  }

  .booking-panel,
  .booking-form,
  .admin-panel,
  .login-card {
    padding: 22px;
  }

  .newsletter form {
    border-radius: 22px;
  }

  .newsletter .green-btn {
    width: 100%;
  }
}

/* Larger, clearer psychology service cards */
.course-grid {
  gap: 34px;
}

@media (min-width: 1320px) {
  .course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .track-grid {
    max-width: 1180px;
  }

  .booking-panel,
  .why-panel,
  .admin-panel {
    max-width: 1320px;
  }
}

.course-card {
  border-radius: 24px;
}

.course-image {
  min-height: 250px;
  padding: 30px;
  font-size: 32px;
  background-size: cover;
  background-position: center;
}

.course-image span {
  max-width: 270px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .38);
}

.course-body {
  padding: 30px 28px 32px;
}

.course-body h3 {
  min-height: 86px;
  font-size: 21px;
}

.course-body p {
  font-size: 15px;
}

.course-footer strong {
  font-size: 25px;
}

.image-office { background-image: linear-gradient(130deg, rgba(11, 45, 77, .58), rgba(23, 103, 168, .24)), url("https://images.unsplash.com/photo-1551847677-dc82d764e1eb?auto=format&fit=crop&w=820&q=88"); }
.image-web { background-image: linear-gradient(130deg, rgba(11, 45, 77, .58), rgba(85, 119, 170, .24)), url("https://images.unsplash.com/photo-1544027993-37dbfe43562a?auto=format&fit=crop&w=820&q=88"); }
.image-it { background-image: linear-gradient(130deg, rgba(11, 45, 77, .58), rgba(217, 59, 69, .22)), url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=820&q=88"); }
.image-robot { background-image: linear-gradient(130deg, rgba(11, 45, 77, .58), rgba(23, 103, 168, .22)), url("https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&w=820&q=88"); }
.image-network { background-image: linear-gradient(130deg, rgba(11, 45, 77, .58), rgba(30, 94, 140, .24)), url("https://images.unsplash.com/photo-1494172961521-33799ddd43a5?auto=format&fit=crop&w=820&q=88"); }
.image-computing { background-image: linear-gradient(130deg, rgba(11, 45, 77, .58), rgba(55, 125, 125, .22)), url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=820&q=88"); }

@media (max-width: 640px) {
  .course-image {
    min-height: 220px;
    font-size: 27px;
  }

  .course-body h3 {
    min-height: auto;
  }
}

/* Full-width desktop layout: override Bootstrap container limits */
@media (min-width: 992px) {
  .container {
    width: 96vw;
    max-width: 1720px;
    padding-right: 0;
    padding-left: 0;
  }

  .hero-inner,
  .course-grid,
  .track-grid,
  .why-panel,
  .booking-panel,
  .admin-panel,
  .footer-grid,
  .article-grid,
  .accreditation-grid {
    width: 100%;
  }

  .track-grid {
    max-width: none;
  }
}

@media (min-width: 1400px) {
  .container {
    width: 97vw;
    max-width: 1840px;
  }
}

/* Integrated official portrait in hero */
.hero-wide-portrait {
  width: min(920px, 100%);
  min-height: 720px;
  border: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, .98), rgba(221, 239, 255, .76) 44%, rgba(255, 255, 255, .92)),
    linear-gradient(135deg, rgba(23, 105, 170, .16), rgba(201, 15, 63, .07));
  box-shadow: 0 34px 90px rgba(15, 65, 105, .20);
}

.hero-wide-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-wide-portrait::after {
  background:
    linear-gradient(180deg, transparent 62%, rgba(8, 35, 61, .78)),
    linear-gradient(90deg, rgba(201, 15, 63, .10), transparent 40%, rgba(23, 105, 170, .10));
}

.hero-wide-portrait div {
  padding: 24px 28px;
}

@media (max-width: 900px) {
  .hero-wide-portrait {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .hero-wide-portrait {
    min-height: 420px;
  }
}

/* Refined modern decor */
:root {
  --navy: #08233d;
  --navy-2: #123c62;
  --blue: #1769aa;
  --purple: #1769aa;
  --purple-2: #0f578f;
  --red: #c90f3f;
  --mint: #c90f3f;
  --soft: #f4f9fd;
  --line: #dceaf5;
  --text: #17283b;
  --muted: #6f7f8f;
  --shadow: 0 24px 70px rgba(8, 35, 61, .12);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(201, 15, 63, .07), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(23, 105, 170, .10), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 38%, #f4f9fd 100%);
}

.site-header {
  background: rgba(255, 255, 255, .90);
  border-bottom: 1px solid rgba(8, 35, 61, .08);
}

.header-inner {
  min-height: 98px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 84px;
  height: 84px;
  padding: 4px;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 12px 26px rgba(8, 35, 61, .12);
}

.main-nav {
  gap: 30px;
  font-size: 17px;
  font-weight: 600;
}

.header-actions .green-btn,
.header-actions .outline-btn {
  min-height: 42px;
  min-width: 104px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}

.header-actions .green-btn {
  background: linear-gradient(135deg, #1769aa, #0b4f87);
  box-shadow: 0 12px 24px rgba(23, 105, 170, .18);
}

body {
  font-size: 15px;
}

.main-nav {
  font-size: 13px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 56px);
}

.hero-copy h1 span {
  font-size: clamp(20px, 2.2vw, 30px);
}

.hero-copy h2 {
  font-size: clamp(16px, 1.8vw, 24px);
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.section-head p,
.course-card p,
.article-grid p,
.track-grid p,
.why p,
.accreditation-grid p,
.booking-intro p,
.booking-form label,
.booking-form input,
.booking-form select,
.booking-form textarea {
  font-size: 15px;
}

.track-grid h3,
.course-card h3,
.article-grid h3,
.accreditation-grid h3 {
  font-size: 18px;
}

.purple-btn,
.green-btn,
.white-btn,
.outline-btn,
.outline-light,
.outline-purple {
  font-size: 13px;
}

.hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(23, 105, 170, .12), transparent 32%),
    radial-gradient(circle at 82% 20%, rgba(8, 35, 61, .08), transparent 30%),
    linear-gradient(135deg, #f6fbff 0%, #eaf4fc 48%, #f9fcff 100%);
  color: var(--navy);
}

.hero::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .64), transparent 36%),
    repeating-linear-gradient(135deg, rgba(23, 105, 170, .045) 0 1px, transparent 1px 26px);
  opacity: .82;
}

.hero-copy p {
  border-color: rgba(23, 105, 170, .18);
  background: rgba(255, 255, 255, .76);
  color: var(--blue);
  box-shadow: 0 12px 30px rgba(8, 35, 61, .08);
}

.hero-copy h1 {
  color: var(--navy);
}

.hero-copy h1 span,
.hero-copy h2 {
  color: #51667a;
}

.hero-buttons .outline-light {
  border-color: rgba(23, 105, 170, .26);
  background: #fff;
  color: var(--blue);
  box-shadow: 0 14px 34px rgba(8, 35, 61, .08);
}

.hero-buttons .purple-btn {
  background: linear-gradient(135deg, #1769aa, #0b4f87);
  box-shadow: 0 16px 34px rgba(23, 105, 170, .20);
}

.hero-wide-portrait {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-photo::before {
  display: none;
}

.hero-wide-portrait img {
  inset: auto auto -7% -14%;
  width: 145%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 28px 38px rgba(8, 35, 61, .16));
}

.hero-wide-portrait .hero-photo-logo {
  position: absolute;
  top: 26px;
  right: -150px;
  z-index: 3;
  width: 96px;
  height: 96px;
  padding: 7px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  object-fit: contain;
  box-shadow: 0 16px 34px rgba(8, 35, 61, .14);
  filter: none;
}

.hero-wide-portrait::after {
  background: none;
}

.hero-wide-portrait div {
  display: none;
}

.tracks,
.courses,
.why,
.accreditations,
.booking {
  position: relative;
}

.tracks::before,
.courses::before,
.booking::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 8%, rgba(23, 105, 170, .06), transparent 22%),
    radial-gradient(circle at 92% 55%, rgba(201, 15, 63, .05), transparent 24%);
}

.track-grid,
.course-card,
.why-panel,
.booking-panel,
.article-grid article,
.accreditation-grid article,
.admin-panel,
.dashboard-card {
  border: 1px solid rgba(23, 105, 170, .10);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 24px 70px rgba(8, 35, 61, .10);
  backdrop-filter: blur(10px);
}

.track-grid article,
.feature-grid article {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.section-title h2,
.course-body h3,
.feature-grid h3,
.booking-copy h2,
.dashboard-card-head h2 {
  color: var(--navy);
}

.purple-btn,
.green-btn {
  background: linear-gradient(135deg, var(--red), #a90c34);
  box-shadow: 0 16px 34px rgba(201, 15, 63, .20);
}

.purple-btn:hover,
.green-btn:hover {
  background: linear-gradient(135deg, #df1c4e, var(--red));
}

.dashboard-card-head i {
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

.track-icon {
  border: 1px solid rgba(23, 105, 170, .18);
  background: linear-gradient(135deg, #ecf8ff, #c8ecff);
  color: #1590dc;
}

.feature-grid span {
  background: linear-gradient(135deg, var(--red), #a90c34);
}

.accreditation-top,
.newsletter {
  background:
    linear-gradient(135deg, rgba(8, 35, 61, .96), rgba(23, 105, 170, .92)),
    radial-gradient(circle at 10% 20%, rgba(201, 15, 63, .20), transparent 26%);
}

.booking-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .93), rgba(246, 251, 255, .93)),
    radial-gradient(circle at 15% 15%, rgba(201, 15, 63, .07), transparent 26%),
    radial-gradient(circle at 88% 22%, rgba(23, 105, 170, .08), transparent 28%);
}

.booking-form,
.login-card {
  background: rgba(255, 255, 255, .92);
}

.footer {
  background:
    radial-gradient(circle at 12% 20%, rgba(201, 15, 63, .14), transparent 26%),
    linear-gradient(135deg, #061b2f, #0b2d4d);
}

.section-title p,
.partner-copy,
.track-grid p,
.course-body p,
.feature-grid p,
.accreditation-grid p,
.article-grid p,
.newsletter p,
.booking-copy p,
.faq-answer,
.footer p,
.footer a {
  font-size: 15px;
  line-height: 1.75;
}

.field label,
.help-line,
.article-grid span,
.accreditation-grid strong,
.course-footer strong,
.footer-bottom {
  font-size: 13px;
}

.header-inner {
  min-height: 58px;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.main-nav {
  gap: 20px;
}

.header-actions .green-btn,
.header-actions .outline-btn {
  min-height: 28px;
  min-width: 66px;
  padding-inline: 12px;
  border-radius: 7px;
  font-size: 11px;
}

.hero,
.hero-inner {
  min-height: 500px;
}

.hero {
  padding-left: 15px;
  padding-right: 15px;
}

.hero .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 15px;
}

.hero-inner {
  gap: 34px;
}

.hero-copy {
  padding-inline-end: clamp(80px, 8vw, 150px);
}

.hero-wide-portrait {
  width: min(620px, 100%);
  min-height: 500px;
}

.hero-buttons .purple-btn,
.hero-buttons .outline-light {
  min-height: 42px;
  padding-inline: 22px;
  border-radius: 10px;
  font-size: 14px;
}

.booking {
  overflow-x: hidden;
}

.booking .booking-panel {
  width: min(1120px, calc(100% - 48px));
  max-width: 1120px;
  margin-inline: auto;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero .container {
    padding-inline: 10px;
  }

  .hero-copy {
    padding-inline-end: 0;
  }
}

html {
  overflow-x: hidden;
  zoom: .8;
}

body {
  width: 100%;
  overflow-x: hidden;
}

.hero-copy h1 .kufi-name {
  display: inline-block;
  font-family: "Monotype Koufi", "Monotype Kufi", "Noto Kufi Arabic", "Traditional Arabic", Tahoma, Arial, sans-serif;
  font-size: 1.12em;
  font-weight: 900;
  line-height: 1.35;
}

.hero-copy h1 span:not(.kufi-name) {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.hero-credentials {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 800;
  line-height: 1.7;
}

.site-header {
  z-index: 9999;
}

.header-inner {
  min-height: 112px;
  gap: 30px;
}

.logo img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
}

.main-nav {
  gap: 34px;
  font-size: 18px;
  font-weight: 800;
}

.main-nav a {
  padding: 16px 0;
}

.header-actions .green-btn,
.header-actions .outline-btn {
  min-height: 48px;
  min-width: 118px;
  padding-inline: 24px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 92px;
    gap: 22px;
  }

  .logo img {
    width: 76px;
    height: 76px;
  }

  .main-nav {
    gap: 20px;
    font-size: 15px;
  }

  .header-actions .green-btn,
  .header-actions .outline-btn {
    min-height: 40px;
    min-width: 94px;
    padding-inline: 16px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 76px;
  }

  .logo img {
    width: 62px;
    height: 62px;
    border-radius: 12px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .site-header.open .main-nav {
    gap: 14px;
    font-size: 17px;
  }

  .site-header.open .header-actions .green-btn,
  .site-header.open .header-actions .outline-btn {
    min-height: 44px;
    font-size: 16px;
  }

  .hero-wide-portrait .hero-photo-logo {
    top: 14px;
    right: -8px;
    width: 72px;
    height: 72px;
    padding: 5px;
    border-radius: 14px;
  }
}

.hero-copy {
  justify-self: start;
  max-width: 780px;
  padding-inline-start: 0;
  padding-inline-end: 0;
  text-align: left;
}

.hero-copy h1,
.hero-copy h2,
.hero-credentials {
  margin-right: auto;
  margin-left: 0;
}

.hero-copy h1,
.hero-credentials,
.hero-copy h2 {
  direction: rtl;
}

.hero-buttons {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .hero-copy {
    justify-self: center;
    text-align: left;
  }

  .hero-copy h1,
  .hero-copy h2,
  .hero-credentials {
    margin-right: auto;
    margin-left: 0;
  }

  .hero-buttons {
    justify-content: flex-start;
  }
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  background: #f4f7fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  background: #08233d;
  color: #fff;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 24px;
  color: #fff;
  text-decoration: none;
}

.admin-brand span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  color: #1769aa;
  font-weight: 900;
}

.admin-brand strong {
  font-size: 20px;
}

.admin-sidebar-nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
  font-weight: 800;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.admin-dashboard {
  width: min(100% - 40px, 1480px);
  margin: 28px auto;
}

.admin-management-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(520px, 1.4fr);
  gap: 22px;
  margin-bottom: 24px;
}

.admin-management-grid-single {
  grid-template-columns: 1fr;
}

.admin-services-layout {
  grid-template-columns: minmax(320px, 720px);
  justify-content: center;
  align-items: start;
}

.admin-service-form-card,
.admin-services-list-card {
  width: 100%;
}

.admin-services-list-card {
  text-align: center;
}

.admin-services-list-card .admin-card-head {
  text-align: center;
}

.admin-services-list-card .admin-table th,
.admin-services-list-card .admin-table td {
  text-align: center;
}

.admin-services-list-card .admin-actions-cell {
  justify-content: center;
}

.admin-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(8, 35, 61, .07);
}

.admin-card-head {
  margin-bottom: 18px;
}

.admin-card-head span {
  color: var(--blue);
  font-weight: 900;
}

.admin-card-head h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 24px;
}

.admin-booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-booking-form label {
  display: grid;
  gap: 7px;
  color: #4d6175;
  font-size: 13px;
  font-weight: 900;
}

.admin-booking-form input,
.admin-booking-form select,
.admin-booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--text);
}

.admin-form-wide {
  grid-column: 1 / -1;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-nav a {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8fbff;
  color: var(--blue);
  text-decoration: none;
  font-weight: 900;
}

.calendar-filter {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}

.calendar-filter label {
  display: grid;
  gap: 7px;
  color: #4d6175;
  font-size: 13px;
  font-weight: 900;
}

.calendar-filter select {
  min-width: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-calendar-page .calendar-day {
  min-height: 132px;
}

.admin-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekday {
  padding: 8px;
  color: #6f7f8f;
  text-align: center;
  font-size: 12px;
}

.calendar-day {
  min-height: 112px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.calendar-day.muted {
  background: #f7f9fc;
  opacity: .58;
}

.calendar-day.today {
  border-color: rgba(23, 105, 170, .55);
  box-shadow: inset 0 0 0 2px rgba(23, 105, 170, .10);
}

.calendar-day > span {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 900;
}

.calendar-event {
  display: block;
  margin-top: 5px;
  padding: 5px 7px;
  border-radius: 7px;
  color: #0f5132;
  background: rgba(22, 163, 74, .14);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.calendar-event.status-pending {
  color: #92400e;
  background: rgba(245, 158, 11, .16);
}

.calendar-event.status-cancelled {
  color: #991b1b;
  background: rgba(217, 59, 69, .14);
}

.calendar-day em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-management-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-dashboard {
    width: min(100% - 24px, 1480px);
    margin-block: 14px;
  }

  .admin-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .admin-stats-4,
  .admin-booking-form,
  .admin-calendar {
    grid-template-columns: 1fr;
  }

  .calendar-weekday {
    display: none;
  }

  .calendar-day {
    min-height: auto;
  }

  .calendar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-filter select {
    min-width: 0;
    width: 100%;
  }
}

.admin-shell {
  display: block;
  padding-left: 300px;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: 300px;
  height: 100vh;
  overflow-y: auto;
  padding: 30px 12px;
  border-right: 1px solid #e4ebf3;
  background: #fff;
  color: #4a5568;
  box-shadow: 18px 0 44px rgba(8, 35, 61, .08);
}

.admin-brand {
  display: none;
}

.admin-sidebar-nav {
  gap: 12px;
}

.admin-menu-label {
  display: block;
  margin: 18px 10px 8px;
  color: rgba(255, 255, 255, .46);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-sidebar-nav a {
  justify-content: flex-start;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #475569;
  background: transparent;
  font-size: 15px;
}

.admin-sidebar-nav a i {
  display: grid;
  place-items: center;
  width: 24px;
  color: #536174;
  font-size: 18px;
}

.admin-sidebar-nav a span {
  flex: 1;
  min-width: 0;
}

.admin-sidebar-nav .admin-menu-arrow {
  width: 18px;
  margin-inline-start: auto;
  color: #64748b;
  font-size: 14px;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
  border-color: transparent;
  background: #e9edf3;
  color: #0b54d9;
}

.admin-sidebar-nav a:hover i,
.admin-sidebar-nav a.active i {
  color: #0b54d9;
}

.admin-dashboard {
  margin: 28px auto;
}

@media (max-width: 1180px) {
  .admin-shell {
    padding-left: 0;
  }

  .admin-sidebar {
    position: static;
    width: auto;
    height: auto;
    border-right: 0;
    box-shadow: none;
  }

  .admin-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .admin-menu-label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .admin-sidebar-nav {
    grid-template-columns: 1fr;
  }
}

.admin-sidebar-toggle {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.admin-sidebar-button {
  display: none;
}

.admin-shell {
  padding-left: 280px;
  background: #eef3f8;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: 280px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 10px;
  border-right: 1px solid #dfe6ee;
  background: #fff;
  box-shadow: none;
  scrollbar-width: none;
}

.admin-sidebar::-webkit-scrollbar {
  display: none;
}

.admin-sidebar > .admin-sidebar-nav:not(.admin-sidebar-nav-modern) {
  display: none;
}

.admin-sidebar-nav-modern {
  display: grid;
  gap: 7px;
  overflow: visible;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.admin-sidebar-nav-modern::-webkit-scrollbar {
  display: none;
}

.admin-sidebar-nav-modern a,
.admin-sidebar-bottom a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 7px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.admin-sidebar-nav-modern a > i:first-child,
.admin-sidebar-bottom a > i:first-child {
  width: 20px;
  color: #4b596b;
  font-size: 16px;
}

.admin-sidebar-nav-modern a span,
.admin-sidebar-bottom a span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.admin-sidebar-nav-modern .admin-menu-arrow,
.admin-sidebar-bottom .admin-menu-arrow {
  width: 14px;
  color: #65758a;
  font-size: 12px;
}

.admin-sidebar-nav-modern a.active,
.admin-sidebar-nav-modern a:hover,
.admin-sidebar-bottom a.active,
.admin-sidebar-bottom a:hover {
  background: #e7ebf1;
  color: #0b55d9;
}

.admin-sidebar-nav-modern a.active > i,
.admin-sidebar-nav-modern a:hover > i,
.admin-sidebar-bottom a.active > i,
.admin-sidebar-bottom a:hover > i {
  color: #0b55d9;
}

.admin-sidebar-bottom {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e7edf4;
  background: #fff;
}

.admin-sidebar-bottom a.sidebar-logout {
  color: #b9212d;
}

.admin-sidebar-bottom a.sidebar-logout i {
  color: #b9212d;
}

.admin-sidebar-bottom a.sidebar-logout:hover {
  background: rgba(217, 59, 69, .10);
  color: #b9212d;
}

.admin-user-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.admin-user-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(23, 105, 170, .10);
  color: var(--blue);
  font-size: 28px;
}

.admin-user-card strong,
.admin-user-card span {
  display: block;
}

.admin-user-card strong {
  color: var(--navy);
  font-size: 20px;
}

.admin-user-card span {
  color: var(--muted);
  font-weight: 800;
}

.admin-password-head {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.admin-content-preview {
  display: grid;
  gap: 14px;
  color: #4d6175;
  line-height: 1.8;
}

.admin-content-preview h3 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 18px;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.settings-message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 800;
}

.settings-message.success {
  background: rgba(22, 163, 74, .12);
  color: #15803d;
}

.settings-message.error {
  background: rgba(217, 59, 69, .12);
  color: #b9212d;
}

.admin-theme-toggle {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dfe6ee;
  border-radius: 14px;
  background: #fff;
  color: #1769aa;
  box-shadow: 0 12px 28px rgba(8, 35, 61, .12);
  cursor: pointer;
}

.admin-dark-mode.admin-page,
.admin-dark-mode .admin-shell {
  background: #101827;
  color: #dbe7f3;
}

.admin-dark-mode .admin-sidebar,
.admin-dark-mode .admin-sidebar-bottom {
  border-color: #253247;
  background: #111c2d;
}

.admin-dark-mode .admin-sidebar-nav-modern a,
.admin-dark-mode .admin-sidebar-bottom a {
  color: #c8d4e3;
}

.admin-dark-mode .admin-sidebar-nav-modern a > i:first-child,
.admin-dark-mode .admin-sidebar-bottom a > i:first-child {
  color: #9fb0c4;
}

.admin-dark-mode .admin-sidebar-nav-modern a.active,
.admin-dark-mode .admin-sidebar-nav-modern a:hover,
.admin-dark-mode .admin-sidebar-bottom a.active,
.admin-dark-mode .admin-sidebar-bottom a:hover {
  background: #22304a;
  color: #7db7ff;
}

.admin-dark-mode .admin-panel,
.admin-dark-mode .admin-card,
.admin-dark-mode .admin-stats article,
.admin-dark-mode .admin-table-wrap,
.admin-dark-mode .calendar-filter,
.admin-dark-mode .admin-booking-form input,
.admin-dark-mode .admin-booking-form select,
.admin-dark-mode .admin-booking-form textarea {
  border-color: #29374d;
  background: #152236;
  color: #dbe7f3;
}

.admin-dark-mode .admin-head h1,
.admin-dark-mode .admin-card-head h2,
.admin-dark-mode .admin-table td strong,
.admin-dark-mode .admin-table th {
  color: #edf5ff;
}

.admin-dark-mode .admin-head p,
.admin-dark-mode .admin-table td,
.admin-dark-mode .admin-stats span,
.admin-dark-mode .admin-booking-form label,
.admin-dark-mode .calendar-filter label {
  color: #a9b8ca;
}

.admin-dark-mode .admin-table th {
  background: #1c2b42;
}

.admin-dark-mode .admin-table-toolbar,
.admin-dark-mode .admin-pagination {
  border-color: #2d3c54;
}

.admin-dark-mode .admin-table-toolbar p,
.admin-dark-mode .admin-page-size-form label,
.admin-dark-mode .admin-client-search-form label {
  color: #cbd5e1;
}

.admin-dark-mode .admin-page-size-form select,
.admin-dark-mode .admin-client-search-form input,
.admin-dark-mode .admin-client-search-form button,
.admin-dark-mode .admin-client-search-form a,
.admin-dark-mode .admin-pagination a {
  border-color: #2d3c54;
  background: #152236;
  color: #e2e8f0;
}

.admin-dark-mode .admin-pagination a.active {
  border-color: #5fb3f0;
  background: #1767a8;
  color: #fff;
}

.admin-dark-mode .admin-table tr:hover td {
  background: #1a2a41;
}

.admin-dark-mode .admin-theme-toggle {
  border-color: #2d3c54;
  background: #152236;
  color: #facc15;
}

@media (max-width: 900px) {
  .admin-shell {
    padding-left: 0;
  }

  .admin-table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-table-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-sidebar-button {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 80;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #dfe6ee;
    border-radius: 12px;
    background: #fff;
    color: #0b55d9;
    box-shadow: 0 12px 28px rgba(8, 35, 61, .12);
    cursor: pointer;
  }

  .admin-sidebar {
    position: fixed;
    width: min(280px, 84vw);
    height: 100vh;
    transform: translateX(-105%);
    transition: transform .22s ease;
  }

  .admin-sidebar-toggle:checked ~ .admin-shell .admin-sidebar {
    transform: translateX(0);
  }

  .admin-dashboard {
    padding-top: 54px;
  }
}

body {
  zoom: 120%;
}

body:not(.admin-page) {
  padding-top: 112px;
}

body:not(.admin-page) .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10000;
}

.main-nav a.active {
  color: var(--red);
}

.language-switcher {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  direction: ltr;
}

.header-inner > .language-switcher {
  margin-inline-start: -14px;
  margin-inline-end: 4px;
}

.language-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 70px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(15, 65, 105, .10);
  border-radius: 999px;
  background: #fff;
  color: #0b2d4d;
  box-shadow: 0 12px 28px rgba(8, 35, 61, .10);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.language-current span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #c90f3f;
  color: #fff;
  box-shadow: 0 8px 18px rgba(201, 15, 63, .26);
}

.language-current i {
  font-size: 11px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  display: none;
  min-width: 96px;
  padding: 6px;
  border: 1px solid rgba(15, 65, 105, .10);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(8, 35, 61, .16);
}

.language-switcher.open .language-menu {
  display: grid;
  gap: 4px;
}

.language-menu button {
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #0b2d4d;
  text-align: left;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.language-menu button.active,
.language-menu button:hover {
  background: #c90f3f;
  color: #fff;
}

.modwana-hero {
  padding: 150px 0 80px;
  background:
    linear-gradient(135deg, rgba(8, 35, 61, .82), rgba(23, 105, 170, .72)),
    url("https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
}

.modwana-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 48px;
}

.modwana-hero span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-weight: 900;
}

.modwana-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
}

.modwana-hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
  line-height: 1.9;
}

.modwana-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 10px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.modwana-posts {
  padding: 86px 0 100px;
}

.modwana-latest {
  padding: 56px 0 0;
  background: #fff;
}

.modwana-latest-card {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(8, 35, 61, .12);
}

.modwana-latest-media img,
.modwana-latest-media video,
.modwana-latest-media iframe,
.modwana-latest-media .modwana-post-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.modwana-latest-body {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
}

.modwana-latest-body span {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(23, 105, 170, .10);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.modwana-latest-body h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.35;
}

.modwana-latest-body p {
  margin: 0;
  color: #4d6175;
  line-height: 1.9;
}

.modwana-ads {
  padding: 42px 0 0;
  background: #fff;
}

.modwana-ads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.modwana-ad-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(8, 35, 61, .08);
}

.modwana-ad-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.modwana-ad-card img,
.modwana-ad-placeholder {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
}

.modwana-ad-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef7ff, #f9fcff);
  color: var(--blue);
  font-size: 32px;
}

.modwana-ad-card strong {
  display: block;
  padding: 12px 16px;
  color: var(--navy);
  font-size: 15px;
}

.modwana-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 16px 14px;
  min-height: 30px;
  padding: 5px 10px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.modwana-share-btn:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.modwana-share-btn-inline {
  width: fit-content;
  margin: 4px 0 0;
}

.modwana-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 24px;
}

.modwana-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.modwana-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
}

.modwana-pagination a:hover,
.modwana-pagination a.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.modwana-grid article {
  overflow: hidden;
  border: 1px solid rgba(23, 105, 170, .10);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(8, 35, 61, .10);
}

.modwana-grid img,
.modwana-grid video,
.modwana-grid iframe,
.modwana-post-placeholder {
  width: 100%;
  height: 220px;
  border: 0;
  object-fit: cover;
}

.modwana-grid video,
.modwana-grid iframe {
  display: block;
  background: #081f36;
}

.modwana-post-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef7ff, #f9fcff);
  color: var(--blue);
  font-size: 46px;
}

.modwana-grid span,
.modwana-grid h3,
.modwana-grid p,
.modwana-grid a {
  margin-right: 22px;
  margin-left: 22px;
}

.modwana-grid span {
  display: inline-flex;
  margin-top: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(201, 15, 63, .10);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.modwana-grid h3 {
  margin-top: 14px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.6;
}

.modwana-grid p {
  color: #627086;
  line-height: 1.9;
}

.modwana-grid .modwana-post-body {
  color: #334155;
  white-space: normal;
}

.modwana-grid a {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 900;
}

.about-hero {
  padding: 150px 0 84px;
  background: linear-gradient(135deg, #08233d, #1769aa);
  color: #fff;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: end;
  gap: 48px;
}

.about-hero span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-weight: 900;
}

.about-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 900;
}

.about-hero p {
  max-width: 780px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
  line-height: 1.9;
}

.about-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, .24));
}

.about-content {
  padding: 86px 0 100px;
}

.expertise-section {
  padding: 86px 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 31, 55, .08), transparent 28%),
    linear-gradient(180deg, rgba(23, 105, 170, .07), rgba(255, 255, 255, 0) 42%),
    #fff;
}

.expertise-title {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.expertise-title span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(201, 31, 55, .10);
  color: #c91f37;
  font-weight: 900;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.expertise-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 105, 170, .14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .96)),
    #fff;
  padding: 30px;
  box-shadow: 0 18px 36px rgba(8, 35, 61, .08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  grid-column: span 3;
}

.expertise-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #1769aa, #c91f37);
}

.expertise-card-wide {
  grid-column: span 6;
}

.expertise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 31, 55, .24);
  box-shadow: 0 24px 46px rgba(8, 35, 61, .12);
}

.expertise-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #1769aa;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 12px 22px rgba(23, 105, 170, .22);
}

.expertise-card:nth-child(even) .expertise-icon {
  background: #c91f37;
  box-shadow: 0 12px 22px rgba(201, 31, 55, .18);
}

.expertise-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.expertise-card-head small {
  color: rgba(8, 35, 61, .10);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.expertise-card h3 {
  margin: 0 0 16px;
  color: #08233d;
  font-weight: 900;
  font-size: 25px;
}

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.expertise-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(23, 105, 170, .14);
  border-radius: 999px;
  background: #fff;
  color: #59677b;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(8, 35, 61, .05);
}

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

.about-card {
  border: 1px solid rgba(23, 105, 170, .10);
  border-radius: 8px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 20px 54px rgba(8, 35, 61, .10);
}

.about-card-wide {
  grid-column: 1 / -1;
}

.about-card > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(23, 105, 170, .10);
  color: var(--blue);
  font-size: 22px;
}

.about-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-weight: 900;
}

.about-card p,
.about-card li {
  color: #627086;
  line-height: 1.9;
}

.about-card ul {
  margin: 0;
  padding-inline-start: 22px;
}

.certificate-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.certificate-list div {
  padding: 18px;
  border: 1px solid rgba(23, 105, 170, .10);
  border-radius: 8px;
  background: #f8fbff;
}

.certificate-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 900;
}

@media (max-width: 1000px) {
  body:not(.admin-page) {
    padding-top: 76px;
  }

  .modwana-hero-inner,
  .modwana-latest-card,
  .modwana-grid,
  .about-hero-inner,
  .about-grid,
  .certificate-list {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-card,
  .expertise-card-wide {
    grid-column: auto;
  }

  .modwana-hero img {
    max-width: 560px;
  }

  .about-card-wide {
    grid-column: auto;
  }

  .about-hero img {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  body {
    zoom: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 24px, 100%);
  }

  body:not(.admin-page) {
    padding-top: 74px;
  }

  body:not(.admin-page) .site-header {
    min-height: 74px;
  }

  .header-inner {
    min-height: 74px;
    gap: 10px;
  }

  .logo {
    margin-inline-start: 0;
  }

  .logo img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .header-inner > .language-switcher {
    margin-inline: 0 auto;
  }

  .language-current {
    min-width: 62px;
    height: 38px;
    padding: 0 9px;
  }

  .language-current span {
    width: 30px;
    height: 30px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border-color: rgba(23, 105, 170, .20);
    color: var(--navy);
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.open .header-inner {
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .site-header.open .main-nav,
  .site-header.open .header-actions {
    display: flex;
    width: 100%;
  }

  .site-header.open .main-nav {
    order: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 8px;
    font-size: 15px;
  }

  .site-header.open .main-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(23, 105, 170, .07);
  }

  .site-header.open .header-actions {
    order: 11;
    flex-direction: column;
    gap: 8px;
  }

  .hero,
  .modwana-hero,
  .about-hero {
    padding: 64px 0 48px;
  }

  .hero-inner,
  .trainer-inner,
  .booking-panel,
  .footer-grid,
  .track-grid,
  .course-grid,
  .feature-grid,
  .accreditation-grid,
  .article-grid,
  .modwana-hero-inner,
  .modwana-latest-card,
  .modwana-grid,
  .about-hero-inner,
  .expertise-grid,
  .about-grid,
  .certificate-list,
  .patient-hero,
  .patient-grid,
  .dashboard-form-row {
    grid-template-columns: 1fr !important;
  }

  .expertise-card,
  .expertise-card-wide {
    grid-column: auto;
  }

  .expertise-card {
    padding: 24px;
  }

  .expertise-list {
    display: grid;
  }

  .hero-copy,
  .about-hero,
  .modwana-hero {
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-copy h1 span,
  .hero-copy h2,
  .modwana-hero p,
  .expertise-title p,
  .about-hero p {
    font-size: 16px;
  }

  .hero-buttons,
  .course-footer {
    justify-content: center;
    flex-wrap: wrap;
  }

  .purple-btn,
  .green-btn,
  .white-btn,
  .outline-btn,
  .outline-light,
  .outline-purple {
    width: 100%;
    min-width: 0;
    padding-inline: 16px;
  }

  .hero-wide-portrait img {
    inset: auto;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .about-hero img,
  .modwana-hero img {
    max-width: 320px;
    margin-inline: auto;
  }

  .admin-table-wrap {
    overflow-x: auto;
  }

  .admin-table,
  .admin-table-toolbar,
  .admin-pagination {
    min-width: 720px;
  }

  .admin-actions-cell {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 18px, 100%);
  }

  .logo img {
    width: 48px;
    height: 48px;
  }

  .language-current {
    min-width: 56px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }
}

.hero {
  min-height: auto;
  padding: 58px 0 64px;
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.hero::before,
.hero-photo::before,
.hero-wide-portrait::after,
.hero-wide-portrait div,
.hero-copy {
  display: none !important;
}

.hero-inner {
  display: block;
  min-height: auto;
}

.hero-photo {
  width: 100%;
}

.hero-wide-portrait {
  position: relative;
  width: 100%;
  min-height: auto;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 22px 60px rgba(8, 35, 61, .10);
  overflow: hidden;
}

.hero-wide-portrait img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 22px;
  object-fit: contain;
  filter: none;
}

.hero-wide-portrait::before {
  position: absolute;
  inset: auto 0 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
  content: "";
  width: 46px;
  height: 8px;
  margin-inline: auto;
  border-radius: 999px;
  background: #0b3d75;
  box-shadow: -18px 0 0 rgba(11, 61, 117, .26), 18px 0 0 rgba(11, 61, 117, .26);
}

@media (max-width: 768px) {
  .hero {
    padding: 24px 0 34px;
  }

  .hero-wide-portrait,
  .hero-wide-portrait img {
    border-radius: 12px;
  }

  .hero-wide-portrait img {
    aspect-ratio: 16 / 7.8;
    object-fit: cover;
    object-position: center;
  }
}

body:not(.admin-page) {
  font-size: 18px;
}

body:not(.admin-page) .main-nav {
  font-size: 20px;
}

body:not(.admin-page) .section-title h2,
body:not(.admin-page) .booking-copy h2,
body:not(.admin-page) .about-card h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

body:not(.admin-page) .section-title p,
body:not(.admin-page) .track-grid p,
body:not(.admin-page) .course-card p,
body:not(.admin-page) .article-grid p,
body:not(.admin-page) .booking-copy p,
body:not(.admin-page) .about-card p,
body:not(.admin-page) .about-card li,
body:not(.admin-page) .modwana-grid p {
  font-size: 18px;
}

body:not(.admin-page) .track-grid h3,
body:not(.admin-page) .course-card h3,
body:not(.admin-page) .article-grid h3,
body:not(.admin-page) .modwana-grid h3 {
  font-size: 22px;
}

body:not(.admin-page) .purple-btn,
body:not(.admin-page) .green-btn,
body:not(.admin-page) .white-btn,
body:not(.admin-page) .outline-btn,
body:not(.admin-page) .outline-light,
body:not(.admin-page) .outline-purple {
  font-size: 16px;
}

@media (max-width: 768px) {
  body:not(.admin-page) {
    font-size: 16px;
  }

  body:not(.admin-page) .main-nav,
  body:not(.admin-page) .section-title p,
  body:not(.admin-page) .track-grid p,
  body:not(.admin-page) .course-card p,
  body:not(.admin-page) .article-grid p,
  body:not(.admin-page) .booking-copy p,
  body:not(.admin-page) .about-card p,
  body:not(.admin-page) .about-card li,
  body:not(.admin-page) .modwana-grid p {
    font-size: 16px;
  }
}

body:not(.admin-page) .hero {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f8fbff;
}

body:not(.admin-page) .hero .container,
body:not(.admin-page) .hero-inner {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

body:not(.admin-page) .hero-photo,
body:not(.admin-page) .hero-wide-portrait {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

body:not(.admin-page) .hero-wide-portrait img {
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  display: block;
}

body:not(.admin-page) .hero-wide-portrait::before {
  display: none;
}

@media (max-width: 768px) {
  body:not(.admin-page) .hero,
  body:not(.admin-page) .hero .container,
  body:not(.admin-page) .hero-inner {
    min-height: 0;
  }

  body:not(.admin-page) .hero-photo,
  body:not(.admin-page) .hero-wide-portrait,
  body:not(.admin-page) .hero-wide-portrait img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
}

body:not(.admin-page) .tracks {
  padding-top: 0;
}

body:not(.admin-page) .track-grid {
  margin-top: 0;
}

@media (max-width: 768px) {
  body:not(.admin-page) .track-grid {
    margin-top: 0;
  }
}

body:not(.admin-page).translated-hero .hero {
  overflow: visible;
}

body:not(.admin-page).translated-hero .hero-copy {
  display: block !important;
  max-width: 1120px;
  margin: 24px auto 0;
  padding: 0 24px 28px;
  color: var(--navy);
  text-align: center;
}

body:not(.admin-page).translated-hero .hero-copy h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.15;
}

body:not(.admin-page).translated-hero .hero-copy h1 span {
  color: var(--navy);
}

body:not(.admin-page).translated-hero .hero-credentials {
  margin: 0 auto 14px;
  color: #1769aa;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.5;
}

body:not(.admin-page).translated-hero .hero-copy h2 {
  max-width: 980px;
  margin: 0 auto;
  color: #27384a;
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.7;
}

body:not(.admin-page).translated-hero .hero-buttons {
  display: none;
}

@media (max-width: 768px) {
  body:not(.admin-page).translated-hero .hero-copy {
    margin-top: 16px;
    padding: 0 18px 22px;
  }
}

body:not(.admin-page) .language-switcher {
  display: none !important;
}

.about-hero-inner {
  grid-template-columns: 1fr;
}

body:not(.admin-page) {
  font-size: 20px;
}

body:not(.admin-page) .main-nav {
  font-size: 21px;
}

body:not(.admin-page) .section-title p,
body:not(.admin-page) .track-grid p,
body:not(.admin-page) .course-card p,
body:not(.admin-page) .feature-grid p,
body:not(.admin-page) .article-grid p,
body:not(.admin-page) .booking-copy p,
body:not(.admin-page) .about-card p,
body:not(.admin-page) .about-card li,
body:not(.admin-page) .modwana-grid p,
body:not(.admin-page) .footer p,
body:not(.admin-page) .footer a {
  font-size: 20px;
  line-height: 1.9;
}

body:not(.admin-page) .expertise-title p {
  font-size: 21px;
  line-height: 1.9;
}

body:not(.admin-page) .expertise-card h3,
body:not(.admin-page) .track-grid h3,
body:not(.admin-page) .course-card h3,
body:not(.admin-page) .article-grid h3,
body:not(.admin-page) .modwana-grid h3 {
  font-size: 27px;
}

body:not(.admin-page) .expertise-list span {
  font-size: 18px;
  line-height: 1.55;
}

body:not(.admin-page) .accreditation-grid p {
  min-height: 140px;
  font-size: 23px;
  line-height: 1.85;
  font-weight: 700;
}

body:not(.admin-page) .accreditation-grid strong {
  font-size: 17px;
}

body:not(.admin-page) .booking-copy span {
  font-size: 18px;
  padding: 9px 17px;
}

body:not(.admin-page) .booking-copy h2 {
  font-size: clamp(42px, 4vw, 58px);
}

body:not(.admin-page) .booking-panel {
  width: min(1180px, calc(100% - 36px));
  max-width: 1180px;
  padding: 64px;
}

body:not(.admin-page) .booking-form {
  gap: 19px;
  padding: 34px;
}

body:not(.admin-page) .field {
  gap: 9px;
}

body:not(.admin-page) .field label {
  font-size: 17px;
}

body:not(.admin-page) .field input,
body:not(.admin-page) .field select,
body:not(.admin-page) .field textarea {
  min-height: 54px;
  padding-inline: 18px;
  font-size: 18px;
}

body:not(.admin-page) .field textarea {
  min-height: 124px;
  padding-top: 16px;
}

body:not(.admin-page) .booking-submit {
  min-height: 58px;
  font-size: 20px;
}

body:not(.admin-page) .faq-list {
  max-width: 1060px;
}

body:not(.admin-page) .faq-item {
  min-height: 88px;
  font-size: 24px;
  font-weight: 900;
}

body:not(.admin-page) .faq-item b {
  font-size: 30px;
}

body:not(.admin-page) .faq-answer {
  font-size: 20px;
  line-height: 1.9;
}

body:not(.admin-page) .purple-btn,
body:not(.admin-page) .green-btn,
body:not(.admin-page) .white-btn,
body:not(.admin-page) .outline-btn,
body:not(.admin-page) .outline-light,
body:not(.admin-page) .outline-purple {
  font-size: 18px;
}

@media (max-width: 768px) {
  body:not(.admin-page) {
    font-size: 17px;
  }

  body:not(.admin-page) .main-nav,
  body:not(.admin-page) .section-title p,
  body:not(.admin-page) .track-grid p,
  body:not(.admin-page) .course-card p,
  body:not(.admin-page) .feature-grid p,
  body:not(.admin-page) .article-grid p,
  body:not(.admin-page) .booking-copy p,
  body:not(.admin-page) .about-card p,
  body:not(.admin-page) .about-card li,
  body:not(.admin-page) .modwana-grid p,
  body:not(.admin-page) .footer p,
  body:not(.admin-page) .footer a,
  body:not(.admin-page) .expertise-title p,
  body:not(.admin-page) .expertise-list span {
    font-size: 17px;
  }

  body:not(.admin-page) .expertise-card h3,
  body:not(.admin-page) .track-grid h3,
  body:not(.admin-page) .course-card h3,
  body:not(.admin-page) .article-grid h3,
  body:not(.admin-page) .modwana-grid h3 {
    font-size: 23px;
  }

  body:not(.admin-page) .accreditation-grid p {
    min-height: auto;
    font-size: 19px;
  }

  body:not(.admin-page) .booking-panel {
    width: min(100% - 24px, 100%);
    padding: 24px;
  }

  body:not(.admin-page) .booking-copy h2 {
    font-size: 34px;
  }

  body:not(.admin-page) .booking-form {
    padding: 22px;
  }

  body:not(.admin-page) .field label,
  body:not(.admin-page) .field input,
  body:not(.admin-page) .field select,
  body:not(.admin-page) .field textarea {
    font-size: 16px;
  }

  body:not(.admin-page) .faq-item {
    min-height: 72px;
    font-size: 19px;
  }

  body:not(.admin-page) .faq-item b {
    font-size: 25px;
  }

  body:not(.admin-page) .faq-answer {
    font-size: 17px;
  }
}

body.admin-page {
  zoom: 160%;
}

body.admin-page .admin-panel,
body.admin-page .admin-sidebar,
body.admin-page .admin-theme-toggle,
body.admin-page .admin-sidebar-button {
  font-size: 1.12em;
}

body.admin-page .admin-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.admin-page .admin-head-actions form {
  margin: 0;
}

body.admin-page .admin-sidebar-nav-modern a.sidebar-logout,
body.admin-page .admin-sidebar-bottom a.sidebar-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(185, 33, 45, .22);
  border-radius: 12px;
  background: #b9212d;
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(185, 33, 45, .18);
}

body.admin-page .admin-sidebar-nav-modern a.sidebar-logout:hover,
body.admin-page .admin-sidebar-bottom a.sidebar-logout:hover {
  background: #991b25;
  color: #fff !important;
}

body.admin-page .admin-sidebar-nav-modern a.sidebar-logout i,
body.admin-page .admin-sidebar-nav-modern a.sidebar-logout .admin-menu-arrow,
body.admin-page .admin-sidebar-bottom a.sidebar-logout i,
body.admin-page .admin-sidebar-bottom a.sidebar-logout .admin-menu-arrow {
  color: #fff !important;
}

body:not(.admin-page) .header-actions .green-btn,
body:not(.admin-page) .header-actions .outline-btn {
  min-height: 26px;
  min-width: auto;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.2;
}

@media (max-width: 900px) {
  body.admin-page {
    zoom: 100%;
  }

  body.admin-page .admin-head-actions {
    justify-content: stretch;
  }

  body.admin-page .admin-head-actions form {
    width: 100%;
  }
}
