/* =====================================================
   INDİKA RAJAPAKSHA - COMMERCE ACADEMY
   CLEAN FINAL STYLE.CSS
   Hero slider + industrial UI + mobile header fixes
===================================================== */

:root {
  --bg: #f7fafb;
  --surface: #ffffff;
  --surface-2: #eff7f7;

  --dark: #073d3a;
  --dark-2: #122227;
  --muted: #617478;
  --line: #deecec;

  --primary: #10b4a7;
  --primary-2: #079184;
  --accent: #19cabd;

  --black-industrial: #111827;
  --black-soft: #0f172a;

  --shadow: 0 18px 45px rgba(9, 31, 35, 0.10);
  --shadow-soft: 0 12px 30px rgba(9, 31, 35, 0.075);

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --container: 1190px;
}

/* =====================================================
   BASE
===================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--dark-2);
  font-size: 15.5px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* =====================================================
   TOP BAR
===================================================== */

.topbar {
  background: #ecf7f6;
  border-bottom: 1px solid #d9eeee;
  color: #4d666b;
  font-size: 13px;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--primary-2);
  font-weight: 700;
}

/* =====================================================
   HEADER / NAVIGATION
===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222, 236, 236, 0.9);
  box-shadow: 0 6px 22px rgba(9, 31, 35, 0.045);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #12b7aa, #073d3a);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 12px 24px rgba(7, 61, 58, 0.16);
}

.logo-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.site-logo {
  display: block !important;
  height: 52px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 29px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.1px;
}

.brand-text small {
  margin-top: 3px;
  color: var(--primary-2);
  font-size: 11px;
  letter-spacing: 1.55px;
  text-transform: uppercase;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #203a3e;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #073d3a, #079184);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(7, 61, 58, 0.16);
  z-index: 10002;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, #10b4a7, #079184);
  color: #fff;
  box-shadow: 0 12px 24px rgba(16, 180, 167, 0.24);
}

.btn-outline {
  background: #fff;
  color: #073d3a;
  border: 1px solid #d8e8e8;
}

.light-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.full-btn {
  width: 100%;
}

/* =====================================================
   HERO SLIDER
   Works with JS clone method. Always right-to-left.
===================================================== */

.hero-slider-section {
  position: relative;
  padding: 0;
  margin: 0;
  background: #f7fafb;
  overflow: hidden;
}

.hero-slider-section .hero-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: #f7fafb;
}

.hero-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  transform: translateX(0);
  will-change: transform;
}

.hero-slide {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  position: relative;
}

.hero-slide.active {
  display: block;
}

.hero-slide picture,
.hero-slide img {
  display: block;
  width: 100%;
}

.hero-slide img {
  object-position: center top;
}

.hero-arrow {
  display: none !important;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
}

.hero-dots button.active {
  width: 38px;
  border-radius: 999px;
  background: #fff;
}

/* Desktop hero divider */
@media (min-width: 768px) {
  .hero-slide img {
    height: auto;
    object-fit: contain;
  }

  .hero-slider::after,
  .section-dark::after {
    display: none;
    content: none;
  }

  .hero-slider-section::after {
    display: block;
    content: "";
    width: 100%;
    height: 76px;
    position: relative;
    margin-top: 0;
    background: linear-gradient(135deg, #073d3a 0%, #0a5752 42%, #10b4a7 100%);
    clip-path: polygon(0 0, 100% 42%, 100% 100%, 0 100%);
    z-index: 5;
  }

  .hero-slider-section + .section-dark {
    margin-top: -1px;
    padding-top: 72px;
  }
}

/* Mobile hero */
@media (max-width: 767px) {
  .hero-slide picture {
    aspect-ratio: 800 / 1100;
    overflow: hidden;
    background: #f7fafb;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: #f7fafb;
  }

  .hero-dots {
    bottom: 12px;
    z-index: 10;
  }

  .hero-slider::after,
  .section-dark::after {
    display: none;
    content: none;
  }

  .hero-slider-section::after {
    display: block;
    content: "";
    width: 100%;
    height: 46px;
    position: relative;
    margin-top: 0;
    background: linear-gradient(135deg, #073d3a 0%, #0a5752 45%, #10b4a7 100%);
    clip-path: polygon(0 0, 100% 36%, 100% 100%, 0 100%);
    z-index: 5;
  }

  .hero-slider-section + .section-dark {
    margin-top: -1px;
    padding-top: 58px;
  }
}

/* =====================================================
   SECTION HEADINGS
===================================================== */

.section {
  padding: 92px 0;
}

.section-head {
  position: relative;
  max-width: 760px;
  margin: 0 auto 42px;
  padding: 0;
  text-align: center;
}

.section-head::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(16, 180, 167, 0.10);
  right: 4%;
  top: -28px;
}

.section-head.light::before {
  background: rgba(255, 255, 255, 0.09);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  color: #079184;
  border: 1px solid #ddf0ef;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(9, 31, 35, 0.055);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b4a7;
  box-shadow: 0 0 0 5px rgba(16, 180, 167, 0.11);
}

.section-head.light .eyebrow {
  background: rgba(255, 255, 255, 0.94);
  color: #079184;
  border-color: rgba(255, 255, 255, 0.35);
}

.section-head h2 {
  margin: 13px 0 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0.15px;
  color: #102b31;
}

.section-head.light h2,
.section-head.light p {
  color: #fff;
}

.section-head p {
  max-width: 610px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.7;
  color: #718386;
}

.section-head.light p {
  color: rgba(255, 255, 255, 0.78);
}

/* =====================================================
   POPULAR / TOP CLASSES SECTION
===================================================== */

.section-dark {
  position: relative;
  overflow: hidden;
  padding-top: 96px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.055) 0 2px, transparent 2px),
    radial-gradient(circle at 88% 22%, rgba(16, 180, 167, 0.16), transparent 28%),
    linear-gradient(180deg, #083935 0%, #0a3d3a 100%);
  background-size: 34px 34px, auto, auto;
}

