

:root {
    --bg: #f7f3ee;
    --paper: #fffdf8;
    --ink: #101820;
    --muted: #667085;
    --line: #e7dfd5;
    --brand: #14342f;
    --brand-2: #0f5b4d;
    --accent: #f1b84b;
    --accent-2: #eaf7f2;
    --shadow: 0 22px 60px rgba(16, 24, 32, .10);
    --radius: 24px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    line-height: 1.6
}

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

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

.container {
    width: min(1180px, 92%);
    margin-inline: auto
}

.narrow {
    width: min(860px, 92%)
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 243, 238, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(231, 223, 213, .75)
}

.nav-wrap {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Plus Jakarta Sans', Inter, sans-serif
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: -.04em
}

.brand small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: -4px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 700;
    font-size: 14px
}

.main-nav a {
    position: relative
}

.main-nav>a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: .25s
}

.main-nav>a:hover::after,
.main-nav>a.active::after {
    width: 100%
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: .25s;
    cursor: pointer
}
 
.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 28px rgba(20, 52, 47, .22)
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--brand-2)
}

.btn-secondary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 28px rgba(20, 52, 47, .22)
}

.btn-secondary:hover{
    transform: translateY(-2px);
    background: var(--brand-2)
}

.premium-card:hover,
.course-card:hover,
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow)
}

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

.btn-outline {
    border-color: rgba(255, 255, 255, .25);
    color: #fff
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    gap: 5px;
    flex-direction: column
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    display: block
}
.homee-hero {
    position: relative;
    background:
        
        url("../images/home-image/ChatGPT\ Image\ Aug\ 6\,\ 2026\,\ 05_03_16\ PM.png") center right / cover no-repeat;
    min-height: 750px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero,
.page-hero {
    padding: 86px 0 70px;
    position: relative;
    overflow: hidden
}

.home-hero:before,
.page-hero:before {
    content: "";
    position: absolute;
    inset: -30% -10% auto auto;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(241, 184, 75, .28), transparent 65%);
    pointer-events: none
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px
}

.eyebrow:before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--accent);
    display: inline-block
}

h1,
h2,
h3 {
    font-family: 'Plus Jakarta Sans', Inter, sans-serif;
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -.045em
}

h1 {
    font-size: clamp(42px, 7vw, 82px)
}

h2 {
    font-size: clamp(30px, 4vw, 52px)
}

h3 {
    font-size: 22px
}

.hero p,
.page-hero p,
.section-title p {
    font-size: 18px;
    color: var(--muted);
    max-width: 720px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px
}

.trust-strip {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px
}

.trust-strip span,
.tool-cloud span,
.module-grid span {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    font-size: 13px;
    color: var(--brand)
}

.hero-media,
.page-visual {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    min-height: 420px
}

.hero-media img,
.page-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px
}

.floating-card {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    padding: 18px 22px;
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .12)
}

.floating-card span {
    display: block;
    color: var(--brand);
    font-weight: 900
}

.abstract-card {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(145deg, #14342f, #0f5b4d 58%, #f1b84b)
}

.abstract-card span {
    position: absolute;
    inset: 30px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 26px
}

.abstract-card b {
    font-size: 50px;
    color: white;
    font-family: 'Plus Jakarta Sans'
}

.abstract-card p {
    color: rgba(255, 255, 255, .78)
}

.section {
    padding: 92px 0
}

.subtle {
    background: var(--paper);
    border-block: 1px solid var(--line)
}

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

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

.card-grid.four {
    grid-template-columns: repeat(4, 1fr)
}

.premium-card,
.course-card,
.blog-card,
.contact-card,
.form-card,
.highlight-box,
.course-sidebar,
.course-main,
.article-side {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: .25s;
    box-shadow: 0 10px 30px rgba(16, 24, 32, .04)
}

.map-placeholder{
    width:100%;
    height:220px;
    overflow:hidden;
}

.premium-card p,
.course-card p,
.blog-card p,
.course-main p,
.legal-content p {
    color: var(--muted)
}

.icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--accent-2);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 18px
}

.stats-section {
    padding: 34px 0
}

.stats-grid {
    background: var(--brand);
    color: white;
    border-radius: 30px;
    padding: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.stats-grid div {
    border-right: 1px solid rgba(255, 255, 255, .18);
    padding: 12px
}

.stats-grid div:last-child {
    border-right: 0
}

.stats-grid strong {
    display: block;
    font-size: 34px;
    font-family: 'Plus Jakarta Sans';
    letter-spacing: -.04em
}

.stats-grid span {
    color: rgba(255, 255, 255, .72)
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center
}

.rounded-img {
    border-radius: 32px;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%
}

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

.course-card,
.blog-card {
    padding: 0;
    overflow: hidden
}

.course-card img {
    height: 240px;
    width: 100%;
    object-fit: cover
}

.course-card div,
.blog-card div {
    padding: 26px
}

.course-meta,
.blog-meta {
    color: var(--brand-2);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em
}

.btn-text,
.course-card a,
.blog-card a {
    color: var(--brand-2);
    font-weight: 900
}

.tools-band {
    background: linear-gradient(180deg, var(--bg), #eaf7f2)
}

.tool-cloud {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap
}

.faq-list {
    display: grid;
    gap: 14px
}

.faq-list details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px
}

.faq-list summary {
    font-weight: 900;
    cursor: pointer
}

.faq-list p {
    color: var(--muted)
}

.cta-section {
    padding: 80px 0
}

.cta-panel {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-radius: 34px;
    padding: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    position: relative
}

.cta-panel:after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(241, 184, 75, .22)
}

.cta-panel p {
    color: rgba(255, 255, 255, .75);
    max-width: 680px
}

.table-wrap {
    overflow: auto;
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--line)
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px
}

th,
td {
    text-align: left;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line)
}

th {
    background: var(--accent-2);
    color: var(--brand);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em
}

.course-detail-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 30px;
    align-items: start
}

.course-sidebar {
    position: sticky;
    top: 100px
}

.course-sidebar div {
    padding: 16px 0;
    border-bottom: 1px solid var(--line)
}

.course-sidebar span {
    display: block;
    color: var(--muted);
    font-size: 13px
}

.course-sidebar b {
    display: block;
    color: var(--brand)
}

.course-sidebar .btn {
    width: 100%;
    margin-top: 20px
}

.course-main h2 {
    margin-top: 34px;
    font-size: 34px
}

.check-list {
    padding-left: 0;
    list-style: none
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin: 12px 0;
    color: var(--muted)
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand);
    font-weight: 900
}

.module-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

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

.blog-card img {
    height: 210px;
    width: 100%;
    object-fit: cover
}

.article-hero {
    padding: 88px 0 42px;
    background: var(--paper);
    border-bottom: 1px solid var(--line)
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 34px;
    align-items: start
}

.article-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 36px
}

.article-cover {
    border-radius: 24px;
    margin-bottom: 28px;
    width: 100%;
    max-height: 460px;
    object-fit: cover
}

.article-content p {
    color: #3f4a54;
    font-size: 17px
}

.article-content h2 {
    font-size: 32px;
    margin-top: 34px
}

.article-img {
    border-radius: 18px;
    margin: 24px 0
}

.article-side {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 14px
}

.article-side a:not(.btn) {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
    color: var(--brand)
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px
}

.contact-list {
    display: grid;
    gap: 16px;
    margin: 24px 0
}

.contact-list div {
    background: var(--accent-2);
    border-radius: 18px;
    padding: 18px
}

.contact-list span {
    display: block;
    color: var(--muted);
    font-size: 13px
}

.map-placeholder {
    height: 260px;
    border-radius: 22px;
    background: linear-gradient(135deg, #dfeee9, #fff);
    display: grid;
    place-items: center;
    color: var(--brand);
    font-weight: 900;
    border: 1px dashed #b7c9c2
}

.enquiry-form {
    display: grid;
    gap: 16px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

label {
    font-weight: 800;
    color: var(--brand)
}

input,
select,
textarea {
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 14px;
    font: inherit;
    background: #fff;
    color: var(--ink)
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(15, 91, 77, .18);
    border-color: var(--brand-2)
}

.form-note {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

.legal-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 34px
}

.thank-you-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--accent-2);
    display: grid;
    place-items: center;
    color: var(--brand);
    font-size: 46px;
    font-weight: 900;
    margin-bottom: 20px
}

.footer {
    background: #101820;
    color: #fff;
    padding: 70px 0 22px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr 1fr;
    gap: 34px
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, .68)
}

.footer a {
    display: block;
    margin: 10px 0
}

.footer h4 {
    margin: 0 0 14px
}

.footer .brand-mark {
    background: var(--accent);
    color: #101820
}

.social-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.social-row span {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 12px
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .55);
    font-size: 14px
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.in-view {
    opacity: 1;
    transform: none
}

@media(max-width:980px) {
    .nav-toggle {
        display: flex
    }

    .main-nav {
        position: absolute;
        left: 4%;
        right: 4%;
        top: 78px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 22px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: var(--shadow)
    }

    .main-nav.open {
        display: flex
    }

    .hero-grid,
    .split-grid,
    .contact-grid,
    .article-layout,
    .course-detail-grid {
        grid-template-columns: 1fr
    }

    .card-grid,
    .card-grid.four,
    .course-grid,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .course-sidebar,
    .article-side {
        position: static
    }

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

    .stats-grid div {
        border: 0
    }

    .hero-media,
    .page-visual,
    .hero-media img,
    .page-visual img {
        min-height: 320px
    }
}

@media(max-width:640px) {
    .nav-wrap {
        height: 70px
    }

    .hero,
    .page-hero {
        padding: 56px 0 44px
    }

    h1 {
        font-size: 40px
    }

    .section {
        padding: 62px 0
    }

    .card-grid,
    .card-grid.four,
    .course-grid,
    .blog-grid,
    .footer-grid,
    .form-row,
    .stats-grid {
        grid-template-columns: 1fr
    }

    .cta-panel {
        padding: 34px;
        align-items: flex-start;
        flex-direction: column
    }

    .footer-bottom {
        display: block
    }

    .hero-actions .btn {
        width: 100%
    }

    .course-card img,
    .blog-card img {
        height: 190px
    }

    .article-content {
        padding: 22px
    }

    .main-nav {
        top: 70px
    }

    .brand small {
        display: none
    }
}
/* Extra Home Page Sections: Certificate, Outcomes, Hands-on Training */

.certificate-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(241, 184, 75, .16), transparent 34%),
    radial-gradient(circle at 90% 70%, rgba(15, 91, 77, .10), transparent 35%),
    var(--bg);
}

.certificate-points {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.certificate-points div {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(16, 24, 32, .04);
}

.certificate-points strong {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-2);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.certificate-points span {
  font-weight: 800;
  color: var(--ink);
}

.certificate-card {
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.certificate-card:before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 26px;
  pointer-events: none;
}

.certificate-card:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(241, 184, 75, .25);
}

.certificate-inner {
  min-height: 390px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  padding: 42px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cert-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.certificate-inner h3 {
  font-size: clamp(30px, 4vw, 48px);
  color: #fff;
}

.certificate-inner p {
  color: rgba(255, 255, 255, .78);
  max-width: 460px;
}

.cert-line {
  width: 180px;
  height: 1px;
  background: rgba(255, 255, 255, .35);
  margin: 28px 0 16px;
}

.certificate-inner small {
  color: rgba(255, 255, 255, .70);
  font-weight: 700;
}

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

.outcome-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: .25s;
  box-shadow: 0 10px 30px rgba(16, 24, 32, .04);
}

.outcome-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.outcome-card > span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 20px;
}

.outcome-card h3 {
  margin-bottom: 16px;
}

.outcome-card .check-list {
  margin: 0;
}

.hands-on-section {
  background:
    linear-gradient(180deg, var(--bg), #eaf7f2);
}

.hands-on-visual {
  min-height: 470px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, .72), rgba(15, 91, 77, .76)),
    url("../images/uploads/2024/07/home3d.jpg");
  background-size: cover;
  background-position: center;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.training-panel {
  background-color: #073b3a;
  backdrop-filter: blur(14px);
  border-radius: 26px;
  padding: 28px;
  max-width: 420px;
}

.training-panel span {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.training-panel h3 {
  margin-top: 12px;
  font-size: 34px;
}

.training-panel p {
  color: var(--muted);
}

.mini-training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mini-training-grid div {
  background: rgba(255, 255, 255, .90);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 900;
  color: var(--brand);
}

.training-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.training-list div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  transition: .25s;
}

.training-list div:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 34px rgba(16, 24, 32, .07);
}

.training-list strong {
  display: block;
  color: var(--brand);
  font-size: 18px;
  margin-bottom: 6px;
}

.training-list p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .hands-on-visual {
    min-height: 400px;
  }

  .mini-training-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .certificate-inner {
    min-height: 320px;
    padding: 28px;
  }

  .certificate-card {
    padding: 18px;
  }

  .outcome-card {
    padding: 24px;
  }

  .training-panel h3 {
    font-size: 28px;
  }

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

/* =====================================================
   ABOUT PAGE - TEAM, IMPACT AND YOUTUBE VIDEO SECTIONS
===================================================== */

.team-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(241, 184, 75, 0.16), transparent 30%),
    var(--bg);
}

.team-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.team-image {
  position: relative;
  min-height: 500px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--brand);
}

.team-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.team-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(16, 24, 32, 0.72));
  pointer-events: none;
}

.team-image-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  border-radius: 20px;
  padding: 18px 20px;
  color: #fff;
  background: rgba(20, 52, 47, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.team-image-badge strong {
  display: block;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 18px;
  margin-bottom: 4px;
}

.team-image-badge span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.team-content > p {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
}

.team-points {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.team-points > div {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: 0.25s ease;
}

.team-points > div:hover {
  transform: translateX(7px);
  box-shadow: 0 16px 38px rgba(16, 24, 32, 0.08);
}

.team-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-2);
  color: var(--brand);
  font-weight: 900;
}

.team-points strong {
  display: block;
  color: var(--brand);
  font-size: 17px;
  margin-bottom: 4px;
}

.team-points p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}


/* Our Impact */

.impact-section {
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.impact-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  transition: 0.25s ease;
  overflow: hidden;
}

.impact-card:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  top: -56px;
  right: -46px;
  border-radius: 50%;
  background: rgba(241, 184, 75, 0.22);
  transition: 0.25s ease;
}

.impact-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.impact-card:hover:before {
  transform: scale(1.2);
}

.impact-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  margin-bottom: 24px;
}

.impact-card h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
}

.impact-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.impact-banner {
  margin-top: 32px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.impact-banner .eyebrow {
  color: var(--accent);
}

.impact-banner h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(24px, 3vw, 37px);
}


/* YouTube Videos */

.youtube-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(15, 91, 77, 0.12), transparent 30%),
    var(--bg);
}

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

.video-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: 0.25s ease;
}

.video-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--brand);
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-content {
  padding: 24px;
}

.video-tag {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-2);
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.video-content h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.video-content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.video-cta {
  margin-top: 34px;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.video-cta p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}


/* Tablet Responsive */

@media (max-width: 980px) {
  .team-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .team-image,
  .team-image img {
    min-height: 410px;
  }

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

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

  .video-card:last-child {
    grid-column: span 2;
    max-width: 560px;
    width: 100%;
    justify-self: center;
  }
}


/* Mobile Responsive */

@media (max-width: 640px) {
  .team-layout {
    gap: 26px;
  }

  .team-image,
  .team-image img {
    min-height: 330px;
    border-radius: 24px;
  }

  .team-image-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 15px;
    border-radius: 16px;
  }

  .team-image-badge strong {
    font-size: 16px;
  }

  .team-image-badge span {
    font-size: 12px;
  }

  .team-points {
    gap: 12px;
  }

  .team-points > div {
    align-items: flex-start;
    padding: 16px;
  }

  .team-points > div:hover {
    transform: none;
  }

  .team-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
  }

  .impact-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .impact-card {
    min-height: auto;
    padding: 24px;
  }

  .impact-banner {
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .impact-banner .btn {
    width: 100%;
  }

  .video-card,
  .video-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .video-content {
    padding: 20px;
  }

  .video-cta {
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .video-cta .btn {
    width: 100%;
  }
}


/* ==========================================
   OUR PLACED STUDENTS - COMPLETE CSS
========================================== */

.placed-students-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(241, 184, 75, 0.16), transparent 28%),
    radial-gradient(circle at 92% 75%, rgba(15, 91, 77, 0.10), transparent 34%),
    var(--bg);
}

.placed-students-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.placed-student-card {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.placed-student-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(241, 184, 75, 0.18);
  pointer-events: none;
  transition: transform 0.25s ease;
}

.placed-student-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.placed-student-card:hover::before {
  transform: scale(1.15);
}

/* Top profile row */

.placed-student-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.student-profile {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-width: 0;
  flex: 1;
}

/* Bigger student image */

.student-avatar {
  width: 104px;
  height: 104px;
  min-width: 104px;
  overflow: hidden;
  border: 3px solid var(--brand-2);
  border-radius: 25px;
  background: var(--brand-2);
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.13);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.student-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.student-avatar span {
  display: none;
}

.student-avatar.avatar-fallback span {
  display: block;
}

/* Student name in middle marked area */

/* .student-profile-name {
  min-width: 0;
  flex: 1;
  padding-top: 35px;
}

.student-profile-name h3 {
  margin: 0;
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.student-profile-name p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}  */
  .student-profile-name {
  min-width: 0;
  flex: 1;
  padding-top: 80px;
  white-space: nowrap;
}

.student-profile-name h3 {
  margin: 0;
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.student-profile-name p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  .student-profile-name {
    padding-top: 30px;
  }

  .student-profile-name h3 {
    font-size: 18px;
    white-space: nowrap;
  }

  .student-profile-name p {
    font-size: 12px;
    white-space: nowrap;
  }
}

/* Placed student badge */

.placed-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-2);
  color: var(--brand);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Company box */

.student-company {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 17px;
  background: rgba(15, 91, 77, 0.06);
}

.student-company span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-company strong {
  color: var(--brand);
  font-size: 16px;
  font-weight: 900;
}

/* Student note */

