:root {
    --sky: #0ea5e9;
    --blue: #2563eb;
    --orange: #f97316;
    --dark: #0f172a;
    --muted: #64748b;
    --soft: #f8fbff;
    --line: #dbeafe;
    --white: #ffffff;
    --radius: 24px;
    --shadow: 0 22px 55px rgba(15, 23, 42, .10);
    --shadow-soft: 0 12px 35px rgba(37, 99, 235, .10);
}

/* Error pages */
.error-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(14, 165, 233, .22), transparent 30%),
        radial-gradient(circle at 88% 84%, rgba(249, 115, 22, .2), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #eef8ff 46%, #fff7ed 100%);
    color: #0f172a
}

.error-page {
    min-height: 100vh;
    display: grid;
    align-items: start;
    justify-items: center;
    padding: 18px 30px 30px
}

.error-shell {
    width: min(1120px, 100%);
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px
}

.error-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.error-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 92px;
    padding: 12px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(219, 234, 254, .95);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    backdrop-filter: blur(14px)
}

.error-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.error-theme-toggle {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(219, 234, 254, .95);
    border-radius: 16px;
    background: rgba(255, 255, 255, .78);
    color: #0f172a;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    cursor: pointer;
    backdrop-filter: blur(14px)
}

.error-theme-toggle i {
    grid-area: 1/1;
    transition: opacity .2s ease, transform .25s ease
}

html[data-theme="light"] .error-theme-moon,
html[data-theme="dark"] .error-theme-sun {
    opacity: 0;
    transform: scale(.75) rotate(16deg)
}

html[data-theme="light"] .error-theme-sun,
html[data-theme="dark"] .error-theme-moon {
    opacity: 1;
    transform: scale(1) rotate(0)
}

.error-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, .78fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(219, 234, 254, .95);
    border-radius: 34px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 30px 90px rgba(15, 23, 42, .14);
    backdrop-filter: blur(18px)
}

.error-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 165, 233, .08), transparent 38%),
        linear-gradient(315deg, rgba(249, 115, 22, .1), transparent 38%);
    pointer-events: none
}

.error-copy {
    position: relative;
    z-index: 1;
    padding: clamp(34px, 6vw, 72px);
    align-self: center
}

.error-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(14, 165, 233, .12);
    color: #0369a1;
    font-weight: 900;
    margin-bottom: 20px
}

.error-copy h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 900;
    margin: 0 0 20px;
    color: #0f172a
}

.error-copy p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
    max-width: 580px
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px
}

.error-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px
}

.error-visual {
    position: relative;
    z-index: 1;
    min-height: 460px;
    margin: 22px 22px 22px 0;
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        linear-gradient(160deg, rgba(14, 165, 233, .94), rgba(37, 99, 235, .9) 48%, rgba(249, 115, 22, .92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 25px 70px rgba(37, 99, 235, .22)
}

.error-visual::before {
    content: '';
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 22px
}

.error-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 32%, rgba(255, 255, 255, .16) 32% 33%, transparent 33% 66%, rgba(255, 255, 255, .14) 66% 67%, transparent 67%),
        linear-gradient(0deg, transparent 0 48%, rgba(255, 255, 255, .18) 48% 49%, transparent 49%);
    opacity: .9
}

.error-card-top {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    z-index: 1;
    display: flex;
    gap: 8px
}

.error-card-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .74)
}

.error-code {
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(5.8rem, 12vw, 9.4rem);
    font-weight: 900;
    line-height: 1;
    color: #fff;
    text-shadow: 0 18px 45px rgba(15, 23, 42, .25)
}

.error-status-lines {
    position: absolute;
    z-index: 1;
    left: 40px;
    right: 40px;
    bottom: 42px;
    display: grid;
    gap: 10px
}

.error-status-lines span {
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74)
}

.error-status-lines span:nth-child(2) {
    width: 72%
}

.error-status-lines span:nth-child(3) {
    width: 46%
}

html[data-theme="dark"] .error-body {
    background:
        radial-gradient(circle at 12% 18%, rgba(14, 165, 233, .18), transparent 30%),
        radial-gradient(circle at 88% 84%, rgba(249, 115, 22, .16), transparent 32%),
        linear-gradient(135deg, #07111f 0%, #0f172a 52%, #1e293b 100%);
    color: #e5edf7
}

html[data-theme="dark"] .error-brand,
html[data-theme="dark"] .error-theme-toggle,
html[data-theme="dark"] .error-panel {
    background: rgba(15, 23, 42, .78);
    border-color: rgba(148, 163, 184, .24);
    color: #e5edf7
}

html[data-theme="dark"] .error-copy h1 {
    color: #f8fbff
}

html[data-theme="dark"] .error-copy p {
    color: #b6c4d6
}

html[data-theme="dark"] .error-kicker {
    background: rgba(14, 165, 233, .18);
    color: #7dd3fc
}

@media(max-width: 767px) {
    .error-page {
        padding: 12px 18px 22px
    }

    .error-shell {
        min-height: auto;
        gap: 14px
    }

    .error-brand {
        width: 122px;
        height: 76px;
        border-radius: 20px;
        padding: 10px
    }

    .error-theme-toggle {
        width: 42px;
        height: 42px;
        border-radius: 14px
    }

    .error-panel {
        grid-template-columns: 1fr;
        border-radius: 26px
    }

    .error-copy {
        padding: 28px 22px 30px
    }

    .error-copy h1 {
        font-size: clamp(2rem, 12vw, 3.15rem)
    }

    .error-copy p {
        font-size: .98rem
    }

    .error-visual {
        order: -1;
        min-height: 220px;
        margin: 14px 14px 0;
        border-radius: 22px
    }

    .error-card-top {
        top: 28px;
        left: 28px;
        right: 28px
    }

    .error-status-lines {
        left: 28px;
        right: 28px;
        bottom: 28px
    }
}

* {
    box-sizing: border-box
}

body * {
    letter-spacing: 0 !important
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: #fff;
    font-size: 15.5px;
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
}

img,
svg,
video,
canvas {
    max-width: 100%
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0
}

p {
    color: var(--muted);
    margin-bottom: 0
}

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

.text-sky {
    color: var(--sky) !important
}

.text-orange {
    color: var(--orange) !important
}

.bg-soft {
    background: var(--soft) !important
}

.section-padding {
    padding: 92px 0
}

.section-padding-sm {
    padding: 68px 0
}

.container {
    max-width: 1180px
}

.container-fluid {
    max-width: 1440px
}

.shadow-main {
    box-shadow: var(--shadow)
}

.top-strip {
    background: #0b1220;
    color: #dbeafe;
    font-size: 13px;
    padding: 8px 0
}

.top-strip i {
    color: var(--orange)
}

.navbar {
    padding: 14px 0;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    transition: .25s ease;
    border-bottom: 1px solid rgba(219, 234, 254, .75)
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .08)
}

.navbar-brand img {
    height: 68px
}

.navbar .nav-link {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b !important;
    margin: 0 4px;
    padding: 10px 12px !important;
    border-radius: 14px;
    transition: .25s ease
}

.navbar .nav-link:hover {
    background: #e0f2fe;
    color: #0369a1 !important
}

.navbar .nav-link.active {
    background: var(--orange);
    color: #fff !important
}

.navbar .dropdown-menu {
    border: 0;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 10px
}

.dropdown-item {
    border-radius: 12px;
    font-weight: 650;
    font-size: 14px;
    padding: 10px 14px
}

.dropdown-item:hover {
    background: #e0f2fe;
    color: #0369a1
}

.dropdown-item.active {
    background: var(--orange);
    color: #fff
}

.btn {
    border-radius: 999px;
    font-weight: 800;
    padding: 11px 20px;
    font-size: 14px
}

.btn-primary {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 12px 26px rgba(37, 99, 235, .20)
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px)
}

.btn-outline-primary {
    border-color: #bae6fd;
    color: #0369a1;
    background: #fff
}

.btn-outline-primary:hover {
    background: #e0f2fe;
    color: #075985;
    border-color: #7dd3fc
}

.btn-orange {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    box-shadow: 0 12px 26px rgba(249, 115, 22, .20)
}

.btn-orange:hover {
    background: #ea580c;
    color: #fff;
    transform: translateY(-1px)
}

.hero-carousel {
    position: relative;
    overflow: hidden
}

.hero-carousel .carousel-item {
    height: 650px;
    min-height: 650px;
    background: #0f172a
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 15, 31, .88), rgba(8, 15, 31, .55), rgba(8, 15, 31, .18))
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: .65
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 72px;
    color: #fff
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, .13);
    border: 1px solid rgba(125, 211, 252, .36);
    color: #e0f2fe;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    max-width: 850px;
    margin: 22px 0 17px
}

.hero-content p {
    color: #dbeafe;
    max-width: 660px;
    font-size: clamp(1rem, 1.5vw, 1.08rem)
}

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

.hero-mini-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 18px;
    color: #fff
}

.carousel-indicators [data-bs-target] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    opacity: .7
}

.carousel-control-prev,
.carousel-control-next {
    width: 7%
}

.stats-band {
    margin-top: -52px;
    position: relative;
    z-index: 4
}

.stats-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 24px
}

.stat-item h3 {
    font-size: 32px;
    margin: 0;
    color: #0369a1
}

.stat-item span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px
}

.section-heading .tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px
}

.section-heading h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.65rem);
    margin-bottom: 12px
}

.section-heading p {
    font-size: 1rem
}

.lead-soft {
    font-size: 1.03rem;
    color: #475569
}

.glass-card,
.service-card,
.project-card,
.member-card,
.training-card,
.testimonial-card,
.alumni-card,
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: .28s ease;
    overflow: hidden
}

.glass-card:hover,
.service-card:hover,
.project-card:hover,
.member-card:hover,
.training-card:hover,
.testimonial-card:hover,
.alumni-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow)
}

.service-card {
    padding: 27px;
    height: 100%
}

.icon-box {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #e0f2fe;
    color: #0369a1;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 18px
}

.icon-box.orange {
    background: #ffedd5;
    color: #c2410c
}

.icon-box.blue {
    background: #dbeafe;
    color: #1d4ed8
}

.service-card h5,
.training-card h5,
.project-card h5 {
    font-size: 18px;
    margin-bottom: 10px
}

.mini-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0
}

.mini-list li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: #475569;
    margin: 7px 0;
    font-size: 14px
}

.mini-list i {
    color: var(--sky);
    margin-top: 3px
}

.photo-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 420px;
    background: #e0f2fe
}

.photo-frame img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover
}

.floating-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .13);
    max-width: 280px
}

.floating-badge strong {
    display: block;
    font-family: 'Poppins';
    font-size: 18px
}

