:root {
  --lex-ink: #111827;
  --lex-muted: #5b6472;
  --lex-soft: #f6f1e8;
  --lex-panel: #ffffff;
  --lex-line: rgba(17, 24, 39, 0.12);
  --lex-brand: #9f5f19;
  --lex-brand-dark: #6f3f0e;
  --lex-accent: #0f766e;
  --lex-accent-soft: #dff5ef;
  --lex-danger: #b42318;
  --lex-shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --lex-radius: 28px;
  --lex-radius-sm: 16px;
  --lex-font: "Poppins", "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--lex-ink);
  background:
    radial-gradient(circle at top left, rgba(159, 95, 25, 0.12), transparent 34rem),
    linear-gradient(180deg, #fffaf2 0%, #ffffff 38%, #f8fafc 100%);
  font-family: var(--lex-font);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--lex-brand-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.lex-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.lex-section {
  padding: clamp(56px, 7vw, 104px) 0;
}

.lex-section-muted {
  background: linear-gradient(135deg, rgba(246, 241, 232, 0.92), rgba(223, 245, 239, 0.55));
}

.lex-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--lex-line);
  border-radius: 999px;
  color: var(--lex-accent);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lex-section-title {
  max-width: 760px;
  margin: 18px auto 36px;
  text-align: center;
}

.lex-section-title h2,
.lex-section-title h3 {
  margin: 0 0 12px;
  color: var(--lex-ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.lex-section-title p {
  margin: 0;
  color: var(--lex-muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.lex-button,
.btn-get-started,
.enrollbtn,
.enrollcourse,
.login100-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--lex-brand), var(--lex-brand-dark));
  box-shadow: 0 14px 32px rgba(111, 63, 14, 0.22);
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lex-button:hover,
.btn-get-started:hover,
.enrollbtn:hover,
.enrollcourse:hover,
.login100-form-btn:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(111, 63, 14, 0.28);
}

.lex-button-secondary,
.lex-hero-secondary {
  color: var(--lex-ink) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid var(--lex-line) !important;
  box-shadow: none !important;
}

#header.lex-header,
#header.header-transparent {
  min-height: 76px;
  padding: 10px 0;
  background: rgba(255, 250, 242, 0.88) !important;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: none;
}

#header .container-fluid {
  width: min(1220px, calc(100% - 24px));
  margin-inline: auto;
  padding-inline: 0;
}

.lex-logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 140px;
}

.lex-logo-link img,
.img-top-logo {
  width: 168px !important;
  max-height: 56px;
  object-fit: contain;
  margin-left: 0 !important;
}

#navbar ul {
  align-items: center;
  gap: 4px;
}

#navbar a,
#navbar a:focus {
  color: var(--lex-ink);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

#navbar a:hover,
#navbar .active,
#navbar .active:focus,
#navbar li:hover > a {
  color: var(--lex-brand-dark);
  background: rgba(159, 95, 25, 0.1);
}

#navbar .dropdown ul {
  border: 1px solid var(--lex-line);
  border-radius: 18px;
  box-shadow: var(--lex-shadow);
  overflow: hidden;
}

.lex-nav-cta {
  color: #fff !important;
  background: var(--lex-ink) !important;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.07);
}

#hero.lex-hero {
  min-height: auto;
  padding: clamp(126px, 14vw, 168px) 0 clamp(64px, 8vw, 96px);
  background:
    radial-gradient(circle at 12% 22%, rgba(159, 95, 25, 0.22), transparent 22rem),
    radial-gradient(circle at 88% 12%, rgba(15, 118, 110, 0.18), transparent 28rem),
    linear-gradient(135deg, #fff8eb 0%, #ffffff 54%, #eefaf6 100%);
  overflow: hidden;
}