.section-dark::before,
.section-feedback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px);
  background-size: 36px 36px, 42px 42px;
  pointer-events: none;
}

.section-dark > .container {
  position: relative;
  z-index: 1;
}

.mini-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.mini-course-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.19);
}

.mini-course-card img {
  width: 100%;
  height: 142px;
  object-fit: cover;
  object-position: center;
}

.mini-course-body {
  min-height: 74px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  background: #fff;
}

.mini-course-body h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  line-height: 0.95;
  color: #10252b;
}

.mini-course-body span {
  display: block;
  margin-top: 4px;
  color: #617176;
  font-size: 12px;
}

.mini-course-body a {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eaf8f7;
  color: #079184;
  font-size: 0;
}

.mini-course-body a::before {
  content: '+';
  font-size: 17px;
  line-height: 1;
}

/* =====================================================
   TOP CLASS COURSES
===================================================== */

.feature-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-courses.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.feature-course-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(9, 31, 35, 0.09);
  border: 1px solid #e8f0f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(9, 31, 35, 0.13);
}

.feature-course-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.feature-course-body {
  padding: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf8f7;
  color: #079184;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.feature-course-body h3 {
  margin: 13px 0 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  line-height: 0.98;
  color: #102b31;
}

.feature-course-body ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.feature-course-body li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-course-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-2);
  font-weight: 800;
}

/* =====================================================
   STUDENT FEEDBACKS
===================================================== */

.section-feedback {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #0aa79c 0%, #0a9d93 100%);
  padding: 90px 0;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feedback-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 24px;
  color: #0f2329;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.feedback-card p {
  margin: 0 0 24px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #39565d;
}

.stars {
  color: #0aa79c;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.feedback-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feedback-user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.feedback-user strong {
  display: block;
}

.feedback-user span {
  display: block;
  color: #5e6e73;
  font-size: 14px;
  margin-top: 3px;
}

/* =====================================================
   CTA
===================================================== */

.cta-strip {
  padding: 78px 0 30px;
}

.cta-box {
  border-radius: 16px;
  padding: 36px 38px;
  background:
    linear-gradient(90deg, rgba(7, 61, 58, 0.92), rgba(7, 61, 58, 0.75)),
    url('../img/hero-slide-2-desktop.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 14px 0 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.02;
}

.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================================================
   PAGE HERO
===================================================== */

.page-hero {
  padding: 64px 0 54px;
  background:
    radial-gradient(circle at 78% 10%, rgba(16, 180, 167, 0.14), transparent 24%),
    linear-gradient(180deg, #ecf9f8, #f7fafb);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 14px 0 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 0.95;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  margin: 0;
}

/* =====================================================
   FORMS / TABLES / LOGIN
===================================================== */

.table-wrap,
.contact-card,
.form-card,
.login-side {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(220, 231, 232, 0.95);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 18px 16px;
  text-align: left;
}

.data-table thead {
  background: #11383d;
  color: #fff;
}

.data-table tbody tr:nth-child(even) {
  background: #f8fbfb;
}

.data-table tbody tr {
  border-top: 1px solid #e4eef0;
}

.contact-grid,
.login-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
}

.contact-card,
.login-side,
.form-card {
  padding: 26px;
}

.contact-card h3,
.login-side h3 {
  margin-top: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  line-height: 1;
}

.contact-list p {
  margin: 14px 0;
  color: var(--muted);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row.inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-row label {
  font-weight: 700;
  font-size: 14px;
  color: #18333a;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #d7e3e5;
  background: #f8fbfb;
}

.form-row textarea {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.login-page-main {
  min-height: calc(100vh - 210px);
  display: grid;
  place-items: center;
  padding: 82px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 180, 167, 0.12), transparent 25%),
    linear-gradient(180deg, #ecf9f8 0%, #f7fafb 100%);
}

.login-only-card {
  width: min(440px, calc(100% - 32px));
  border-radius: 18px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(207, 220, 222, 0.98);
  box-shadow: 0 18px 50px rgba(9, 31, 35, 0.12);
}

.login-only-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-only-header h1 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  line-height: 0.92;
  color: #101820;
  letter-spacing: 0.3px;
}

.login-only-header p {
  margin: 10px 0 0;
  color: #59696d;
  line-height: 1.6;
}

.login-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}