.student-note {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Course tag */

.student-course-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(15, 91, 77, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

/* Tablet */

@media (max-width: 980px) {
  .placed-students-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .placed-student-card {
    min-height: 360px;
  }
}

/* Mobile */

@media (max-width: 640px) {
  .placed-students-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .placed-student-card {
    min-height: auto;
    padding: 22px;
    border-radius: 22px;
  }

  .placed-student-card:hover {
    transform: none;
  }

  .placed-student-top {
    margin-bottom: 20px;
  }

  .student-profile {
    gap: 13px;
  }

  .student-avatar {
    width: 88px;
    height: 88px;
    min-width: 88px;
    border-radius: 22px;
  }

  .student-profile-name {
    padding-top: 28px;
  }

  .student-profile-name h3 {
    font-size: 18px;
  }

  .student-profile-name p {
    font-size: 12px;
  }

  .placed-badge {
    padding: 6px 9px;
    font-size: 9px;
  }

  .student-note {
    font-size: 13px;
  }
}

/* Small mobile */

@media (max-width: 390px) {
  .placed-student-top {
    flex-direction: column;
  }

  .student-avatar {
    width: 96px;
    height: 96px;
    min-width: 96px;
  }

  .student-profile-name {
    padding-top: 32px;
  }

  .placed-badge {
    margin-top: 2px;
  }
}


/* =========================================================
   PREMIUM INTERACTIONS, SCROLL MOTION & HOMEPAGE UPDATES
========================================================= */

:root {
  --ease-out: cubic-bezier(.22, .8, .25, 1);
}

/* All CTA buttons: left-to-right light sweep */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), color .28s var(--ease-out), background .28s var(--ease-out), border-color .28s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 0;
  background: rgba(255,255,255,.18);
  transition: width .35s var(--ease-out);
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(20, 52, 47, .20);
}

.btn-primary:hover {
  background: var(--brand-2);
}

.btn-secondary::before,
.btn-light::before,
.btn-outline::before {
  background: var(--brand);
}

.btn-secondary:hover,
.btn-light:hover {
  color: #fff;
  border-color: var(--brand);
}

.btn-outline:hover {
  color: var(--brand);
  border-color: #fff;
}

/* Global scroll reveal: works on every main section */
main > section {
  transition: transform .75s var(--ease-out), opacity .75s ease;
}

main > section.section-motion {
  opacity: 0;
  transform: translateY(34px);
}

main > section.section-motion.section-motion-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

/* stronger hover motion on cards */
.premium-card,
.course-card,
.blog-card,
.contact-card,
.form-card,
.highlight-box,
.outcome-card,
.video-card,
.impact-card {
  will-change: transform;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s ease;
}

.premium-card:hover,
.course-card:hover,
.blog-card:hover,
.contact-card:hover,
.form-card:hover,
.highlight-box:hover,
.outcome-card:hover,
.video-card:hover,
.impact-card:hover {
  transform: translateY(-10px);
  border-color: rgba(15, 91, 77, .32);
}

/* Stats: clearer individual counters */
.stats-section {
  padding: 38px 0 18px;
}

.stats-grid.stats-grid-updated {
  padding: 14px;
  gap: 12px;
  background: linear-gradient(135deg, #113a34, #0f5b4d);
  box-shadow: 0 22px 55px rgba(20, 52, 47, .20);
}

.stats-grid-updated .stat-item {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 168px;
  padding: 24px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255,255,255,.07);
  transition: transform .3s var(--ease-out), background .3s ease;
}

.stats-grid-updated .stat-item::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  top: -45px;
  right: -40px;
  border-radius: 50%;
  background: rgba(241,184,75,.20);
}

.stats-grid-updated .stat-item:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,.14);
}

.stats-grid-updated .stat-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--brand);
  background: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

.stats-grid-updated .stat-item strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 35px);
  line-height: 1.12;
  letter-spacing: -.05em;
}

.stats-grid-updated .stat-item span:last-child {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 700;
}

/* Study modes: 300 x 300 professional interactive cards */
.study-modes-section {
  background: linear-gradient(180deg, var(--bg), #eef7f4);
}

.study-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  gap: 28px;
}

.study-mode-card {
  position: relative;
  width: 300px;
  height: 300px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(16,24,32,.05);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s ease;
}

.study-mode-card::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(241,184,75,.16);
  transition: transform .4s var(--ease-out);
}

.study-mode-card:hover {
  transform: translateY(-12px);
  background: #fff;
  box-shadow: 0 22px 48px rgba(16,24,32,.14);
}

.study-mode-card:hover::before {
  transform: scale(1.35);
}

.study-mode-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  transition: transform .35s var(--ease-out), rotate .35s var(--ease-out);
}

.study-mode-card:hover .study-mode-icon {
  transform: translateX(8px) rotate(-5deg);
}