.split-panel {
    background: linear-gradient(135deg, #f8fbff, #fff);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 34px
}

.process-step {
    display: flex;
    gap: 16px;
    margin-bottom: 22px
}

.process-step .num {
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #0ea5e9;
    color: white;
    display: grid;
    place-items: center;
    font-weight: 900
}

.process-step h6 {
    margin-bottom: 4px
}

.training-card {
    height: 100%
}

.training-card img,
.project-card img,
.gallery-card img,
.alumni-card img,
.member-card img {
    width: 100%;
    height: 215px;
    object-fit: cover
}

.training-card .body,
.project-card .body,
.member-card .body,
.alumni-card .body {
    padding: 22px
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800
}

.chip.orange {
    background: #fff7ed;
    color: #c2410c
}

.project-card .project-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0
}

.timeline {
    position: relative;
    padding-left: 24px
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #bae6fd
}

.timeline-item {
    position: relative;
    padding: 0 0 28px 24px
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--sky);
    border: 3px solid #e0f2fe;
    border-radius: 50%
}

.timeline-item h6 {
    font-size: 16px;
    margin-bottom: 4px
}

.timeline-item span {
    font-size: 12px;
    font-weight: 900;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: .06em
}

.cta-section {
    background: #0f172a;
    color: #fff;
    border-radius: 36px;
    overflow: hidden;
    position: relative
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.svg');
    opacity: .85;
    background-size: cover
}

.cta-section .content {
    position: relative;
    z-index: 1;
    padding: 58px
}

.cta-section h2 {
    color: #fff
}

.cta-section p {
    color: #cbd5e1
}

.page-hero {
    position: relative;
    min-height: 360px;
    background: #0f172a;
    display: flex;
    align-items: center;
    overflow: hidden
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .42
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, .95), rgba(15, 23, 42, .55))
}

.page-hero .container {
    position: relative;
    z-index: 2
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.4rem)
}

.page-hero p {
    color: #dbeafe;
    max-width: 720px
}

.breadcrumb-custom {
    display: flex;
    gap: 8px;
    color: #bae6fd;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px
}

.breadcrumb-custom a {
    color: #fff
}

.value-card {
    padding: 26px;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px
}

.value-card i {
    font-size: 28px;
    color: #0ea5e9
}

.member-card {
    text-align: left
}

.member-card img {
    height: 260px
}

.member-card .role {
    font-size: 13px;
    color: #0369a1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em
}

.member-card h5 {
    margin: 6px 0 8px
}

.social-mini {
    display: flex;
    gap: 8px;
    margin-top: 15px
}

.social-mini a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e0f2fe;
    color: #0369a1
}

.modal-content {
    border: 0;
    border-radius: 26px;
    overflow: hidden
}

.modal-header {
    border: 0;
    background: #f8fbff
}

.gallery-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.filter-btn {
    border: 1px solid #bae6fd;
    background: #fff;
    color: #0369a1;
    border-radius: 999px;
    padding: 9px 15px;
    font-weight: 800;
    font-size: 13px
}

.filter-btn.active,
.filter-btn:hover {
    background: #0ea5e9;
    color: #fff
}

.gallery-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 290px;
    background: #e0f2fe
}

.gallery-card img {
    height: 100%;
    transition: .5s ease
}

.gallery-card:hover img {
    transform: scale(1.08)
}

.gallery-card .overlay {
    position: absolute;
    inset: auto 14px 14px 14px;
    background: rgba(255, 255, 255, .95);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18)
}

.gallery-card .overlay h6 {
    margin: 0 0 4px;
    font-size: 15px
}

.gallery-card .overlay span {
    font-size: 12px;
    color: #64748b;
    font-weight: 800
}

.testimonial-card {
    padding: 26px;
    height: 100%
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 12px
}

.quote-mark {
    font-size: 42px;
    color: #bae6fd;
    line-height: 1
}

.alumni-card {
    text-align: left
}

.contact-card {
    padding: 26px;
    height: 100%
}

.form-control,
.form-select {
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 13px 15px;
    font-size: 14px
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 .25rem rgba(14, 165, 233, .15);
    border-color: #7dd3fc
}

.map-box {
    height: 360px;
    border-radius: 26px;
    background: linear-gradient(135deg, #dbeafe, #fff7ed);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden
}

.map-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    opacity: .85
}

.map-box .inner {
    position: relative;
    z-index: 2;
    text-align: center
}

.footer {
    background: #08111f;
    color: #cbd5e1;
    padding: 76px 0 26px
}

.footer h5,
.footer h6 {
    color: #fff
}

.footer p,
.footer li,
.footer a {
    color: #94a3b8;
    font-size: 14px
}

.footer a:hover {
    color: #7dd3fc
}

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

.footer li {
    margin: 9px 0
}

.footer-logo {
    height: 52px;
    background: #fff;
    border-radius: 18px;
    padding: 2px
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, .18);
    margin-top: 38px;
    padding-top: 20px
}

.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #0ea5e9;
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease
}

.scroll-top.show {
    opacity: 1;
    visibility: visible
}

.whatsapp-float {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 25px;
    z-index: 998;
    box-shadow: 0 15px 35px rgba(34, 197, 94, .25)
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: .75s cubic-bezier(.2, .65, .2, 1)
}

.reveal.show {
    opacity: 1;
    transform: none
}

.delay-1 {
    transition-delay: .08s
}

.delay-2 {
    transition-delay: .16s
}

.delay-3 {
    transition-delay: .24s
}

.delay-4 {
    transition-delay: .32s
}

.fade-in-left {
    transform: translateX(-24px)
}

.fade-in-right {
    transform: translateX(24px)
}

.fade-in-left.show,
.fade-in-right.show {
    transform: none
}

.floating {
    animation: float 4s ease-in-out infinite
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@media(max-width:991px) {
    .navbar-collapse {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 24px;
        margin-top: 14px;
        padding: 12px;
        box-shadow: var(--shadow-soft)
    }

    .hero-carousel .carousel-item {
        height: 590px;
        min-height: 590px
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(8, 15, 31, .88), rgba(8, 15, 31, .70))
    }

    .stats-band {
        margin-top: 28px
    }

    .section-padding {
        padding: 70px 0
    }

    .photo-frame,
    .photo-frame img {
        min-height: 330px
    }

    .cta-section .content {
        padding: 38px 24px
    }

    .member-card img {
        height: 230px
    }
}

@media(max-width:575px) {
    body {
        font-size: 14.8px
    }

    .top-strip {
        display: none
    }

    .navbar {
        padding: 8px 0
    }

    .navbar.scrolled {
        padding: 6px 0
    }

    .navbar-brand img {
        height: 44px
    }

    .hero-carousel .carousel-item {
        height: 555px;
        min-height: 555px
    }

    .hero-content {
        padding-top: 50px
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center
    }

    .hero-mini-card {
        display: none
    }

    .stats-box {
        padding: 18px
    }

    .stat-item {
        padding: 12px 0
    }

    .section-heading {
        margin-bottom: 26px
    }

    .section-padding {
        padding: 58px 0
    }

    .service-card,
    .training-card .body,
    .project-card .body,
    .member-card .body,
    .testimonial-card,
    .contact-card {
        padding: 20px
    }

    .page-hero {
        min-height: 320px
    }

    .gallery-card {
        height: 245px
    }

    .footer {
        text-align: left;
        padding-top: 56px
    }

    .whatsapp-float {
        left: 14px;
        bottom: 14px
    }

    .scroll-top {
        right: 14px;
        bottom: 14px
    }
}

/* BMS refinements */
.hero-actions {
    position: relative;
    z-index: 5
}

.hero-actions .btn {
    border-width: 2px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .28)
}

.hero-actions .btn-outline-light,
.cta-section .btn-outline-light {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .86);
    color: #fff;
    backdrop-filter: blur(10px)
}

.hero-actions .btn-outline-light:hover,
.cta-section .btn-outline-light:hover {
    background: #fff;
    color: #0f172a
}

.service-card {
    position: relative
}

.service-card::after {
    content: '';
    position: absolute;
    left: 27px;
    right: 27px;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sky), var(--orange));
    opacity: .75
}

.service-feature {
    background: #0f172a;
    color: #fff;
    border-radius: 28px;
    padding: 34px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.service-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    opacity: .45
}

.service-feature>* {
    position: relative;
    z-index: 1
}

.service-feature h3,
.service-feature h4 {
    color: #fff
}

.service-feature p,
.service-feature li {
    color: #dbeafe
}

.service-grid-note {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    height: 100%
}

.detail-hero {
    padding: 76px 0;
    background: linear-gradient(135deg, #0f172a, #075985);
    color: #fff;
    position: relative;
    overflow: hidden
}

.detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    opacity: .55
}

.detail-hero .container {
    position: relative;
    z-index: 1
}

.detail-hero h1 {
    color: #fff
}

.detail-hero p {
    color: #dbeafe
}

.detail-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 28px;
    box-shadow: var(--shadow-soft)
}

.share-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.share-actions a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #2563eb
}

.share-actions a.whatsapp {
    background: #22c55e
}

.share-actions a.facebook {
    background: #1877f2
}

.share-actions a.twitter {
    background: #0f172a
}

.share-actions a.linkedin {
    background: #0a66c2
}

.share-actions a.email {
    background: #f97316
}

.share-copy {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: #64748b
}

.share-copy.copied {
    background: #16a34a
}

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

.formation-detail-grid div {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
    padding: 15px;
    display: grid;
    gap: 5px
}

.formation-detail-grid i {
    font-size: 22px;
    color: #0ea5e9
}

.formation-detail-grid strong {
    font-family: 'Poppins';
    color: #0f172a
}

.formation-detail-grid span {
    color: #475569;
    font-size: 14px
}

.formation-sidebar {
    position: sticky;
    top: 96px
}

.recent-training-list {
    display: grid;
    gap: 12px
}

.recent-training-list a {
    display: flex;
    gap: 11px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 9px;
    background: #f8fbff;
    color: #0f172a
}

.recent-training-list img {
    width: 68px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px
}

.recent-training-list strong {
    display: block;
    font-size: 13px;
    line-height: 1.25
}

.recent-training-list small {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 3px
}

.frontend-error {
    display: block;
    margin-top: 6px;
    color: #b91c1c;
    font-weight: 800;
    font-size: 12px
}

.contact-alert {
    border-radius: 16px;
    padding: 12px 14px;
    font-weight: 800;
    display: flex;
    gap: 8px;
    align-items: center
}

.contact-alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0
}

.contact-alert.danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca
}

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

.frontend-check {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    border-radius: 14px;
    padding: 11px 12px;
    color: #334155;
    font-weight: 800
}

.frontend-check input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto
}

@media(max-width:575px) {
    .frontend-check-grid {
        grid-template-columns: 1fr
    }
}

.offer-filterbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 30px
}

.job-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: .28s ease
}

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

.job-photo {
    position: relative;
    height: 230px;
    background: #e0f2fe;
    overflow: hidden
}

.job-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease
}

.job-card:hover .job-photo img {
    transform: scale(1.06)
}