.lex-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.lex-hero h1 {
  max-width: 780px;
  margin: 18px 0;
  color: var(--lex-ink);
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.lex-hero h1 span {
  color: var(--lex-brand-dark);
}

.lex-hero-copy {
  max-width: 650px;
  color: var(--lex-muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.78;
}

.lex-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.lex-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lex-trust-row li {
  padding: 9px 12px;
  border: 1px solid var(--lex-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--lex-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.lex-hero-panel {
  position: relative;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--lex-shadow);
  backdrop-filter: blur(18px);
}

.lex-hero-panel::before {
  content: "";
  position: absolute;
  inset: -24px -16px auto auto;
  width: 170px;
  height: 170px;
  border-radius: 46px;
  background: rgba(15, 118, 110, 0.12);
  transform: rotate(12deg);
  z-index: -1;
}

.lex-score-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--lex-ink);
  color: #fff;
}

.lex-score-card strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.lex-score-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.lex-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.lex-mini-card,
.lex-feature-card,
.lex-resource-card,
.lex-testimonial-card {
  border: 1px solid var(--lex-line);
  border-radius: var(--lex-radius-sm);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
}

.lex-mini-card {
  padding: 16px;
}

.lex-mini-card b {
  display: block;
  color: var(--lex-ink);
  font-size: 1.18rem;
}

.lex-mini-card span {
  color: var(--lex-muted);
  font-size: 0.86rem;
}

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

.lex-feature-card,
.lex-resource-card {
  padding: 24px;
}

.lex-feature-card h3,
.lex-resource-card h3,
.lex-testimonial-card h3 {
  margin: 0 0 10px;
  color: var(--lex-ink);
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.lex-feature-card p,
.lex-resource-card p,
.lex-testimonial-card p {
  margin: 0;
  color: var(--lex-muted);
  line-height: 1.72;
}

.courses {
  padding: clamp(56px, 7vw, 96px) 0;
}

.courses .pageheading {
  margin: 0;
  color: var(--lex-ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.055em;
  text-align: center;
}

.courses .sectionheading {
  max-width: 720px;
  margin: 14px auto 34px;
  text-align: center;
}

.courses .sectionheading p {
  color: var(--lex-muted);
  line-height: 1.72;
}

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

#featured-courses .lex-course-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.lex-course-card,
.coursecard {
  height: 100%;
  border: 1px solid var(--lex-line);
  border-radius: 26px;
  background: var(--lex-panel);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lex-course-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.lex-course-card:hover,
.coursecard:hover {
  transform: translateY(-4px);
  box-shadow: var(--lex-shadow);
}

.lex-course-media,
.courseimg {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(159, 95, 25, 0.12));
  overflow: hidden;
}

#featured-courses .lex-course-media {
  aspect-ratio: 16 / 9;
  min-height: 238px;
}

.lex-course-media img,
.courseimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lex-course-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 24, 39, 0.86);
  font-size: 0.75rem;
  font-weight: 800;
}

.lex-course-body,
.coursedetails {
  padding: 20px;
}

.lex-course-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  padding: 26px;
}