.study-mode-icon.icon-offline { background: linear-gradient(135deg, #405f72, #5a7a8a); }
.study-mode-icon.icon-recorded { background: linear-gradient(135deg, #a86c1c, #d69e3c); }

.study-mode-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.study-mode-number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: rgba(20,52,47,.35);
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 17px;
  font-weight: 900;
}

.study-mode-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 23px;
}

.study-mode-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* About welcome: highlights-based redesign */
.welcome-section {
  background: linear-gradient(180deg, var(--bg), #f2f8f5);
}

.welcome-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.welcome-copy p {
  max-width: 600px;
  color: var(--muted);
  font-size: 16px;
}

.welcome-copy .btn {
  margin-top: 10px;
}

.welcome-highlights {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(15,91,77,.14);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.welcome-highlights::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(241,184,75,.22);
}

.welcome-highlight-feature {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.welcome-mark {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.welcome-highlight-feature small {
  display: block;
  color: var(--brand-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.welcome-highlight-feature h3 {
  max-width: 310px;
  margin: 7px 0 0;
  font-size: 22px;
}

.welcome-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.welcome-point {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border: 1px solid transparent;
  border-radius: 17px;
  transition: transform .25s var(--ease-out), border-color .25s ease, background .25s ease;
}

.welcome-point:hover {
  transform: translateX(7px);
  border-color: var(--line);
  background: #fff;
}

.welcome-point > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--brand);
  background: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
}

.welcome-point strong {
  display: block;
  color: var(--brand);
  font-size: 16px;
}

.welcome-point p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Responsive updates */
@media (max-width: 980px) {
  .study-modes-grid { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .study-mode-card:last-child { grid-column: 1 / -1; justify-self: center; }
  .welcome-layout { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid-updated .stat-item { min-height: 150px; }
}

@media (max-width: 640px) {
  main > section.section-motion { transform: translateY(22px); }
  .stats-section { padding: 20px 0 8px; }
  .stats-grid.stats-grid-updated { padding: 10px; }
  .stats-grid-updated .stat-item { min-height: 138px; padding: 20px 16px; }
  .stats-grid-updated .stat-item strong { font-size: 25px; }
  .study-modes-grid { grid-template-columns: 1fr; gap: 18px; }
  .study-mode-card,
  .study-mode-card:last-child { width: min(100%, 300px); height: 300px; justify-self: center; grid-column: auto; }
  .welcome-highlights { padding: 20px; border-radius: 24px; }
  .welcome-highlight-feature { gap: 13px; }
  .welcome-mark { width: 62px; height: 62px; flex-basis: 62px; font-size: 15px; border-radius: 18px; }
  .welcome-highlight-feature h3 { font-size: 19px; }
  .welcome-point { padding: 13px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
/* 2504 css start for demo */
/* ==========================================
   SOCIAL WORKSPACE HERO + FLOATING LOGOS
========================================== */

.social-workspace-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: #fffdf8;
  padding: 100px 20px 80px;
}

.social-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(20, 52, 47, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 52, 47, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
}

.social-workspace-hero::before {
  content: "";
  position: absolute;
  inset: auto 10% 0;
  height: 48%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 253, 248, 0) 0%,
    #fffdf8 74%
  );
  pointer-events: none;
}

.social-hero-content {
  width: min(760px, 100%);
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-label {
  display: inline-flex;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(20, 52, 47, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-hero-content h1 {
  margin: 0;
  color: #1c302d;
  font-size: clamp(48px, 6.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.social-hero-content p {
  margin: 30px auto 34px;
  color: #233430;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
}

.social-hero-form {
  width: min(640px, 100%);
  margin: 0 auto 13px;
  padding: 5px;
  display: flex;
  gap: 6px;
  border: 1px solid rgba(20, 52, 47, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 25px rgba(20, 52, 47, 0.12);
}

.social-hero-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 15px 25px;
  margin: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.social-hero-form input:focus {
  outline: none;
  border: 0;
}

.social-hero-form button {
  position: relative;
  overflow: hidden;
  min-width: 220px;
  border: 0;
  border-radius: 999px;
  padding: 15px 21px;
  background: #a8e891;
  color: #14342f;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-hero-form button span {
  display: inline-block;
  margin-left: 8px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.social-hero-form button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(20, 52, 47, 0.18);
}

.social-hero-form button:hover span {
  transform: translateX(5px);
}

.social-hero-content small {
  color: #74807d;
  font-size: 12px;
}

/* Floating Logo Card */

.floating-logo {
  position: absolute;
  z-index: 2;
  width: 58px;
  height: 58px;
  padding: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 52, 47, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(16, 24, 32, 0.09);
  transition:
    transform 0.2s ease-out,
    box-shadow 0.25s ease,
    scale 0.25s ease;
  will-change: transform;
}

.floating-logo:hover {
  z-index: 5;
  scale: 1.16;
  box-shadow: 0 16px 30px rgba(16, 24, 32, 0.16);
}

.floating-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Desktop positions */

.logo-1 { top: 52px; left: 15%; }
.logo-2 { top: 60px; left: 30%; }
.logo-3 { top: 155px; left: 15%; }
.logo-4 { top: 310px; left: 18%; }
.logo-5 { bottom: 120px; left: 27%; }
.logo-6 { bottom: 63px; left: 41%; }

.logo-7 { top: 165px; right: 24%; }
.logo-8 { top: 415px; right: 18%; }
.logo-9 { top: 168px; right: 15%; }
.logo-10 { bottom: 72px; right: 16%; }
.logo-11 { top: 58px; right: 28%; }
.logo-12 { top: 315px; right: 14%; }

/* Tablet */

@media (max-width: 980px) {
  .social-workspace-hero {
    min-height: 650px;
  }

  .floating-logo {
    width: 50px;
    height: 50px;
    padding: 10px;
  }

  .logo-1 { top: 70px; left: 8%; }
  .logo-2 { top: 80px; left: 27%; }
  .logo-3 { top: 180px; left: 8%; }
  .logo-4 { top: 340px; left: 11%; }
  .logo-5 { bottom: 72px; left: 22%; }
  .logo-6 { bottom: 40px; left: 43%; }

  .logo-7 { top: 170px; right: 16%; }
  .logo-8 { top: 415px; right: 8%; }
  .logo-9 { top: 178px; right: 5%; }
  .logo-10 { bottom: 70px; right: 8%; }
  .logo-11 { top: 74px; right: 21%; }
  .logo-12 { top: 326px; right: 5%; }
}

/* Mobile */

@media (max-width: 640px) {
  .social-workspace-hero {
    min-height: 650px;
    padding: 90px 18px 70px;
  }

  .social-grid-bg {
    background-size: 36px 36px;
  }

  .social-hero-content h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .social-hero-content p {
    margin: 23px auto 27px;
    font-size: 17px;
  }

  .social-hero-form {
    flex-direction: column;
    padding: 6px;
    border-radius: 22px;
  }

  .social-hero-form input {
    width: 100%;
    padding: 15px 16px;
  }

  .social-hero-form button {
    width: 100%;
    min-width: auto;
    padding: 15px;
  }

  .floating-logo {
    width: 42px;
    height: 42px;
    padding: 8px;
    border-radius: 8px;
  }

  .logo-1 { top: 55px; left: 7%; }
  .logo-2 { top: 70px; left: auto; right: 17%; }
  .logo-3 { top: 180px; left: 7%; }
  .logo-4 { top: 305px; left: 5%; }
  .logo-5 { bottom: 75px; left: 14%; }
  .logo-6 { bottom: 33px; left: 42%; }

  .logo-7 { top: 165px; right: 6%; }
  .logo-8 { top: 344px; right: 5%; }
  .logo-9 { top: 245px; right: 5%; }
  .logo-10 { bottom: 60px; right: 6%; }
  .logo-11,
  .logo-12 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-logo,
  .social-hero-form button,
  .social-hero-form button span {
    transition: none;
  }
}

/* =========================================================
   BIM MANTRA — PREMIUM UI/UX REFINEMENT
   Added as a non-destructive enhancement layer
========================================================= */
:root{
  --bg:#f5f8f4;
  --paper:#ffffff;
  --ink:#082e2d;
  --muted:#526a68;
  --line:#d7e5df;
  --brand:#073b3a;
  --brand-2:#0d756f;
  --accent:#a8e633;
  --accent-2:#e8f8e2;
  --shadow:0 20px 50px rgba(7,59,58,.12);
  --shadow-soft:0 10px 28px rgba(7,59,58,.08);
  --radius:26px;
  --ease-premium:cubic-bezier(.2,.75,.25,1);
}

html { scroll-padding-top: 104px; }
body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:-.012em;
  text-rendering:optimizeLegibility;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:9999;
  width:var(--scroll-progress,0%);
  height:3px;
  background:linear-gradient(90deg,var(--accent),#d9ff8d 45%,var(--brand-2));
  box-shadow:0 2px 12px rgba(168,230,51,.55);
  transition:width .08s linear;
}
.site-header{
  transition:background .35s var(--ease-premium),box-shadow .35s var(--ease-premium),border-color .35s var(--ease-premium);
}
.site-header.is-scrolled{
  background:rgba(255,255,255,.82);
  border-color:rgba(7,59,58,.11);
  box-shadow:0 10px 28px rgba(7,59,58,.08);
}
.nav-wrap{ transition:height .35s var(--ease-premium); }
.site-header.is-scrolled .nav-wrap{ height:70px; }

/* Premium type scale */
h1,h2,h3,h4{
  color:var(--brand);
  font-family:"Plus Jakarta Sans",Inter,sans-serif;
  font-weight:800;
  text-wrap:balance;
}
h1{
  font-size:clamp(2.55rem,5.7vw,5.35rem);
  line-height:1.02;
  letter-spacing:-.065em;
}
h2{
  font-size:clamp(2rem,3.75vw,3.7rem);
  line-height:1.08;
  letter-spacing:-.052em;
}
h3{
  font-size:clamp(1.15rem,1.65vw,1.52rem);
  line-height:1.18;
  letter-spacing:-.035em;
}
p{ color:var(--muted); font-size:clamp(.96rem,1.2vw,1.08rem); line-height:1.72; }
.section{ position:relative; padding:clamp(4.5rem,8vw,7.5rem) 0; }
.section-title{ margin-bottom:clamp(2rem,4vw,3.5rem); }
.section-title p{ max-width:680px; margin-inline:auto; }
.eyebrow{
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  color:var(--brand-2);
  background:rgba(168,230,51,.18);
  font-size:clamp(.66rem,.8vw,.76rem);
  letter-spacing:.14em;
}
.eyebrow::before{ width:18px; background:var(--brand-2); }

/* Buttons — lime CTA with left-to-right premium fill */
.btn,
button.btn,
.enquiry-form button{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:48px;
  border-radius:999px;
  font-size:.93rem;
  letter-spacing:-.01em;
  transform:translateZ(0);
  transition:color .35s var(--ease-premium),transform .35s var(--ease-premium),box-shadow .35s var(--ease-premium),border-color .35s var(--ease-premium),background .35s var(--ease-premium);
}
.btn::before,
button.btn::before,
.enquiry-form button::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  width:0;
  background:linear-gradient(90deg,#bdf067,#a8e633 55%,#90d929);
  transition:width .45s var(--ease-premium);
}
.btn:hover,
button.btn:hover,
.enquiry-form button:hover{
  transform:translateY(-4px) scale(1.015);
  box-shadow:0 17px 30px rgba(7,59,58,.17);
}
.btn:hover::before,
button.btn:hover::before,
.enquiry-form button:hover::before{width:100%;}
.btn-primary{
  border-color:var(--accent);
  background:var(--accent);
  color:var(--brand);
  box-shadow:0 11px 23px rgba(168,230,51,.28);
}
.btn-primary:hover{ color:var(--brand); background:var(--accent); }
.btn-secondary{
  border-color:rgba(7,59,58,.25);
  color:var(--brand);
  background:#fff;
}
.btn-secondary::before{ background:linear-gradient(90deg,#f2ffe0,#dffab0); }
.btn-light{ color:var(--brand); }
.nav-cta{ padding-inline:22px; }

/* Common elevation, focus points and cards */
.premium-card,.course-card,.blog-card,.contact-card,.form-card,.highlight-box,
.course-sidebar,.course-main,.article-side,.faq-list details,.legal-content{
  border-color:rgba(7,59,58,.11);
  box-shadow:var(--shadow-soft);
}
.premium-card,.course-card,.blog-card,.contact-card,.form-card,.highlight-box{
  position:relative;
  overflow:hidden;
}
.premium-card::after,.course-card::after,.blog-card::after,.contact-card::after,.form-card::after{
  content:"";
  position:absolute;
  inset:auto 18px 0;
  height:3px;
  border-radius:999px 999px 0 0;
  background:linear-gradient(90deg,var(--accent),transparent);
  opacity:.86;
  transform:scaleX(.28);
  transform-origin:left;
  transition:transform .4s var(--ease-premium);
}
.premium-card:hover,.course-card:hover,.blog-card:hover,.contact-card:hover,.form-card:hover,
.highlight-box:hover{
  transform:translateY(-8px);
  border-color:rgba(13,117,111,.28);
  box-shadow:0 24px 48px rgba(7,59,58,.14);
}
.premium-card:hover::after,.course-card:hover::after,.blog-card:hover::after,
.contact-card:hover::after,.form-card:hover::after{transform:scaleX(1);}
.icon-badge{
  color:var(--brand);
  background:linear-gradient(135deg,#e8f8e2,#c7f07b);
  box-shadow:inset 0 0 0 1px rgba(7,59,58,.05);
}
.check-list li{
  padding:11px 13px 11px 34px;
  margin:8px 0;
  border-radius:12px;
  background:linear-gradient(90deg,rgba(232,248,226,.82),rgba(255,255,255,.25));
}
.check-list li::before{ top:12px; left:12px; color:var(--brand-2); }
.trust-strip span,.tool-cloud span,.module-grid span{
  border-color:rgba(7,59,58,.12);
  background:rgba(255,255,255,.8);
  transition:transform .25s var(--ease-premium),box-shadow .25s var(--ease-premium);
}
.trust-strip span:hover,.tool-cloud span:hover,.module-grid span:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 18px rgba(7,59,58,.1);
}

/* Hero stronger hierarchy */
.hero,.page-hero{
  background:
    radial-gradient(circle at 85% 18%,rgba(168,230,51,.22),transparent 25rem),
    radial-gradient(circle at 10% 78%,rgba(13,117,111,.09),transparent 28rem);
}
.home-hero .hero-copy,.page-hero .hero-grid > div:first-child{position:relative;z-index:1;}
.hero h1,.page-hero h1{
  max-width:15ch;
  margin-bottom:22px;
}
.hero p,.page-hero p{ max-width:63ch; }
.hero-media,.page-visual{
  border:1px solid rgba(7,59,58,.12);
  box-shadow:0 30px 65px rgba(7,59,58,.18);
}
.hero-media img,.page-visual img{ transition:transform .7s var(--ease-premium); }
.hero-media:hover img,.page-visual:hover img{ transform:scale(1.045); }
.floating-card{ border:1px solid rgba(7,59,58,.12); }

/* Stats redesign */
.stats-section{
  padding:24px 0;
  background:transparent;
}
.stats-grid.stats-grid-updated{
  padding:16px;
  gap:14px;
  border:1px solid rgba(7,59,58,.12);
  border-radius:32px;
  background:linear-gradient(135deg,#073b3a 0%,#0d756f 100%);
  box-shadow:0 28px 52px rgba(7,59,58,.22);
}
.stats-grid-updated .stat-item{
  position:relative;
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:26px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  background:rgba(255,255,255,.09);
  backdrop-filter:blur(8px);
  overflow:hidden;
  transition:transform .35s var(--ease-premium),background .35s ease;
}
.stats-grid-updated .stat-item::after{
  content:"";
  position:absolute;
  width:110px;height:110px;right:-42px;bottom:-48px;border-radius:50%;
  background:rgba(168,230,51,.25);
}
.stats-grid-updated .stat-item:hover{transform:translateY(-7px);background:rgba(255,255,255,.15);}
.stats-grid-updated .stat-icon{position:relative;z-index:1;color:var(--accent);font-size:24px;}
.stats-grid-updated .stat-item strong{
  position:relative;z-index:1;
  margin-top:11px;
  color:#fff;
  font-size:clamp(1.55rem,2.4vw,2.35rem);
  font-family:"Plus Jakarta Sans",Inter,sans-serif;
  line-height:1;
}
.stats-grid-updated .stat-item span:last-child{
  position:relative;z-index:1;
  margin-top:10px;color:rgba(255,255,255,.78);
  font-size:.85rem;font-weight:700;
}

/* Study mode visible refinements */
.study-modes-section{
  background:linear-gradient(180deg,#f5f8f4,#e8f8e2);
}
.study-mode-card{
  border-color:rgba(7,59,58,.1);
  background:linear-gradient(155deg,#fff,#f8fff6);
  box-shadow:0 16px 32px rgba(7,59,58,.08);
}
.study-mode-card::before{ background:rgba(168,230,51,.25); }
.study-mode-card:hover{ border-color:rgba(13,117,111,.25); }
.study-mode-icon{
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  box-shadow:0 12px 20px rgba(7,59,58,.17);
}
.study-mode-icon.icon-offline{background:linear-gradient(135deg,#0d756f,#18a295);}
.study-mode-icon.icon-recorded{background:linear-gradient(135deg,#567b14,#8dba20);}
.study-mode-number{color:rgba(7,59,58,.5);}

/* Details & FAQ enhancement */
.faq-list details{
  position:relative;
  overflow:hidden;
  transition:transform .3s var(--ease-premium),box-shadow .3s var(--ease-premium),border-color .3s ease;
}
.faq-list details[open]{
  border-color:rgba(13,117,111,.28);
  box-shadow:0 16px 28px rgba(7,59,58,.09);
}
.faq-list details:hover{transform:translateX(4px);}
.faq-list summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  color:var(--brand);
}
.faq-list summary::after{content:"+";font-size:22px;color:var(--brand-2);transition:transform .3s var(--ease-premium);}
.faq-list details[open] summary::after{transform:rotate(45deg);}
.faq-list details p{ animation:faqReveal .35s var(--ease-premium) both; }
@keyframes faqReveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* Footer and form clarity */
.footer{background:linear-gradient(135deg,#062b2a,#073b3a 60%,#0b5f59);}
.footer .btn-outline{border-color:rgba(168,230,51,.52);color:#efffd0;}
input,select,textarea{
  min-height:49px;
  border-color:rgba(7,59,58,.15);
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s var(--ease-premium);
}
textarea{min-height:130px;}
input:focus,select:focus,textarea:focus{
  outline:0;
  border-color:var(--brand-2);
  box-shadow:0 0 0 4px rgba(168,230,51,.18);
  transform:translateY(-1px);
}
.form-note{font-size:.82rem;}

/* Controlled entrance animation system */
.page-ready main{animation:pageEnter .48s var(--ease-premium) both;}
@keyframes pageEnter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
.motion-ready{
  opacity:0;
  transform:translateY(26px);
  filter:blur(3px);
  transition:opacity .72s var(--ease-premium),transform .72s var(--ease-premium),filter .72s var(--ease-premium);
  will-change:transform,opacity;
}
.motion-ready.motion-in{opacity:1;transform:none;filter:none;}
.motion-left{transform:translateX(-36px);}.motion-right{transform:translateX(36px);}.motion-top{transform:translateY(-28px);}.motion-scale{transform:scale(.96);}
.motion-delay-1{transition-delay:.08s}.motion-delay-2{transition-delay:.16s}.motion-delay-3{transition-delay:.24s}.motion-delay-4{transition-delay:.32s}
.reveal{transition:opacity .7s var(--ease-premium),transform .7s var(--ease-premium);}

/* Responsive refinements */
@media(max-width:980px){
  .section{padding:clamp(4rem,8vw,5.6rem) 0;}
  .stats-grid.stats-grid-updated{grid-template-columns:repeat(2,1fr);}
  .stats-grid-updated .stat-item{min-height:155px;}
  .course-card img,.blog-card img{transition:transform .5s var(--ease-premium);}
}
@media(max-width:640px){
  body::before{height:2px;}
  .nav-wrap{height:70px;}
  .site-header.is-scrolled .nav-wrap{height:64px;}
  .main-nav{border-color:rgba(7,59,58,.12);box-shadow:0 20px 44px rgba(7,59,58,.15);}
  .section{padding:4rem 0;}
  .hero,.page-hero{padding:4rem 0 3.5rem;}
  .hero h1,.page-hero h1{max-width:100%;}
  .hero-actions{gap:11px;}
  .hero-actions .btn{width:100%;}
  .stats-grid.stats-grid-updated{grid-template-columns:1fr;padding:12px;border-radius:24px;}
  .stats-grid-updated .stat-item{min-height:132px;padding:20px;border-radius:18px;}
  .stats-grid-updated .stat-item strong{font-size:1.8rem;}
  .premium-card:hover,.course-card:hover,.blog-card:hover,.contact-card:hover,.form-card:hover,.highlight-box:hover{transform:translateY(-4px);}
  .motion-left,.motion-right{transform:translateY(20px);}
  .motion-top{transform:translateY(-18px);}
  .btn:hover,button.btn:hover,.enquiry-form button:hover{transform:translateY(-2px);}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}
  body::before{transition:none;}
}

/* =====================================================
   FINAL POLISH — BUTTON TEXT, ALIGNMENT & RICHER MOTION
===================================================== */

/* Keep button labels readable on every lime hover state */
.btn,
.btn:visited,
button.btn,
.enquiry-form button,
.hero-actions .btn,
.cta-panel .btn,
.impact-banner .btn,
.placement-success-banner .btn,
.video-cta .btn {
  color: var(--brand) !important;
  text-shadow: none;
}

.btn:hover,
.btn:focus-visible,
button.btn:hover,
button.btn:focus-visible,
.enquiry-form button:hover,
.enquiry-form button:focus-visible,
.hero-actions .btn:hover,
.cta-panel .btn:hover,
.impact-banner .btn:hover,
.placement-success-banner .btn:hover,
.video-cta .btn:hover {
  color: #071f1e !important;
}

.btn::before,
button.btn::before,
.enquiry-form button::before {
  z-index: 0;
}

.btn > *,
button.btn > *,
.enquiry-form button > * {
  position: relative;
  z-index: 1;
}

/* Better horizontal/vertical alignment across repeated section layouts */
.hero-grid,
.split-grid,
.welcome-layout,
.team-layout,
.contact-grid,
.course-detail-grid,
.article-layout {
  align-items: center;
}

.hero-grid > *,
.split-grid > *,
.welcome-layout > *,
.team-layout > *,
.contact-grid > *,
.course-detail-grid > *,
.article-layout > * {
  min-width: 0;
}

.card-grid,
.course-grid,
.blog-grid,
.impact-grid,
.video-grid,
.placed-students-grid,
.outcome-grid,
.study-modes-grid {
  align-items: stretch;
}

.card-grid > *,
.course-grid > *,
.blog-grid > *,
.impact-grid > *,
.video-grid > *,
.placed-students-grid > *,
.outcome-grid > *,
.study-modes-grid > * {
  height: 100%;
}

.course-card,
.blog-card,
.video-card,
.placed-student-card,
.study-mode-card {
  display: flex;
  flex-direction: column;
}

.course-card > div,
.blog-card > div,
.video-content {
  flex: 1;
}

.section-title {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.section-title .eyebrow {
  margin-bottom: 2px;
}

.section-title h2 {
  text-wrap: balance;
}

.section-title p {
  text-wrap: pretty;
}

/* More premium button animation; text always stays above the fill */
.btn,
button.btn,
.enquiry-form button {
  isolation: isolate;
  overflow: hidden;
  letter-spacing: .01em;
  transition: transform .35s var(--ease-premium), box-shadow .35s ease, color .35s ease, border-color .35s ease;
}

.btn::after,
button.btn::after,
.enquiry-form button::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -35%;
  width: 22%;
  height: 140%;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.62), transparent);
  transform: skewX(-22deg) translateX(-160%);
  transition: transform .65s ease, opacity .25s ease;
}

.btn:hover::after,
button.btn:hover::after,
.enquiry-form button:hover::after {
  opacity: .75;
  transform: skewX(-22deg) translateX(820%);
}

.btn:hover,
button.btn:hover,
.enquiry-form button:hover {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 18px 30px rgba(7,59,58,.18);
}

/* Soft animated accent line under every major heading */
.section-title h2,
.split-grid h2,
.welcome-copy h2,
.team-content h2,
.course-main h2,
.article-content h2 {
  position: relative;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #d7ff7c, transparent);
  transform-origin: left;
  animation: headingAccent 2.6s ease-in-out infinite alternate;
}

@keyframes headingAccent {
  from { transform: scaleX(.72); opacity: .75; }
  to { transform: scaleX(1); opacity: 1; }
}

/* Stronger but refined image and card motion */
.hero-media,
.page-visual,
.rounded-img,
.team-image,
.course-card img,
.blog-card img,
.article-cover,
.article-img {
  will-change: transform;
}

.hero-media,
.page-visual,
.team-image,
.rounded-img {
  transition: transform .5s var(--ease-premium), box-shadow .5s ease;
}

.hero-media:hover,
.page-visual:hover,
.team-image:hover,
.rounded-img:hover {
  transform: translateY(-7px) rotate(-.18deg);
  box-shadow: 0 30px 62px rgba(7,59,58,.20);
}

.course-card:hover img,
.blog-card:hover img {
  transform: scale(1.07);
}

.icon-badge,
.study-mode-icon,
.impact-icon,
.team-icon,
.welcome-mark,
.stat-icon {
  transition: transform .35s var(--ease-premium), box-shadow .35s ease;
}

.premium-card:hover .icon-badge,
.study-mode-card:hover .study-mode-icon,
.impact-card:hover .impact-icon,
.team-points > div:hover .team-icon,
.welcome-point:hover > span,
.stats-grid-updated .stat-item:hover .stat-icon {
  transform: translateY(-4px) rotate(-6deg) scale(1.1);
  box-shadow: 0 12px 20px rgba(7,59,58,.16);
}

/* More visible points and focus cards */
.check-list li,
.welcome-point,
.team-points > div,
.contact-list > div,
.course-sidebar > div {
  transition: transform .3s var(--ease-premium), background .3s ease, box-shadow .3s ease;
}

.check-list li:hover,
.welcome-point:hover,
.contact-list > div:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 23px rgba(7,59,58,.09);
}

/* Micro reveal classes are added by JS and keep section layouts stable */
.micro-motion {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease-premium), transform .65s var(--ease-premium);
  will-change: transform, opacity;
}

.micro-motion.micro-in {
  opacity: 1;
  transform: none;
}

.micro-motion.micro-from-left { transform: translateX(-24px); }
.micro-motion.micro-from-right { transform: translateX(24px); }
.micro-motion.micro-from-top { transform: translateY(-20px); }
.micro-motion.micro-in { transform: none; }

/* Mobile polish */
@media (max-width: 980px) {
  .section-title { justify-items: start; text-align: left; }
  .section-title h2::after { margin-left: 0; margin-right: 0; }
  .card-grid > *, .course-grid > *, .blog-grid > *, .impact-grid > *, .video-grid > *,
  .placed-students-grid > *, .outcome-grid > *, .study-modes-grid > * { height: auto; }
}

@media (max-width: 640px) {
  .btn,
  button.btn,
  .enquiry-form button { min-height: 50px; }

  .btn:hover,
  button.btn:hover,
  .enquiry-form button:hover { transform: translateY(-2px) scale(1.005); }

  .hero-media:hover,
  .page-visual:hover,
  .team-image:hover,
  .rounded-img:hover { transform: translateY(-3px); }

  .check-list li:hover,
  .welcome-point:hover,
  .contact-list > div:hover { transform: none; }

  .section-title h2::after { width: 54px; height: 3px; margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .section-title h2::after { animation: none; }
  .btn::after,
  button.btn::after,
  .enquiry-form button::after { display: none; }
}

/* =========================================================
   ACCESSIBILITY + CONTRAST REFINEMENT — FINAL VISIBILITY FIX
   Every button, dark block and hover state keeps readable text.
========================================================= */
:root {
  --ink-strong: #071f1e;
  --surface: #ffffff;
  --surface-soft: #f5fbf2;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255,255,255,.82);
}

/* Clear text hierarchy on light backgrounds */
body,
p,
li,
label,
input,
select,
textarea { color: var(--ink); }

h1, h2, h3, h4,
.section-title h2,
.premium-card h3,
.course-card h3,
.blog-card h3,
.contact-card h2,
.form-card h2,
.highlight-box h3,
.course-main h2,
.article-content h2 { color: var(--brand); }

.section-title p,
.premium-card p,
.course-card p,
.blog-card p,
.contact-card p,
.form-card p,
.article-content p { color: #52615e; }

/* Explicit dark-section contrast: headings/text never disappear */
.cta-panel,
.impact-banner,
.placement-success-banner,
.stats-grid.stats-grid-updated,
.footer,
.abstract-card,
.certificate-card,
.hands-on-visual {
  color: var(--on-dark);
}

.cta-panel h1, .cta-panel h2, .cta-panel h3,
.impact-banner h1, .impact-banner h2, .impact-banner h3,
.placement-success-banner h1, .placement-success-banner h2, .placement-success-banner h3,
.stats-grid.stats-grid-updated h1, .stats-grid.stats-grid-updated h2, .stats-grid.stats-grid-updated h3,
.footer h1, .footer h2, .footer h3, .footer h4,
.abstract-card h1, .abstract-card h2, .abstract-card h3,
.certificate-card h1, .certificate-card h2, .certificate-card h3,
.hands-on-visual h1, .hands-on-visual h2, .hands-on-visual h3 {
  color: var(--on-dark) !important;
}

.cta-panel p, .impact-banner p, .placement-success-banner p,
.stats-grid.stats-grid-updated p, .stats-grid.stats-grid-updated span,
.footer p, .footer a,
.abstract-card p, .certificate-card p, .hands-on-visual p {
  color: var(--on-dark-muted) !important;
}

/* Button text remains dark on lime, white and hover fills */
.btn,
.btn:link,
.btn:visited,
.btn-primary,
.btn-secondary,
.btn-light,
.enquiry-form button,
button.btn,
.hero-actions .btn,
.cta-panel .btn,
.impact-banner .btn,
.placement-success-banner .btn,
.video-cta .btn {
  position: relative;
  z-index: 0;
  color: var(--ink-strong) !important;
  background-color: #A8E633;
  border-color: #A8E633;
  text-shadow: none !important;
  font-weight: 850;
  /* width:100%; */
}
.btn.btn-light{
   width:20%;
}
.btn-secondary,
.btn-light {
  background-color: #ffffff;
  border-color: rgba(7,59,58,.32);
}

.btn-outline {
  background-color: transparent;
  color: #efffd0 !important;
  border-color: rgba(168,230,51,.72);
}

/* Layer order fixes: decorative fills stay under button labels */
.btn::before,
.btn::after,
button.btn::before,
button.btn::after,
.enquiry-form button::before,
.enquiry-form button::after {
  z-index: -1 !important;
}

.btn:hover,
.btn:focus-visible,
button.btn:hover,
button.btn:focus-visible,
.enquiry-form button:hover,
.enquiry-form button:focus-visible,
.hero-actions .btn:hover,
.cta-panel .btn:hover,
.impact-banner .btn:hover,
.placement-success-banner .btn:hover,
.video-cta .btn:hover {
  color: #061b1a !important;
  background-color: #B9EF5A;
  border-color: #B9EF5A;
  box-shadow: 0 18px 32px rgba(7,59,58,.24);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: #061b1a !important;
  background-color: #A8E633;
  border-color: #A8E633;
}

.btn:focus-visible,
button.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(168,230,51,.88);
  outline-offset: 3px;
}

/* Premium highlight surfaces for points and important content */
.premium-card,
.course-card,
.blog-card,
.contact-card,
.form-card,
.highlight-box,
.welcome-point,
.team-points > div,
.faq-list details,
.study-mode-card,
.impact-card,
.outcome-card {
  background-color: var(--surface);
}

.premium-card h3,
.course-card h3,
.blog-card h3,
.study-mode-card h3,
.impact-card h3,
.outcome-card h3,
.welcome-point strong,
.team-points strong,
.faq-list summary {
  color: var(--brand) !important;
}

/* Card hover spotlight follows mouse on desktop; no text color is changed */
@media (hover: hover) and (pointer: fine) {
  .premium-card,
  .course-card,
  .blog-card,
  .contact-card,
  .form-card,
  .study-mode-card,
  .impact-card,
  .outcome-card,
  .welcome-point,
  .team-points > div {
    background-image:
      radial-gradient(260px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(168,230,51,.16), transparent 42%),
      linear-gradient(155deg, #ffffff, #f8fff6);
    transition: transform .36s cubic-bezier(.22,.8,.25,1), box-shadow .36s ease, border-color .36s ease, background .36s ease;
  }
}

/* Better visual alignment for sections that were uneven */
.hero-grid,
.split-grid,
.welcome-layout,
.team-layout,
.contact-grid,
.course-detail-grid,
.article-layout {
  align-items: center !important;
}

.hero-grid > *,
.split-grid > *,
.welcome-layout > *,
.team-layout > *,
.contact-grid > *,
.course-detail-grid > *,
.article-layout > * {
  min-width: 0;
}

.card-grid,
.course-grid,
.blog-grid,
.impact-grid,
.video-grid,
.placed-students-grid,
.outcome-grid,
.study-modes-grid {
  align-items: stretch;
}

.card-grid > *,
.course-grid > *,
.blog-grid > *,
.impact-grid > *,
.video-grid > *,
.placed-students-grid > *,
.outcome-grid > *,
.study-modes-grid > * {
  min-width: 0;
  height: 100%;
}

/* Stronger, more visible stat treatment */
.stats-grid.stats-grid-updated {
  border: 1px solid rgba(168,230,51,.36);
}
.stats-grid-updated .stat-item {
  background: linear-gradient(155deg, rgba(255,255,255,.15), rgba(255,255,255,.06));
}
.stats-grid-updated .stat-item strong {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.stats-grid-updated .stat-item span:last-child {
  color: rgba(255,255,255,.92) !important;
}

/* Motion refinement: different but elegant reveal directions */
.motion-ready {
  backface-visibility: hidden;
  transform-origin: center bottom;
}
.motion-ready.motion-left { transform: translate3d(-34px, 14px, 0) rotate(-.35deg); }
.motion-ready.motion-right { transform: translate3d(34px, 14px, 0) rotate(.35deg); }
.motion-ready.motion-top { transform: translate3d(0, -28px, 0) scale(.985); }
.motion-ready.motion-scale { transform: translate3d(0, 18px, 0) scale(.96); }
.motion-ready.motion-in { transform: translate3d(0,0,0) rotate(0) scale(1); }

/* Gentle floating animation for selected visual blocks only */
@keyframes calmFloat {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-7px,0); }
}
.hero-media,
.page-visual,
.certificate-card {
  animation: calmFloat 6.5s ease-in-out infinite;
}
.hero-media:hover,
.page-visual:hover,
.certificate-card:hover { animation-play-state: paused; }

/* Keep image content readable with controlled overlays */
.hero-media::after,
.page-visual::after,
.team-image::after {
  pointer-events: none;
}

/* Responsive clarity */
@media (max-width: 980px) {
  .section-title { text-align: left; justify-items: start; }
  .section-title h2::after { margin-left: 0; }
  .hero-grid, .split-grid, .welcome-layout, .team-layout, .contact-grid { gap: clamp(1.5rem, 5vw, 2.5rem); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  p, li { font-size: 1rem; }
  .section-title p, .hero p, .page-hero p { font-size: 1rem; }
  .btn, button.btn, .enquiry-form button { min-height: 52px; width: auto; }
  .hero-actions .btn, .cta-panel .btn, .impact-banner .btn, .placement-success-banner .btn { width: 100%; }
  .motion-ready.motion-left,
  .motion-ready.motion-right,
  .motion-ready.motion-top,
  .motion-ready.motion-scale { transform: translate3d(0,18px,0); }
  .hero-media, .page-visual, .certificate-card { animation-duration: 8s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media, .page-visual, .certificate-card { animation: none !important; }
  .motion-ready { transition: none !important; filter: none !important; opacity: 1 !important; transform: none !important; }
}


/* =====================================================
   FINAL HORIZONTAL SCROLL FIX — FOOTER + FULL WEBSITE
   Prevents any unwanted left/right (X) scroll without
   changing layout or responsive behaviour.
===================================================== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

/* Keep all page wrappers inside the viewport */
.site-header,
main,
.footer,
section,
.container,
.nav-wrap,
.footer-grid,
.footer-bottom,
.cta-panel,
.stats-grid,
.hero-grid,
.page-hero,
.blog-grid,
.card-grid,
.course-grid,
.placed-students-grid,
.video-grid,
.impact-grid,
.outcome-grid,
.study-modes-grid {
  max-width: 100%;
}

/* Footer-specific protection */
.footer {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

.footer .container,
.footer-grid,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.footer-grid > *,
.footer-bottom > *,
.footer a,
.footer p,
.footer h4 {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom {
  gap: 16px;
  align-items: center;
}

/* Prevent visual animation layers from creating extra page width */
.cta-panel,
.certificate-card,
.impact-card,
.placed-student-card,
.study-mode-card,
.welcome-highlights,
.stats-grid-updated,
.hero-media,
.page-visual {
  overflow: hidden;
}

/* Mobile footer stays clean and never creates sideways scroll */
@media (max-width: 640px) {
  .footer .container,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 28px);
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .footer-bottom span {
    max-width: 100%;
  }
}


/* =====================================================
   COURSES DROPDOWN — DESKTOP + MOBILE
   Added for the menu without changing page links/routes.
===================================================== */
.main-nav .course-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav .course-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.main-nav .course-menu summary::-webkit-details-marker { display: none; }

.main-nav .course-menu summary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  transition: width .28s ease;
}

.main-nav .course-menu:hover summary::after,
.main-nav .course-menu[open] summary::after,
.main-nav .course-menu.active summary::after { width: 100%; }

.course-menu-arrow {
  display: inline-block;
  font-size: 18px;
  line-height: .8;
  transition: transform .28s ease;
}
.main-nav .course-menu[open] .course-menu-arrow { transform: rotate(180deg); }

.course-menu-list {
  position: absolute;
  top: calc(100% + 23px);
  left: 50%;
  z-index: 500;
  width: 230px;
  padding: 8px;
  border: 1px solid rgba(7, 59, 58, .12);
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 46px rgba(7, 59, 58, .18);
  transform: translateX(-50%);
}

.course-menu-list a {
  display: block;
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 10px;
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.course-menu-list a::after { display: none !important; }
.course-menu-list a:hover,
.course-menu-list a:focus-visible {
  background: var(--accent-2);
  color: var(--brand) !important;
  transform: translateX(4px);
}

/* Desktop: hover opens so menu feels immediate, click still works. */
@media (min-width: 981px) {
  .main-nav .course-menu:not([open]):hover .course-menu-list { display: block; }
}

/* Mobile / tablet: dropdown becomes an accordion inside existing hamburger menu. */
@media (max-width: 980px) {
  .main-nav > .course-menu { width: 100%; }
  .main-nav .course-menu { display: block; border-bottom: 1px solid var(--line); }
  .main-nav .course-menu summary {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
  }
  .main-nav .course-menu summary::after { display: none; }
  .course-menu-list {
    position: static;
    width: 100%;
    padding: 0 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .course-menu-list a {
    margin-top: 7px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(7, 59, 58, .10);
    background: #f4fbf8;
    white-space: normal;
  }
  .course-menu-list a:hover { transform: none; }
}

@media (max-width: 640px) {
  .main-nav .course-menu summary { font-size: 14px; }
  .course-menu-list a { font-size: 13px; }
}


/* =====================================================
   COURSES DROPDOWN — TRIANGLE ICON + HOVER MENU
   Desktop: hover Courses to reveal the menu.
   Mobile: tap Courses to expand the list.
===================================================== */
.course-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Keeps hover active while the pointer travels to the dropdown panel. */
.course-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -18px;
  width: calc(100% + 36px);
  height: 24px;
}

.course-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: color .28s ease;
}

.course-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width .28s ease;
}

/* Solid downward triangle, styled to match the supplied reference. */
.dropdown-triangle {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid currentColor;
  transform-origin: center;
  transition: transform .28s ease, color .28s ease;
}

.course-dropdown:hover .course-dropdown-toggle,
.course-dropdown.dropdown-open .course-dropdown-toggle,
.course-dropdown.active .course-dropdown-toggle {
  color: var(--brand-2);
}

.course-dropdown:hover .course-dropdown-toggle::after,
.course-dropdown.dropdown-open .course-dropdown-toggle::after,
.course-dropdown.active .course-dropdown-toggle::after {
  width: 100%;
}

.course-dropdown:hover .dropdown-triangle,
.course-dropdown.dropdown-open .dropdown-triangle {
  transform: rotate(180deg);
}

.course-dropdown-list {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  z-index: 9999;
  width: 250px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(7, 59, 58, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 48px rgba(7, 59, 58, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 14px) scale(.98);
  transform-origin: top center;
  transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
}

/* Hovering Courses on desktop opens the dropdown list. */
.course-dropdown:hover .course-dropdown-list,
.course-dropdown.dropdown-open .course-dropdown-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.course-dropdown-list a {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  min-height: 45px;
  margin: 0 !important;
  padding: 11px 14px !important;
  overflow: hidden;
  border-radius: 11px;
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  transition: color .25s ease, transform .25s ease;
}

.course-dropdown-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 11px;
  background: rgba(168, 230, 51, .38);
  transform: translateX(-102%);
  transition: transform .30s ease;
}

.course-dropdown-list a::after {
  content: "";
  width: 0;
  height: 7px;
  margin-right: 0;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-2);
  transition: width .25s ease, margin-right .25s ease;
}

.course-dropdown-list a:hover,
.course-dropdown-list a:focus-visible {
  color: var(--brand) !important;
  transform: translateX(5px);
}

.course-dropdown-list a:hover::before,
.course-dropdown-list a:focus-visible::before {
  transform: translateX(0);
}

.course-dropdown-list a:hover::after,
.course-dropdown-list a:focus-visible::after {
  width: 7px;
  margin-right: 8px;
}

@media (max-width: 980px) {
  .main-nav > .course-dropdown {
    width: 100%;
  }

  .course-dropdown {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .course-dropdown::after {
    display: none;
  }

  .course-dropdown-toggle {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    color: var(--ink);
    font-size: 15px;
  }

  .course-dropdown-toggle::after {
    display: none;
  }

  .course-dropdown-list {
    position: static;
    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none;
    transition: max-height .38s ease, padding .38s ease;
  }

  /* On a touch screen, hover must not reveal the menu. */
  .course-dropdown:hover .course-dropdown-list {
    max-height: 0;
    padding: 0;
    pointer-events: none;
  }

  .course-dropdown.dropdown-open .course-dropdown-list {
    max-height: 300px;
    padding: 8px 0 12px;
    pointer-events: auto;
  }

  .course-dropdown:hover .dropdown-triangle {
    transform: none;
  }

  .course-dropdown.dropdown-open .dropdown-triangle {
    transform: rotate(180deg);
  }

  .course-dropdown-list a {
    min-height: 43px;
    margin: 7px 0 !important;
    padding: 11px 14px !important;
    border: 1px solid rgba(7, 59, 58, .12);
    border-radius: 12px;
    background: var(--accent-2);
    color: var(--brand) !important;
    font-size: 13px;
    white-space: normal;
  }

  .course-dropdown-list a:hover,
  .course-dropdown-list a:focus-visible {
    transform: none;
    background: rgba(168, 230, 51, .38);
  }

  .course-dropdown-list a::before,
  .course-dropdown-list a::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .course-dropdown-toggle {
    min-height: 48px;
    font-size: 14px;
  }

  .dropdown-triangle {
    border-left-width: 5px;
    border-right-width: 5px;
    border-top-width: 6px;
  }
}

/* =====================================================
   BLOG LISTING VISIBILITY FIX
   The blog listing contains many cards. It must not use a
   section-level hidden animation, otherwise it can stay hidden
   until a very large part of the section enters the viewport.
===================================================== */
.blog-listing-section {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

.blog-listing-section .section-title,
.blog-listing-section .blog-grid > .blog-card {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  visibility: visible !important;
}

.blog-listing-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.blog-listing-section .blog-card {
  min-width: 0;
  min-height: 100%;
  animation: blogCardReveal .52s cubic-bezier(.22,.8,.25,1) both;
}

.blog-listing-section .blog-card:nth-child(3n + 1) { animation-delay: .05s; }
.blog-listing-section .blog-card:nth-child(3n + 2) { animation-delay: .12s; }
.blog-listing-section .blog-card:nth-child(3n) { animation-delay: .19s; }

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

.blog-listing-section .blog-card img {
  display: block;
  width: 100%;
  min-height: 210px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .blog-listing-section .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-listing-section .blog-card:nth-child(n) { animation-delay: .05s; }
}

@media (max-width: 640px) {
  .blog-listing-section .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .blog-listing-section .blog-card img {
    min-height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-listing-section .blog-card {
    animation: none !important;
  }
}


/* =====================================================
   BLOG CARDS: FULL-CARD CLICK + ACCESSIBLE FOCUS
   Every blog card opens its matching article on click.
===================================================== */
.blog-listing-section .blog-card[data-blog-card="true"] {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.blog-listing-section .blog-card[data-blog-card="true"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.blog-listing-section .blog-card[data-blog-card="true"] > div {
  position: relative;
  z-index: 1;
}

.blog-listing-section .blog-card[data-blog-card="true"] a {
  position: relative;
  z-index: 2;
}

.blog-listing-section .blog-card[data-blog-card="true"]:hover h3 {
  color: var(--brand-2) !important;
}

.blog-listing-section .blog-card[data-blog-card="true"]:hover .blog-meta {
  color: var(--brand) !important;
}

@media (max-width: 640px) {
  .blog-listing-section .blog-card[data-blog-card="true"] {
    cursor: default;
  }
}


/* =====================================================
   FINAL BLOG ORDER + DETAIL PAGE FIX
   - Latest posts are arranged first in blogs.html.
   - Blog listing and article detail content must always be visible.
===================================================== */
.blog-listing-section,
.blog-listing-section .section-title,
.blog-listing-section .blog-grid,
.blog-listing-section .blog-card,
.blog-listing-section .blog-card * {
  visibility: visible;
}

.blog-listing-section,
.blog-listing-section .section-title,
.blog-listing-section .blog-card {
  opacity: 1 !important;
  filter: none !important;
}

.blog-listing-section .blog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.25vw, 30px);
  align-items: stretch;
}

.blog-listing-section .blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(7, 59, 58, .10);
  box-shadow: 0 16px 36px rgba(7, 59, 58, .08);
  cursor: pointer;
  transform: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.blog-listing-section .blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 230, 51, .58);
  box-shadow: 0 22px 48px rgba(7, 59, 58, .14);
}

.blog-listing-section .blog-card img {
  width: 100%;
  height: 230px;
  min-height: 230px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.blog-listing-section .blog-card:hover img {
  transform: scale(1.055);
}

.blog-listing-section .blog-card > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.blog-listing-section .blog-meta {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(168, 230, 51, .22);
  color: var(--brand) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.blog-listing-section .blog-card h3 {
  color: var(--brand) !important;
  font-size: clamp(20px, 1.45vw, 25px);
  line-height: 1.16;
  margin-bottom: 12px;
}

.blog-listing-section .blog-card p {
  color: #536461 !important;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.blog-listing-section .blog-card a {
  margin-top: auto;
  color: var(--brand) !important;
  font-weight: 900;
  position: relative;
  z-index: 3;
}

.blog-listing-section .blog-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* Blog detail pages: no hidden content, better layout and readable article view. */
.blog-detail-page .article-hero .reveal,
.blog-detail-page .article-layout,
.blog-detail-page .article-layout > *,
.blog-detail-page .article-content,
.blog-detail-page .article-content *,
.blog-detail-page .article-side {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.blog-detail-page .article-layout {
  align-items: flex-start !important;
  gap: clamp(24px, 3vw, 42px);
}

.blog-detail-page .article-content {
  background: #ffffff;
  border: 1px solid rgba(7, 59, 58, .10);
  box-shadow: 0 18px 45px rgba(7, 59, 58, .08);
  color: var(--ink);
}

.blog-detail-page .article-content h2,
.blog-detail-page .article-content h3 {
  color: var(--brand) !important;
  margin-top: 34px;
  margin-bottom: 14px;
}

.blog-detail-page .article-content p,
.blog-detail-page .article-content li {
  color: #3d4f4c !important;
  font-size: 17px;
  line-height: 1.82;
}

.blog-detail-page .article-content .check-list li::before {
  color: var(--accent) !important;
}

.blog-detail-page .article-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 28px;
}

.blog-detail-page .article-side {
  position: sticky;
  top: 105px;
}

@media (max-width: 980px) {
  .blog-listing-section .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-detail-page .article-layout {
    grid-template-columns: 1fr !important;
  }

  .blog-detail-page .article-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .blog-listing-section .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-listing-section .blog-card img {
    height: 200px;
    min-height: 200px;
  }

  .blog-listing-section .blog-card > div {
    padding: 20px;
  }

  .blog-detail-page .article-content {
    padding: 22px;
    border-radius: 22px;
  }

  .blog-detail-page .article-content p,
  .blog-detail-page .article-content li {
    font-size: 16px;
    line-height: 1.75;
  }
}


/* BIM Mantra responsive brand logos */
.brand-logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
    margin: 0;
}

.brand-logo {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-header .brand-logo--header {
    width: clamp(176px, 16vw, 214px);
    max-height: 60px;
}

.footer .footer-brand {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 18px;
}

.footer .brand-logo--footer {
    width: min(260px, 100%);
    max-height: none;
}

@media (max-width: 640px) {
    .site-header .brand-logo--header {
        width: 168px;
        max-height: 50px;
    }
}

/* =====================================================
   GLOBAL ENQUIRY POPUP + FIXED APPLY BUTTON
   Shared across every website page through assets/js/script.js
===================================================== */
body.bim-popup-open {
  overflow: hidden;
}

/* Keep the header enquiry button a consistent size on desktop. */
.main-nav .nav-cta {
  min-width: 136px;
  min-height: 46px;
  flex: 0 0 auto;
  justify-content: center;
  white-space: nowrap;
}

.bim-side-apply {
  position: fixed;
  right: 0;
  top: 52%;
  z-index: 1200;
  width: 48px;
  height: 148px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 9px;
  border: 0;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, var(--accent), #d5ff80);
  color: var(--brand);
  box-shadow: 0 16px 38px rgba(7, 59, 58, .24);
  font: 900 14px/1 "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  cursor: pointer;
  transition: width .25s ease, box-shadow .25s ease, filter .25s ease;
}

.bim-side-apply:hover,
.bim-side-apply:focus-visible {
  width: 54px;
  filter: brightness(1.03);
  box-shadow: 0 20px 46px rgba(7, 59, 58, .30);
  outline: none;
}

.bim-side-whatsapp {
  position: fixed;
  right: 0;
  top: calc(52% + 84px);
  z-index: 1200;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px 0 0 16px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 16px 38px rgba(7, 59, 58, .24);
  text-decoration: none;
  transition: width .25s ease, box-shadow .25s ease, filter .25s ease;
}

.bim-side-whatsapp svg {
  width: 27px;
  height: 27px;
  display: block;
}

.bim-side-whatsapp:hover,
.bim-side-whatsapp:focus-visible {
  width: 54px;
  filter: brightness(.96);
  box-shadow: 0 20px 46px rgba(7, 59, 58, .30);
  outline: none;
}

.bim-popup {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.bim-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bim-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 34, 33, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.bim-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(168, 230, 51, .24), transparent 34%),
    #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
  transform: translateY(20px) scale(.97);
  transition: transform .28s cubic-bezier(.2, .75, .25, 1);
  scrollbar-width: thin;
}

.bim-popup.is-open .bim-popup-dialog {
  transform: translateY(0) scale(1);
}

.bim-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(7, 59, 58, .12);
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand);
  box-shadow: 0 8px 24px rgba(7, 59, 58, .10);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.bim-popup-close:hover,
.bim-popup-close:focus-visible {
  background: var(--accent-2);
  outline: 3px solid rgba(168, 230, 51, .45);
  outline-offset: 2px;
}

.bim-popup-kicker {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-2);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bim-popup-title {
  margin: 0 48px 8px 0;
  color: var(--brand);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
}

.bim-popup-copy {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.bim-popup-form {
  display: grid;
  gap: 16px;
}

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

.bim-popup-form label {
  display: grid;
  gap: 7px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.bim-popup-form input,
.bim-popup-form select,
.bim-popup-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbdad5;
  border-radius: 13px;
  background: #fbfdfc;
  color: var(--ink);
  font: 500 15px/1.4 Inter, sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.bim-popup-form textarea {
  min-height: 102px;
  resize: vertical;
}

.bim-popup-form input:focus,
.bim-popup-form select:focus,
.bim-popup-form textarea:focus {
  border-color: var(--brand-2);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(13, 117, 111, .12);
  outline: none;
}

.bim-popup-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 2px;
}

.bim-popup-submit[disabled] {
  cursor: wait;
  opacity: .72;
}

.bim-popup-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.bim-popup-contact-line a {
  color: var(--brand);
  font-weight: 800;
}

@media (max-width: 980px) {
  .main-nav .nav-cta {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .bim-side-apply {
    top: auto;
    right: 14px;
    bottom: 76px;
    width: auto;
    height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: .04em;
  }

  .bim-side-apply:hover,
  .bim-side-apply:focus-visible {
    width: auto;
  }

  .bim-side-whatsapp {
    top: auto;
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }

  .bim-side-whatsapp:hover,
  .bim-side-whatsapp:focus-visible {
    width: 48px;
  }

  .bim-popup {
    align-items: end;
    padding: 10px;
  }

  .bim-popup-dialog {
    width: 100%;
    max-height: 92vh;
    padding: 26px 18px 22px;
    border-radius: 24px 24px 18px 18px;
  }

  .bim-popup-title {
    font-size: 28px;
  }

  .bim-popup-form .bim-popup-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bim-popup,
  .bim-popup-dialog,
  .bim-side-apply,
  .bim-side-whatsapp {
    transition: none !important;
  }
}

/* =====================================================
   MOBILE NAVIGATION ALIGNMENT FIX
   Keeps every menu row, the Courses accordion and CTA
   aligned to the same full-width mobile grid.
===================================================== */
@media (max-width: 980px) {
  .site-header .nav-wrap {
    position: relative;
  }

  .site-header .main-nav {
    left: 4%;
    right: 4%;
    top: 78px;
    width: auto;
    max-height: calc(100dvh - 94px);
    margin: 0;
    padding: 12px 16px 16px;
    gap: 0;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-header .main-nav > a:not(.btn),
  .site-header .course-dropdown-toggle {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 4px;
    text-align: left;
    line-height: 1.35;
    box-sizing: border-box;
  }

  .site-header .main-nav > a:not(.btn) {
    border-bottom: 1px solid var(--line);
  }

  .site-header .main-nav > a:not(.btn)::after {
    display: none;
  }

  .site-header .main-nav > .course-dropdown {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .site-header .course-dropdown-toggle {
    justify-content: space-between;
  }

  .site-header .course-dropdown-list {
    width: 100%;
    box-sizing: border-box;
  }

  .site-header .course-dropdown.dropdown-open .course-dropdown-list,
  .site-header .course-dropdown:hover .course-dropdown-list {
    transform: none;
  }

  .site-header .course-dropdown.dropdown-open .course-dropdown-list {
    max-height: 520px;
    padding: 6px 0 12px;
  }

  .site-header .course-dropdown-list a {
    width: 100%;
    margin: 6px 0 0 !important;
    padding: 12px 14px !important;
    box-sizing: border-box;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .site-header .main-nav .nav-cta {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .site-header .main-nav {
    top: 70px;
    left: 16px;
    right: 16px;
    max-height: calc(100dvh - 86px);
    padding: 10px 14px 14px;
    border-radius: 18px;
  }

  .site-header .main-nav > a:not(.btn),
  .site-header .course-dropdown-toggle {
    min-height: 48px;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 980px) {
    .site-header .main-nav {
      max-height: calc(100vh - 94px);
    }
  }

  @media (max-width: 640px) {
    .site-header .main-nav {
      max-height: calc(100vh - 86px);
    }
  }
}

.footer-whatsapp{
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.footer-whatsapp a{
    color:#25D366;
    text-decoration:none;
    transition:0.3s;
}

.footer-whatsapp a i{
    font-size:28px;   /* Icon Size */
}

.footer-whatsapp a:hover{
    color:#128C7E;
}

.bi-whatsapp{
    font-size:30px;
    color:#25D366;
}
/* course page new chart codecss start */

/* =========================
   COURSE SECTION
========================= */

.course-section {
    width: 100%;
    padding: clamp(24px, 5vw, 80px) clamp(14px, 4vw, 50px);
}

.course-table-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #d6e4dc;
    border-radius: 22px;
    background-color: #ffffff;
    box-shadow: 0 12px 40px rgba(15, 55, 56, 0.07);
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* =========================
   TABLE
========================= */

.course-table {
    width: 100%;
    min-width: 1480px;
    border-spacing: 0;
    border-collapse: separate;
    table-layout: fixed;
}

.course-table th,
.course-table td {
    text-align: left;
    vertical-align: middle;
}


/* Table heading */

.course-table thead th {
    padding: 19px 16px;
    background-color: #a8e633;
    color: #123c3d;
    border-right: 1px solid rgba(18, 60, 61, 0.16);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.course-table thead th:last-child {
    border-right: 0;
}


/* Table content */

.course-table tbody td {
    padding: 22px 16px;
    color: #173c3e;
    border-top: 1px solid #d9e5df;
    border-right: 1px solid #e0e9e4;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.course-table tbody td:last-child {
    border-right: 0;
}

.course-table tbody tr:nth-child(even) td {
    background-color: #fbfdfb;
}

.course-table tbody tr:hover td {
    background-color: #f7fce9;
}


/* =========================
   COLUMN WIDTHS
========================= */

.course-table th:nth-child(1),
.course-table td:nth-child(1) {
    width: 225px;
}

.course-table th:nth-child(2),
.course-table td:nth-child(2) {
    width: 175px;
}

.course-table th:nth-child(3),
.course-table td:nth-child(3) {
    width: 135px;
}

.course-table th:nth-child(4),
.course-table td:nth-child(4) {
    width: 110px;
}

.course-table th:nth-child(5),
.course-table td:nth-child(5) {
    width: 125px;
}

.course-table th:nth-child(6),
.course-table td:nth-child(6) {
    width: 120px;
}

.course-table th:nth-child(7),
.course-table td:nth-child(7) {
    width: 135px;
}

.course-table th:nth-child(8),
.course-table td:nth-child(8) {
    width: 145px;
}

.course-table th:nth-child(9),
.course-table td:nth-child(9) {
    width: 240px;
}

.course-table th:nth-child(10),
.course-table td:nth-child(10) {
    width: 220px;
}


/* =========================
   TEXT STYLING
========================= */

.course-name {
    color: #123839;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.fees {
    color: #122f31;
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.discounted-fee {
    color: #315900;
}

.cell-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cell-list li {
    margin: 0 0 3px;
}

.cell-list li:last-child {
    margin-bottom: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0, 0, 0, 0);
}


/* =========================
   TABLET VIEW
========================= */

@media screen and (max-width: 1200px) {

    .course-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .course-table-wrapper {
        border-radius: 18px;
    }

    .course-table {
        min-width: 1350px;
    }

    .course-table thead th {
        padding: 17px 14px;
        font-size: 11px;
    }

    .course-table tbody td {
        padding: 18px 14px;
        font-size: 13px;
    }
}


/* =========================
   MOBILE CARD VIEW
========================= */

@media screen and (max-width: 767px) {

    .course-section {
        padding: 22px 12px;
    }

    .course-table-wrapper {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
    }

    .table-scroll {
        overflow: visible;
    }

    .course-table {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .course-table thead {
        display: none;
    }

    .course-table tbody {
        display: grid;
        gap: 18px;
        width: 100%;
    }

    .course-table tbody tr {
        display: block;
        overflow: hidden;
        border: 1px solid #d8e5de;
        border-radius: 18px;
        background-color: #ffffff;
        box-shadow: 0 8px 24px rgba(15, 55, 56, 0.07);
    }

    .course-table tbody td,
    .course-table tbody tr:nth-child(even) td,
    .course-table tbody tr:hover td {
        display: grid;
        grid-template-columns: minmax(120px, 38%) 1fr;
        gap: 14px;
        width: 100%;
        padding: 14px 16px;
        border-top: 1px solid #e4ece8;
        border-right: 0;
        background-color: #ffffff;
        font-size: 13px;
        line-height: 1.5;
    }

    .course-table tbody td:first-child {
        border-top: 0;
        background-color: #a8e633;
    }

    .course-table tbody td::before {
        content: attr(data-label);
        color: #315557;
        font-size: 10px;
        font-weight: 800;
        line-height: 1.4;
        letter-spacing: 0.6px;
        text-transform: uppercase;
    }

    .course-table tbody td:first-child::before {
        color: #244b2c;
    }

    .course-name {
        color: #153a2b;
        font-size: 15px !important;
    }

    .fees {
        font-size: 14px !important;
    }
}


/* =========================
   SMALL MOBILE VIEW
========================= */

@media screen and (max-width: 480px) {

    .course-table tbody td,
    .course-table tbody tr:nth-child(even) td,
    .course-table tbody tr:hover td {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 13px 14px;
    }

    .course-table tbody td::before {
        font-size: 9px;
    }

    .course-name {
        font-size: 14px !important;
        line-height: 1.45;
    }
}


/* =========================
   CUSTOM SCROLLBAR
========================= */

.table-scroll::-webkit-scrollbar {
    height: 8px;
}

.table-scroll::-webkit-scrollbar-track {
    background-color: #edf3ef;
}

.table-scroll::-webkit-scrollbar-thumb {
    background-color: #a8e633;
    border-radius: 20px;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #91ca25;
}
/* =====================================================
   RESPONSIVE ALIGNMENT + MOBILE SPACING CONSOLIDATION
   Keeps every page on the same grid and removes cramped,
   oversized or hidden mobile layouts.
===================================================== */

/* Shared alignment safeguards */
.hero-grid > *,
.split-grid > *,
.welcome-layout > *,
.team-layout > *,
.contact-grid > *,
.course-detail-grid > *,
.article-layout > *,
.card-grid > *,
.course-grid > *,
.blog-grid > *,
.footer-grid > *,
.form-row > *,
.stats-grid > *,
.impact-grid > *,
.video-grid > *,
.placed-students-grid > *,
.outcome-grid > *,
.study-modes-grid > * {
  min-width: 0;
}

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

iframe {
  display: block;
}

/* Restore top alignment where sticky side content is used. */
.course-detail-grid,
.article-layout {
  align-items: start !important;
}

.course-detail-grid > *,
.article-layout > * {
  width: 100%;
}

/* A button should size to its label unless a layout explicitly stretches it. */
.btn.btn-light {
  width: auto;
}

@media (max-width: 980px) {
  .container {
    width: min(1180px, calc(100% - 40px));
  }

  .container.narrow,
  .narrow {
    width: min(860px, calc(100% - 40px));
  }

  .footer .container,
  .footer-grid,
  .footer-bottom {
    width: min(1180px, calc(100% - 40px));
  }

  .hero-grid,
  .split-grid,
  .welcome-layout,
  .team-layout,
  .contact-grid,
  .course-detail-grid,
  .article-layout {
    gap: 32px;
  }

  /* Keep section headings consistently centered on tablet and mobile. */
  .section-title {
    text-align: center;
    justify-items: center;
  }

  .section-title h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .section-title .eyebrow {
    justify-content: center;
    text-align: center;
  }

  .main-nav .nav-cta {
    width: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 16px;
  }

  .container,
  .container.narrow,
  .narrow,
  .footer .container,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 32px);
  }

  .nav-wrap {
    height: 70px;
  }

  .site-header.is-scrolled .nav-wrap {
    height: 66px;
  }

  .site-header .brand-logo--header {
    width: clamp(148px, 44vw, 168px);
    max-height: 48px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
  }

  .nav-toggle span {
    width: 24px;
  }

  .site-header .main-nav {
    top: 70px;
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100dvh - 86px);
    padding: 10px 14px 14px;
    border-radius: 18px;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.1rem, 10vw, 2.55rem);
    line-height: 1.06;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.78rem, 8vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -.045em;
  }

  h3 {
    font-size: clamp(1.12rem, 5.5vw, 1.35rem);
    line-height: 1.22;
  }

  p,
  li,
  .hero p,
  .page-hero p,
  .section-title p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero,
  .page-hero {
    padding: 42px 0 48px;
  }

  .hero-grid,
  .split-grid,
  .welcome-layout,
  .team-layout,
  .contact-grid,
  .course-detail-grid,
  .article-layout {
    gap: 28px;
  }

  .section {
    padding: 56px 0;
  }

  .stats-section {
    padding: 24px 0;
  }

  .cta-section {
    padding: 56px 0;
  }

  .section-title {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .section-title h2 {
    margin-bottom: 14px;
  }

  .section-title p {
    margin-top: 0;
  }

  .eyebrow {
    max-width: 100%;
    padding: 7px 11px;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
  }

  .section-title .eyebrow {
    text-align: center;
  }

  .hero-actions {
    width: 100%;
    margin-top: 22px;
    gap: 10px;
  }

  .hero-actions .btn,
  .cta-panel .btn,
  .impact-banner .btn,
  .placement-success-banner .btn,
  .video-cta .btn,
  .enquiry-form button {
    width: 100%;
  }

  .btn,
  button.btn,
  .enquiry-form button {
    min-height: 50px;
    padding: 12px 18px;
  }

  .trust-strip {
    margin-top: 24px;
    gap: 8px;
  }

  .trust-strip span,
  .tool-cloud span,
  .module-grid span {
    padding: 8px 11px;
    font-size: 12px;
  }

  /* Remove excessive mobile image height while preserving the visual ratio. */
  .hero-media,
  .page-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }

  .hero-media img,
  .page-visual img {
    min-height: 0;
    height: 100%;
  }

  .floating-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  /* Switch narrow phone and small-tablet grids to one clear column. */
  .card-grid,
  .card-grid.four,
  .course-grid,
  .blog-grid,
  .footer-grid,
  .impact-grid,
  .video-grid,
  .placed-students-grid,
  .outcome-grid,
  .study-modes-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px;
  }

  .video-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .premium-card,
  .contact-card,
  .form-card,
  .highlight-box,
  .course-sidebar,
  .course-main,
  .article-side,
  .outcome-card,
  .impact-card,
  .study-mode-card,
  .placed-student-card {
    padding: 22px;
    border-radius: 21px;
  }

  .course-card,
  .blog-card {
    border-radius: 21px;
  }

  .course-card > div,
  .blog-card > div,
  .course-card div,
  .blog-card div {
    padding: 22px;
  }

  .course-card img,
  .blog-card img,
  .blog-listing-section .blog-card img {
    height: clamp(190px, 58vw, 220px);
    min-height: 0;
  }

  .course-meta,
  .blog-meta {
    display: inline-block;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .certificate-card {
    padding: 16px;
    border-radius: 24px;
  }

  .certificate-inner {
    min-height: 0;
    padding: 28px 22px;
    border-radius: 20px;
  }

  .hands-on-visual {
    min-height: 410px;
    padding: 18px;
    border-radius: 24px;
  }

  .training-panel {
    padding: 22px;
    border-radius: 20px;
  }

  .team-image,
  .team-image img {
    min-height: 300px;
  }

  .welcome-highlights,
  .impact-banner,
  .video-cta,
  .placement-success-banner,
  .cta-panel {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .cta-panel,
  .impact-banner,
  .video-cta,
  .placement-success-banner {
    align-items: stretch;
    gap: 18px;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-list details {
    padding: 17px 18px;
    border-radius: 16px;
  }

  .faq-list summary {
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    padding: 12px 13px;
    font-size: 16px;
  }

  textarea {
    min-height: 120px;
  }

  .contact-list {
    gap: 12px;
    margin: 20px 0;
  }

  .contact-list div {
    padding: 16px;
    border-radius: 16px;
  }

  .map-placeholder {
    height: 230px;
  }

  .legal-content,
  .article-content {
    padding: 22px;
    border-radius: 21px;
  }

  .course-main h2,
  .article-content h2 {
    margin-top: 28px;
    font-size: clamp(1.7rem, 7.5vw, 2rem);
  }

  .course-sidebar {
    position: static;
  }

  .course-sidebar div {
    padding: 13px 0;
  }

  .check-list li {
    padding-left: 26px;
    margin: 10px 0;
  }

  .course-section {
    padding: 48px 16px;
  }

  .course-table tbody {
    gap: 16px;
  }

  .course-table tbody tr {
    border-radius: 16px;
  }

  .student-profile-name,
  .student-profile-name h3,
  .student-profile-name p {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .student-profile-name {
    padding-top: 18px;
  }

  .footer {
    padding: 52px 0 20px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer .footer-brand {
    margin-bottom: 14px;
  }

  .footer .brand-logo--footer {
    width: min(230px, 100%);
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 30px;
    padding-top: 16px;
  }

  /* Mobile performance and spacing safety: never leave hidden blank sections. */
  .reveal,
  .motion-ready,
  .micro-motion,
  main > section.section-motion {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .hero-media,
  .page-visual,
  .certificate-card {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .course-table tbody td,
  .course-table tbody tr:nth-child(even) td,
  .course-table tbody tr:hover td {
    padding: 13px 14px;
  }

  .placed-student-top {
    gap: 14px;
  }

  .student-profile {
    width: 100%;
  }
}

@media (max-width: 359px) {
  .container,
  .container.narrow,
  .narrow,
  .footer .container,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 28px);
  }

  .site-header .main-nav {
    left: 14px;
    right: 14px;
  }

  .site-header .brand-logo--header {
    width: 142px;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .premium-card,
  .contact-card,
  .form-card,
  .highlight-box,
  .course-sidebar,
  .course-main,
  .article-side,
  .outcome-card,
  .impact-card,
  .study-mode-card,
  .placed-student-card,
  .course-card > div,
  .blog-card > div,
  .course-card div,
  .blog-card div {
    padding: 19px;
  }
}

/* Final mobile-menu grid correction: the menu uses the same gutter as the header. */
@media (max-width: 980px) {
  .site-header .main-nav {
    left: 0;
    right: 0;
  }

  /* Tablet and mobile content must never remain hidden behind scroll effects. */
  .reveal,
  .motion-ready,
  .micro-motion,
  main > section.section-motion {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .hero-media,
  .page-visual,
  .certificate-card {
    animation: none !important;
  }
}

@media (max-width: 359px) {
  .site-header .main-nav {
    left: 0;
    right: 0;
  }
}

/* Mobile course cards must use the full card width, not desktop column widths. */
@media (max-width: 767px) {
  .course-table th,
  .course-table td,
  .course-table th:nth-child(n),
  .course-table td:nth-child(n) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

/* Main Section */

.bim-results-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 45%,
      rgba(45, 199, 186, 0.09),
      transparent 32%
    ),
    linear-gradient(
      #073b3a
    );

  clip-path: polygon(
    0 0,
    100% 8%,
    100% 100%,
    0 90%
  );
}

.bim-results-container {
  width: min(1180px, calc(100% - 48px));
  min-height: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
  padding: 150px 0 170px;
}

/* Left Content */

.bim-results-content {
  max-width: 560px;
  color: var(--bim-white);
}

.bim-results-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bim-results-heading {
  margin: 0;
  color: transparent;
  background: linear-gradient(
    90deg,
    #23c8cf 0%,
    #42d3b3 48%,
    #a8e633 110%
  );
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.bim-results-description {
  max-width: 540px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.bim-results-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

/* Buttons */

.bim-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}
a.bim-btn.bim-btn-outline {
      background: linear-gradient(
    90deg,
    #2ad7d4,
    #67dea8
  );
  color: var(--bim-dark-green);
  box-shadow: 0 14px 34px rgba(35, 205, 190, 0.18);
}

.bim-btn:hover {
  transform: translateY(-3px);
}

.bim-btn:focus-visible {
  outline: 3px solid rgba(168, 230, 51, 0.5);
  outline-offset: 4px;
}

.bim-btn-primary {
  background: linear-gradient(
    90deg,
    #2ad7d4,
    #67dea8
  );
  color: var(--bim-dark-green);
  box-shadow: 0 14px 34px rgba(35, 205, 190, 0.18);
}

.bim-btn-primary:hover {
  box-shadow: 0 18px 38px rgba(35, 205, 190, 0.28);
}

.bim-btn-outline {
  border-color: rgba(71, 220, 205, 0.78);
  color: var(--bim-white);
  background: rgba(255, 255, 255, 0.02);
}

.bim-btn-outline:hover {
  border-color: var(--bim-lime);
  color: var(--bim-lime);
  background: rgba(255, 255, 255, 0.05);
}

/* Statistics Grid */

.bim-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 38px;
  align-items: center;
}

.bim-stat-card {
  position: relative;
  min-height: 194px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 26px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  color: var(--bim-navy);
  text-align: center;
  isolation: isolate;
  box-shadow:
    0 22px 50px rgba(0, 22, 32, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.bim-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(255, 255, 255, 0.46),
      transparent 38%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(168, 230, 51, 0.38),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #65dde4 0%,
      #2dd3be 52%,
      #bceea7 115%
    );
}

.bim-stat-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  z-index: -1;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(1px);
}

.bim-stat-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 65px rgba(0, 22, 32, 0.34),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Staggered Card Placement */

.bim-stat-card-1 {
  transform: translateY(-38px);
}

.bim-stat-card-2 {
  transform: translateY(2px);
}

.bim-stat-card-3 {
  transform: translateY(-4px);
}

.bim-stat-card-4 {
  transform: translateY(36px);
}

.bim-stat-card-1:hover {
  transform: translateY(-46px);
}

.bim-stat-card-2:hover {
  transform: translateY(-6px);
}

.bim-stat-card-3:hover {
  transform: translateY(-12px);
}

.bim-stat-card-4:hover {
  transform: translateY(28px);
}

/* Statistic Typography */

.bim-stat-value {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(48px, 4.2vw, 64px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.bim-stat-value-small {
  font-size: clamp(28px, 2.7vw, 39px);
  line-height: 1.05;
}

.bim-stat-text {
  color: rgba(4, 52, 74, 0.9);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

/* Large Tablet */

@media (max-width: 1100px) {
  .bim-results-section {
    clip-path: polygon(
      0 0,
      100% 5%,
      100% 100%,
      0 95%
    );
  }

  .bim-results-container {
    grid-template-columns: 1fr;
    gap: 75px;
    padding: 140px 0 160px;
  }

  .bim-results-content {
    max-width: 720px;
  }

  .bim-results-grid {
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .bim-stat-card {
    min-height: 210px;
  }
}

/* Tablet */

@media (max-width: 700px) {
  .bim-results-section {
    clip-path: polygon(
      0 0,
      100% 2.5%,
      100% 100%,
      0 97.5%
    );
  }

  .bim-results-container {
    width: min(100% - 36px, 580px);
    gap: 55px;
    padding: 105px 0 125px;
  }

  .bim-results-heading {
    font-size: clamp(38px, 10vw, 52px);
  }

  .bim-results-heading br {
    display: none;
  }

  .bim-results-description {
    font-size: 14px;
  }

  .bim-results-grid {
    gap: 20px;
  }

  .bim-stat-card {
    min-height: 175px;
    border-radius: 26px;
  }

  .bim-stat-card-1,
  .bim-stat-card-2,
  .bim-stat-card-3,
  .bim-stat-card-4 {
    transform: none;
  }

  .bim-stat-card-1:hover,
  .bim-stat-card-2:hover,
  .bim-stat-card-3:hover,
  .bim-stat-card-4:hover {
    transform: translateY(-6px);
  }
}

/* Mobile */

@media (max-width: 520px) {
  .bim-results-section {
    clip-path: polygon(
      0 0,
      100% 1.5%,
      100% 100%,
      0 98.5%
    );
  }

  .bim-results-container {
    width: min(100% - 32px, 420px);
    padding: 90px 0 110px;
  }

  .bim-results-label {
    font-size: 12px;
  }

  .bim-results-heading {
    font-size: 38px;
    line-height: 1.12;
  }

  .bim-results-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .bim-btn {
    width: 100%;
  }

  .bim-results-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bim-stat-card {
    min-height: 180px;
  }

  .bim-stat-value {
    font-size: 54px;
  }

  .bim-stat-value-small {
    font-size: 34px;
  }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  .bim-btn,
  .bim-stat-card {
    transition: none;
  }

  .bim-btn:hover,
  .bim-stat-card:hover,
  .bim-stat-card-1:hover,
  .bim-stat-card-2:hover,
  .bim-stat-card-3:hover,
  .bim-stat-card-4:hover {
    transform: none;
  }
}

/* BIM MANTRA COURSE + FOOTER + LEGAL UPDATE START */
/* Expanded course dropdown */
.course-dropdown-list {
  width: min(340px, calc(100vw - 32px));
  max-height: min(72vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
}

/* Six featured courses align as an even 3 × 2 grid on large screens. */
.featured-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.featured-course-grid > .course-grid-item,
.featured-course-grid .course-card {
  height: 100%;
}
.featured-course-grid .course-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.featured-course-grid .course-card > div > .btn-text,
.featured-course-grid .course-card > div > a:last-child {
  margin-top: auto;
  padding-top: 8px;
}
.featured-course-grid .course-card h3 a {
  color: var(--ink);
}

/* Footer columns and links share one baseline and consistent spacing. */
.footer-grid {
  grid-template-columns: minmax(230px, 1.15fr) minmax(130px, .62fr) minmax(280px, 1.35fr) minmax(235px, .95fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.footer-column {
  min-width: 0;
}
.footer-column:not(.footer-about) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-column h4 {
  width: 100%;
  margin: 0 0 18px;
  line-height: 1.25;
}
.footer-pages > a:not(.btn),
.footer-courses > a:not(.btn) {
  margin: 0 0 10px;
  line-height: 1.42;
}
.footer-contact p {
  margin: 0 0 10px;
  line-height: 1.5;
}
.footer-contact .btn {
  margin-top: 10px;
}
.footer-email,
.footer-email a {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.footer-email a {
  display: inline-block;
  margin: 0 !important;
}
.footer-bottom > span:last-child {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* Proper legal-page hierarchy and reading width. */
.legal-page-hero .hero-grid {
  align-items: center;
}
.legal-section {
  background: linear-gradient(180deg, #f7fbf9 0%, #eef7f3 100%);
}
.legal-content {
  max-width: 900px;
  padding: clamp(28px, 5vw, 54px);
}
.legal-content .legal-updated {
  display: inline-flex;
  margin: 0 0 26px;
  padding: 8px 12px;
  border: 1px solid rgba(7, 59, 58, .12);
  border-radius: 999px;
  background: var(--accent-2);
  color: var(--brand);
  font-size: 13px;
}
.legal-content section + section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.legal-content h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.25;
}
.legal-content h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 17px;
}
.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.78;
}
.legal-content p {
  margin: 0 0 14px;
}
.legal-content ul,
.legal-content ol {
  margin: 10px 0 0;
  padding-left: 22px;
}
.legal-content li + li {
  margin-top: 8px;
}
.legal-content a {
  color: var(--brand-2);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.legal-contact-list {
  list-style: none;
  padding-left: 0 !important;
}
.legal-visual b {
  text-wrap: balance;
}

@media (max-width: 1100px) {
  .featured-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .course-dropdown.dropdown-open .course-dropdown-list {
    max-height: 460px;
  }
}

@media (max-width: 640px) {
  .featured-course-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .footer-email,
  .footer-email a {
    font-size: 14px;
  }
  .legal-content {
    padding: 24px 20px;
  }
  .legal-content section + section {
    margin-top: 24px;
    padding-top: 24px;
  }
}
/* BIM MANTRA COURSE + FOOTER + LEGAL UPDATE END */


/* =========================================================
   BIM MANTRA VISUAL POLISH V3 — 2026-08-05
   Presentation-only refinements. No HTML structure, links,
   forms, CRM hooks, PHP logic or JavaScript behaviour changed.
========================================================= */
:root {
  --bg: #f4f7f4;
  --paper: #ffffff;
  --ink: #102522;
  --muted: #5e6f6b;
  --line: #dfe8e3;
  --brand: #073b3a;
  --brand-2: #0b766f;
  --accent: #a8e633;
  --accent-2: #eef9df;
  --shadow-soft: 0 12px 34px rgba(7, 59, 58, .075);
  --shadow: 0 24px 64px rgba(7, 59, 58, .14);
  --radius: 22px;
}

html {
  scroll-padding-top: 92px;
}

body {
  background:
    radial-gradient(circle at 8% 12%, rgba(168, 230, 51, .08), transparent 25rem),
    radial-gradient(circle at 92% 38%, rgba(11, 118, 111, .055), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.narrow,
.container.narrow {
  width: min(900px, calc(100% - 48px));
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(7, 59, 58, .09);
  box-shadow: 0 7px 28px rgba(7, 59, 58, .045);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav-wrap,
.site-header.is-scrolled .nav-wrap {
  height: 80px;
  transition: height .25s ease;
}

.site-header.is-scrolled .nav-wrap {
  height: 72px;
}

.site-header .brand-logo--header {
  width: clamp(172px, 15vw, 202px);
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  gap: clamp(16px, 1.65vw, 25px);
  color: #183e3a;
  font-size: 14px;
  font-weight: 750;
}

.main-nav > a:not(.btn),
.course-dropdown-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.main-nav > a:not(.btn)::after {
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
}

.nav-cta {
  min-height: 44px;
  padding: 10px 20px;
  box-shadow: 0 9px 22px rgba(168, 230, 51, .25);
}

.course-dropdown-list {
  border: 1px solid rgba(7, 59, 58, .11);
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(7, 59, 58, .16);
}

.course-dropdown-list a {
  line-height: 1.42;
}

/* Balanced type scale */
h1,
h2,
h3,
h4 {
  color: var(--brand);
  letter-spacing: -.04em;
  text-wrap: balance;
}

h1,
.hero h1,
.page-hero h1,
.article-hero h1 {
  font-size: clamp(2.65rem, 5.15vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -.058em;
}

h2 {
  font-size: clamp(2rem, 3.35vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.046em;
}

h3 {
  font-size: clamp(1.18rem, 1.5vw, 1.48rem);
  line-height: 1.24;
  letter-spacing: -.028em;
}

h4 {
  font-size: 1rem;
  letter-spacing: -.01em;
}

p,
li {
  font-size: 1rem;
  line-height: 1.72;
}

.hero p,
.page-hero p,
.section-title p {
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  line-height: 1.72;
}

.eyebrow {
  margin-bottom: 17px;
  padding: 8px 12px;
  border: 1px solid rgba(11, 118, 111, .08);
  background: rgba(168, 230, 51, .16);
  letter-spacing: .13em;
}

/* Buttons */
.btn,
button.btn,
.enquiry-form button,
.bim-btn {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
}

.btn-primary,
.enquiry-form button,
.bim-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a2622 !important;
}

.btn-secondary {
  background: #fff;
  border-color: rgba(7, 59, 58, .2);
  color: var(--brand) !important;
  box-shadow: 0 10px 24px rgba(7, 59, 58, .07);
}

.btn:hover,
button.btn:hover,
.enquiry-form button:hover,
.bim-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(7, 59, 58, .17);
}

/* Hero and page introductions */
.hero,
.page-hero {
  padding: clamp(4.6rem, 7vw, 6.5rem) 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .82), rgba(244, 247, 244, .68)),
    radial-gradient(circle at 83% 18%, rgba(168, 230, 51, .24), transparent 25rem),
    radial-gradient(circle at 10% 88%, rgba(11, 118, 111, .11), transparent 28rem);
  border-bottom: 1px solid rgba(7, 59, 58, .07);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(40px, 5vw, 68px);
}

.home-hero .hero-copy {
  max-width: 690px;
}

.hero h1,
.page-hero h1 {
  max-width: 13.5ch;
  margin-bottom: 22px;
}

.hero-media,
.page-visual {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(7, 59, 58, .11);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(7, 59, 58, .17);
}

.hero-media::after,
.page-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(7, 59, 58, .08));
}

.hero-media img,
.page-visual img {
  min-height: 0;
  height: 100%;
}

.floating-card {
  left: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 15px 19px;
  border: 1px solid rgba(7, 59, 58, .1);
  border-radius: 17px;
  box-shadow: 0 16px 36px rgba(7, 59, 58, .15);
}

.hero-actions {
  margin-top: 26px;
}

.trust-strip {
  margin-top: 28px;
}

.trust-strip span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, .88);
  font-size: .76rem;
}

/* Sections and headings */
.section {
  padding: clamp(4.8rem, 7.6vw, 6.7rem) 0;
}

.subtle {
  background: linear-gradient(180deg, #fff, #f8fbf8);
  border-color: rgba(7, 59, 58, .075);
}

.section-title {
  max-width: 820px;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section-title h2 {
  margin-bottom: 16px;
}

.section-title h2::after {
  width: 60px;
  height: 3px;
  margin-top: 15px;
  animation: none;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
}

/* Core cards */
.premium-card,
.course-card,
.blog-card,
.contact-card,
.form-card,
.highlight-box,
.course-sidebar,
.course-main,
.article-side,
.article-content,
.legal-content,
.faq-list details,
.outcome-card,
.impact-card,
.study-mode-card,
.placed-student-card {
  border: 1px solid rgba(7, 59, 58, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-soft);
}

.premium-card,
.contact-card,
.form-card,
.highlight-box,
.outcome-card,
.impact-card,
.study-mode-card,
.placed-student-card {
  padding: 28px;
}

.premium-card:hover,
.course-card:hover,
.blog-card:hover,
.contact-card:hover,
.form-card:hover,
.highlight-box:hover,
.outcome-card:hover,
.impact-card:hover,
.study-mode-card:hover,
.placed-student-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 118, 111, .22);
  box-shadow: 0 22px 48px rgba(7, 59, 58, .13);
}

.card-grid {
  gap: 22px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f1fbe5, #dff5b5);
}

/* Homepage featured courses */
.featured-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.featured-course-grid > div {
  display: flex;
  min-width: 0;
}

.featured-course-grid .course-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card,
.blog-card {
  overflow: hidden;
}

.course-card > a:first-of-type,
.blog-card > a:first-of-type {
  display: block;
  overflow: hidden;
}

.course-card img {
  height: 205px;
  object-fit: cover;
}

.blog-card img {
  height: 205px;
  object-fit: cover;
}

.course-card > div,
.blog-card > div,
.course-card div,
.blog-card div {
  padding: 24px;
}

.featured-course-grid .course-card > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card h3,
.blog-card h3 {
  margin: 10px 0 12px;
  color: var(--brand) !important;
  font-size: clamp(1.16rem, 1.35vw, 1.38rem);
  line-height: 1.28;
}

.course-card p,
.blog-card p {
  margin: 0 0 17px;
  color: #5b6b67;
  font-size: .95rem;
  line-height: 1.65;
}

.featured-course-grid .course-card > div > a:last-child {
  margin-top: auto;
  padding-top: 3px;
}

.course-meta,
.blog-meta {
  font-size: .7rem;
  line-height: 1.5;
  letter-spacing: .075em;
}

/* Results block */
.bim-results-section {
  clip-path: none;
  margin: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(168, 230, 51, .16), transparent 26rem),
    radial-gradient(circle at 8% 88%, rgba(51, 207, 194, .13), transparent 25rem),
    linear-gradient(135deg, #052f2f, #073b3a 52%, #0b5d57);
}

.bim-results-container {
  width: min(1200px, calc(100% - 48px));
  min-height: 0;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: clamp(50px, 7vw, 92px);
  padding: clamp(5.4rem, 8vw, 7.2rem) 0;
}

.bim-results-content {
  max-width: 600px;
}

.bim-results-label {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bim-results-heading {
  max-width: 11ch;
  color: #fff;
  background: none;
  -webkit-text-fill-color: initial;
  font-size: clamp(2.35rem, 4.2vw, 3.85rem);
  font-weight: 800;
  line-height: 1.08;
}

.bim-results-description {
  margin-top: 22px;
  color: rgba(255, 255, 255, .76);
  font-size: 1rem;
  line-height: 1.75;
}

.bim-results-actions {
  margin-top: 30px;
  gap: 12px;
}

a.bim-btn.bim-btn-primary,
a.bim-btn.bim-btn-outline {
  border-color: var(--accent);
  background: var(--accent);
  color: #082421;
  box-shadow: 0 12px 28px rgba(168, 230, 51, .18);
}

a.bim-btn.bim-btn-outline {
  border-color: rgba(255, 255, 255, .27);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: none;
}

a.bim-btn.bim-btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #082421;
}

.bim-results-grid {
  gap: 18px;
}

.bim-stat-card,
.bim-stat-card-1,
.bim-stat-card-2,
.bim-stat-card-3,
.bim-stat-card-4 {
  min-height: 170px;
  padding: 24px 18px;
  border-radius: 24px;
  transform: none;
  box-shadow: 0 17px 38px rgba(0, 22, 32, .18);
}

.bim-stat-card::before {
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, .4), transparent 36%),
    linear-gradient(135deg, #53d7d1 0%, #39cdb6 55%, #b6ea77 130%);
}

.bim-stat-card:hover,
.bim-stat-card-1:hover,
.bim-stat-card-2:hover,
.bim-stat-card-3:hover,
.bim-stat-card-4:hover {
  transform: translateY(-6px);
}

.bim-stat-value {
  margin-bottom: 9px;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
}

.bim-stat-value-small {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
}

.bim-stat-text {
  color: rgba(4, 52, 74, .92);
  font-size: .82rem;
  font-weight: 650;
}

/* Split, course and article layouts */
.split-grid {
  gap: clamp(38px, 5vw, 62px);
}

.rounded-img,
.team-image {
  border-radius: 28px;
  box-shadow: 0 23px 55px rgba(7, 59, 58, .14);
}

.course-detail-grid {
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 28px;
}

.course-sidebar {
  top: 96px;
  padding: 25px;
}

.course-main {
  padding: clamp(27px, 3vw, 40px);
}

.course-main h2 {
  margin-top: 32px;
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
}

.course-main h2:first-of-type {
  margin-top: 10px;
}

.check-list li {
  margin: 8px 0;
  border: 1px solid rgba(7, 59, 58, .055);
  background: linear-gradient(90deg, rgba(238, 249, 223, .9), rgba(255, 255, 255, .4));
}

.article-hero {
  padding: clamp(4.5rem, 7vw, 6rem) 0 clamp(2.8rem, 4vw, 3.8rem);
  background:
    radial-gradient(circle at 85% 18%, rgba(168, 230, 51, .18), transparent 24rem),
    linear-gradient(180deg, #fff, #f7faf7);
}

.article-hero h1 {
  max-width: 18ch;
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
}

.article-content {
  padding: clamp(25px, 3vw, 40px);
}

.article-cover {
  max-height: 500px;
  border-radius: 20px;
}

.article-content p,
.article-content li {
  color: #43534f;
  font-size: 1.02rem;
  line-height: 1.82;
}

.article-content h2 {
  margin-top: 36px;
  font-size: clamp(1.65rem, 2.45vw, 2.25rem);
}

.article-side {
  top: 96px;
  padding: 24px;
}

/* Forms and legal content */
input,
select,
textarea {
  min-height: 50px;
  border: 1px solid rgba(7, 59, 58, .14);
  border-radius: 13px;
  background: #fbfdfb;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(168, 230, 51, .2);
}

.legal-content {
  padding: clamp(28px, 4vw, 48px);
}

.legal-content h2 {
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
}

/* CTA */
.cta-panel {
  padding: clamp(34px, 5vw, 54px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(168, 230, 51, .24), transparent 14rem),
    linear-gradient(135deg, #052f2f, #0b6b64);
  box-shadow: 0 28px 64px rgba(7, 59, 58, .2);
}

/* Footer */
.footer {
  padding: 68px 0 22px;
  background:
    radial-gradient(circle at 88% 0, rgba(168, 230, 51, .1), transparent 24rem),
    linear-gradient(135deg, #031f20, #062f2f 58%, #073b3a);
}

.footer-grid {
  grid-template-columns: 1.15fr .62fr 1.15fr .95fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.footer-column {
  min-width: 0;
}

.footer .brand-logo--footer {
  width: min(240px, 100%);
  margin-bottom: 16px;
}

.footer h4 {
  position: relative;
  margin: 5px 0 19px;
  padding-bottom: 11px;
  color: #fff !important;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, .72) !important;
  font-size: .91rem;
  line-height: 1.58;
}

.footer a {
  margin: 8px 0;
  transition: color .22s ease, transform .22s ease;
}

.footer a:not(.btn):hover {
  color: var(--accent) !important;
  transform: translateX(3px);
}

.footer-contact p {
  margin: 8px 0;
}

.footer-email,
.footer-email a {
  white-space: nowrap;
  font-size: clamp(.78rem, .93vw, .91rem) !important;
}

.footer .btn-outline {
  display: inline-flex;
  margin-top: 13px;
  color: #050505 !important;
}

.footer .btn-outline:hover {
  color: #082421 !important;
}

.social-row {
  margin-top: 19px;
}

.social-row span {
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .065);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 18px;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, .55);
}

.footer-bottom a {
  display: inline;
  margin: 0;
}

/* Responsive polish */
@media (max-width: 1100px) {
  .hero-grid,
  .bim-results-container {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr);
  }

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

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

@media (max-width: 980px) {
  .container,
  .narrow,
  .container.narrow,
  .bim-results-container,
  .footer .container,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 40px, 1200px);
  }

  .nav-wrap,
  .site-header.is-scrolled .nav-wrap {
    height: 72px;
  }

  .site-header .main-nav {
    top: 72px;
    padding: 14px;
    border: 1px solid rgba(7, 59, 58, .1);
    border-radius: 18px;
    box-shadow: 0 23px 55px rgba(7, 59, 58, .17);
  }

  .hero-grid,
  .bim-results-container,
  .split-grid,
  .contact-grid,
  .team-layout,
  .welcome-layout,
  .course-detail-grid,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 15ch;
  }

  .bim-results-container {
    gap: 42px;
  }

  .bim-results-content {
    max-width: 720px;
  }

  .bim-results-heading {
    max-width: 13ch;
  }

  .bim-results-grid {
    width: 100%;
  }

  .course-sidebar,
  .article-side {
    position: static;
  }
}

@media (max-width: 700px) {
  .container,
  .narrow,
  .container.narrow,
  .bim-results-container,
  .footer .container,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 32px);
  }

  h1,
  .hero h1,
  .page-hero h1,
  .article-hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 2.75rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.2rem);
  }

  .hero,
  .page-hero {
    padding: 3.2rem 0 3.7rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .hero-media,
  .page-visual {
    border-radius: 23px;
  }

  .featured-course-grid,
  .footer-grid,
  .bim-results-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .course-card img,
  .blog-card img {
    height: clamp(190px, 58vw, 225px);
  }

  .course-card > div,
  .blog-card > div,
  .course-card div,
  .blog-card div {
    padding: 21px;
  }

  .bim-results-container {
    padding: 4.5rem 0;
  }

  .bim-results-heading {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .bim-stat-card,
  .bim-stat-card-1,
  .bim-stat-card-2,
  .bim-stat-card-3,
  .bim-stat-card-4 {
    min-height: 150px;
  }

  .footer {
    padding-top: 52px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .footer-email,
  .footer-email a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media:hover,
  .page-visual:hover,
  .rounded-img:hover,
  .team-image:hover,
  .premium-card:hover,
  .course-card:hover,
  .blog-card:hover {
    transform: none;
  }
}
/* BIM MANTRA VISUAL POLISH V3 END */

/* =========================================================
   BIM MANTRA UNIFORM TYPOGRAPHY SYSTEM — 2026-08-05
   Consistent type sizes across all public website pages.
   Presentation only: no HTML, PHP, CRM, form or JS changes.
========================================================= */
:root {
  --bm-h1-size: clamp(2.75rem, 4.35vw, 4rem);
  --bm-h2-size: clamp(2rem, 2.8vw, 2.65rem);
  --bm-h3-size: 1.35rem;
  --bm-h4-size: 1rem;
  --bm-body-size: 1rem;
  --bm-body-line-height: 1.72;
}

/* Main page headings: identical scale everywhere */
h1,
.hero h1,
.page-hero h1,
.article-hero h1,
.course-hero h1,
.legal-hero h1,
.contact-hero h1 {
  font-size: var(--bm-h1-size) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
}

/* Section headings: identical scale everywhere */
h2,
.section-title h2,
.bim-results-heading,
.article-content h2,
.course-content h2,
.legal-content h2,
.policy-content h2,
.terms-content h2 {
  font-size: var(--bm-h2-size) !important;
  line-height: 1.16 !important;
  letter-spacing: -.035em !important;
}

/* Card and content subheadings: identical scale everywhere */
h3,
.course-card h3,
.blog-card h3,
.premium-card h3,
.feature-card h3,
.article-content h3,
.course-content h3,
.legal-content h3,
.policy-content h3,
.terms-content h3 {
  font-size: var(--bm-h3-size) !important;
  line-height: 1.3 !important;
  letter-spacing: -.02em !important;
}

/* Small headings, including footer column titles */
h4,
.footer h4 {
  font-size: var(--bm-h4-size) !important;
  line-height: 1.35 !important;
}

/* Paragraph copy: one consistent size throughout the website */
p,
.hero p,
.page-hero p,
.article-hero p,
.section-title p,
.article-content p,
.course-content p,
.legal-content p,
.policy-content p,
.terms-content p,
.footer p,
.footer p a {
  font-size: var(--bm-body-size) !important;
  line-height: var(--bm-body-line-height) !important;
}

/* Keep the same hierarchy at tablet and mobile widths */
@media (max-width: 980px) {
  :root {
    --bm-h1-size: 3.15rem;
    --bm-h2-size: 2.25rem;
    --bm-h3-size: 1.3rem;
  }
}

@media (max-width: 700px) {
  :root {
    --bm-h1-size: 2.35rem;
    --bm-h2-size: 1.85rem;
    --bm-h3-size: 1.2rem;
    --bm-body-size: 1rem;
  }
}
/* BIM MANTRA UNIFORM TYPOGRAPHY SYSTEM END */

/* =====================================================
   FIXED NAVIGATION — ALL SCREEN SIZES
   Keeps the complete website header visible while the
   page scrolls without changing menu functionality.
===================================================== */
:root {
  --site-header-offset: 80px;
}

html {
  scroll-padding-top: calc(var(--site-header-offset) + 16px);
}

body {
  padding-top: var(--site-header-offset);
}

.site-header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1500;
}

@media (max-width: 640px) {
  :root {
    --site-header-offset: 70px;
  }
}
/* BIM MANTRA DROPDOWN FINAL FIX — 2026-08-05
   - no hover dot
   - full course names remain visible
   - mobile submenu is collapsed until manually expanded
*/
.course-dropdown-list a {
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Remove the decorative circular dot that appeared beside an item on hover. */
.course-dropdown-list a::after,
.course-dropdown-list a:hover::after,
.course-dropdown-list a:focus-visible::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
}

@media (min-width: 981px) {
  .course-dropdown-list {
    width: min(410px, calc(100vw - 40px));
  }

  .course-dropdown-list a {
    min-height: 48px;
    align-items: center;
    padding: 12px 15px !important;
    line-height: 1.45;
  }
}

@media (max-width: 980px) {
  /* Later desktop/global rules must never leave this accordion open initially. */
  .site-header .course-dropdown-list,
  .site-header .course-dropdown:hover .course-dropdown-list {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  .site-header .course-dropdown.dropdown-open .course-dropdown-list,
  .site-header .course-dropdown.dropdown-open:hover .course-dropdown-list {
    max-height: min(70vh, 520px) !important;
    padding-top: 6px !important;
    padding-bottom: 12px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
  }

  .site-header .course-dropdown:hover:not(.dropdown-open) .dropdown-triangle {
    transform: none !important;
  }

  .site-header .course-dropdown.dropdown-open .dropdown-triangle {
    transform: rotate(180deg) !important;
  }

  .site-header .course-dropdown-list a {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.45;
  }
}

/* AEC SOFTWARE LOGO SECTION — 2026-08-05 */
.social-workspace-hero .section-title {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  margin-inline: auto;
  padding: 34px 0;
}

.social-workspace-hero .floating-logo {
  inset: auto;
  width: 154px;
  height: 72px;
  padding: 13px 16px;
  border: 1px solid rgba(9, 94, 50, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 30px rgba(14, 46, 38, 0.11);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.social-workspace-hero .floating-logo.logo-square {
  width: 82px;
  height: 82px;
  padding: 10px;
}

.social-workspace-hero .floating-logo.logo-compact {
  width: 94px;
  height: 78px;
  padding: 10px;
}

.social-workspace-hero .floating-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 48px;
  object-fit: contain;
}

.social-workspace-hero .floating-logo.logo-square img,
.social-workspace-hero .floating-logo.logo-compact img {
  max-height: 100%;
}

.social-workspace-hero .floating-logo:hover {
  border-color: rgba(9, 94, 50, 0.25);
  box-shadow: 0 18px 38px rgba(14, 46, 38, 0.17);
}

/* Balanced desktop orbit around the section copy */
.social-workspace-hero .logo-1 { top: 58px; left: 7%; }
.social-workspace-hero .logo-2 { top: 62px; left: 29%; }
.social-workspace-hero .logo-3 { top: 190px; left: 11%; }
.social-workspace-hero .logo-4 { bottom: 98px; left: 13%; }
.social-workspace-hero .logo-5 { bottom: 54px; left: 34%; }
.social-workspace-hero .logo-6 { top: 58px; right: 8%; }
.social-workspace-hero .logo-7 { top: 190px; right: 7%; }
.social-workspace-hero .logo-8 { bottom: 104px; right: 14%; }
.social-workspace-hero .logo-9 { bottom: 52px; right: 35%; }
/* Additional AEC / GIS software logos */
.social-workspace-hero .logo-10 { top: 330px; left: 4%; }
.social-workspace-hero .logo-11 { top: 330px; right: 3%; }
.social-workspace-hero .logo-12 { bottom: 215px; left: 8%; }
.social-workspace-hero .logo-13 { bottom: 215px; right: 8%; }
.social-workspace-hero .logo-14 { bottom: 34px; left: calc(50% - 41px); }

@media (max-width: 1180px) {
  .social-workspace-hero .floating-logo {
    width: 132px;
    height: 66px;
    padding: 12px 14px;
  }
  .social-workspace-hero .floating-logo.logo-square {
    width: 72px;
    height: 72px;
  }
  .social-workspace-hero .floating-logo.logo-compact {
    width: 82px;
    height: 72px;
  }
  .social-workspace-hero .logo-1 { left: 4%; }
  .social-workspace-hero .logo-2 { left: 25%; }
  .social-workspace-hero .logo-3 { left: 6%; }
  .social-workspace-hero .logo-4 { left: 7%; }
  .social-workspace-hero .logo-5 { left: 29%; }
  .social-workspace-hero .logo-6 { right: 4%; }
  .social-workspace-hero .logo-7 { right: 3%; }
  .social-workspace-hero .logo-8 { right: 7%; }
  .social-workspace-hero .logo-9 { right: 30%; }
  .social-workspace-hero .logo-10 { left: 2%; }
  .social-workspace-hero .logo-11 { right: 2%; }
  .social-workspace-hero .logo-12 { left: 3%; }
  .social-workspace-hero .logo-13 { right: 3%; }
  .social-workspace-hero .logo-14 { left: calc(50% - 36px); }
}

@media (max-width: 820px) {
  .social-workspace-hero {
    min-height: auto;
    padding: 76px 18px;
  }

  .social-workspace-hero .container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    align-items: stretch;
  }

  .social-workspace-hero .section-title {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 0 0 24px;
  }

  .social-workspace-hero .floating-logo,
  .social-workspace-hero .floating-logo.logo-square,
  .social-workspace-hero .floating-logo.logo-compact {
    position: relative;
    inset: auto;
    width: 100%;
    height: 76px;
    padding: 12px;
    border-radius: 14px;
    transform: none !important;
  }

  .social-workspace-hero .floating-logo img,
  .social-workspace-hero .floating-logo.logo-square img,
  .social-workspace-hero .floating-logo.logo-compact img {
    max-height: 48px;
  }
}

@media (max-width: 520px) {
  .social-workspace-hero {
    padding: 64px 16px;
  }

  .social-workspace-hero .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .social-workspace-hero .floating-logo,
  .social-workspace-hero .floating-logo.logo-square,
  .social-workspace-hero .floating-logo.logo-compact {
    min-height: 72px;
  }

  .social-workspace-hero .logo-9 {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}

/* BIM MANTRA HOME HERO RESPONSIVE FIX START */
/* Homepage hero: full-width image with a readable text-side overlay. */
.home-hero {
  padding: 0;
  background: #f5f7f4;
}

.home-hero .homee-hero {
  position: relative;
  width: 100%;
  min-height: 610px;
  background-size: cover;
  background-position: 58% center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Overlay is stronger behind the copy and fades out toward the visual. */
.home-hero .homee-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(248, 249, 244, .98) 0%,
    rgba(248, 249, 244, .94) 26%,
    rgba(248, 249, 244, .82) 39%,
    rgba(248, 249, 244, .44) 52%,
    rgba(248, 249, 244, .10) 68%,
    rgba(248, 249, 244, 0) 82%
  );
}

.home-hero .homee-hero > .hero-grid {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  min-height: 610px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 650px) minmax(260px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.home-hero .hero-copy {
  max-width: 650px;
  padding: 44px 0;
  position: relative;
  z-index: 2;
}

.home-hero .hero-copy h1 {
  color: #073b3a;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}

.home-hero .hero-copy p {
  color: #40504e;
  max-width: 620px;
}

@media (max-width: 1100px) {
  .home-hero .homee-hero {
    min-height: 580px;
    background-position: 64% center;
  }

  .home-hero .homee-hero > .hero-grid {
    min-height: 580px;
    grid-template-columns: minmax(0, 600px) minmax(180px, 1fr);
  }

  .home-hero .homee-hero::before {
    background: linear-gradient(
      90deg,
      rgba(248, 249, 244, .98) 0%,
      rgba(248, 249, 244, .93) 34%,
      rgba(248, 249, 244, .70) 52%,
      rgba(248, 249, 244, .18) 73%,
      rgba(248, 249, 244, 0) 100%
    );
  }
}

@media (max-width: 820px) {
  .home-hero .homee-hero {
    min-height: 560px;
    background-position: 70% center;
  }

  .home-hero .homee-hero::before {
    background: linear-gradient(
      90deg,
      rgba(248, 249, 244, .96) 0%,
      rgba(248, 249, 244, .88) 58%,
      rgba(248, 249, 244, .58) 100%
    );
  }

  .home-hero .homee-hero > .hero-grid {
    width: min(100% - 36px, 720px);
    min-height: 560px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-hero .hero-copy {
    max-width: 590px;
    padding: 40px 0;
  }
}

@media (max-width: 600px) {
  .home-hero .homee-hero {
    min-height: auto;
    padding: 34px 0 30px;
    background-position: 72% center;
  }

  /* Mobile uses a uniform translucent overlay so text stays legible on every crop. */
  .home-hero .homee-hero::before {
    background: rgba(248, 249, 244, .84);
  }

  .home-hero .homee-hero > .hero-grid {
    width: calc(100% - 28px);
    min-height: auto;
  }

  .home-hero .hero-copy {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .home-hero .hero-copy h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .home-hero .hero-copy p {
    color: #344643;
  }

  .home-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .home-hero .hero-actions .btn {
    flex: 1 1 165px;
    text-align: center;
  }

  .home-hero .trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}
/* BIM MANTRA HOME HERO RESPONSIVE FIX END */

/* =====================================================
   BIM MANTRA — COURSES HEADER LINK + RESPONSIVE TABLE FIX
   2026-08-08
   ===================================================== */

/* Courses text is a real page link; the arrow remains a separate dropdown control. */
.course-dropdown-head {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.course-page-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color .28s ease;
}

.course-dropdown-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}

.course-dropdown-head .course-dropdown-toggle {
  width: 24px;
  min-width: 24px;
  min-height: 42px;
  padding: 8px 0 8px 7px;
  justify-content: center;
}

.course-dropdown-head .course-dropdown-toggle::after {
  display: none !important;
}

.course-dropdown:hover .course-page-link,
.course-dropdown.dropdown-open .course-page-link,
.course-dropdown.active .course-page-link {
  color: var(--brand-2);
}

.course-dropdown:hover .course-dropdown-head::after,
.course-dropdown.dropdown-open .course-dropdown-head::after,
.course-dropdown.active .course-dropdown-head::after {
  transform: scaleX(1);
}

@media (max-width: 980px) {
  .course-dropdown-head {
    width: 100%;
    min-height: 50px;
  }

  .course-page-link {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 50px;
    padding: 0;
    font-size: 15px;
  }

  .course-dropdown-head .course-dropdown-toggle {
    flex: 0 0 48px;
    width: 48px !important;
    min-width: 48px;
    min-height: 50px;
    padding: 0 !important;
    justify-content: center !important;
  }

  .course-dropdown-head::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .course-page-link {
    min-height: 48px;
    font-size: 14px;
  }

  .course-dropdown-head,
  .course-dropdown-head .course-dropdown-toggle {
    min-height: 48px;
  }
}

/* Course information table — full desktop fit, safe tablet scrolling, mobile cards. */
.course-table-wrapper,
.course-table-wrapper .table-scroll {
  width: 100%;
  max-width: 100%;
}

.course-table-wrapper .table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(7, 59, 58, .35) transparent;
}

.course-table-wrapper .table-scroll::-webkit-scrollbar {
  height: 8px;
}

.course-table-wrapper .table-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(7, 59, 58, .28);
}

/* The active table has seven columns, so use useful proportions instead of old 10-column widths. */
@media (min-width: 1201px) {
  .course-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
  }

  .course-table th:nth-child(1),
  .course-table td:nth-child(1) { width: 21% !important; }
  .course-table th:nth-child(2),
  .course-table td:nth-child(2) { width: 16% !important; }
  .course-table th:nth-child(3),
  .course-table td:nth-child(3) { width: 12% !important; }
  .course-table th:nth-child(4),
  .course-table td:nth-child(4) { width: 10% !important; }
  .course-table th:nth-child(5),
  .course-table td:nth-child(5) { width: 12% !important; }
  .course-table th:nth-child(6),
  .course-table td:nth-child(6) { width: 15% !important; }
  .course-table th:nth-child(7),
  .course-table td:nth-child(7) { width: 14% !important; }

  .course-table thead th {
    padding: 16px 12px;
    font-size: 11px;
  }

  .course-table tbody td {
    padding: 18px 12px;
    font-size: 13px;
    line-height: 1.5;
  }
}

/* Tablet / smaller laptop: preserve readable columns and allow natural horizontal swipe. */
@media (min-width: 768px) and (max-width: 1200px) {
  .course-table-wrapper {
    overflow: hidden;
  }

  .course-table {
    width: 100% !important;
    min-width: 1050px !important;
    table-layout: fixed;
  }

  .course-table th:nth-child(1),
  .course-table td:nth-child(1) { width: 215px !important; }
  .course-table th:nth-child(2),
  .course-table td:nth-child(2) { width: 165px !important; }
  .course-table th:nth-child(3),
  .course-table td:nth-child(3) { width: 125px !important; }
  .course-table th:nth-child(4),
  .course-table td:nth-child(4) { width: 105px !important; }
  .course-table th:nth-child(5),
  .course-table td:nth-child(5) { width: 135px !important; }
  .course-table th:nth-child(6),
  .course-table td:nth-child(6) { width: 180px !important; }
  .course-table th:nth-child(7),
  .course-table td:nth-child(7) { width: 180px !important; }
}

/* Mobile: existing data-label fields become stacked cards with no horizontal overflow. */
@media (max-width: 767px) {
  .course-section {
    width: 100%;
    overflow: hidden;
  }

  .course-table-wrapper,
  .course-table-wrapper .table-scroll {
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
  }

  .course-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .course-table tbody,
  .course-table tbody tr,
  .course-table tbody td {
    max-width: 100%;
  }

  .course-table tbody td {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .course-table .cell-list,
  .course-table .cell-list li {
    max-width: 100%;
  }
}

/* BIM MANTRA HOME BANNER FULL SCREEN FIX — 2026-08-08 */
.home-hero .homee-hero {
  box-sizing: border-box;
  min-height: calc(100vh - var(--site-header-offset)) !important;
  min-height: calc(100svh - var(--site-header-offset)) !important;
}

/* Let the existing content remain vertically centered inside the full-screen banner. */
.home-hero .homee-hero > .hero-grid {
  min-height: 0 !important;
}
/* BIM MANTRA HOME BANNER FULL SCREEN FIX END */

/* =====================================================
   OUTER WRAPPER
===================================================== */

.course-table-wrapper {
    width: 100% !important;
    max-width: 100% !important;

    overflow: hidden !important;

    box-sizing: border-box !important;
}


/* =====================================================
   HORIZONTAL SCROLL CONTAINER
===================================================== */

.table-scroll {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    -webkit-overflow-scrolling: touch !important;

    box-sizing: border-box !important;

    /* Firefox */
    scrollbar-width: auto !important;

    /* Don't allow parent to control horizontal scroll */
    overscroll-behavior-x: contain !important;
}


/* =====================================================
   TABLE
===================================================== */

.course-table {
    display: table !important;

    /*
       DESKTOP:
       Can use available width.

       MOBILE:
       1100px minimum width creates horizontal scrolling.
    */

    width: 100% !important;
    min-width: 1100px !important;

    max-width: none !important;

    margin: 0 !important;

    border-collapse: collapse !important;
    border-spacing: 0 !important;

    table-layout: fixed !important;
}


/* =====================================================
   FORCE NORMAL TABLE STRUCTURE
===================================================== */

.course-table thead {
    display: table-header-group !important;
}

.course-table tbody {
    display: table-row-group !important;
}

.course-table tr {
    display: table-row !important;
}

.course-table th,
.course-table td {
    display: table-cell !important;

    vertical-align: top !important;
    text-align: left !important;

    box-sizing: border-box !important;

    white-space: normal !important;

    word-break: normal !important;

    overflow-wrap: break-word !important;
}


/* =====================================================
   COLUMN WIDTHS
===================================================== */

.course-table th:nth-child(1),
.course-table td:nth-child(1) {
    width: 190px !important;
}

.course-table th:nth-child(2),
.course-table td:nth-child(2) {
    width: 170px !important;
}

.course-table th:nth-child(3),
.course-table td:nth-child(3) {
    width: 120px !important;
}

.course-table th:nth-child(4),
.course-table td:nth-child(4) {
    width: 100px !important;
}

.course-table th:nth-child(5),
.course-table td:nth-child(5) {
    width: 150px !important;
}

.course-table th:nth-child(6),
.course-table td:nth-child(6) {
    width: 180px !important;
}

.course-table th:nth-child(7),
.course-table td:nth-child(7) {
    width: 190px !important;
}


/* =====================================================
   CELLS
===================================================== */

.course-table th,
.course-table td {
    padding: 14px 15px !important;

    font-size: 14px !important;

    line-height: 1.5 !important;
}


/* Course */

.course-table .course-name {
    font-weight: 700 !important;
}


/* Lists */

.course-table .cell-list {
    margin: 0 !important;
    padding-left: 18px !important;
}

.course-table .cell-list li {
    margin-bottom: 5px !important;
}


/* =====================================================
   DISABLE MOBILE CARD STYLE
===================================================== */

.course-table td::before {
    display: none !important;
    content: none !important;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .table-scroll {
        width: 100% !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .course-table {
        width: 1100px !important;
        min-width: 1100px !important;
    }

    .course-table th,
    .course-table td {
        font-size: 13px !important;
        padding: 12px 13px !important;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .course-table-wrapper {
        width: 100% !important;
        max-width: 100% !important;

        overflow: hidden !important;
    }

    .table-scroll {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        overflow-x: scroll !important;
        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch !important;
    }

    .course-table {
        display: table !important;

        width: 1100px !important;
        min-width: 1100px !important;

        max-width: none !important;

        table-layout: fixed !important;
    }

    .course-table thead {
        display: table-header-group !important;
    }

    .course-table tbody {
        display: table-row-group !important;
    }

    .course-table tr {
        display: table-row !important;
    }

    .course-table th,
    .course-table td {
        display: table-cell !important;

        font-size: 12px !important;

        padding: 10px 11px !important;

        line-height: 1.4 !important;
    }
}


/* =====================================================
   425px
===================================================== */

@media (max-width: 425px) {

    .table-scroll {
        width: 100% !important;
        max-width: 100% !important;

        /*
           REAL HORIZONTAL SCROLL
        */
        overflow-x: scroll !important;
        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch !important;
    }

    .course-table {
        width: 1100px !important;
        min-width: 1100px !important;

        max-width: none !important;

        display: table !important;

        table-layout: fixed !important;
    }

    .course-table th,
    .course-table td {
        display: table-cell !important;

        padding: 9px 10px !important;

        font-size: 11px !important;

        line-height: 1.4 !important;
    }

    .course-table td::before {
        display: none !important;
        content: none !important;
    }
}


/* =====================================================
   390px / 375px / 360px / 320px
===================================================== */

@media (max-width: 390px) {

    .course-table {
        width: 1100px !important;
        min-width: 1100px !important;
    }

    .course-table th,
    .course-table td {
        padding: 8px !important;
        font-size: 10.5px !important;
    }
}


/* =====================================================
   VISIBLE DESKTOP SCROLLBAR
===================================================== */

.table-scroll::-webkit-scrollbar {
    height: 12px !important;
}

.table-scroll::-webkit-scrollbar-track {
    background: #e1e6e6 !important;

    border-radius: 10px !important;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: #7d8989 !important;

    border-radius: 10px !important;

    border: 2px solid #e1e6e6 !important;
}


/* =====================================================
   MOBILE SCROLLBAR
===================================================== */

@media (max-width: 767px) {

    .table-scroll::-webkit-scrollbar {
        height: 12px !important;
    }

    .table-scroll::-webkit-scrollbar-track {
        background: #dfe5e5 !important;

        border-radius: 10px !important;
    }

    .table-scroll::-webkit-scrollbar-thumb {
        background: #737f7f !important;

        border-radius: 10px !important;

        border: 2px solid #dfe5e5 !important;
    }
}

/* BIM MANTRA TESTIMONIAL SLIDER START */
.testimonial-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(168, 230, 51, .10), transparent 24%),
    linear-gradient(180deg, #f7faf8 0%, #f0f6f3 100%);
}

.testimonial-section .container {
  position: relative;
}

.testimonial-heading-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  margin-bottom: 34px;
}

.testimonial-section-title {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-section-title .eyebrow {
  justify-content: center;
}

.testimonial-section-title h2,
.testimonial-section-title p {
  margin-left: auto;
  margin-right: auto;
}

.testimonial-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  padding-bottom: 4px;
}

.testimonial-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(7, 59, 58, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--brand);
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 21px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(7, 59, 58, .08);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
  transform: translateY(-2px);
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 14px 30px rgba(7, 59, 58, .18);
  outline: none;
}

.testimonial-track {
  display: flex;
  gap: 22px;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 4px 22px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.testimonial-track:active {
  cursor: grabbing;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  position: relative;
  flex: 0 0 clamp(390px, 43vw, 520px);
  min-height: 335px;
  scroll-snap-align: start;
  border: 1px solid rgba(7, 59, 58, .12);
  border-radius: 30px;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 50px rgba(7, 59, 58, .09);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  top: -72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 230, 51, .24), rgba(168, 230, 51, 0) 68%);
  pointer-events: none;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--brand-2));
  transform: scaleX(.34);
  transform-origin: left;
  transition: transform .4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 59, 58, .22);
  box-shadow: 0 28px 58px rgba(7, 59, 58, .14);
}

.testimonial-card:hover::after {
  transform: scaleX(1);
}

.testimonial-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.testimonial-index {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  background: #eaf8dc;
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
}

.testimonial-stars {
  color: #93c91f;
  letter-spacing: 3px;
  font-size: 14px;
  white-space: nowrap;
}

.testimonial-quote {
  position: absolute;
  top: 66px;
  right: 26px;
  font-family: Georgia, serif;
  font-size: 88px;
  line-height: 1;
  color: rgba(7, 59, 58, .07);
  pointer-events: none;
}

.testimonial-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 26px;
  letter-spacing: -.035em;
}

.testimonial-card > p {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin: 0;
  color: #53625f;
  font-size: 16px;
  line-height: 1.75;
}

.testimonial-card-footer {
  position: absolute;
  z-index: 1;
  left: 30px;
  right: 30px;
  bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.testimonial-card-footer span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(7, 59, 58, .09);
  border-radius: 999px;
  background: #f5f8f6;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.testimonial-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 3px;
  color: #65716f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.testimonial-progress {
  width: 120px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(7, 59, 58, .10);
}

.testimonial-progress i {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  transform-origin: left;
  transition: transform .18s ease;
}

@media (max-width: 991px) {
  .testimonial-heading-row {
    align-items: center;
    margin-bottom: 28px;
  }

  .testimonial-card {
    flex-basis: min(72vw, 500px);
  }
}

@media (max-width: 767px) {
  .testimonial-section {
    overflow: hidden;
  }

  .testimonial-heading-row {
    display: block;
    margin-bottom: 22px;
  }

  .testimonial-section-title {
    text-align: center;
    max-width: none;
  }

  .testimonial-section-title h2,
  .testimonial-section-title p {
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-controls {
    display: none;
  }

  .testimonial-track {
    gap: 14px;
    margin-inline: -16px;
    width: calc(100% + 32px);
    padding: 6px 16px 18px;
    scroll-padding-left: 16px;
  }

  .testimonial-card {
    flex: 0 0 min(86vw, 390px);
    min-height: 318px;
    padding: 24px 22px;
    border-radius: 24px;
  }

  .testimonial-card::after {
    left: 22px;
    right: 22px;
  }

  .testimonial-card-top {
    margin-bottom: 28px;
  }

  .testimonial-index {
    min-width: 43px;
    height: 43px;
    border-radius: 12px;
  }

  .testimonial-stars {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .testimonial-card h3 {
    font-size: 22px;
  }

  .testimonial-card > p {
    font-size: 15px;
    line-height: 1.68;
  }

  .testimonial-card-footer {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .testimonial-scroll-hint {
    justify-content: center;
    margin-top: 4px;
  }
}

@media (max-width: 420px) {
  .testimonial-card {
    flex-basis: calc(100vw - 52px);
    min-height: 330px;
  }

  .testimonial-scroll-hint span {
    font-size: 10px;
  }

  .testimonial-progress {
    width: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    scroll-behavior: auto;
  }

  .testimonial-card,
  .testimonial-arrow,
  .testimonial-progress i {
    transition: none;
  }
}
/* BIM MANTRA TESTIMONIAL SLIDER END */