.job-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .06), rgba(15, 23, 42, .58))
}

.job-photo-overlay {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(15, 23, 42, .72);
    color: #fff;
    border-radius: 18px;
    padding: 13px 14px;
    backdrop-filter: blur(12px)
}

.job-photo-overlay span {
    display: block;
    color: #bae6fd;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase
}

.job-photo-overlay strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.2
}

.job-body {
    padding: 22px
}

.job-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.job-body h5 {
    font-size: 19px;
    margin: 14px 0 9px
}

.job-meta {
    display: grid;
    gap: 7px;
    margin-top: 15px;
    color: #475569;
    font-weight: 750;
    font-size: 13px
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 8px
}

.job-meta i {
    color: #0ea5e9
}

.job-detail-hero {
    position: relative;
    min-height: 540px;
    background: #0f172a;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 120px 0 70px
}

.job-detail-hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .64
}

.job-detail-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 15, 31, .95), rgba(8, 15, 31, .68), rgba(8, 15, 31, .20))
}

.job-detail-hero .container {
    position: relative;
    z-index: 1
}

.job-detail-copy {
    max-width: 820px
}

.job-detail-copy h1 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 4rem);
    margin-bottom: 14px
}

.job-detail-copy p {
    color: #dbeafe;
    font-size: 1.08rem;
    max-width: 720px
}

.job-countdown {
    display: inline-grid;
    gap: 2px;
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-radius: 20px;
    padding: 14px 18px;
    backdrop-filter: blur(12px)
}

.job-countdown span {
    color: #bae6fd;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase
}

.job-countdown strong {
    font-family: 'Poppins', sans-serif;
    font-size: 22px
}

.job-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    align-items: start
}

.job-content {
    display: grid;
    gap: 20px
}

.job-apply-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 20px
}

.job-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 24px
}

.job-info-grid div {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
    padding: 15px;
    display: grid;
    gap: 4px
}

.job-info-grid i {
    font-size: 22px;
    color: #0ea5e9
}

.job-info-grid span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase
}

.job-info-grid strong {
    color: #0f172a;
    font-family: 'Poppins', sans-serif;
    font-size: 15px
}

.rich-text {
    color: #475569;
    line-height: 1.78;
    white-space: normal
}

@media(max-width:991px) {
    .job-detail-layout {
        grid-template-columns: 1fr
    }

    .job-apply-sidebar {
        position: static
    }

    .job-detail-hero {
        min-height: 460px;
        padding: 100px 0 54px
    }

    .job-info-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:575px) {
    .job-photo {
        height: 205px
    }

    .job-body {
        padding: 20px
    }

    .job-detail-hero {
        min-height: 410px
    }

    .job-countdown {
        width: 100%
    }

    .job-countdown strong {
        font-size: 19px
    }
}

.project-modal-cover {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #e0f2fe
}

.job-showcase-hero {
    position: relative;
    min-height: 720px;
    background: #07111f;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 118px 0 70px
}

.job-showcase-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .52;
    filter: saturate(1.05)
}

.job-showcase-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 17, 31, .96) 0%, rgba(7, 17, 31, .78) 48%, rgba(7, 17, 31, .28) 100%)
}

.job-showcase-hero .container {
    position: relative;
    z-index: 1
}

.job-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 42px;
    align-items: center
}

.job-showcase-copy h1 {
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4.8rem);
    margin: 12px 0 16px
}

.job-showcase-copy p {
    color: #dbeafe;
    max-width: 760px;
    font-size: 1.08rem
}

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

.job-hero-board {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    border-radius: 30px;
    padding: 14px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px)
}

.job-hero-photo {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 23px;
    overflow: hidden;
    background: #e0f2fe
}

.job-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.job-hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .72))
}

.job-hero-photo-badge {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 18px;
    background: rgba(15, 23, 42, .76);
    color: #fff;
    padding: 13px 14px
}

.job-hero-photo-badge span,
.application-mini-card span {
    display: block;
    color: #bae6fd;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase
}

.job-hero-photo-badge strong,
.application-mini-card strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    line-height: 1.2
}

.job-hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px
}

.job-hero-facts div {
    border: 1px solid rgba(219, 234, 254, .72);
    background: rgba(248, 251, 255, .95);
    border-radius: 17px;
    padding: 13px;
    display: grid;
    gap: 3px
}

.job-hero-facts i {
    font-size: 20px;
    color: #0ea5e9
}

.job-hero-facts span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase
}

.job-hero-facts strong {
    color: #0f172a;
    font-size: 13px
}

.job-detail-section {
    background: #f8fbff;
    padding: 80px 0 96px
}

.job-detail-redesign {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start
}

.job-story {
    display: grid;
    gap: 18px
}

.job-story-panel,
.job-apply-card,
.job-poster-card,
.application-form-panel,
.application-summary {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 26px
}

.job-story-panel h2,
.job-apply-card h2,
.application-form-panel h2,
.application-summary h2 {
    font-size: 1.45rem;
    margin: 6px 0 14px
}

.job-panel-kicker {
    display: inline-flex;
    color: #0369a1;
    background: #e0f2fe;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase
}

.job-side-stack {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px
}

.job-apply-card p {
    margin-bottom: 18px
}

.job-poster-card {
    padding: 0;
    overflow: hidden
}

.job-poster-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block
}

.job-poster-card div {
    padding: 18px
}

.job-poster-card span {
    display: block;
    color: #c2410c;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase
}

.job-poster-card strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    color: #0f172a;
    font-size: 1.15rem;
    margin-top: 5px
}

.application-hero {
    position: relative;
    min-height: 520px;
    background: #07111f;
    color: #fff;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 120px 0 64px
}

.application-hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .48
}

.application-hero-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 17, 31, .96), rgba(7, 17, 31, .62))
}

.application-hero .container {
    position: relative;
    z-index: 1
}

.application-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: end
}

.application-copy h1 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 4.1rem);
    margin: 16px 0 12px
}

.application-copy p {
    color: #dbeafe;
    max-width: 720px
}

.application-mini-card {
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 20px;
    color: #fff;
    animation: softPulse 2.8s ease-in-out infinite
}

.application-mini-card div {
    color: #dbeafe;
    margin-top: 8px;
    font-weight: 800
}

.application-section {
    background: #f8fbff;
    padding: 72px 0 96px
}

.application-shell {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    align-items: start
}

.application-summary {
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 96px
}

.application-summary>img {
    width: 100%;
    height: 260px;
    object-fit: cover
}

.application-summary-body {
    padding: 22px
}

.job-hero-facts.compact {
    grid-template-columns: 1fr;
    margin: 18px 0
}

.application-form-panel {
    position: relative;
    overflow: hidden
}

.application-form-panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--sky), var(--orange))
}

.application-form-panel form {
    animation: formRise .55s ease both
}

.application-form-panel .form-control,
.application-form-panel .form-select {
    background: #fff
}

.application-form-panel .btn-primary {
    min-width: 190px
}

@keyframes softPulse {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 24px 60px rgba(0, 0, 0, .20)
    }

    50% {
        transform: translateY(-6px);
        box-shadow: 0 32px 78px rgba(0, 0, 0, .30)
    }
}

@keyframes formRise {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:991px) {
    .job-showcase-hero {
        min-height: auto;
        padding: 96px 0 56px
    }

    .job-showcase-grid,
    .job-detail-redesign,
    .application-hero-grid,
    .application-shell {
        grid-template-columns: 1fr
    }

    .job-hero-board,
    .job-side-stack,
    .application-summary {
        position: static
    }

    .application-hero {
        min-height: auto;
        padding: 96px 0 50px
    }
}

@media(max-width:575px) {

    .job-showcase-copy h1,
    .application-copy h1 {
        font-size: 2.1rem
    }

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

    .job-hero-facts {
        grid-template-columns: 1fr
    }

    .job-story-panel,
    .job-apply-card,
    .application-form-panel {
        padding: 21px;
        border-radius: 20px
    }

    .application-summary>img,
    .job-poster-card img {
        height: 210px
    }
}

.job-card {
    display: flex;
    flex-direction: column;
    min-height: 100%
}

.job-body {
    display: flex;
    flex-direction: column;
    flex: 1
}

.job-body h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.75em
}

.job-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.3em
}

.job-meta {
    min-height: 48px
}

.job-body .d-flex {
    margin-top: auto !important
}

.job-photo-overlay strong {
    font-size: 15px
}

.job-showcase-copy h1 {
    font-size: clamp(1.8rem, 3.1vw, 2.85rem);
    max-width: 800px;
    line-height: 1.12
}

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

.job-recent-grid a,
.job-recent-list a {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    background: #f8fbff;
    border-radius: 16px;
    padding: 9px;
    color: #0f172a
}

.job-recent-grid img,
.job-recent-list img {
    width: 72px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px
}

.job-recent-grid strong,
.job-recent-list strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.25
}

.job-recent-grid small,
.job-recent-list small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    margin-top: 4px
}

.job-recent-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 22px
}

.job-recent-card h2 {
    font-size: 1.15rem;
    margin: 8px 0 14px
}

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

@media(max-width:575px) {

    .job-body h5,
    .job-body p {
        min-height: auto
    }

    .job-recent-grid {
        grid-template-columns: 1fr
    }

    .job-showcase-copy h1 {
        font-size: 1.75rem
    }

    .job-recent-card {
        padding: 20px;
        border-radius: 20px
    }
}

.member-detail-photo {
    width: 100%;
    min-height: 480px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow)
}

.whatsapp-float {
    left: auto;
    right: 18px;
    bottom: 76px
}

@media(max-width:991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 360px);
        height: 100dvh;
        background: #fff;
        border-left: 1px solid var(--line);
        border-radius: 24px 0 0 24px;
        margin-top: 0;
        padding: 86px 18px 24px;
        box-shadow: -24px 0 55px rgba(15, 23, 42, .18);
        transform: translateX(106%);
        transition: transform .28s ease;
        overflow-y: auto
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        transform: translateX(0)
    }

    .navbar-collapse.collapsing {
        height: 100dvh
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        border: 1px solid var(--line);
        margin: 8px 0
    }

    .navbar-toggler {
        position: relative;
        z-index: 1100
    }
}

@media(max-width:575px) {
    .service-card::after {
        left: 20px;
        right: 20px
    }

    .whatsapp-float {
        left: auto;
        right: 14px;
        bottom: 72px
    }

    .fade-in-left,
    .fade-in-right {
        transform: translateY(18px)
    }

    .container {
        padding-left: 16px;
        padding-right: 16px
    }
}

/* Navigation, hero and auth polish */
.btn-login {
    background: #0f172a;
    color: #fff;
    border: 1px solid #0f172a;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .16)
}

.btn-login:hover {
    background: #020617;
    color: #fff;
    transform: translateY(-1px)
}