.login-logo {
  display: block;
  height: 74px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.login-only-card .form-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.login-only-card .form-row input {
  background: #f5f8f9;
  border-color: #cfdcde;
}

.login-only-card .form-row input:focus {
  outline: 3px solid rgba(5, 97, 93, 0.13);
  border-color: #05615d;
}

.login-mini-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
}

.login-mini-links a {
  color: #05615d;
  font-weight: 800;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
  margin-top: 42px;
  background: linear-gradient(180deg, #0a302f, #082322);
  color: #d7e8ea;
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 26px;
}

.footer-brand {
  color: #fff;
}

.footer p {
  color: #9fc1c4;
  line-height: 1.8;
  font-size: 14px;
}

.footer h4 {
  margin: 0 0 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  color: #fff;
}

.footer a {
  display: block;
  color: #b9d3d6;
  margin: 10px 0;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 28px;
  padding: 18px 0 28px;
  color: #a8c5c8;
  font-size: 14px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1150px) {
  .main-nav {
    gap: 16px;
  }

  .nav-cta .btn {
    padding: 0 16px;
  }

  .feature-courses,
  .feedback-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid,
  .login-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #deecec;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(9, 31, 35, 0.16);
    z-index: 10001;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 14px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: #eaf8f7;
    color: #079184;
  }
}

/* =====================================================
   MOBILE FINAL
===================================================== */

@media (max-width: 767px) {
  .topbar {
    display: none !important;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
  }

  .nav-wrap {
    min-height: 70px !important;
    gap: 8px !important;
  }

  .brand {
    flex: 1 !important;
    gap: 0 !important;
    min-width: 0 !important;
  }

  .brand-mark.logo-wrap {
    display: flex !important;
  }

  .brand-text {
    display: none !important;
  }

  .site-logo {
    height: 50px !important;
    max-width: 220px !important;
  }

  .nav-cta {
    margin-left: 0 !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
  }

  .nav-cta .btn-outline {
    display: none !important;
  }

  .nav-cta .btn-primary {
    min-height: 38px !important;
    padding: 0 15px !important;
    border-radius: 10px !important;
    background: #111827 !important;
    color: #ffffff !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18) !important;
    font-size: 0 !important;
    letter-spacing: 0.4px !important;
  }

  .nav-cta .btn-primary::before {
    content: "Login";
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .menu-toggle {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 38px !important;
    min-width: 42px !important;
    min-height: 38px !important;
    order: 99 !important;
    margin-left: 2px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #d7e2e3 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08) !important;
    color: transparent !important;
    font-size: 0 !important;
    touch-action: manipulation !important;
  }

  .menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #111827 !important;
  }

  .menu-toggle:hover,
  .menu-toggle:focus {
    background: #f7fafb !important;
    outline: none !important;
  }

  .main-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #dce8e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14) !important;
  }

  .main-nav a {
    color: #111827 !important;
    font-weight: 800 !important;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head::before {
    width: 84px;
    height: 84px;
    right: 0;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .section-head p {
    font-size: 14px;
  }

  .mini-course-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 420px;
  }

  .mini-course-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 520 / 300;
    object-fit: cover;
  }

  .mini-course-body {
    min-height: 70px;
    padding: 13px 14px;
    align-items: center;
  }

  .mini-course-body h3 {
    font-size: 18px;
  }

  .feature-courses,
  .feature-courses.two-col,
  .feedback-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-course-card img {
    height: 190px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }

  .footer {
    padding-top: 58px;
  }

  .page-hero {
    padding: 54px 0 44px;
  }

  .data-table {
    min-width: 680px;
  }

  .table-wrap {
    overflow-x: auto;
  }

  body:has(.login-page-main) .footer {
    margin-top: 0;
  }

  .login-page-main {
    min-height: calc(100dvh - 70px);
    padding: 28px 0;
    align-items: start;
  }

  .login-only-card {
    width: min(430px, calc(100% - 28px));
    padding: 22px;
    border-radius: 20px;
  }

  .login-only-header {
    margin-bottom: 24px;
  }

  .login-only-header h1 {
    font-size: 34px;
  }

  .login-only-header p {
    font-size: 14px;
    margin-top: 6px;
  }

  .login-logo {
    height: 66px !important;
    max-width: 240px !important;
  }

  .login-only-card .form-row {
    margin-bottom: 12px;
  }

  .login-mini-links {
    margin-top: 14px;
  }
}