.lex-course-body h3,
.coursename {
  display: block;
  min-height: auto;
  margin: 0 0 10px;
  color: var(--lex-ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.lex-course-body h3 {
  margin: 0;
  min-height: 3.05em;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.22;
}

.lex-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.lex-course-meta li {
  padding: 7px 10px;
  border: 1px solid var(--lex-line);
  border-radius: 999px;
  color: var(--lex-muted);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.lex-course-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  min-height: 34px;
}

.lex-course-price strong {
  color: var(--lex-brand-dark);
  font-size: 1.32rem;
}

.lex-course-price del {
  color: #8a94a3;
  font-size: 0.9rem;
}

.lex-course-card .enrollbtn {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  min-height: 54px;
  margin: 2px 0 0 !important;
  padding: 14px 18px !important;
  font-size: 1rem;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: break-word;
}

.faq,
.testimonials {
  padding: clamp(56px, 7vw, 88px) 0 !important;
}

.faq .section-header h3,
.testimonials .section-header h3 {
  color: var(--lex-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.faq .faq-list li {
  border: 1px solid var(--lex-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

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

.lex-testimonial-card {
  padding: 22px;
}

.lex-testimonial-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.lex-auth-page,
.loginpage {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(159, 95, 25, 0.18), transparent 28rem),
    linear-gradient(135deg, #fff8eb, #eefaf6);
}

.container-login100 {
  background: transparent !important;
}

.wrap-login100 {
  border: 1px solid var(--lex-line);
  border-radius: 34px;
  box-shadow: var(--lex-shadow);
}

.login100-form-title {
  color: var(--lex-ink) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em;
}

.input100 {
  border: 1px solid transparent !important;
}

.input100:focus {
  border-color: rgba(15, 118, 110, 0.35) !important;
}

.loginform,
.loginformlg,
.signupform {
  border-radius: 28px !important;
  border: 1px solid var(--lex-line);
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--lex-shadow);
}

.signupheading,
.loginform h3,
.signupform h3 {
  color: var(--lex-ink) !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em;
}

.loginform .form-control,
.signupform .form-control,
.form .form-control {
  min-height: 48px;
  border: 1px solid rgba(17, 24, 39, 0.14) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.loginform .form-control:focus,
.signupform .form-control:focus,
.form .form-control:focus {
  border-color: rgba(15, 118, 110, 0.55) !important;
}

.btncheck,
.btn-primary,
.msg_submit {
  border-radius: 999px !important;
}

.lex-field-note {
  color: var(--lex-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.lex-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.courseheader,
.coursesection,
.mastsidebar {
  border: 1px solid var(--lex-line);
  border-radius: 28px !important;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.courseheader h1 {
  color: var(--lex-ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.coursefeatures {
  display: inline-flex !important;
  align-items: center;
  margin: 8px 8px 8px 0 !important;
  padding: 8px 12px;
  border: 1px solid var(--lex-line);
  border-radius: 999px;
  color: var(--lex-muted);
  background: #fff;
}

.coursesection h2 {
  color: var(--lex-ink);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}

@media (max-width: 991px) {
  #header.lex-header,
  #header.header-transparent {
    min-height: 66px;
  }

  .lex-hero-grid,
  .lex-card-grid,
  .lex-course-grid,
  .lex-testimonial-grid {
    grid-template-columns: 1fr;
  }

  #featured-courses .lex-course-grid {
    grid-template-columns: 1fr;
  }

  #hero.lex-hero {
    padding-top: 104px;
  }

  .lex-hero-panel {
    order: -1;
  }

  .social-links {
    display: none;
  }
}

@media (max-width: 575px) {
  .lex-shell {
    width: min(100% - 22px, 1180px);
  }

  .lex-hero h1 {
    font-size: clamp(2.35rem, 15vw, 3.4rem);
  }

  .lex-hero-actions .lex-button,
  .lex-hero-actions .btn-get-started {
    width: 100%;
  }

  .lex-mini-grid {
    grid-template-columns: 1fr;
  }

  .lex-logo-link img,
  .img-top-logo {
    width: 138px !important;
  }
}

/* Visibility and overlap guardrails for legacy + redesigned pages */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-padding-top: 94px;
}

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

main,
section,
article,
aside,
header,
footer,
nav,
.container,
.container-fluid,
.row,
[class*="col-"],
.lex-shell,
.lex-section,
.lex-panel,
.courseheader,
.coursesection,
.coursecard,
.coursedetails,
.mastcontent,
.mastsidebar,
.mastsidebarmobile,
.blog-post,
.blog-card,
.testimonial-item,
.loginform,
.signupform,
.wrap-login100 {
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
blockquote,
figcaption,
label,
small,
span,
a,
button,
.btn,
.lex-button,
.coursefeatures,
.coursecontent,
.coursedetails,
.faq-list,
.accordion-button,
.navbar a,
.dropdown-menu,
.card,
.card-body,
.table,
td,
th {
  overflow-wrap: break-word;
  word-break: normal;
}

a,
button,
.btn,
.lex-button,
.msg_submit,
.msg_submit11,
input[type="submit"] {
  white-space: normal;
}

img,
picture,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

iframe,
embed,
object {
  max-width: 100%;
}

.videowrapper,
.videointro,
.lex-video-frame,
.ratio {
  width: 100%;
  max-width: 100%;
}

.videowrapper iframe,
.videointro iframe,
.lex-video-frame iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
}

.courseimg,
.blog-img,
.post-img,
.testimonial-img,
.lex-media-frame {
  overflow: hidden;
}

.courseimg img,
.blog-img img,
.post-img img,
.testimonial-img img,
.lex-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coursecard,
.coursedetails,
.coursehighlights,
.courseheader,
.coursesection,
.mastcontent,
.mastsidebar,
.mastsidebarmobile,
.testimonial-item,
.blog-card,
.card,
.loginform,
.signupform,
.wrap-login100 {
  height: auto !important;
  max-width: 100%;
  overflow: visible;
}

.courseheader,
.coursesection,
.coursecard,
.blog-card,
.testimonial-item,
.lex-panel {
  isolation: isolate;
}

.coursefeatures {
  max-width: 100%;
  flex-wrap: wrap;
  vertical-align: top;
}

.navbar,
.navbar ul,
.navbar li,
.dropdown,
.dropdown-menu {
  min-width: 0;
}

.navbar .dropdown ul,
.navbar .dropdown-menu,
.dropdown-menu {
  max-width: calc(100vw - 24px);
  overflow-wrap: break-word;
  white-space: normal;
}

.navbar-mobile ul,
.navbar-mobile .dropdown ul {
  max-width: calc(100vw - 28px);
  overflow-x: hidden;
}

.sticky-container,
.lex-sticky-cta,
.sticky-enroll,
.fixed-bottom {
  max-width: 100vw;
  overflow: visible !important;
}

.sticky-container ul,
.sticky-container li,
.lex-sticky-cta {
  flex-wrap: wrap;
}

.table-responsive,
.dataTables_wrapper,
.cart-table,
.payment-table,
.lex-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  max-width: 100%;
}

pre,
code {
  max-width: 100%;
  white-space: pre-wrap;
}

input,
select,
textarea,
.form-control {
  max-width: 100%;
}

.footer-top .row,
.footer-contact,
.footer-newsletter,
.footer-links {
  row-gap: 24px;
}

@media (max-width: 991px) {
  .row {
    row-gap: 22px;
  }

  .mastcontent,
  .mastsidebar,
  .mastsidebarmobile,
  .courseheader,
  .coursesection {
    width: 100% !important;
  }

  .navbar .dropdown ul,
  .navbar .dropdown-menu,
  .dropdown-menu {
    position: static;
    width: 100%;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .container,
  .container-fluid,
  .lex-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .courseheader,
  .coursesection,
  .coursecard,
  .coursedetails,
  .loginform,
  .signupform,
  .wrap-login100,
  .lex-panel {
    border-radius: 18px !important;
  }

  .courseheader h1,
  .lex-hero h1,
  h1 {
    line-height: 1.08;
  }

  .videowrapper iframe,
  .videointro iframe,
  .lex-video-frame iframe {
    min-height: 190px;
  }

  table:not(.dataTable) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* UI/UX audit pass: legacy pages, course detail, auth, footer and account safety */
.detail-navbar,
.bsnav,
.navbar {
  max-width: 100%;
}

.detail-navbar .container-fluid,
.bsnav .container-fluid {
  min-width: 0;
  gap: 10px;
}

.detail-navbar .navbar-brand,
.bsnav .navbar-brand {
  display: inline-flex;
  align-items: center;
  max-width: min(48vw, 240px);
  min-width: 0;
}

.detail-navbar .navbar-brand img,
.bsnav .navbar-brand img {
  width: auto !important;
  max-width: min(190px, 48vw) !important;
  height: auto !important;
  max-height: 70px;
  object-fit: contain;
}

.detail-navbar .navbar-toggler,
.bsnav .navbar-toggler,
.cdetail-top-nav {
  position: relative !important;
  inset: auto !important;
  margin-left: auto;
  transform: none !important;
  flex: 0 0 auto;
}

.detail-navbar .navbar-collapse,
.bsnav .navbar-collapse {
  min-width: 0;
}

.detail-navbar .navbar-nav,
.bsnav .navbar-nav {
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.detail-navbar .nav-link,
.bsnav .nav-link {
  max-width: 100%;
  padding: 10px 12px !important;
}

.detail-navbar .dropdown-menu,
.bsnav .dropdown-menu {
  max-height: min(72vh, 540px);
  overflow-y: auto;
}

.maincontent,
.mastcontent {
  width: 100% !important;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mastcontent > .row,
.courseheader,
.coursesection {
  margin-left: 0;
  margin-right: 0;
}

.mastsidebar[style],
.mastsidebarmobile[style] {
  width: 100% !important;
  top: auto !important;
  z-index: auto !important;
}

.mastsidebar {
  position: sticky;
  top: 86px;
}

.courseheader del,
.courseprice,
.enrollcourse,
.addToCart,
.course-enroll {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  line-height: 1.35;
}

.courseprice {
  margin-right: 10px;
}

.enrollcourse,
.addToCart,
.course-enroll {
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px !important;
  border-radius: 999px;
  white-space: normal;
}

.thim-course-menu-landing {
  overflow: visible !important;
  padding: 8px 14px;
}

.thim-course-menu-landing .thim-course-landing-tab,
.thim-course-menu-landing .thim-course-landing-button {
  float: none !important;
}

.thim-course-menu-landing .thim-course-landing-tab {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.thim-course-menu-landing .thim-course-landing-tab li {
  margin-right: 0 !important;
  line-height: 1.35 !important;
}

.thim-course-menu-landing .thim-course-landing-button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.owl-carousel,
.owl-stage-outer,
.swiper,
.swiper-container,
.glightbox-container {
  max-width: 100%;
}

.owl-carousel .owl-stage {
  display: flex;
}

.owl-carousel .owl-item {
  min-width: 0;
}

#footer,
#footer .footer-top,
#footer .footer-info,
#footer .footer-links,
#footer .footer-newsletter,
#footer .form {
  max-width: 100%;
  overflow-wrap: break-word;
}

#footer .footer-newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#footer .footer-newsletter input[type="email"],
#footer .footer-newsletter input[type="submit"] {
  min-width: min(100%, 220px);
  flex: 1 1 220px;
}

#footer .footer-top .social-links {
  flex-wrap: wrap;
  gap: 8px;
}

#footer .footer-top .social-links a {
  margin: 0 !important;
}

.loginpage {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 118, 110, 0.15), transparent 34%),
    linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.loginpage .row.no-gutters,
.loginpage .loginform,
.loginpage .loginformlg {
  max-width: 100%;
  overflow: visible;
}

.loginpage .loginform,
.loginpage .loginformlg {
  height: auto !important;
  min-height: 0;
  margin-left: auto;
  margin-right: auto;
}

.loginpage .signupoffer img,
.loginpage .login100-pic img {
  width: min(100%, 280px) !important;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
}

.loginBtn {
  max-width: 100%;
  min-height: 42px;
  white-space: normal !important;
}

.wrap-login100,
.login100-form,
.login100-pic {
  min-width: 0;
}

.wrap-login100 {
  width: min(100%, 1020px) !important;
  overflow: visible !important;
}

.login100-form {
  max-width: 100%;
}

.wrap-input100,
.input100,
.login100-form-btn {
  max-width: 100%;
}

.symbol-input100 {
  pointer-events: none;
}

.alert-validate::before {
  max-width: min(88vw, 360px) !important;
  white-space: normal;
  z-index: 3;
}

.dataTables_wrapper .row {
  min-width: 0;
}

.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  max-width: 100%;
  overflow-wrap: break-word;
}

.embed-responsive,
.ratio,
.video-holder {
  overflow: hidden;
}

@media (max-width: 991px) {
  .mastsidebar {
    position: static;
  }

  .detail-navbar .navbar-nav,
  .bsnav .navbar-nav {
    align-items: stretch;
  }

  .detail-navbar .dropdown-menu,
  .bsnav .dropdown-menu {
    width: 100%;
    min-width: 0;
  }

  .thim-course-menu-landing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .thim-course-menu-landing .thim-course-landing-button {
    justify-content: stretch;
  }
}

@media (max-width: 767px) {
  .detail-navbar .container-fluid,
  .bsnav .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .detail-navbar .navbar-nav,
  .bsnav .navbar-nav {
    width: 100%;
    margin-top: 12px !important;
  }

  .detail-navbar .nav-link,
  .bsnav .nav-link {
    border-radius: 12px;
  }

  .courseheader,
  .coursesection {
    padding: 20px !important;
  }

  .enrollcourse,
  .addToCart,
  .course-enroll,
  .thim-course-menu-landing .thim-course-landing-button a,
  .thim-course-menu-landing .thim-course-landing-button button {
    width: 100%;
  }

  .thim-course-menu-landing .thim-course-landing-tab {
    display: none;
  }

  .loginpage .loginform,
  .loginpage .loginformlg {
    width: calc(100% - 24px) !important;
    margin-top: 96px !important;
    padding: 20px !important;
  }

  .wrap-login100 {
    padding: 72px 18px 28px !important;
  }

  .alert-validate::before {
    position: static !important;
    display: block;
    margin: 8px 0 0;
    transform: none !important;
  }

  .alert-validate::after {
    display: none;
  }
}