@media(min-width:992px) {
    .hero-carousel .carousel-item {
        height: 560px;
        min-height: 560px
    }

    .hero-content {
        padding-top: 32px;
        max-width: 720px
    }

    .hero-content h1 {
        font-size: clamp(2rem, 3.35vw, 3.35rem);
        max-width: 720px;
        margin: 16px 0 12px;
        line-height: 1.08
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 610px;
        line-height: 1.62
    }

    .hero-actions {
        margin-top: 20px;
        gap: 10px
    }

    .hero-actions .btn {
        padding: 10px 17px;
        font-size: 13.5px
    }

    .carousel-indicators {
        bottom: 18px
    }
}

@media(max-width:991px) {
    body.mobile-menu-open {
        overflow: hidden
    }

    body.mobile-menu-open .navbar {
        z-index: 1055
    }

    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .46);
        z-index: 1035;
        backdrop-filter: blur(2px)
    }

    .navbar-collapse.collapse {
        display: block !important;
        visibility: hidden;
        pointer-events: none;
        opacity: 0
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        visibility: visible;
        pointer-events: auto;
        opacity: 1
    }

    .navbar-collapse {
        z-index: 1045
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: none;
        position: relative
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        content: '';
        position: absolute;
        left: 4px;
        right: 4px;
        top: 50%;
        height: 2px;
        background: #0f172a;
        border-radius: 999px
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg)
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg)
    }
}

@media(min-width:992px) {
    .navbar .nav-link {
        font-size: 13.5px;
        padding: 9px 9px !important;
        margin: 0 2px
    }

    .navbar .btn {
        padding: 10px 15px;
        font-size: 13.5px
    }
}

.auth-body {
    min-height: 100vh;
    background: #08111f;
    color: #0f172a;
    overflow-x: hidden
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(380px, .92fr) minmax(420px, 1fr)
}

.auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 44px;
    padding: 44px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #075985);
    color: #fff
}

.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    opacity: .56
}

.auth-visual::after {
    content: '';
    position: absolute;
    width: 430px;
    height: 430px;
    right: -170px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(249, 115, 22, .28)
}

.auth-visual-alt {
    background: linear-gradient(135deg, #0f172a, #7c2d12)
}

.auth-visual>* {
    position: relative;
    z-index: 1
}

.auth-logo {
    width: 162px;
    background: #fff;
    border-radius: 18px;
    padding: 7px 10px;
    display: inline-flex;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .16)
}

.auth-logo img {
    width: 100%;
    height: auto
}

.auth-visual h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 4rem);
    max-width: 640px;
    margin: 20px 0 14px;
    letter-spacing: 0
}

.auth-visual p {
    color: #dbeafe;
    max-width: 560px;
    font-size: 1.04rem
}

.auth-proof {
    display: grid;
    gap: 12px
}

.auth-proof span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0f2fe;
    font-weight: 800
}

.auth-proof i {
    color: #22c55e
}

.auth-card {
    align-self: center;
    width: min(92%, 560px);
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .22)
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0369a1;
    font-weight: 800;
    margin-bottom: 26px
}

.auth-heading {
    margin-bottom: 24px
}

.auth-heading .tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px
}

.auth-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin-bottom: 8px
}

.auth-form .form-label {
    font-weight: 800;
    color: #1e293b
}

.auth-input {
    position: relative
}

.auth-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0ea5e9;
    z-index: 2
}

.auth-input .form-control {
    padding-left: 44px;
    background: #f8fbff;
    border-color: #dbeafe
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px
}

.auth-row a,
.auth-switch a {
    color: #0369a1;
    font-weight: 900
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #475569;
    font-weight: 700;
    font-size: 14px
}

.auth-check input {
    margin-top: 5px
}

.auth-switch {
    text-align: center;
    margin-top: 22px
}

@media(max-width:991px) {
    .auth-shell {
        grid-template-columns: 1fr;
        background: linear-gradient(135deg, #0f172a, #075985);
        padding: 18px
    }

    .auth-visual {
        min-height: auto;
        border-radius: 28px;
        padding: 28px;
        margin-bottom: 18px
    }

    .auth-visual h1 {
        font-size: 2rem
    }

    .auth-card {
        width: 100%;
        padding: 24px;
        border-radius: 24px
    }
}

@media(max-width:575px) {
    .auth-shell {
        padding: 12px
    }

    .auth-visual {
        padding: 22px
    }

    .auth-proof {
        display: none
    }

    .auth-card {
        padding: 20px
    }

    .auth-row {
        align-items: flex-start
    }
}

/* Mobile navigation final pass */
.hero-overlay,
.hero-pattern {
    pointer-events: none
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 9;
    pointer-events: auto
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .38))
}

@media(max-width:991px) {
    .navbar-collapse {
        width: 70vw;
        max-width: 70vw;
        min-width: 280px;
        height: 100dvh;
        border-radius: 22px 0 0 22px;
        padding: 76px 16px 24px;
        background: linear-gradient(180deg, #fff, #f8fbff)
    }

    .navbar-collapse .navbar-nav {
        align-items: stretch !important;
        gap: 8px
    }

    .navbar-collapse .nav-item {
        width: 100%
    }

    .navbar-collapse .nav-link,
    .navbar-collapse .dropdown-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 0;
        padding: 13px 14px !important;
        border: 1px solid transparent;
        border-radius: 16px;
        background: #fff;
        color: #0f172a !important;
        box-shadow: 0 8px 22px rgba(15, 23, 42, .05)
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .dropdown-item:hover {
        background: #e0f2fe;
        border-color: #bae6fd;
        color: #0369a1 !important
    }

    .navbar-collapse .nav-link.active,
    .navbar-collapse .dropdown-item.active {
        background: var(--orange);
        border-color: var(--orange);
        color: #fff !important
    }

    .navbar-collapse .dropdown-toggle::after {
        margin-left: auto
    }

    .navbar-collapse .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        padding: 8px;
        margin: 8px 0 0;
        border-radius: 18px;
        background: #f8fbff;
        box-shadow: none;
        border: 1px solid #dbeafe
    }

    .navbar-collapse .dropdown-menu:not(.show) {
        display: none
    }

    .navbar-collapse .dropdown-item {
        box-shadow: none;
        margin: 5px 0;
        background: #fff
    }

    .navbar-collapse .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        border-radius: 16px;
        margin-top: 4px
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 56px;
        top: 42%;
        bottom: auto;
        height: 86px;
        background: rgba(15, 23, 42, .28);
        border-radius: 0 18px 18px 0
    }

    .carousel-control-next {
        border-radius: 18px 0 0 18px
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.65rem;
        height: 1.65rem
    }
}

@media(max-width:390px) {
    .navbar-collapse {
        width: 74vw;
        max-width: 74vw;
        min-width: 250px
    }
}

/* Footer brand/contact refinements */
.footer-logo {
    height: 58px;
    object-fit: contain
}

.footer-bottom-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.footer-bottom-brand img {
    height: 30px;
    background: #fff;
    border-radius: 10px;
    padding: 2px;
    object-fit: contain
}

.member-modal-head {
    display: flex;
    align-items: center;
    gap: 14px
}

.member-modal-head img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover
}

.member-modal-head h5 {
    margin: 4px 0 2px
}

.member-modal-head a {
    color: #0369a1;
    font-weight: 800;
    font-size: 13px
}

.member-cv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px
}

.member-cv-section {
    border: 1px solid var(--line);
    background: #f8fbff;
    border-radius: 18px;
    padding: 16px
}

.member-cv-section h6 {
    margin: 0 0 10px
}

.member-cv-section .mini-list {
    margin-top: 0
}

.member-cv-modal .modal-footer {
    border-top: 1px solid var(--line);
    background: #f8fbff
}

@media(max-width:575px) {
    .member-cv-grid {
        grid-template-columns: 1fr
    }

    .member-modal-head {
        align-items: flex-start
    }

    .member-modal-head img {
        width: 60px;
        height: 60px
    }
}

/* Member CV page */
.member-profile-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #08111f 0%, #075985 58%, #0f766e 100%);
    padding: 76px 0 88px;
    color: #fff
}

.member-profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: .38
}

.member-profile-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 76px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #f8fbff)
}

.member-profile-hero .container {
    position: relative;
    z-index: 1
}

.member-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
    align-items: center;
    gap: 46px
}

.member-profile-copy h1 {
    color: #fff;
    font-size: clamp(2.25rem, 5.2vw, 3rem);
    margin: 18px 0 12px;
    max-width: 840px;
    text-transform: uppercase;
}

.member-profile-role {
    color: #fed7aa;
    font-weight: 900;
    font-size: clamp(1rem, 1.8vw, 1.35rem)
}

.member-profile-intro {
    color: #dbeafe;
    font-size: 1.08rem;
    max-width: 700px;
    margin-top: 16px
}

.member-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px
}

.member-profile-visual {
    display: flex;
    justify-content: center
}

.member-portrait {
    position: relative;
    width: min(100%, 390px);
    aspect-ratio: 4/5;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .32);
    background: #dbeafe;
    transform: rotate(1.2deg);
    animation: memberFloat 5s ease-in-out infinite
}

.member-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.member-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 30px
}

.member-initials {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #075985;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 22px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .22)
}

@keyframes memberFloat {

    0%,
    100% {
        transform: rotate(1.2deg) translateY(0)
    }

    50% {
        transform: rotate(-.8deg) translateY(-10px)
    }
}

.member-cv-shell {
    background: #f8fbff;
    padding: 72px 0 92px
}

.member-cv-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 26px;
    align-items: start
}

.member-cv-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px
}

.member-contact-card,
.member-cv-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 24px
}

.member-contact-card h2,
.member-cv-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 14px
}

.member-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px
}

.member-contact-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    color: #475569;
    min-width: 0
}

.member-contact-list i {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    background: #e0f2fe;
    color: #0369a1;
    display: grid;
    place-items: center;
    flex: 0 0 auto
}

.member-contact-list a,
.member-contact-list span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 750;
    color: #334155
}

.member-stat {
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    padding: 18px;
    margin-top: 12px
}

.member-stat strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: #0369a1;
    line-height: 1
}

.member-stat span {
    color: #475569;
    font-weight: 800;
    font-size: 13px
}

.member-specialty {
    margin-top: 12px;
    border-radius: 16px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 900;
    padding: 12px 14px
}

.member-cv-main {
    display: grid;
    gap: 20px
}

.member-cv-panel {
    position: relative;
    overflow: hidden
}

.member-cv-panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--sky), var(--orange))
}

.member-cv-panel p {
    font-size: 1.02rem;
    color: #475569
}

.skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px
}

.skill-cloud span {
    display: inline-flex;
    align-items: center;
    border: 1px solid #bae6fd;
    background: #eff6ff;
    color: #075985;
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 900;
    font-size: 13px
}

.member-timeline {
    display: grid;
    gap: 14px;
    margin-top: 16px
}

.member-timeline article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
    padding: 15px
}

.member-timeline i {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: #0ea5e9;
    color: #fff;
    display: grid;
    place-items: center
}

.member-timeline p {
    font-size: .96rem
}

.member-cv-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px
}

.member-cv-panel.compact {
    min-height: 100%
}

@media(max-width:991px) {
    .member-profile-hero {
        padding: 54px 0 72px
    }

    .member-profile-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .member-profile-visual {
        justify-content: flex-start
    }

    .member-portrait {
        width: min(100%, 320px)
    }

    .member-cv-layout {
        grid-template-columns: 1fr
    }

    .member-cv-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:575px) {
    .member-profile-hero {
        padding: 34px 0 58px
    }

    .member-profile-copy h1 {
        font-size: 2.25rem
    }

    .member-profile-intro {
        font-size: 1rem
    }

    .member-profile-actions .btn {
        width: 100%;
        justify-content: center
    }

    .member-portrait {
        width: 100%;
        max-width: 300px;
        border-radius: 24px
    }

    .member-cv-shell {
        padding: 46px 0 62px
    }

    .member-cv-sidebar,
    .member-cv-two {
        grid-template-columns: 1fr
    }

    .member-contact-card,
    .member-cv-panel {
        border-radius: 20px;
        padding: 20px
    }

    .member-contact-list li {
        align-items: center
    }

    .member-timeline article {
        grid-template-columns: 1fr
    }
}

/* Member detail and testimonial carousel polish */
.member-profile-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
    max-width: 680px
}

.member-profile-facts div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    border: 1px solid rgba(186, 230, 253, .34);
    background: rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 13px 14px;
    backdrop-filter: blur(12px)
}

.member-profile-facts i {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    background: #fff;
    color: #075985;
    display: grid;
    place-items: center;
    grid-row: span 2
}

.member-profile-facts strong {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    line-height: 1
}

.member-profile-facts span {
    color: #dbeafe;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.25
}

.member-hero-card {
    width: min(100%, 430px);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 34px;
    background: rgba(255, 255, 255, .13);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .30);
    padding: 14px;
    backdrop-filter: blur(16px)
}

.member-hero-card .member-portrait {
    width: 100%;
    box-shadow: none;
    transform: none;
    animation: none;
    border-radius: 25px
}

.member-hero-card .member-portrait::after {
    border-radius: 25px
}

.member-hero-card-body {
    padding: 17px 6px 4px
}

.member-hero-card-body span {
    display: inline-flex;
    color: #fed7aa;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 7px
}

.member-hero-card-body strong {
    display: block;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.12rem;
    line-height: 1.25
}

.member-hero-card-body p {
    color: #dbeafe;
    margin-top: 8px;
    font-size: .94rem
}

.member-experience-accordion {
    display: grid;
    gap: 12px;
    margin-top: 16px
}

.member-experience-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: #f8fbff
}

.member-experience-accordion .accordion-button {
    gap: 10px;
    border: 0;
    background: #fff;
    color: #0f172a;
    font-weight: 900;
    box-shadow: none;
    padding: 15px 16px
}

.member-experience-accordion .accordion-button:not(.collapsed) {
    background: #eff6ff;
    color: #075985
}

.member-experience-accordion .accordion-button i {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: #0ea5e9;
    color: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 auto
}

.member-experience-accordion .accordion-button::after {
    margin-left: auto
}

.member-experience-accordion .accordion-body {
    color: #475569;
    padding: 0 18px 18px 62px
}

.testimonials-section {
    background: linear-gradient(180deg, #f8fbff, #fff)
}

.testimonial-shell {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    overflow: hidden
}

.testimonial-heading .tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 12px
}

.testimonial-heading h2 {
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    margin-bottom: 10px
}

.testimonial-heading p {
    max-width: 430px
}

.testimonial-carousel {
    min-width: 0
}

.testimonial-slide-card {
    min-height: 260px;
    padding: 24px;
    border-radius: 20px;
    box-shadow: none;
    background: linear-gradient(135deg, #ffffff, #f8fbff)
}

.testimonial-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px
}

.testimonial-slide-card .quote-mark {
    font-size: 34px;
    color: #0ea5e9
}

.testimonial-slide-card p {
    font-size: 1rem;
    color: #334155
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px
}

.testimonial-author>div {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #0f172a;
    color: #fff;
    display: grid;
    place-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    text-transform: uppercase
}

.testimonial-author strong {
    display: block;
    color: #0f172a;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2
}

.testimonial-author small {
    display: block;
    color: #64748b;
    font-weight: 750;
    margin-top: 2px
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px
}

.testimonial-controls button:not([data-bs-slide-to]) {
    width: 42px;
    height: 42px;
    border: 1px solid #bae6fd;
    border-radius: 50%;
    background: #fff;
    color: #0369a1;
    display: grid;
    place-items: center;
    transition: .2s ease
}

.testimonial-controls button:not([data-bs-slide-to]):hover {
    background: #0ea5e9;
    color: #fff
}

.testimonial-controls .carousel-indicators {
    position: static;
    display: flex;
    gap: 7px;
    margin: 0
}

.testimonial-controls .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #94a3b8;
    opacity: .55
}

.testimonial-controls .carousel-indicators .active {
    background: #0ea5e9;
    opacity: 1
}

@media(max-width:991px) {
    .member-profile-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .member-hero-card {
        max-width: 360px
    }

    .testimonial-shell {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .testimonial-heading p {
        max-width: 640px
    }
}

@media(max-width:575px) {
    .member-profile-facts {
        grid-template-columns: 1fr;
        gap: 9px
    }

    .member-profile-facts div {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 11px 12px
    }

    .member-hero-card {
        width: 100%;
        border-radius: 24px;
        padding: 10px
    }

    .member-hero-card .member-portrait {
        max-width: none;
        border-radius: 20px
    }

    .member-hero-card .member-portrait::after {
        border-radius: 20px
    }

    .member-experience-accordion .accordion-button {
        padding: 13px
    }

    .member-experience-accordion .accordion-body {
        padding: 0 14px 15px
    }

    .testimonial-shell {
        padding: 18px;
        border-radius: 22px
    }

    .testimonial-slide-card {
        min-height: 0;
        padding: 20px
    }

    .testimonial-topline {
        align-items: flex-start
    }

    .testimonial-controls {
        justify-content: space-between
    }
}

/* Home page expanded sections */
.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px
}

.home-section-head.centered {
    justify-content: center;
    text-align: center
}

.home-section-head>div {
    max-width: 720px
}

.home-section-head .tag,
.newsletter-copy .tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 12px
}

.home-section-head h2,
.newsletter-copy h2 {
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    margin-bottom: 10px
}

.home-members-section {
    background: linear-gradient(180deg, #f8fbff, #fff) !important
}

.home-members-carousel {
    position: relative
}

.home-members-carousel-mobile {
    display: none
}

.home-members-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px
}

.home-member-card {
    height: 100%;
    border-radius: 20px
}

.home-member-card img {
    height: 210px
}

.home-member-card .body {
    padding: 18px
}

.home-member-card h5 {
    font-size: 1rem
}

.home-member-card p {
    font-size: .91rem;
    min-height: 48px
}

.member-more-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: #0369a1;
    font-weight: 900;
    font-size: 13px
}

.member-more-link:hover {
    color: #f97316
}

.home-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px
}

.home-carousel-controls button {
    width: 42px;
    height: 42px;
    border: 1px solid #bae6fd;
    border-radius: 50%;
    background: #fff;
    color: #0369a1;
    display: grid;
    place-items: center;
    transition: .2s ease
}

.home-carousel-controls button:hover {
    background: #0ea5e9;
    color: #fff
}

.home-offers-carousel .carousel-item {
    height: auto;
    min-height: 0;
    background: transparent
}

.home-offers-carousel .job-card {
    height: 100%
}

.home-offers-carousel .row {
    align-items: stretch
}

.newsletter-section {
    background: #0f172a;
    position: relative;
    overflow: hidden
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    opacity: .34
}

.newsletter-box {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: 28px;
    align-items: center
}

.newsletter-copy h2 {
    color: #fff
}

.newsletter-copy p {
    color: #dbeafe;
    max-width: 560px
}

.newsletter-form {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .24)
}

.newsletter-fields {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) auto;
    gap: 10px
}

.newsletter-fields input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 13px 15px;
    font-size: 14px;
    outline: 0;
    background: #f8fbff
}

.newsletter-fields input:focus {
    border-color: #7dd3fc;
    box-shadow: 0 0 0 .22rem rgba(14, 165, 233, .14)
}

.newsletter-fields button {
    border: 0;
    border-radius: 16px;
    background: #f97316;
    color: #fff;
    font-weight: 900;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap
}

.newsletter-fields button:hover {
    background: #ea580c
}

.newsletter-alert {
    border-radius: 16px;
    padding: 11px 13px;
    font-weight: 850;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: center
}

.newsletter-alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0
}

/* Home hero breathing room */
.hero-carousel .carousel-item {
    height: 700px;
    min-height: 700px
}

.hero-content {
    padding-top: 96px;
    padding-bottom: 74px
}

.stats-band {
    margin-top: -34px;
    margin-bottom: 34px
}

@media(min-width:992px) {
    .hero-carousel .carousel-item {
        height: 680px;
        min-height: 680px
    }

    .hero-content {
        padding-top: 86px;
        max-width: 760px
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 3.7vw, 3.85rem)
    }
}

@media(max-width:991px) {
    .hero-carousel .carousel-item {
        height: 650px;
        min-height: 650px
    }

    .hero-content {
        padding-top: 86px;
        padding-bottom: 62px
    }

    .stats-band {
        margin-top: 32px;
        margin-bottom: 20px
    }

    .home-section-head {
        align-items: flex-start
    }

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

    .newsletter-box {
        grid-template-columns: 1fr
    }

    .newsletter-fields {
        grid-template-columns: 1fr 1fr
    }

    .newsletter-fields button {
        grid-column: 1/-1;
        min-height: 48px
    }
}

@media(max-width:575px) {
    .hero-carousel .carousel-item {
        height: 690px;
        min-height: 690px
    }

    .hero-content {
        padding-top: 76px;
        padding-bottom: 58px
    }

    .hero-content h1 {
        font-size: 2.05rem;
        line-height: 1.14
    }

    .hero-content p {
        font-size: .97rem;
        line-height: 1.58
    }

    .stats-band {
        margin-top: 22px;
        margin-bottom: 16px
    }

    .stats-box {
        border-radius: 22px
    }

    .home-section-head {
        display: grid;
        gap: 16px;
        margin-bottom: 22px
    }

    .home-section-head .btn {
        width: 100%;
        justify-content: center
    }

    .home-members-carousel-desktop {
        display: none
    }

    .home-members-carousel-mobile {
        display: block
    }

    .home-members-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .home-member-card img {
        height: 235px
    }

    .home-member-card p {
        min-height: 0
    }

    .home-carousel-controls {
        justify-content: space-between
    }

    .newsletter-section {
        padding: 56px 0
    }

    .newsletter-box {
        gap: 18px
    }

    .newsletter-form {
        padding: 16px;
        border-radius: 20px
    }

    .newsletter-fields {
        grid-template-columns: 1fr
    }

    .newsletter-fields button {
        min-height: 48px
    }
}

/* Realisations search/filter and promotional popup */
.realisations-toolbar {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft)
}

.realisations-search {
    position: relative
}

.realisations-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0ea5e9;
    font-size: 18px
}

.realisations-search input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: #f8fbff;
    padding: 15px 16px 15px 46px;
    font-weight: 700;
    color: #0f172a;
    outline: 0
}

.realisations-search input:focus {
    border-color: #7dd3fc;
    box-shadow: 0 0 0 .24rem rgba(14, 165, 233, .14);
    background: #fff
}

.realisations-filters {
    display: flex;
    gap: 9px;
    flex-wrap: wrap
}

.realisations-filters button {
    border: 1px solid #bae6fd;
    background: #fff;
    color: #0369a1;
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 900;
    font-size: 13px;
    transition: .2s ease
}

.realisations-filters button:hover,
.realisations-filters button.active {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff
}

.promo-modal .modal-dialog {
    max-width: min(940px, calc(100vw - 28px))
}

.promo-modal .modal-content {
    position: relative;
    border: 0;
    border-radius: 30px;
    overflow: hidden;
    background: #08111f;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .42)
}

.promo-modal .modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    opacity: .24;
    pointer-events: none
}

.promo-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 6;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    display: grid;
    place-items: center;
    backdrop-filter: blur(10px)
}

.promo-close:hover {
    background: #fff;
    color: #0f172a
}

.promo-carousel {
    position: relative;
    z-index: 2
}

.promo-slide {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    min-height: 430px
}

.promo-media {
    position: relative;
    background: #0f172a;
    overflow: hidden
}

.promo-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover
}

.promo-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 17, 31, .08), rgba(8, 17, 31, .72))
}

.promo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 50px 76px;
    position: relative
}

.promo-content span {
    display: inline-flex;
    width: max-content;
    background: rgba(14, 165, 233, .14);
    border: 1px solid rgba(125, 211, 252, .38);
    color: #e0f2fe;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 14px
}

.promo-content h2 {
    color: #fff;
    font-size: clamp(1.75rem, 3.4vw, 3rem);
    margin-bottom: 14px
}

.promo-content p {
    color: #dbeafe;
    font-size: 1.02rem;
    line-height: 1.72
}

.promo-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px
}

.promo-actions .btn-outline-primary {
    background: #fff;
    border-color: #fff;
    color: #075985
}

.promo-actions .btn-outline-primary:hover {
    background: #e0f2fe;
    color: #075985
}

.promo-controls {
    position: absolute;
    left: calc(50% + 6px);
    right: 24px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5
}

.promo-controls button:not([data-bs-slide-to]) {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    display: grid;
    place-items: center
}

.promo-controls button:not([data-bs-slide-to]):hover {
    background: #fff;
    color: #0f172a
}

.promo-controls .carousel-indicators {
    position: static;
    display: flex;
    gap: 7px;
    margin: 0
}

.promo-controls .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    opacity: .45
}

.promo-controls .carousel-indicators .active {
    opacity: 1;
    background: #f97316
}

@media(max-width:767px) {
    .realisations-toolbar {
        padding: 14px;
        border-radius: 20px
    }

    .realisations-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none
    }

    .realisations-filters::-webkit-scrollbar {
        display: none
    }

    .realisations-filters button {
        white-space: nowrap
    }

    .promo-modal .modal-dialog {
        max-width: calc(100vw - 18px);
        margin: .5rem auto
    }

    .promo-modal .modal-content {
        border-radius: 24px
    }

    .promo-slide {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .promo-media img {
        min-height: 210px;
        height: 210px
    }

    .promo-media::after {
        background: linear-gradient(180deg, rgba(8, 17, 31, .05), rgba(8, 17, 31, .66))
    }

    .promo-content {
        padding: 24px 20px 74px
    }

    .promo-content h2 {
        font-size: 1.65rem
    }

    .promo-content p {
        font-size: .96rem
    }

    .promo-actions .btn {
        width: 100%;
        justify-content: center
    }

    .promo-controls {
        left: 20px;
        right: 20px;
        bottom: 18px;
        justify-content: space-between
    }
}

/* Member hero contacts and light promotional modal */
.member-hero-contacts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px
}

.member-hero-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    border: 1px solid rgba(186, 230, 253, .38);
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    padding: 8px 12px;
    font-weight: 850;
    font-size: 13px;
    backdrop-filter: blur(12px)
}

.member-hero-contacts a:hover {
    background: #fff;
    color: #075985
}

.member-hero-contacts i {
    color: #fed7aa
}

.member-hero-contacts span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.promo-modal .modal-content {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 35px 100px rgba(15, 23, 42, .25)
}

.promo-modal .modal-content::before {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    opacity: 1
}

.promo-close {
    background: #fff;
    color: #0f172a;
    border-color: #dbeafe;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .14)
}

.promo-close:hover {
    background: #0f172a;
    color: #fff
}

.promo-media {
    background: #eff6ff
}

.promo-media::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .72))
}

.promo-content span {
    background: #e0f2fe;
    border-color: #bae6fd;
    color: #0369a1
}

.promo-content h2 {
    color: #0f172a
}

.promo-content p {
    color: #475569
}

.promo-controls button:not([data-bs-slide-to]) {
    background: #fff;
    color: #0369a1;
    border-color: #bae6fd;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10)
}

.promo-controls button:not([data-bs-slide-to]):hover {
    background: #0ea5e9;
    color: #fff
}

.promo-controls .carousel-indicators [data-bs-target] {
    background: #94a3b8
}

.promo-controls .carousel-indicators .active {
    background: #f97316
}

@media(max-width:575px) {
    .member-hero-contacts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px
    }

    .member-hero-contacts a {
        justify-content: flex-start;
        border-radius: 16px
    }

    .promo-media::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .82))
    }
}

/* Compact fixed mobile header */
@media(max-width:991px) {
    body {
        padding-top: 58px
    }

    .top-strip {
        display: none
    }

    .navbar,
    .navbar.scrolled {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1055;
        padding: 5px 0;
        min-height: 58px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 10px 28px rgba(15, 23, 42, .09);
    }

    .navbar .container {
        min-height: 48px
    }

    .navbar-brand {
        padding: 0
    }

    .navbar-brand img {
        height: 40px
    }

    .navbar-toggler {
        width: 42px;
        height: 42px;
        padding: 7px;
        border-radius: 14px;
        background: #f8fbff;
        box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    }

    .navbar-toggler-icon {
        width: 1.25em;
        height: 1.25em
    }

    .navbar-collapse {
        top: 0;
        padding-top: 68px
    }
}

@media(max-width:575px) {
    body {
        padding-top: 52px
    }

    .navbar,
    .navbar.scrolled {
        min-height: 52px;
        padding: 4px 0
    }

    .navbar .container {
        min-height: 44px
    }

    .navbar-brand img {
        height: 34px
    }

    .navbar-toggler {
        width: 38px;
        height: 38px;
        padding: 6px;
        border-radius: 12px
    }

    .navbar-mobile-actions {
        gap: 7px
    }

    .navbar-mobile-actions .theme-toggle {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        flex-basis: 38px
    }

    .navbar-toggler-icon {
        width: 1.12em;
        height: 1.12em
    }

    .navbar-collapse {
        padding-top: 62px
    }
}

/* Global motion, stable navigation and theme system */
:root {
    color-scheme: light;
    --page-bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --surface-strong: #eff6ff;
    --text-main: #0f172a;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --text-soft: #475569;
    --border-soft: #dbeafe;
    --nav-bg: rgba(255, 255, 255, .96);
    --nav-link: #1e293b;
    --nav-hover-bg: #e0f2fe;
    --nav-hover-text: #0369a1;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --page-bg: #07111f;
    --surface: #0d1b2e;
    --surface-soft: #10243a;
    --surface-strong: #173554;
    --text-main: #e5edf7;
    --text-heading: #f8fafc;
    --text-muted: #a8b7cc;
    --text-soft: #c6d3e4;
    --border-soft: rgba(148, 163, 184, .26);
    --nav-bg: rgba(7, 17, 31, .94);
    --nav-link: #e5edf7;
    --nav-hover-bg: rgba(14, 165, 233, .18);
    --nav-hover-text: #7dd3fc;
    --soft: #10243a;
    --line: rgba(148, 163, 184, .26);
    --dark: #f8fafc;
    --muted: #a8b7cc;
    --white: #0d1b2e;
    --shadow: 0 24px 70px rgba(0, 0, 0, .36);
    --shadow-soft: 0 14px 44px rgba(0, 0, 0, .25);
}

body {
    background: var(--page-bg);
    color: var(--text-main);
    transition: background-color .28s ease, color .28s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading)
}

p,
.lead-soft,
.mini-list li,
.timeline-item p,
.formation-detail-grid span,
.recent-training-list small,
.member-contact-list li,
.member-contact-list a,
.member-contact-list span,
.member-cv-panel p,
.testimonial-slide-card p,
.testimonial-author small {
    color: var(--text-muted)
}

.bg-soft,
.testimonials-section,
.home-members-section,
.member-cv-shell {
    background: var(--surface-soft) !important
}

.navbar,
.navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1055;
    padding: 12px 0;
    min-height: 78px;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 10px 32px rgba(15, 23, 42, .08);
    transform: none !important;
    transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body:not(.auth-body) {
    padding-top: 78px
}

.navbar .container {
    min-height: 54px
}

.navbar.scrolled {
    box-shadow: 0 16px 36px rgba(15, 23, 42, .11)
}

.navbar-brand img {
    height: 58px;
    object-fit: contain;
    transition: none
}

.navbar .nav-link {
    color: var(--nav-link) !important
}

.navbar .nav-link:hover {
    background: var(--nav-hover-bg);
    color: var(--nav-hover-text) !important
}

.navbar .nav-link.active {
    background: var(--orange);
    color: #fff !important
}

.navbar .dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border-soft)
}

.dropdown-item {
    color: var(--text-main)
}

.dropdown-item:hover {
    background: var(--nav-hover-bg);
    color: var(--nav-hover-text)
}

.dropdown-item.active {
    background: var(--orange);
    color: #fff
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: var(--surface);
    color: var(--nav-hover-text);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .09);
    transition: background-color .22s ease, color .22s ease, transform .22s ease, border-color .22s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    background: var(--nav-hover-bg)
}

.navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto
}

.navbar-mobile-actions .theme-toggle {
    position: relative;
    z-index: 1100;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    flex: 0 0 42px
}

.theme-toggle i {
    grid-area: 1/1;
    transition: opacity .2s ease, transform .25s ease
}

html[data-theme="light"] .theme-toggle-moon {
    opacity: 0;
    transform: scale(.75) rotate(-18deg)
}

html[data-theme="light"] .theme-toggle-sun {
    opacity: 1;
    transform: scale(1) rotate(0)
}

html[data-theme="dark"] .theme-toggle-sun {
    opacity: 0;
    transform: scale(.75) rotate(18deg)
}

html[data-theme="dark"] .theme-toggle-moon {
    opacity: 1;
    transform: scale(1) rotate(0)
}

.glass-card,
.service-card,
.project-card,
.member-card,
.training-card,
.testimonial-card,
.alumni-card,
.contact-card,
.value-card,
.detail-panel,
.service-grid-note,
.floating-badge,
.testimonial-shell,
.testimonial-slide-card,
.newsletter-form,
.realisations-toolbar,
.member-contact-card,
.member-cv-panel,
.member-timeline article,
.member-experience-accordion .accordion-item,
.member-experience-accordion .accordion-button,
.resource-card,
.split-panel {
    background: var(--surface);
    border-color: var(--border-soft);
    color: var(--text-main);
}

.formation-detail-grid div,
.recent-training-list a,
.member-cv-section,
.member-timeline article,
.realisations-search input,
.newsletter-fields input,
.form-control,
.form-select {
    background: var(--surface-soft);
    border-color: var(--border-soft);
    color: var(--text-main);
}

.form-control::placeholder,
.realisations-search input::placeholder,
.newsletter-fields input::placeholder {
    color: var(--text-muted)
}

.chip {
    background: var(--surface-strong)
}

.section-heading .tag,
.home-section-head .tag,
.newsletter-copy .tag,
.testimonial-heading .tag {
    background: var(--surface-strong);
    color: var(--nav-hover-text)
}

html[data-theme="dark"] .top-strip,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .newsletter-section,
html[data-theme="dark"] .cta-section {
    background: #030712
}

html[data-theme="dark"] .service-feature,
html[data-theme="dark"] .detail-hero,
html[data-theme="dark"] .member-profile-hero {
    background: linear-gradient(135deg, #030712, #0f3754 58%, #134e4a)
}

html[data-theme="dark"] .btn-outline-primary,
html[data-theme="dark"] .filter-btn,
html[data-theme="dark"] .realisations-filters button,
html[data-theme="dark"] .home-carousel-controls button,
html[data-theme="dark"] .testimonial-controls button:not([data-bs-slide-to]) {
    background: var(--surface);
    border-color: var(--border-soft);
    color: #7dd3fc;
}

html[data-theme="dark"] .btn-outline-primary:hover,
html[data-theme="dark"] .filter-btn:hover,
html[data-theme="dark"] .filter-btn.active,
html[data-theme="dark"] .realisations-filters button:hover,
html[data-theme="dark"] .realisations-filters button.active {
    background: #0ea5e9;
    color: #fff
}

html[data-theme="dark"] .btn-login {
    background: #e5edf7;
    color: #07111f;
    border-color: #e5edf7
}

html[data-theme="dark"] .btn-login:hover {
    background: #fff;
    color: #020617
}

html[data-theme="dark"] .modal-content {
    background: var(--surface);
    color: var(--text-main)
}

html[data-theme="dark"] .modal-header {
    background: var(--surface-soft)
}

html[data-theme="dark"] .promo-modal .modal-content {
    background: #fff;
    color: #0f172a
}

html[data-theme="dark"] .promo-content h2 {
    color: #0f172a
}

html[data-theme="dark"] .promo-content p {
    color: #475569
}

html[data-theme="dark"] .auth-body {
    background: #030712;
    color: var(--text-main)
}

html[data-theme="dark"] .auth-card {
    background: var(--surface);
    border-color: var(--border-soft);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .42)
}

html[data-theme="dark"] .auth-heading h2,
html[data-theme="dark"] .auth-form .form-label,
html[data-theme="dark"] .testimonial-author strong,
html[data-theme="dark"] .formation-detail-grid strong,
html[data-theme="dark"] .recent-training-list a,
html[data-theme="dark"] .member-experience-accordion .accordion-button {
    color: var(--text-heading)
}

html[data-theme="dark"] .auth-heading p,
html[data-theme="dark"] .auth-check,
html[data-theme="dark"] .auth-switch,
html[data-theme="dark"] .member-experience-accordion .accordion-body,
html[data-theme="dark"] .member-stat span {
    color: var(--text-muted)
}

html[data-theme="dark"] .auth-input .form-control {
    background: var(--surface-soft);
    border-color: var(--border-soft);
    color: var(--text-main)
}

html[data-theme="dark"] .gallery-card .overlay {
    background: rgba(13, 27, 46, .94);
    border: 1px solid var(--border-soft)
}

html[data-theme="dark"] .gallery-card .overlay span {
    color: var(--text-muted)
}

html[data-theme="dark"] .map-box {
    background: linear-gradient(135deg, #10243a, #173554)
}

html[data-theme="dark"] .job-detail-section,
html[data-theme="dark"] .application-section {
    background: #07111f
}

html[data-theme="dark"] .job-story-panel,
html[data-theme="dark"] .job-apply-card,
html[data-theme="dark"] .job-poster-card,
html[data-theme="dark"] .job-recent-card,
html[data-theme="dark"] .job-share-card,
html[data-theme="dark"] .application-form-panel,
html[data-theme="dark"] .application-summary {
    background: var(--surface);
    border-color: var(--border-soft);
    color: var(--text-main)
}

html[data-theme="dark"] .job-hero-facts div,
html[data-theme="dark"] .job-recent-list a,
html[data-theme="dark"] .job-recent-grid a {
    background: var(--surface-soft);
    border-color: var(--border-soft);
    color: var(--text-main)
}

html[data-theme="dark"] .rich-text,
html[data-theme="dark"] .job-apply-card p,
html[data-theme="dark"] .job-share-card p,
html[data-theme="dark"] .application-summary p {
    color: var(--text-soft)
}

html[data-theme="dark"] .job-hero-facts strong,
html[data-theme="dark"] .job-poster-card strong,
html[data-theme="dark"] .job-recent-list strong,
html[data-theme="dark"] .job-recent-grid strong {
    color: var(--text-heading)
}

html[data-theme="dark"] .job-hero-facts span,
html[data-theme="dark"] .job-recent-list small,
html[data-theme="dark"] .job-recent-grid small {
    color: var(--text-muted)
}

html[data-theme="dark"] .job-panel-kicker {
    background: var(--surface-strong);
    color: #7dd3fc
}

html[data-theme="dark"] .application-form-panel .form-control,
html[data-theme="dark"] .application-form-panel .form-select {
    background: var(--surface-soft);
    border-color: var(--border-soft);
    color: var(--text-main)
}

.job-share-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 22px
}

.job-share-card h2 {
    font-size: 1.15rem;
    margin: 8px 0 8px
}

.job-share-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 14px
}

.engagement-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px
}

.engagement-bar>span,
.engagement-like {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .13);
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    backdrop-filter: blur(12px)
}

.engagement-bar strong {
    font-family: 'Poppins', sans-serif
}

.engagement-like {
    border: 0;
    transition: .2s ease
}

.engagement-like:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .22)
}

.engagement-like.liked {
    background: #1877f2;
    color: #fff;
    box-shadow: 0 14px 28px rgba(24, 119, 242, .24)
}

.engagement-like:disabled {
    opacity: .7;
    cursor: wait
}

.detail-panel .engagement-bar,
.job-story-panel .engagement-bar {
    margin-top: 0
}

html[data-theme="dark"] .engagement-bar>span,
html[data-theme="dark"] .engagement-like {
    border-color: rgba(148, 163, 184, .28);
    background: rgba(13, 27, 46, .76)
}

html[data-theme="dark"] .engagement-like.liked {
    background: #1877f2;
    color: #fff
}

/* Job offer cards readability and spacing */
.job-card {
    background: var(--surface);
    border-color: var(--border-soft);
    color: var(--text-main)
}

.job-body {
    gap: 12px
}

.job-body h5 {
    margin: 6px 0 0;
    color: #0f172a;
    line-height: 1.28
}

.job-body p {
    margin: 0;
    color: #475569;
    line-height: 1.6
}

.job-meta {
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    gap: 10px
}

.job-body .d-flex {
    padding-top: 16px;
    gap: 10px !important
}

.job-photo-overlay {
    text-align: center;
    padding: 16px 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 5px;
    justify-items: center
}

.job-photo-overlay strong {
    font-size: 15px;
    line-height: 1.35;
    word-break: normal
}

html[data-theme="dark"] .job-card {
    background: var(--surface);
    border-color: var(--border-soft);
    box-shadow: var(--shadow-soft)
}

html[data-theme="dark"] .job-body h5 {
    color: var(--text-heading)
}

html[data-theme="dark"] .job-body p,
html[data-theme="dark"] .job-meta {
    color: var(--text-muted)
}

html[data-theme="dark"] .job-meta {
    border-color: var(--border-soft)
}

html[data-theme="dark"] .job-photo-overlay {
    background: rgba(3, 7, 18, .82);
    border-color: rgba(148, 163, 184, .34)
}

html[data-theme="dark"] .job-tags .chip {
    background: var(--surface-strong);
    color: #7dd3fc
}

html[data-theme="dark"] .job-tags .chip.orange {
    background: rgba(249, 115, 22, .16);
    color: #fdba74
}

.page-motion-ready .motion-item,
.page-motion-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2, .65, .2, 1), transform .7s cubic-bezier(.2, .65, .2, 1), box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
    will-change: opacity, transform;
}

.page-motion-ready .motion-item.motion-left {
    transform: translateX(-26px)
}

.page-motion-ready .motion-item.motion-right {
    transform: translateX(26px)
}

.page-motion-ready .motion-item.motion-text {
    transform: translateY(16px);
    filter: blur(3px);
}

.page-motion-ready .motion-item.motion-image {
    transform: scale(.965) translateY(18px);
    transform-origin: center;
    filter: saturate(.9) contrast(.98);
}

.page-motion-ready .motion-item.show,
.page-motion-ready .reveal.show {
    opacity: 1;
    transform: none;
}

.page-motion-ready .motion-item.motion-text.show {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

.page-motion-ready .motion-item.motion-image.show {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) contrast(1);
}

.page-motion-ready .motion-stagger-1 {
    transition-delay: .06s
}

.page-motion-ready .motion-stagger-2 {
    transition-delay: .12s
}

.page-motion-ready .motion-stagger-3 {
    transition-delay: .18s
}

.page-motion-ready .motion-stagger-4 {
    transition-delay: .24s
}

.project-card img,
.member-card img,
.training-card img,
.gallery-card img,
.alumni-card img,
.photo-frame img,
.member-portrait img {
    transition: transform .72s cubic-bezier(.2, .65, .2, 1), filter .35s ease;
}

.project-card:hover img,
.member-card:hover img,
.training-card:hover img,
.alumni-card:hover img,
.photo-frame:hover img,
.member-portrait:hover img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.02);
}

.gallery-card:hover img {
    transform: scale(1.08)
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content p,
.hero-actions {
    animation: heroRise .78s cubic-bezier(.2, .65, .2, 1) both;
}

.hero-content h1 {
    animation-delay: .06s
}

.hero-content p {
    animation-delay: .12s
}

.hero-actions {
    animation-delay: .18s
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.carousel-item.active .hero-img {
    animation: heroImageZoom 5.4s ease-out both;
}

.page-hero img {
    animation: pageHeroZoom 1.35s ease-out both;
}

@keyframes heroImageZoom {
    from {
        transform: scale(1.055)
    }

    to {
        transform: scale(1)
    }
}

@keyframes pageHeroZoom {
    from {
        transform: scale(1.045);
        opacity: .28
    }

    to {
        transform: scale(1);
        opacity: .42
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important
    }

    .page-motion-ready .motion-item,
    .page-motion-ready .reveal {
        opacity: 1 !important;
        transform: none !important
    }
}

@media(max-width:991px) {
    body:not(.auth-body) {
        padding-top: 58px
    }

    .navbar,
    .navbar.scrolled {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        min-height: 58px;
        padding: 5px 0;
        background: var(--nav-bg);
    }

    .navbar .container {
        min-height: 48px
    }

    .navbar-brand img {
        height: 40px
    }

    .navbar-collapse {
        background: var(--surface);
        border-color: var(--border-soft)
    }

    .navbar-collapse .nav-link,
    .navbar-collapse .dropdown-item {
        background: var(--surface-soft);
        color: var(--text-main) !important;
        border-color: transparent
    }

    .navbar-collapse .dropdown-menu {
        background: var(--surface);
        border-color: var(--border-soft)
    }

    .theme-toggle {
        width: 100%;
        height: 44px;
        border-radius: 16px
    }

    .navbar-mobile-actions .theme-toggle {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        flex-basis: 42px
    }

    .navbar-toggler {
        background: var(--surface-soft);
        border: 1px solid var(--border-soft) !important
    }

    html[data-theme="dark"] .navbar-toggler-icon {
        filter: invert(1) grayscale(1)
    }

    html[data-theme="dark"] .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
    html[data-theme="dark"] .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        background: #e5edf7
    }
}

@media(max-width:575px) {
    body:not(.auth-body) {
        padding-top: 52px
    }

    .navbar,
    .navbar.scrolled {
        min-height: 52px;
        padding: 4px 0
    }

    .navbar .container {
        min-height: 44px
    }

    .navbar-brand img {
        height: 34px
    }
}

.auth-body {
    padding-top: 0 !important
}

/* Fixed topbar + fixed menu alignment */
:root {
    --topbar-h: 38px;
    --front-nav-h: 78px;
}

body:not(.auth-body) {
    padding-top: calc(var(--topbar-h) + var(--front-nav-h));
}

.top-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    min-height: var(--topbar-h);
    display: flex;
    align-items: center;
    background: #0b1220;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.top-strip a {
    color: #dbeafe
}

.navbar,
.navbar.scrolled {
    top: var(--topbar-h);
}

@media(max-width:991px) {
    body:not(.auth-body) {
        padding-top: 58px;
    }

    .top-strip {
        display: none;
    }

    .navbar,
    .navbar.scrolled {
        top: 0;
    }
}

@media(max-width:575px) {
    body:not(.auth-body) {
        padding-top: 52px;
    }
}

/* Mobile stability and fast paint guardrails */
html {
    min-width: 0;
    max-width: 100%;
    overscroll-behavior-x: none;
}

body {
    min-width: 0;
    max-width: 100%;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body:not(.mobile-menu-open) {
    overflow-x: hidden;
}

main,
section,
header,
footer,
.container,
.container-fluid,
.row,
[class*="col-"] {
    min-width: 0;
}

.container,
.container-fluid {
    width: 100%;
}

img,
svg,
video,
canvas,
picture {
    display: block;
    height: auto;
}

.navbar-brand img,
.theme-toggle i,
.icon-box i,
.member-contact-list i,
.member-timeline i,
.member-experience-accordion i,
.social-mini i,
.btn i,
.chip i {
    display: inline-grid;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
strong,
li,
button,
input,
textarea,
select {
    overflow-wrap: anywhere;
}

.btn,
.nav-link,
.dropdown-item,
.filter-btn,
.newsletter-fields button,
.member-hero-contacts a {
    min-width: 0;
    white-space: normal;
}

.breadcrumb-custom {
    flex-wrap: wrap;
    min-width: 0;
}

.hero-carousel,
.page-hero,
.member-profile-hero,
.member-cv-shell,
.section-padding,
.section-padding-sm,
.stats-band {
    width: 100%;
    max-width: 100%;
}

.hero-img,
.page-hero img,
.training-card img,
.project-card img,
.gallery-card img,
.alumni-card img,
.member-card img,
.photo-frame img,
.member-portrait img {
    width: 100%;
    object-fit: cover;
    background: #e0f2fe;
}

.member-profile-grid,
.member-profile-copy,
.member-profile-visual,
.member-hero-card,
.member-cv-layout,
.member-cv-main,
.member-cv-sidebar,
.member-cv-two,
.member-profile-facts {
    min-width: 0;
}

.member-profile-copy h1,
.member-profile-intro,
.member-profile-role,
.member-hero-card-body strong,
.member-hero-card-body p,
.member-cv-panel p,
.member-contact-list a,
.member-contact-list span {
    overflow-wrap: anywhere;
}

.member-profile-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.member-hero-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.member-hero-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(186, 230, 253, .34);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    padding: 9px 12px;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.member-hero-contacts i {
    color: #fed7aa;
}

@media(max-width:991px) {
    .navbar-collapse {
        max-width: calc(100vw - 22px);
        will-change: transform;
    }

    .member-profile-grid {
        align-items: start;
    }

    .member-profile-copy h1 {
        max-width: 100%;
    }
}

@media(max-width:575px) {
    body:not(.auth-body) {
        width: 100%;
    }

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

    .row {
        --bs-gutter-x: 1rem;
    }

    .member-profile-hero {
        padding-top: 30px;
    }

    .member-profile-copy h1 {
        font-size: clamp(1.82rem, 11vw, 2.25rem);
        line-height: 1.12;
    }

    .member-profile-actions {
        gap: 10px;
    }

    .member-profile-actions .btn,
    .member-hero-contacts a {
        width: 100%;
    }

    .member-hero-card {
        max-width: 100%;
    }

    .member-portrait {
        max-width: 100%;
        transform: none;
        animation: none;
    }

    .member-hero-card-body {
        padding-left: 4px;
        padding-right: 4px;
    }

    .member-cv-panel,
    .member-contact-card {
        padding: 18px;
    }

    .member-contact-list li {
        align-items: flex-start;
    }

    .member-experience-accordion .accordion-button span {
        min-width: 0;
    }
}

/* Production responsive hardening */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    position: relative;
}

.carousel,
.carousel-inner,
.carousel-item {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-carousel {
    width: 100%;
    max-width: 100%;
    isolation: isolate;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel picture {
    height: 100%;
}

.hero-carousel picture {
    display: block;
    width: 100%;
}

.hero-carousel .container {
    position: relative;
    z-index: 2;
    min-height: 100%;
}

.hero-content {
    max-width: min(760px, 100%);
}

.hero-content h1,
.hero-content p,
.section-heading h2,
.section-heading p {
    max-width: 100%;
}

.home-members-carousel,
.testimonial-carousel,
.promo-carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.home-members-grid,
.newsletter-fields,
.testimonial-shell {
    min-width: 0;
}

.form-control,
.form-select,
.auth-input,
.auth-card,
.newsletter-form,
.newsletter-fields input {
    max-width: 100%;
}

@media(max-width:767px) {
    .hero-carousel .carousel-item {
        min-height: calc(100svh - 52px);
        height: calc(100svh - 52px);
    }

    .hero-carousel .carousel-inner,
    .hero-carousel picture {
        min-height: inherit;
    }

    .hero-img {
        height: 100%;
        min-height: inherit;
    }

    .hero-content {
        padding-top: 0;
        padding-bottom: 0;
        margin: auto 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 44px;
    }

    .testimonial-shell {
        padding: 20px;
    }
}

@media(max-width:575px) {
    .hero-carousel .carousel-item {
        position: relative;
        align-items: center;
        min-height: calc(100svh - 52px);
        height: calc(100svh - 52px);
    }

    .hero-carousel .carousel-item:not(.active):not(.carousel-item-next):not(.carousel-item-prev) {
        display: none;
    }

    .hero-carousel .carousel-item.active,
    .hero-carousel .carousel-item-next,
    .hero-carousel .carousel-item-prev {
        display: flex;
    }

    .hero-carousel picture,
    .hero-img {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .hero-overlay,
    .hero-pattern {
        z-index: 1;
    }

    .hero-carousel .container {
        position: relative;
        z-index: 3;
        display: flex !important;
        align-items: center !important;
        min-height: 100%;
        padding-top: 10px;
        padding-bottom: 46px;
    }

    .hero-content {
        display: block;
        visibility: visible;
        opacity: 1;
        transform: none;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-content .eyebrow,
    .hero-content h1,
    .hero-content p,
    .hero-actions {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .hero-content .eyebrow {
        font-size: 10.5px;
        padding: 6px 10px;
    }

    .hero-content h1 {
        font-size: 1.88rem;
        line-height: 1.14;
        margin: 14px 0 10px;
    }

    .hero-content p {
        font-size: .92rem;
        line-height: 1.5;
    }

    .hero-actions {
        display: flex;
        margin-top: 18px;
    }

    .hero-actions .btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .promo-modal .modal-dialog {
        max-width: calc(100vw - 32px);
        margin: .75rem auto;
    }

    .promo-modal .modal-content {
        border-radius: 18px;
        max-height: calc(100svh - 24px);
    }

    .promo-close {
        right: 10px;
        top: 10px;
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .promo-slide {
        min-height: 0;
    }

    .promo-media img {
        height: 135px;
        min-height: 135px;
    }

    .promo-content {
        padding: 16px 16px 60px;
    }

    .promo-content span {
        font-size: 9.5px;
        padding: 5px 9px;
        margin-bottom: 9px;
    }

    .promo-content h2 {
        font-size: 1.18rem;
        line-height: 1.18;
        margin-bottom: 8px;
    }

    .promo-content p {
        font-size: .82rem;
        line-height: 1.45;
    }

    .promo-actions {
        gap: 8px;
        margin-top: 14px;
    }

    .promo-actions .btn {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 12.5px;
    }

    .promo-controls {
        left: 14px;
        right: 14px;
        bottom: 12px;
    }

    .promo-controls button:not([data-bs-slide-to]) {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}