:root {
    --bordeaux-900: #2C1015;
    --bordeaux-800: #4A1A23;
    --bordeaux-500: #896A70;
    --bordeaux-200: #C0AFB2;

    --hunter-950: #121A14;
    --hunter-800: #233126;
    --hunter-500: #707972;
    --hunter-200: #B2B7B3;

    --sage-900: #404734;
    --sage-700: #6A7657;
    --sage-400: #9EA692;
    --sage-200: #CBCFC4;

    --bone-700: #6C6861;
    --bone-500: #A29C92;
    --bone-300: #D8D0C2;
    --bone-100: #E8E3DA;

    --cedar-900: #543A25;
    --cedar-700: #8C603E;
    --cedar-400: #B49882;
    --cedar-200: #D7C7BB;

    --white: #FFFCF6;
    --line: rgba(18, 26, 20, 0.12);
    --line-strong: rgba(18, 26, 20, 0.18);
    --shadow: 0 24px 70px rgba(18, 26, 20, 0.12);
    --soft-shadow: 0 14px 38px rgba(18, 26, 20, 0.08);
    --glow-shadow: 0 28px 90px rgba(74, 26, 35, 0.14);
    --radius: 24px;
    --max: 1180px;

    --gradient-page:
        radial-gradient(circle at 18% 8%, rgba(180, 152, 130, 0.24), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(154, 166, 146, 0.28), transparent 24%),
        linear-gradient(180deg, #FFFCF6 0%, #E8E3DA 48%, #CBCFC4 100%);

    --topbar-bg: #E8E3DA;
    --card-bg: rgba(255, 252, 246, 0.90);
    --card-bg-strong: rgba(255, 252, 246, 0.96);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: var(--hunter-950);
    background: var(--gradient-page);
    line-height: 1.6;
}

body[dir="rtl"] {
    font-family: "Tahoma", "Arial", sans-serif;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 4rem, var(--max));
    margin: 0 auto;
}

.page-main {
    padding-top: 2.5rem;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background:
        linear-gradient(90deg, rgba(232, 227, 218, 0.97), rgba(255, 252, 246, 0.92));
    border-bottom: 1px solid rgba(18, 26, 20, 0.10);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.brand-logo-mark {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--topbar-bg);
    border-radius: 6px;
    isolation: isolate;
}

.brand-video-logo {
    width: 112px;
    height: 112px;
    object-fit: contain;
    object-position: center center;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(1.03) saturate(1.02);
    pointer-events: none;
    transform: none;
}

.brand-text {
    min-width: 0;
}

.brand-title {
    font-size: 1.48rem;
    font-weight: 800;
    color: var(--hunter-950);
    margin: 0;
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
    letter-spacing: 0.16em;
    line-height: 1;
}

.brand-subtitle {
    margin: 0.28rem 0 0;
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--bordeaux-800);
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a,
.dropdown-trigger {
    font-weight: 700;
    color: var(--hunter-950);
    opacity: 0.94;
    font-size: 1.02rem;
    transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.dropdown-trigger:hover {
    color: var(--bordeaux-800);
    opacity: 1;
}

.nav-dropdown,
.dropdown-submenu {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-trigger::after {
    content: "⌄";
    font-size: 0.85rem;
    color: var(--bordeaux-800);
    transform: translateY(-1px);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    min-width: 270px;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.99), rgba(232, 227, 218, 0.98));
    border: 1px solid rgba(18, 26, 20, 0.12);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(18, 26, 20, 0.16);
    padding: 0.65rem;
    display: none;
    z-index: 3000;
}

.nav-dropdown:hover>.dropdown-menu,
.nav-dropdown:focus-within>.dropdown-menu,
.nav-dropdown.open>.dropdown-menu,
.dropdown-submenu:hover>.nested-menu,
.dropdown-submenu:focus-within>.nested-menu,
.dropdown-submenu.open>.nested-menu {
    display: grid;
    gap: 0.25rem;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(203, 207, 196, 0.55);
}

.dropdown-submenu>a {
    position: relative;
    padding-right: 2rem;
}

.dropdown-submenu>a::after {
    content: "›";
    position: absolute;
    right: 0.9rem;
    color: var(--bordeaux-800);
    font-weight: 900;
}

.nested-menu {
    left: calc(100% + 0.45rem);
    top: 0;
}

body[dir="rtl"] .dropdown-menu {
    left: auto;
    right: 0;
}

body[dir="rtl"] .dropdown-submenu>a {
    padding-right: 0.9rem;
    padding-left: 2rem;
}

body[dir="rtl"] .dropdown-submenu>a::after {
    content: "‹";
    right: auto;
    left: 0.9rem;
}

body[dir="rtl"] .nested-menu {
    right: calc(100% + 0.45rem);
    left: auto;
}

.lang-toggle {
    border: 1px solid rgba(18, 26, 20, 0.10);
    border-radius: 999px;
    display: inline-flex;
    overflow: hidden;
    background: rgba(255, 252, 246, 0.78);
}

.lang-toggle button {
    border: 0;
    padding: 0.7rem 1rem;
    background: transparent;
    font-weight: 800;
    color: var(--hunter-950);
    cursor: pointer;
}

.lang-toggle button.active {
    background: var(--white);
    color: var(--bordeaux-800);
    box-shadow: inset 0 0 0 1px rgba(18, 26, 20, 0.04);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-weight: 800;
    border: 1px solid transparent;
    transition: 0.2s ease;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--bordeaux-800), var(--hunter-950));
    color: var(--white);
    box-shadow: 0 16px 38px rgba(74, 26, 35, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--bordeaux-900), var(--hunter-950));
    color: var(--white);
    box-shadow: 0 18px 44px rgba(44, 16, 21, 0.26);
}

.btn-secondary {
    background: rgba(255, 252, 246, 0.88);
    color: var(--hunter-950);
    border-color: rgba(180, 152, 130, 0.62);
}

.btn-secondary:hover {
    background: var(--cedar-200);
    color: var(--hunter-950);
    border-color: var(--cedar-400);
}

.nav-cta {
    padding: 0.9rem 1.25rem;
    color: #ffffff !important;
}

.nav-cta:hover,
.nav-cta:focus,
.nav-cta:visited {
    color: #ffffff !important;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(rgba(232, 227, 218, 0.42), rgba(232, 227, 218, 0.44)),
        url("conference.png");
    background-size: cover;
    background-position: 28% center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 252, 246, 0.24), transparent 28%),
        rgba(18, 26, 20, 0.04);
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 5.5rem 0 4.75rem;
}

.hero-copy {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-inline: clamp(0.5rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    text-align: center;
}

.hero h1,
.page-hero h1,
.course-hero h1,
.coming-soon-card h1 {
    margin: 0;
    width: 100%;
    max-width: none;
    color: var(--hunter-950);
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
    font-size: clamp(2.8rem, 5.35vw, 5.15rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: balance;
    text-shadow: 0 1px 0 rgba(255, 252, 246, 0.56);
}

.hero-info-text {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.75;
    letter-spacing: 0;
    color: var(--bordeaux-900);
}

.hero p.lead {
    margin: 0 auto;
    width: fit-content;
    max-width: min(100%, 980px);
    background: rgba(255, 252, 246, 0.88);
    display: block;
    padding: 1rem 1.75rem;
    border-radius: 18px;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(18, 26, 20, 0.08);
    text-align: center;
    box-shadow: 0 10px 24px rgba(18, 26, 20, 0.06);
}

.hero-actions {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0.2rem auto 0;
    width: 100%;
    max-width: 980px;
}

.left-actions {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
}

.hero-actions .btn {
    min-width: 260px;
    padding: 1.15rem 1.8rem;
    font-size: 1rem;
}

.trust-row {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: fit-content;
    max-width: min(100%, 980px);
    background: rgba(255, 252, 246, 0.88);
    padding: 1rem 1.75rem;
    border-radius: 18px;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(18, 26, 20, 0.08);
    box-shadow: 0 10px 24px rgba(18, 26, 20, 0.06);
}

.trust-row span {
    flex: 0 1 auto;
    text-align: center;
    font: inherit;
    white-space: nowrap;
}

section {
    padding: 3.5rem 0 4.75rem;
}

.page-hero {
    padding: 4.5rem 0 2.5rem;
}

.wide-head {
    max-width: 980px;
}

.card {
    background: rgba(255, 252, 246, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.4rem;
}

.section-head {
    max-width: 820px;
    margin-bottom: 2rem;
}

.section-kicker,
.program-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 900;
    color: var(--sage-900);
    font-size: 0.78rem;
    margin-bottom: 0.7rem;
}

h1,
h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.12;
    color: var(--hunter-950);
}

h3 {
    color: var(--hunter-950);
}

.section-text {
    margin: 0;
    color: var(--bordeaux-900);
    font-size: 1.02rem;
}

.grid-2,
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.gp2-section {
    padding: 4.75rem 0 5rem;
    background:
        radial-gradient(circle at 50% 42%, rgba(180, 152, 130, 0.16), transparent 34%),
        linear-gradient(180deg, #FFFCF6 0%, #E8E3DA 52%, #CBCFC4 100%);
}

.gp2-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gp2-stage {
    position: relative;
    width: min(100%, 1100px);
    min-height: 460px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0;
    margin: 0 auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    appearance: none;
    -webkit-appearance: none;
}

.gp2-globe {
    position: relative;
    z-index: 1;
    width: min(88vw, 560px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gp2Float 5s ease-in-out infinite;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
}

.gp2-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 28px rgba(18, 26, 20, 0.11));
}

.gp2-grid {
    fill: none;
    stroke: rgba(255, 255, 255, 0.32);
    stroke-width: 3.5;
}

.gp2-land {
    fill: url(#gp2Land);
}

.gp2-text {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.gp2-title {
    margin: 0;
    max-width: 900px;
    text-align: center;
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
    font-size: clamp(2.2rem, 4.8vw, 4.7rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.045em;
    color: var(--bone-100);
    padding: 1.15rem 1.75rem;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(18, 26, 20, 0.9), rgba(44, 16, 21, 0.8), rgba(74, 26, 35, 0.76));
    border: 1px solid rgba(180, 152, 130, 0.5);
    box-shadow:
        0 24px 60px rgba(18, 26, 20, 0.28),
        0 0 0 8px rgba(255, 252, 246, 0.18);
    backdrop-filter: blur(8px);
    text-shadow:
        0 2px 12px rgba(18, 26, 20, 0.46),
        0 0 20px rgba(180, 152, 130, 0.24);
}

.gp2-stage:hover .gp2-text,
.gp2-stage:focus-visible .gp2-text,
.gp2-stage.gp2-active .gp2-text {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gp2-stage:hover .gp2-globe,
.gp2-stage:focus-visible .gp2-globe,
.gp2-stage.gp2-active .gp2-globe {
    transform: scale(0.965);
    opacity: 0.95;
}

@keyframes gp2Float {

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

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

.mission-section {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(rgba(232, 227, 218, 0.58), rgba(232, 227, 218, 0.62)),
        url("lab.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5rem 0;
}

.mission-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 26, 20, 0.04);
    z-index: 0;
}

.mission-content {
    position: relative;
    z-index: 1;
}

.mission-belief {
    color: var(--bordeaux-900);
    font-weight: 800;
    line-height: 1.82;
    max-width: 760px;
    text-shadow: 0 1px 0 rgba(255, 252, 246, 0.36);
}

.mission-cards {
    align-content: start;
}

.mission-card {
    position: relative;
    overflow: hidden;
    padding-top: 1.6rem;
    background: rgba(255, 252, 246, 0.92);
    backdrop-filter: blur(4px);
}

.mission-card::before,
.featured-card::before,
.review::before,
.visual-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--bordeaux-800), var(--cedar-400), var(--sage-700));
}

.founder-card {
    overflow: hidden;
    padding: 0;
}

.founder-top {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.founder-photo {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    border: 3px solid rgba(255, 252, 246, 0.9);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--bone-100), var(--bordeaux-500));
    flex-shrink: 0;
}

.founder-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--bordeaux-900);
    font-family: "Montserrat", Arial, sans-serif;
}

.founder-body {
    padding: 1.2rem 1.5rem 1.5rem;
}

.founder-name {
    margin: 0;
    font-size: 1.4rem;
    color: var(--hunter-950);
}

.founder-role {
    color: var(--sage-900);
    font-weight: 700;
    margin: 0.25rem 0 0;
}

.program-preview-grid,
.bootcamp-grid,
.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.bootcamp-grid {
    gap: 1.75rem;
    align-items: stretch;
}

.opportunity-grid {
    grid-template-columns: repeat(3, 1fr);
}

.program-card,
.bootcamp-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.70));
    border: 1px solid rgba(18, 26, 20, 0.10);
    border-radius: 30px;
    box-shadow: var(--soft-shadow);
    padding: 1.7rem;
    overflow: hidden;
}

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

.bootcamp-card p {
    color: var(--bordeaux-900);
}

.bootcamp-card .card-actions {
    margin-top: auto;
    padding-top: 1.2rem;
}

.program-card h3,
.bootcamp-card h2 {
    margin-top: 0;
}

.program-card ul,
.side-card ul {
    padding-left: 1.2rem;
    margin: 1rem 0;
}

body[dir="rtl"] .program-card ul,
body[dir="rtl"] .side-card ul {
    padding-left: 0;
    padding-right: 1.2rem;
}

.card-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.facts-grid div,
.course-summary-card div {
    background: rgba(232, 227, 218, 0.72);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.95rem;
}

.facts-grid strong,
.course-summary-card strong {
    display: block;
    color: var(--hunter-950);
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.facts-grid span,
.course-summary-card span {
    color: var(--bordeaux-900);
}

.course-hero {
    padding: 4rem 0 2.5rem;
}

.course-hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.7rem;
    align-items: start;
}

.course-summary-card,
.side-card {
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.72));
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--soft-shadow);
    padding: 1.25rem;
}

.course-summary-card {
    display: grid;
    gap: 0.8rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.7rem;
    align-items: start;
}

.main-content {
    min-width: 0;
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    align-items: start;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.62));
    border: 1px solid rgba(18, 26, 20, 0.10);
    border-radius: 22px;
    padding: 1.05rem;
    box-shadow: 0 10px 28px rgba(18, 26, 20, 0.06);
}

.timeline-item>span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bordeaux-800), var(--hunter-950));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.timeline-item h3 {
    margin: 0 0 0.35rem;
}

.timeline-item p {
    margin: 0;
    color: var(--bordeaux-900);
}

.soft-section {
    background:
        radial-gradient(circle at 25% 20%, rgba(180, 152, 130, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(255, 252, 246, 0.55), rgba(232, 227, 218, 0.65));
}

/* Premium review page */
.reviews-hero {
    padding-bottom: 2rem;
}

.reviews-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.review-visual {
    min-height: 330px;
    position: relative;
    border-radius: 36px;
    background:
        radial-gradient(circle at 35% 25%, rgba(192, 175, 178, 0.65), transparent 22%),
        radial-gradient(circle at 72% 78%, rgba(154, 166, 146, 0.65), transparent 24%),
        linear-gradient(145deg, rgba(255, 252, 246, 0.96), rgba(216, 208, 194, 0.78));
    border: 1px solid rgba(18, 26, 20, 0.10);
    box-shadow: var(--glow-shadow);
    overflow: hidden;
}

.review-visual::before {
    content: "";
    position: absolute;
    inset: 2rem;
    border: 1px solid rgba(74, 26, 35, 0.18);
    border-radius: 28px;
}

.review-visual-badge {
    position: absolute;
    top: 2.2rem;
    left: 2.2rem;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 252, 246, 0.95) 0 34%, rgba(192, 175, 178, 0.72) 35% 100%);
    border: 2px solid rgba(74, 26, 35, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bordeaux-800);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    font-size: 0.86rem;
}

.review-visual-stars {
    position: absolute;
    right: 2rem;
    bottom: 2.2rem;
    width: min(70%, 330px);
    padding: 1.1rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 252, 246, 0.82);
    border: 1px solid rgba(74, 26, 35, 0.12);
    box-shadow: var(--soft-shadow);
}

.review-visual-stars span {
    display: inline-block;
    font-size: 1.55rem;
    color: var(--cedar-700);
    letter-spacing: 0.12em;
}

.review-visual-stars p {
    margin: 0.45rem 0 0;
    color: var(--bordeaux-900);
    font-weight: 700;
}

.review {
    position: relative;
    display: grid;
    gap: 1rem;
    overflow: hidden;
    padding: 1.65rem;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.72));
}

.review::after {
    content: "“";
    position: absolute;
    right: 1.25rem;
    top: 0.75rem;
    font-family: Georgia, serif;
    font-size: 5.5rem;
    line-height: 1;
    color: rgba(137, 106, 112, 0.14);
}

.review-quote {
    font-size: 1.02rem;
    color: var(--bordeaux-900);
    margin: 0;
    position: relative;
    z-index: 1;
}

.review-name {
    font-weight: 900;
    color: var(--hunter-950);
    margin: 0;
}

.review-meta {
    margin: 0;
    color: var(--bone-700);
    font-size: 0.92rem;
}

.contact-form-card {
    max-width: 880px;
}

form {
    display: grid;
    gap: 1rem;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

label {
    display: block;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: var(--hunter-950);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(18, 26, 20, 0.14);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    color: var(--bordeaux-900);
    background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(140, 96, 62, 0.24);
    border-color: var(--sage-900);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.notice {
    border-left: 4px solid var(--sage-900);
    padding: 1rem 1rem 1rem 1.1rem;
    border-radius: 0 16px 16px 0;
    background: rgba(140, 96, 62, 0.08);
    color: var(--bordeaux-900);
    font-size: 0.95rem;
}

body[dir="rtl"] .notice {
    border-left: 0;
    border-right: 4px solid var(--sage-900);
    border-radius: 16px 0 0 16px;
    padding: 1rem 1.1rem 1rem 1rem;
}

.margin-top {
    margin-top: 1rem;
}

.external-title {
    color: var(--bordeaux-800);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.external-title:hover {
    color: var(--cedar-700);
}

.form-embed-card {
    padding: 0;
    overflow: hidden;
}

.google-form-frame {
    width: 100%;
    min-height: 820px;
    border: 0;
    display: block;
    background: var(--white);
}

/* Coming soon pages */
.coming-soon-section {
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding: 4.5rem 0 5.5rem;
}

.coming-soon-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}

.coming-soon-card {
    max-width: 880px;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.78));
    border: 1px solid var(--line);
    border-radius: 36px;
    box-shadow: var(--shadow);
    padding: clamp(1.7rem, 4vw, 3.2rem);
}

.coming-soon-card .section-text {
    max-width: 700px;
}

.coming-soon-art {
    min-height: 420px;
    border-radius: 38px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, rgba(192, 175, 178, 0.68), transparent 22%),
        radial-gradient(circle at 74% 70%, rgba(154, 166, 146, 0.68), transparent 26%),
        linear-gradient(145deg, rgba(255, 252, 246, 0.94), rgba(216, 208, 194, 0.78));
    border: 1px solid rgba(18, 26, 20, 0.10);
    box-shadow: var(--glow-shadow);
}

.coming-soon-art::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(74, 26, 35, 0.24);
    border-radius: 50%;
    top: 3.25rem;
    left: 50%;
    transform: translateX(-50%);
}

.coming-soon-art::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(64, 71, 52, 0.24);
    border-radius: 50%;
    top: 5.9rem;
    left: 50%;
    transform: translateX(-50%);
}

.art-orb {
    position: absolute;
    border-radius: 999px;
    background: var(--hunter-950);
    box-shadow:
        48px 20px 0 var(--bordeaux-800),
        -44px 34px 0 var(--sage-700),
        18px 70px 0 var(--cedar-400),
        -12px -42px 0 var(--bordeaux-500);
    width: 24px;
    height: 24px;
    top: 155px;
    left: 50%;
    transform: translateX(-50%);
}

.art-card {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.84);
    border: 1px solid rgba(18, 26, 20, 0.10);
    box-shadow: var(--soft-shadow);
}

.art-card strong {
    display: block;
    color: var(--hunter-950);
    font-size: 1.05rem;
}

.art-card span {
    display: block;
    margin-top: 0.25rem;
    color: var(--bordeaux-900);
}

/* Germany-specific art */
.germany-art .art-card::before {
    content: "DE";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--bordeaux-800), var(--hunter-950));
    color: var(--white);
    font-weight: 900;
    margin-bottom: 0.8rem;
    letter-spacing: 0.08em;
}

.dashboard-art .art-card::before {
    content: "01";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--sage-700), var(--hunter-950));
    color: var(--white);
    font-weight: 900;
    margin-bottom: 0.8rem;
    letter-spacing: 0.08em;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    min-width: 62px;
    height: 62px;
    border-radius: 999px;
    background: #25d366;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
    z-index: 1200;
}

body[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 20px;
}

footer {
    padding: 2.2rem 0 3rem;
    color: var(--bone-700);
    font-size: 0.95rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 1.2rem;
}

@media (max-width: 1024px) {

    .grid-2,
    .reviews-grid,
    .program-preview-grid,
    .bootcamp-grid,
    .opportunity-grid,
    .course-hero-grid,
    .content-grid,
    .reviews-hero-grid,
    .coming-soon-layout {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        background-position: 24% center;
    }

    .hero-grid {
        padding: 4.75rem 0 4rem;
    }

    .hero-actions .btn {
        min-width: 260px;
    }

    .nested-menu {
        left: 0;
        top: calc(100% + 0.35rem);
    }

    .coming-soon-art {
        min-height: 360px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 1.5rem, var(--max));
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.9rem 0;
    }

    .brand-logo-mark {
        width: 88px;
        height: 88px;
        flex: 0 0 88px;
    }

    .brand-video-logo {
        width: 88px;
        height: 88px;
        object-fit: contain;
        object-position: center center;
        transform: none;
    }

    .brand-title {
        font-size: 1.18rem;
    }

    .brand-subtitle {
        font-size: 0.68rem;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        gap: 0.9rem;
    }

    .nav-cta {
        width: 100%;
    }

    .dropdown-menu,
    .nested-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        margin-top: 0.4rem;
    }

    .field-grid,
    .facts-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        background-position: 20% center;
    }

    .hero-grid {
        padding: 3.6rem 0 2.8rem;
    }

    .hero-copy {
        gap: 1rem;
        padding-inline: 0;
    }

    .hero h1,
    .page-hero h1,
    .course-hero h1,
    .coming-soon-card h1 {
        font-size: 2.45rem;
    }

    .hero p.lead {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1rem;
    }

    .hero-actions {
        width: 100%;
        max-width: 100%;
    }

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

    .trust-row {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1rem;
    }

    .trust-row span {
        flex: 1 1 100%;
        white-space: normal;
    }

    .gp2-section {
        padding: 3.5rem 0 4rem;
    }

    .gp2-stage {
        min-height: 300px;
    }

    .gp2-globe {
        width: min(84vw, 340px);
    }

    .gp2-title {
        max-width: 100%;
        font-size: clamp(1.85rem, 7.8vw, 3rem);
        padding: 0.95rem 1.1rem;
        border-radius: 22px;
    }

    .mission-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-item>span {
        width: 38px;
        height: 38px;
    }

    .google-form-frame {
        min-height: 900px;
    }

    .review-visual {
        min-height: 300px;
    }

    .review-visual-badge {
        width: 130px;
        height: 130px;
        top: 1.5rem;
        left: 1.5rem;
    }

    .review-visual-stars {
        left: 1.5rem;
        right: 1.5rem;
        width: auto;
    }

    .coming-soon-section {
        padding: 3rem 0 4rem;
    }

    .coming-soon-art {
        min-height: 330px;
    }
}

/* =========================================================
   PREMIUM PAGE VISUAL FIXES — dashboard + Germany pages
   Paste at the very bottom of style.css
========================================================= */

.coming-soon-section {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    padding: 5rem 0 6rem;
    background:
        radial-gradient(circle at 14% 18%, rgba(180, 152, 130, 0.18), transparent 28%),
        radial-gradient(circle at 88% 22%, rgba(154, 166, 146, 0.22), transparent 30%),
        linear-gradient(180deg, #FFFCF6 0%, #E8E3DA 56%, #CBCFC4 100%);
}

.coming-soon-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.coming-soon-card {
    max-width: 720px;
    background:
        linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.82));
    border: 1px solid rgba(18, 26, 20, 0.12);
    border-radius: 34px;
    box-shadow:
        0 30px 80px rgba(18, 26, 20, 0.12),
        inset 0 1px 0 rgba(255, 252, 246, 0.75);
    padding: clamp(2rem, 4vw, 3.4rem);
}

.coming-soon-card .section-kicker {
    margin-bottom: 1.1rem;
}

.coming-soon-card h1 {
    font-size: clamp(3rem, 5.2vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    margin: 0 0 1.45rem;
    max-width: 720px;
}

.coming-soon-card .section-text {
    font-size: 1.08rem;
    line-height: 1.85;
    max-width: 620px;
    margin: 0 0 1.9rem;
    color: var(--bordeaux-900);
}

.coming-soon-card .hero-actions {
    justify-content: flex-start;
    margin: 0;
    gap: 1rem;
}

.coming-soon-card .btn {
    min-width: 220px;
}

/* Shared premium visual panel */
.topic-visual {
    position: relative;
    min-height: 500px;
    border-radius: 42px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 252, 246, 0.85), transparent 26%),
        radial-gradient(circle at 80% 70%, rgba(180, 152, 130, 0.24), transparent 32%),
        linear-gradient(145deg, rgba(255, 252, 246, 0.92), rgba(216, 208, 194, 0.72));
    border: 1px solid rgba(18, 26, 20, 0.12);
    box-shadow:
        0 34px 90px rgba(18, 26, 20, 0.13),
        inset 0 1px 0 rgba(255, 252, 246, 0.8);
}

.topic-visual::before {
    content: "";
    position: absolute;
    inset: 2.1rem;
    border: 1px solid rgba(74, 26, 35, 0.14);
    border-radius: 34px;
    pointer-events: none;
}

/* =========================================================
   GERMANY MEDICAL PATHWAY VISUAL
========================================================= */

.germany-visual {
    display: grid;
    place-items: center;
    padding: 2.3rem;
}

.germany-flag-card {
    position: absolute;
    top: 2.4rem;
    left: 2.4rem;
    width: 168px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(18, 26, 20, 0.14);
    border: 1px solid rgba(18, 26, 20, 0.14);
    background: var(--white);
}

.flag-stripe {
    height: 32px;
}

.flag-black {
    background: var(--hunter-950);
}

.flag-red {
    background: var(--bordeaux-800);
}

.flag-gold {
    background: var(--cedar-400);
}

.germany-flag-label {
    padding: 0.7rem 0.85rem;
    font-weight: 900;
    color: var(--hunter-950);
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    text-transform: uppercase;
    background: rgba(255, 252, 246, 0.92);
}

.medical-path-card {
    position: relative;
    width: min(100%, 430px);
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 32px;
    background: rgba(255, 252, 246, 0.88);
    border: 1px solid rgba(18, 26, 20, 0.12);
    box-shadow: 0 24px 65px rgba(18, 26, 20, 0.12);
    z-index: 2;
}

.medical-icon {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--bordeaux-800), var(--hunter-950));
    box-shadow: 0 14px 32px rgba(44, 16, 21, 0.18);
    margin-bottom: 1.25rem;
    position: relative;
}

.medical-icon::before,
.medical-icon::after {
    content: "";
    position: absolute;
    background: var(--white);
    border-radius: 4px;
}

.medical-icon::before {
    width: 40px;
    height: 12px;
}

.medical-icon::after {
    width: 12px;
    height: 40px;
}

.medical-path-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.45rem;
    color: var(--hunter-950);
}

.medical-path-card p {
    margin: 0;
    color: var(--bordeaux-900);
    line-height: 1.75;
    font-weight: 600;
}

.pathway-steps {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.pathway-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(232, 227, 218, 0.66);
    border: 1px solid rgba(18, 26, 20, 0.08);
    font-weight: 800;
    color: var(--hunter-950);
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--bordeaux-800);
    box-shadow:
        18px 0 0 var(--sage-700),
        36px 0 0 var(--cedar-400);
    margin-right: 2rem;
}

.germany-city-lines {
    position: absolute;
    right: 2.4rem;
    bottom: 2.4rem;
    width: 210px;
    height: 130px;
    opacity: 0.72;
}

.germany-city-lines span {
    position: absolute;
    bottom: 0;
    width: 22px;
    border-radius: 8px 8px 0 0;
    background: rgba(18, 26, 20, 0.18);
}

.germany-city-lines span:nth-child(1) {
    left: 0;
    height: 58px;
}

.germany-city-lines span:nth-child(2) {
    left: 34px;
    height: 94px;
    background: rgba(74, 26, 35, 0.18);
}

.germany-city-lines span:nth-child(3) {
    left: 68px;
    height: 72px;
}

.germany-city-lines span:nth-child(4) {
    left: 102px;
    height: 112px;
    background: rgba(140, 96, 62, 0.2);
}

.germany-city-lines span:nth-child(5) {
    left: 136px;
    height: 82px;
}

.germany-city-lines span:nth-child(6) {
    left: 170px;
    height: 104px;
    background: rgba(64, 71, 52, 0.18);
}

/* =========================================================
   DASHBOARD VISUAL
========================================================= */

.dashboard-visual {
    padding: 2.5rem;
    display: grid;
    align-items: center;
}

.dashboard-window {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 252, 246, 0.92);
    border: 1px solid rgba(18, 26, 20, 0.12);
    box-shadow: 0 26px 72px rgba(18, 26, 20, 0.13);
}

.dashboard-window-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(18, 26, 20, 0.1);
    background: rgba(232, 227, 218, 0.68);
}

.dashboard-window-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--bordeaux-800);
}

.dashboard-window-top span:nth-child(2) {
    background: var(--cedar-400);
}

.dashboard-window-top span:nth-child(3) {
    background: var(--sage-700);
}

.dashboard-content {
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

.dashboard-profile-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(18, 26, 20, 0.09);
}

.dashboard-avatar {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 45%, var(--bordeaux-800) 0 12%, transparent 13%),
        radial-gradient(circle at 42% 42%, var(--sage-700) 0 9%, transparent 10%),
        radial-gradient(circle at 58% 60%, var(--cedar-400) 0 10%, transparent 11%),
        var(--bone-100);
    border: 1px solid rgba(18, 26, 20, 0.10);
}

.dashboard-profile-row strong {
    display: block;
    font-size: 1.1rem;
    color: var(--hunter-950);
}

.dashboard-profile-row small {
    color: var(--bordeaux-900);
    font-weight: 700;
}

.dashboard-course-card {
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(232, 227, 218, 0.66);
    border: 1px solid rgba(18, 26, 20, 0.08);
}

.dashboard-course-card strong {
    display: block;
    color: var(--hunter-950);
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.progress-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(18, 26, 20, 0.09);
    overflow: hidden;
}

.progress-fill {
    width: 64%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--bordeaux-800), var(--cedar-400), var(--sage-700));
}

.dashboard-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.dashboard-mini-card {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.78);
    border: 1px solid rgba(18, 26, 20, 0.08);
}

.dashboard-mini-card span {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--bordeaux-800);
    line-height: 1;
}

.dashboard-mini-card small {
    color: var(--hunter-950);
    font-weight: 800;
}

/* =========================================================
   DROPDOWN HOVER STABILITY
========================================================= */

.nav-dropdown::after,
.dropdown-submenu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 0.8rem;
    bottom: -0.8rem;
}

.dropdown-submenu::after {
    top: 0;
    bottom: auto;
    left: 100%;
    width: 0.8rem;
    height: 100%;
}

/* =========================================================
   RESPONSIVE FIXES
========================================================= */

@media (max-width: 1024px) {
    .coming-soon-layout {
        grid-template-columns: 1fr;
    }

    .coming-soon-card {
        max-width: none;
    }

    .topic-visual {
        min-height: 460px;
    }
}

@media (max-width: 760px) {
    .coming-soon-section {
        padding: 3rem 0 4rem;
    }

    .coming-soon-card h1 {
        font-size: clamp(2.45rem, 13vw, 3.3rem);
        line-height: 1.02;
        margin-bottom: 1.2rem;
    }

    .coming-soon-card .section-text {
        font-size: 1rem;
        line-height: 1.75;
    }

    .topic-visual {
        min-height: 430px;
        border-radius: 30px;
    }

    .germany-flag-card {
        width: 140px;
        top: 1.4rem;
        left: 1.4rem;
    }

    .flag-stripe {
        height: 26px;
    }

    .medical-path-card {
        margin-top: 5rem;
        padding: 1.35rem;
    }

    .germany-city-lines {
        display: none;
    }

    .dashboard-visual {
        padding: 1.2rem;
    }

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

/* =========================================================
   Germany Pathway Specific Updates
   Keeps current layout, only fixes CTA + flag + embedded form page
========================================================= */

.germany-flag-only {
    width: 170px;
    background: transparent;
    border: 1px solid rgba(18, 26, 20, 0.16);
    box-shadow: 0 18px 38px rgba(18, 26, 20, 0.14);
}

.germany-flag-only .flag-stripe {
    height: 34px;
}

.flag-black {
    background: #000000 !important;
}

.flag-red {
    background: #DD0000 !important;
}

.flag-gold {
    background: #FFCE00 !important;
}

.germany-flag-label {
    display: none !important;
}

/* Updates form page */

.updates-form-page {
    min-height: calc(100vh - 150px);
    padding: 4.5rem 0 5.5rem;
    background:
        radial-gradient(circle at 14% 18%, rgba(180, 152, 130, 0.16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(154, 166, 146, 0.18), transparent 28%),
        linear-gradient(180deg, #FFFCF6 0%, #E8E3DA 56%, #CBCFC4 100%);
}

.updates-form-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(480px, 1.18fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.updates-form-intro {
    position: sticky;
    top: 150px;
    background:
        linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.82));
    border: 1px solid rgba(18, 26, 20, 0.12);
    border-radius: 34px;
    box-shadow:
        0 30px 80px rgba(18, 26, 20, 0.10),
        inset 0 1px 0 rgba(255, 252, 246, 0.75);
    padding: clamp(1.7rem, 3vw, 2.7rem);
}

.updates-form-intro h1 {
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
    font-size: clamp(2.35rem, 4vw, 4.3rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 1.2rem;
    color: var(--hunter-950);
}

.updates-form-intro .section-text {
    font-size: 1.04rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.updates-back-btn {
    margin-top: 0.3rem;
}

.updates-form-shell {
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.80));
    border: 1px solid rgba(18, 26, 20, 0.12);
    box-shadow:
        0 34px 90px rgba(18, 26, 20, 0.12),
        inset 0 1px 0 rgba(255, 252, 246, 0.8);
}

.updates-form-topline {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem 1.2rem;
    background: rgba(232, 227, 218, 0.72);
    border-bottom: 1px solid rgba(18, 26, 20, 0.10);
}

.updates-form-topline span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--bordeaux-800);
}

.updates-form-topline span:nth-child(2) {
    background: var(--cedar-400);
}

.updates-form-topline span:nth-child(3) {
    background: var(--sage-700);
}

.google-form-frame-blended {
    width: 100%;
    min-height: 900px;
    border: 0;
    display: block;
    background: #FFFCF6;
}

/* Google iframe cannot be fully restyled internally, so this frames it in-brand. */

@media (max-width: 1024px) {
    .updates-form-layout {
        grid-template-columns: 1fr;
    }

    .updates-form-intro {
        position: relative;
        top: auto;
    }
}

@media (max-width: 760px) {
    .germany-flag-only {
        width: 138px;
    }

    .germany-flag-only .flag-stripe {
        height: 28px;
    }

    .updates-form-page {
        padding: 3rem 0 4rem;
    }

    .updates-form-shell,
    .updates-form-intro {
        border-radius: 26px;
    }

    .google-form-frame-blended {
        min-height: 980px;
    }
}

/* =========================================================
   Germany pathway updates page + bigger true-color German flag
========================================================= */

.germany-flag-card.germany-flag-only {
    width: 230px;
    border-radius: 24px;
    background: transparent;
    overflow: hidden;
    border: 1px solid rgba(18, 26, 20, 0.18);
    box-shadow: 0 20px 44px rgba(18, 26, 20, 0.16);
}

.germany-flag-card.germany-flag-only .flag-stripe {
    height: 48px;
}

.flag-black {
    background: #000000 !important;
}

.flag-red {
    background: #DD0000 !important;
}

.flag-gold {
    background: #FFCE00 !important;
}

.germany-flag-label {
    display: none !important;
}

/* Sign-up form page */

.updates-form-page {
    min-height: calc(100vh - 150px);
    padding: 4.5rem 0 5.5rem;
    background:
        radial-gradient(circle at 14% 18%, rgba(180, 152, 130, 0.16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(154, 166, 146, 0.18), transparent 28%),
        linear-gradient(180deg, #FFFCF6 0%, #E8E3DA 56%, #CBCFC4 100%);
}

.updates-form-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(480px, 1.18fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.updates-form-intro {
    position: sticky;
    top: 150px;
    background:
        linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.82));
    border: 1px solid rgba(18, 26, 20, 0.12);
    border-radius: 34px;
    box-shadow:
        0 30px 80px rgba(18, 26, 20, 0.10),
        inset 0 1px 0 rgba(255, 252, 246, 0.75);
    padding: clamp(1.7rem, 3vw, 2.7rem);
}

.updates-form-intro h1 {
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
    font-size: clamp(2.35rem, 4vw, 4.3rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 1.2rem;
    color: var(--hunter-950);
}

.updates-form-intro .section-text {
    font-size: 1.04rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.updates-back-btn {
    margin-top: 0.3rem;
}

.updates-form-shell {
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.80));
    border: 1px solid rgba(18, 26, 20, 0.12);
    box-shadow:
        0 34px 90px rgba(18, 26, 20, 0.12),
        inset 0 1px 0 rgba(255, 252, 246, 0.8);
}

.updates-form-topline {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem 1.2rem;
    background: rgba(232, 227, 218, 0.72);
    border-bottom: 1px solid rgba(18, 26, 20, 0.10);
}

.updates-form-topline span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--bordeaux-800);
}

.updates-form-topline span:nth-child(2) {
    background: var(--cedar-400);
}

.updates-form-topline span:nth-child(3) {
    background: var(--sage-700);
}

.google-form-frame-blended {
    width: 100%;
    min-height: 900px;
    border: 0;
    display: block;
    background: #FFFCF6;
}

@media (max-width: 760px) {
    .germany-flag-card.germany-flag-only {
        width: 170px;
    }

    .germany-flag-card.germany-flag-only .flag-stripe {
        height: 36px;
    }

    .updates-form-page {
        padding: 3rem 0 4rem;
    }

    .updates-form-layout {
        grid-template-columns: 1fr;
    }

    .updates-form-intro {
        position: relative;
        top: auto;
    }

    .updates-form-shell,
    .updates-form-intro {
        border-radius: 26px;
    }

    .google-form-frame-blended {
        min-height: 980px;
    }
}

/* =========================================================
   Native Germany Updates Form
========================================================= */

.updates-native-page {
    min-height: calc(100vh - 150px);
    padding: 4.5rem 0 5.5rem;
    background:
        radial-gradient(circle at 14% 18%, rgba(180, 152, 130, 0.16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(154, 166, 146, 0.18), transparent 28%),
        linear-gradient(180deg, #FFFCF6 0%, #E8E3DA 56%, #CBCFC4 100%);
}

.updates-native-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(480px, 1.18fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.updates-native-intro {
    position: sticky;
    top: 150px;
    background:
        linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.82));
    border: 1px solid rgba(18, 26, 20, 0.12);
    border-radius: 34px;
    box-shadow:
        0 30px 80px rgba(18, 26, 20, 0.10),
        inset 0 1px 0 rgba(255, 252, 246, 0.75);
    padding: clamp(1.7rem, 3vw, 2.7rem);
}

.updates-native-intro h1 {
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
    font-size: clamp(2.35rem, 4vw, 4.3rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 1.2rem;
    color: var(--hunter-950);
}

.updates-native-intro .section-text {
    font-size: 1.04rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.updates-mini-note {
    display: grid;
    gap: 0.35rem;
    margin: 1.5rem 0;
    padding: 1.1rem 1.15rem;
    border-radius: 20px;
    background: rgba(232, 227, 218, 0.62);
    border: 1px solid rgba(18, 26, 20, 0.10);
}

.updates-mini-note strong {
    color: var(--hunter-950);
    font-weight: 900;
}

.updates-mini-note span {
    color: var(--bordeaux-900);
    line-height: 1.7;
}

.updates-back-btn {
    margin-top: 0.3rem;
}

.updates-native-form-card {
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.80));
    border: 1px solid rgba(18, 26, 20, 0.12);
    box-shadow:
        0 34px 90px rgba(18, 26, 20, 0.12),
        inset 0 1px 0 rgba(255, 252, 246, 0.8);
}

.native-updates-form {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: grid;
    gap: 1.15rem;
}

.native-updates-form input,
.native-updates-form select {
    background: rgba(255, 252, 246, 0.94);
    border: 1px solid rgba(18, 26, 20, 0.14);
    border-radius: 18px;
    padding: 1rem 1rem;
    color: var(--bordeaux-900);
    box-shadow: inset 0 1px 0 rgba(255, 252, 246, 0.65);
}

.native-updates-form input:focus,
.native-updates-form select:focus {
    outline: 3px solid rgba(140, 96, 62, 0.18);
    border-color: var(--cedar-700);
}

.native-submit-btn {
    margin-top: 0.5rem;
    width: fit-content;
    min-width: 230px;
}

.native-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.78;
}

.form-status {
    margin: 0.35rem 0 0;
    font-weight: 800;
    line-height: 1.6;
}

.form-status.success {
    color: var(--sage-900);
}

.form-status.error {
    color: var(--bordeaux-800);
}

@media (max-width: 1024px) {
    .updates-native-layout {
        grid-template-columns: 1fr;
    }

    .updates-native-intro {
        position: relative;
        top: auto;
    }
}

@media (max-width: 760px) {
    .updates-native-page {
        padding: 3rem 0 4rem;
    }

    .updates-native-form-card,
    .updates-native-intro {
        border-radius: 26px;
    }

    .native-submit-btn {
        width: 100%;
    }
}

/* =========================================================
   FINAL PRE-LAUNCH FIXES
   Language-safe layout, centered heroes, dropdown visibility,
   responsive image/text alignment, and page spacing polish.
========================================================= */

/* Keep header/dropdowns from clipping */
.topbar,
.nav,
.nav-links,
.nav-dropdown,
.dropdown-submenu {
    overflow: visible;
}

.nav {
    position: relative;
}

/* Make top nav more resilient across browser widths */
.nav-links {
    min-width: 0;
    row-gap: 0.65rem;
}

/* Dropdown: prevent right-edge cut-off on desktop */
.nav-dropdown>.dropdown-menu {
    left: auto;
    right: 0;
    transform: none;
    max-width: min(88vw, 340px);
}

.dropdown-submenu>.nested-menu {
    left: auto;
    right: calc(100% + 0.45rem);
    top: 0;
    max-width: min(88vw, 320px);
}

/* Keep bridge hover stable when nested menu opens to the left */
.dropdown-submenu::after {
    left: auto;
    right: 100%;
    width: 0.8rem;
}

/* RTL dropdown alignment */
body[dir="rtl"] .nav-dropdown>.dropdown-menu {
    right: auto;
    left: 0;
}

body[dir="rtl"] .dropdown-submenu>.nested-menu {
    right: auto;
    left: calc(100% + 0.45rem);
}

body[dir="rtl"] .dropdown-submenu::after {
    right: auto;
    left: 100%;
}

/* Better dropdown item wrapping instead of overflow */
.dropdown-menu a {
    white-space: normal;
    line-height: 1.35;
}

/* Home hero centering and image consistency */
.hero {
    min-height: clamp(560px, calc(100vh - 110px), 860px);
    display: grid;
    place-items: center;
    background-position: center center;
    background-size: cover;
}

.hero-grid {
    display: grid;
    place-items: center;
    min-height: inherit;
    padding-block: clamp(4rem, 7vw, 7rem);
}

.hero-copy {
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1080px;
    margin-inline: auto;
}

.hero h1 {
    max-width: 1050px;
    margin-inline: auto;
    text-align: center;
}

.hero p.lead {
    margin-top: 0.45rem;
    margin-inline: auto;
    max-width: min(100%, 940px);
    text-align: center;
}

/* General top-page centering and breathing room */
.page-hero {
    padding: clamp(4.5rem, 7vw, 6.5rem) 0 clamp(2.8rem, 4vw, 4rem);
}

.page-hero .section-head,
.page-hero .wide-head {
    max-width: 940px;
    margin-inline: auto;
    margin-bottom: 0;
    text-align: center;
}

.page-hero .section-kicker,
.course-hero .section-kicker,
.updates-native-intro .section-kicker,
.coming-soon-card .section-kicker {
    margin-bottom: 1rem;
}

.page-hero h1,
.course-hero h1,
.updates-native-intro h1,
.coming-soon-card h1 {
    margin-bottom: 1.15rem;
    text-align: center;
}

.page-hero .section-text,
.course-hero .section-text,
.updates-native-intro .section-text,
.coming-soon-card .section-text {
    margin-inline: auto;
    margin-top: 0.25rem;
    max-width: 860px;
    line-height: 1.85;
    text-align: center;
}

/* Course hero centering for HS and undergraduate pages */
.course-hero {
    padding: clamp(4.5rem, 7vw, 6.5rem) 0 clamp(3rem, 4vw, 4.25rem);
}

.course-hero-grid {
    align-items: center;
}

.course-hero-grid>div:first-child {
    text-align: center;
}

.course-hero-grid>div:first-child .section-text {
    max-width: 820px;
}

.course-hero .hero-actions,
.course-hero .left-actions {
    justify-content: center;
    margin-inline: auto;
}

/* Keep summary cards polished and not visually cramped */
.course-summary-card {
    align-self: center;
}

/* Bootcamps spacing */
#bootcamps {
    padding-top: 2.6rem;
}

.bootcamp-grid {
    margin-top: 0.5rem;
}

.bootcamp-card h2 {
    margin-bottom: 0.85rem;
}

.bootcamp-card>p:not(.program-label) {
    line-height: 1.78;
    margin-top: 0;
}

/* FAQs spacing */
.faq-list {
    display: grid;
    gap: 1.05rem;
}

.faq-card {
    padding: clamp(1.3rem, 2.5vw, 1.8rem);
}

.faq-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.faq-card p {
    line-height: 1.78;
}

/* Give content below top hero more space and balance */
.content-grid {
    gap: clamp(1.75rem, 3vw, 2.4rem);
}

.main-content .section-head {
    max-width: 860px;
    margin-bottom: 2.2rem;
}

.main-content .section-head h2 {
    margin-bottom: 1rem;
}

.main-content .section-head .section-text {
    line-height: 1.8;
}

/* Native form intro pages: centered top copy but preserve button elegance */
.updates-native-intro {
    text-align: center;
}

.updates-native-intro .updates-back-btn {
    margin-inline: auto;
}

.updates-native-form-card {
    align-self: start;
}

/* Coming soon pages: center the top text/buttons */
.coming-soon-card {
    text-align: center;
}

.coming-soon-card .hero-actions,
.coming-soon-card .left-actions {
    justify-content: center;
    margin-inline: auto;
}

/* Logo blending improvement without forcing a visible box */
.brand-logo-mark {
    background: transparent !important;
    border-radius: 0;
}

.brand-video-logo {
    mix-blend-mode: multiply;
    filter: contrast(1.04) saturate(1.04);
}

/* Mobile/tablet dropdown should never cut off */
@media (max-width: 1024px) {

    .nav-dropdown>.dropdown-menu,
    .dropdown-submenu>.nested-menu,
    body[dir="rtl"] .nav-dropdown>.dropdown-menu,
    body[dir="rtl"] .dropdown-submenu>.nested-menu {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        max-width: 100%;
        width: 100%;
        margin-top: 0.4rem;
        box-shadow: none;
    }

    .dropdown-submenu::after,
    .nav-dropdown::after {
        display: none;
    }

    .dropdown-submenu>a::after {
        content: "⌄";
    }

    body[dir="rtl"] .dropdown-submenu>a::after {
        content: "⌄";
    }

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

    .course-summary-card {
        max-width: 640px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: clamp(520px, 74vh, 720px);
        background-position: center center;
    }

    .hero-grid {
        padding-block: 3.5rem;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero p.lead {
        width: 100%;
        line-height: 1.72;
    }

    .page-hero,
    .course-hero {
        padding-top: 3.8rem;
        padding-bottom: 2.6rem;
    }

    .page-hero h1,
    .course-hero h1,
    .updates-native-intro h1,
    .coming-soon-card h1 {
        margin-bottom: 1rem;
    }

    .page-hero .section-text,
    .course-hero .section-text,
    .updates-native-intro .section-text,
    .coming-soon-card .section-text {
        line-height: 1.78;
    }

    .card-actions,
    .hero-actions,
    .left-actions,
    .course-hero .hero-actions {
        justify-content: center;
    }

    .card-actions .btn,
    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .side-card {
        max-width: 100%;
    }

    .faq-card {
        border-radius: 22px;
    }
}

/* =========================================================
   FINAL LOGO BLENDING + ABOUT PAGE
========================================================= */

/* Header logo: remove all visible square/background framing */
.brand-logo-mark {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    isolation: auto;
    position: relative;
}

/* Slight scale/crop hides tiny exported edge lines from the video file */
.brand-video-logo {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    mix-blend-mode: multiply;
    filter: contrast(1.045) saturate(1.04);
    transform: scale(1.045);
    transform-origin: center center;
    clip-path: inset(2px round 999px);
}

/* Keeps the logo visually blended in Arabic too */
body[dir="rtl"] .brand-logo-mark,
body[dir="rtl"] .brand-video-logo {
    background: transparent !important;
}

/* If the MP4 has a faint edge, this masks only the perimeter without affecting the atom center */
.brand-logo-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 999px;
    box-shadow: inset 0 0 0 5px rgba(232, 227, 218, 0.02);
}

/* Home CTA after programs */
.section-cta-row {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* About page hero */
.about-hero {
    padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem);
    background:
        radial-gradient(circle at 18% 18%, rgba(180, 152, 130, 0.22), transparent 30%),
        radial-gradient(circle at 84% 20%, rgba(154, 166, 146, 0.24), transparent 28%),
        linear-gradient(180deg, #FFFCF6 0%, #E8E3DA 58%, #CBCFC4 100%);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.about-hero-copy {
    text-align: center;
    max-width: 880px;
    margin-inline: auto;
}

.about-hero-copy h1 {
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
    font-size: clamp(2.65rem, 5.3vw, 5.4rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 1.25rem;
    color: var(--hunter-950);
    text-wrap: balance;
}

.about-hero-copy .section-text {
    max-width: 760px;
    margin-inline: auto;
    line-height: 1.85;
    font-weight: 650;
}

.about-hero-card {
    min-height: 420px;
    position: relative;
    border-radius: 42px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 38% 32%, rgba(255, 252, 246, 0.94), transparent 26%),
        radial-gradient(circle at 72% 76%, rgba(180, 152, 130, 0.30), transparent 34%),
        linear-gradient(145deg, rgba(255, 252, 246, 0.92), rgba(216, 208, 194, 0.78));
    border: 1px solid rgba(18, 26, 20, 0.12);
    box-shadow: var(--glow-shadow);
}

.about-hero-card::before {
    content: "";
    position: absolute;
    inset: 2rem;
    border: 1px solid rgba(74, 26, 35, 0.14);
    border-radius: 32px;
}

.about-orbit {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(44, 16, 21, 0.20);
    border-radius: 50%;
}

.about-orbit::before,
.about-orbit::after {
    content: "";
    position: absolute;
    inset: 44px;
    border: 1px solid rgba(64, 71, 52, 0.20);
    border-radius: 50%;
}

.about-orbit::after {
    inset: 86px;
    border-color: rgba(140, 96, 62, 0.22);
}

.about-orbit span {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bordeaux-800);
}

.about-orbit span:nth-child(1) {
    top: 22px;
    left: 50%;
}

.about-orbit span:nth-child(2) {
    bottom: 38px;
    right: 45px;
    background: var(--sage-700);
}

.about-orbit span:nth-child(3) {
    left: 36px;
    top: 152px;
    background: var(--cedar-400);
}

.about-card-inner {
    position: relative;
    z-index: 2;
    max-width: 310px;
    padding: 1.5rem;
    border-radius: 26px;
    background: rgba(255, 252, 246, 0.84);
    border: 1px solid rgba(18, 26, 20, 0.10);
    box-shadow: var(--soft-shadow);
    text-align: center;
}

.about-card-inner strong {
    display: block;
    font-size: 1.2rem;
    color: var(--hunter-950);
    margin-bottom: 0.55rem;
}

.about-card-inner p {
    margin: 0;
    color: var(--bordeaux-900);
    line-height: 1.65;
    font-weight: 650;
}

.centered-head {
    text-align: center;
    margin-inline: auto;
}

.centered-head .section-text {
    margin-inline: auto;
    max-width: 830px;
    line-height: 1.85;
}

.about-story-section {
    padding: clamp(4rem, 6vw, 6rem) 0;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.about-value-card {
    position: relative;
    overflow: hidden;
    padding: 1.6rem;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.70));
}

.about-value-card::before,
.founder-story-card::before,
.about-closing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--bordeaux-800), var(--cedar-400), var(--sage-700));
}

.about-value-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bordeaux-800), var(--hunter-950));
    color: var(--white);
    font-weight: 900;
    margin-bottom: 1rem;
}

.about-value-card h3 {
    margin: 0 0 0.7rem;
}

.about-value-card p {
    margin: 0;
    color: var(--bordeaux-900);
    line-height: 1.78;
}

.founder-story-section {
    padding: clamp(4rem, 6vw, 6rem) 0;
}

.founder-story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.founder-story-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.70));
}

.founder-story-top {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.8rem 1.8rem 0;
}

.founder-story-photo {
    width: 132px;
    height: 132px;
    border-radius: 34px;
    object-fit: cover;
    object-position: center 18%;
    background: linear-gradient(135deg, var(--bone-100), var(--bordeaux-500));
    border: 3px solid rgba(255, 252, 246, 0.90);
    box-shadow: var(--soft-shadow);
}

.founder-story-placeholder {
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--bordeaux-900);
    font-family: "Montserrat", Arial, sans-serif;
}

.founder-story-top h3 {
    margin: 0;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.founder-credential {
    margin: 0.45rem 0 0;
    color: var(--bordeaux-900);
    font-weight: 800;
    line-height: 1.5;
}

.founder-story-body {
    padding: 1.5rem 1.8rem 1.8rem;
    display: grid;
    gap: 1rem;
}

.founder-story-body p {
    margin: 0;
    color: var(--bordeaux-900);
    line-height: 1.8;
}

.founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.35rem;
}

.founder-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    background: rgba(232, 227, 218, 0.72);
    border: 1px solid rgba(18, 26, 20, 0.10);
    color: var(--hunter-950);
    font-weight: 800;
    font-size: 0.88rem;
}

.about-closing-section {
    padding: clamp(4rem, 6vw, 6rem) 0;
}

.about-closing-card {
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin-inline: auto;
    text-align: center;
    border-radius: 38px;
    padding: clamp(2rem, 4vw, 3.4rem);
    background:
        radial-gradient(circle at 18% 18%, rgba(180, 152, 130, 0.18), transparent 30%),
        linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.78));
    border: 1px solid rgba(18, 26, 20, 0.12);
    box-shadow: var(--shadow);
}

.about-closing-card h2 {
    max-width: 820px;
    margin-inline: auto;
}

.about-closing-card .section-text {
    max-width: 760px;
    margin: 0 auto 1.6rem;
    line-height: 1.85;
}

.about-closing-card .hero-actions {
    justify-content: center;
}

@media (max-width: 1024px) {

    .about-hero-grid,
    .about-values-grid,
    .founder-story-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-card {
        min-height: 360px;
    }
}

@media (max-width: 760px) {
    .about-hero {
        padding: 3.8rem 0 3rem;
    }

    .about-hero-copy h1 {
        font-size: clamp(2.35rem, 11vw, 3.3rem);
    }

    .about-hero-card {
        min-height: 320px;
        border-radius: 30px;
    }

    .about-orbit {
        width: 220px;
        height: 220px;
    }

    .founder-story-top {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .founder-story-photo {
        width: 124px;
        height: 124px;
    }

    .founder-story-body {
        text-align: center;
    }

    .founder-tags {
        justify-content: center;
    }
}

/* =========================================================
   FINAL LOGO BACKGROUND MATCH — NO CROPPING
   Keeps the full atom/electron orbit visible while matching
   the website header background.
========================================================= */

:root {
    --logo-matte: #E8E3DA;
}

/* Match the header to the exported logo matte */
.topbar {
    background: var(--logo-matte) !important;
    overflow: visible !important;
}

/* Make sure the logo area itself never clips the atom */
.brand,
.nav,
.brand-logo-mark {
    overflow: visible !important;
}

/* Logo container: no clipping, no circle crop, no frame */
.brand-logo-mark {
    width: 148px !important;
    height: 148px !important;
    flex: 0 0 148px !important;
    background: var(--logo-matte) !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    isolation: isolate;
}

/* Video: show full 1000x1000 animation with no clipping */
.brand-video-logo {
    width: 148px !important;
    height: 148px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: var(--logo-matte) !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    transform: none !important;
    mix-blend-mode: multiply;
    filter: contrast(1.035) saturate(1.025);
}

/* Kill any pseudo-elements/rings from earlier logo fixes */
.brand-logo-mark::before,
.brand-logo-mark::after,
.brand-video-logo::before,
.brand-video-logo::after {
    display: none !important;
    content: none !important;
}

/* Arabic version uses same background/matte */
body[dir="rtl"] .topbar,
body[dir="rtl"] .brand-logo-mark,
body[dir="rtl"] .brand-video-logo {
    background: var(--logo-matte) !important;
}

/* Tablet/mobile: smaller but still no crop */
@media (max-width: 760px) {
    .brand-logo-mark {
        width: 108px !important;
        height: 108px !important;
        flex: 0 0 108px !important;
    }

    .brand-video-logo {
        width: 108px !important;
        height: 108px !important;
        object-fit: contain !important;
        object-position: center center !important;
        clip-path: none !important;
        transform: none !important;
    }
}

/* =========================================================
   ABOUT PAGE FINAL SPACING + CLEANUP
========================================================= */

.about-hero {
    padding: clamp(4.5rem, 7vw, 6.5rem) 0 clamp(4rem, 6vw, 5.5rem) !important;
    background:
        radial-gradient(circle at 18% 18%, rgba(180, 152, 130, 0.16), transparent 30%),
        radial-gradient(circle at 84% 20%, rgba(154, 166, 146, 0.18), transparent 28%),
        linear-gradient(180deg, #FFFCF6 0%, #E8E3DA 62%, #CBCFC4 100%) !important;
}

.about-hero .container {
    max-width: 1120px;
}

.about-hero-copy {
    max-width: 900px !important;
    margin-inline: auto !important;
    text-align: center !important;
}

.about-hero-copy .section-kicker {
    margin-bottom: 1.1rem !important;
}

.about-hero-copy h1 {
    max-width: 920px !important;
    margin: 0 auto 1.45rem !important;
    text-align: center !important;
    text-wrap: balance;
    line-height: 1.02 !important;
}

.about-hero-copy .section-text {
    max-width: 760px !important;
    margin: 0 auto !important;
    text-align: center !important;
    line-height: 1.85 !important;
    font-weight: 650 !important;
}

/* Story section: balanced spacing */
.about-story-section {
    padding: clamp(4rem, 6vw, 5.5rem) 0 !important;
}

.about-story-section .section-head {
    margin-bottom: 2.4rem !important;
}

.about-story-section .section-head h2 {
    margin-bottom: 1rem !important;
}

.about-story-section .section-text {
    margin-top: 0 !important;
}

/* Meet the founders: remove square/boxed background and center text */
.founder-story-section {
    padding: clamp(4rem, 6vw, 5.75rem) 0 !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(180, 152, 130, 0.12), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(154, 166, 146, 0.16), transparent 30%),
        linear-gradient(180deg, #E8E3DA 0%, #FFFCF6 48%, #E8E3DA 100%) !important;
}

.founder-story-section>.container {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.founder-heading {
    max-width: 860px !important;
    margin: 0 auto 2.6rem !important;
    text-align: center !important;
}

.founder-heading .section-kicker {
    margin-bottom: 0.85rem !important;
}

.founder-heading h2 {
    margin: 0 auto 1rem !important;
    text-align: center !important;
}

.founder-heading .section-text {
    max-width: 760px !important;
    margin: 0 auto !important;
    text-align: center !important;
    line-height: 1.82 !important;
}

/* Founder card layout polish */
.founder-story-grid {
    max-width: 1180px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(1.25rem, 2.5vw, 1.7rem) !important;
}

.founder-story-card {
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(232, 227, 218, 0.72)) !important;
    border: 1px solid rgba(18, 26, 20, 0.12) !important;
    box-shadow: 0 24px 70px rgba(18, 26, 20, 0.10) !important;
    overflow: hidden !important;
}

.founder-story-top {
    padding: clamp(1.45rem, 2.6vw, 1.9rem) clamp(1.35rem, 2.6vw, 1.9rem) 0 !important;
    gap: 1.25rem !important;
}

.founder-story-body {
    padding: 1.35rem clamp(1.35rem, 2.6vw, 1.9rem) clamp(1.6rem, 2.8vw, 2rem) !important;
    gap: 1rem !important;
}

.founder-story-body p {
    line-height: 1.82 !important;
    margin: 0 !important;
}

/* Closing section spacing */
.about-closing-section {
    padding: clamp(4rem, 6vw, 5.75rem) 0 !important;
}

.about-closing-card h2 {
    margin-bottom: 1rem !important;
}

.about-closing-card .section-text {
    margin-top: 0 !important;
    margin-bottom: 1.8rem !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .founder-story-grid {
        grid-template-columns: 1fr !important;
        max-width: 760px !important;
    }
}

@media (max-width: 760px) {
    .about-hero {
        padding: 3.75rem 0 3.5rem !important;
    }

    .about-hero-copy h1 {
        font-size: clamp(2.25rem, 10vw, 3.2rem) !important;
        line-height: 1.04 !important;
    }

    .founder-story-section,
    .about-story-section,
    .about-closing-section {
        padding: 3.5rem 0 !important;
    }

    .founder-heading {
        margin-bottom: 2rem !important;
    }

    .founder-story-top {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
    }

    .founder-story-body {
        text-align: center !important;
    }
}

/* =========================================================
   ABOUT PAGE — MATCH FOUNDER CARD SPACING EXACTLY
========================================================= */

.founder-story-grid {
    align-items: stretch !important;
}

.founder-story-card {
    display: flex !important;
    flex-direction: column !important;
}

.founder-story-top {
    display: grid !important;
    grid-template-columns: 132px 1fr !important;
    align-items: start !important;
    min-height: 176px !important;
    padding-top: 1.9rem !important;
    padding-bottom: 0 !important;
}

/* Make both founder photos occupy the exact same visual block */
.founder-story-photo {
    width: 132px !important;
    height: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    border-radius: 28px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

/* Individual crop control so both portraits feel balanced */
.founder-story-card:nth-child(1) .founder-story-photo {
    object-position: center 18% !important;
}

.founder-story-card:nth-child(2) .founder-story-photo {
    object-position: center 28% !important;
}

/* Normalize the text stack beside each photo */
.founder-story-top>div {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 132px !important;
}

.founder-story-top .program-label {
    margin: 0 0 0.7rem !important;
    line-height: 1 !important;
}

.founder-story-top h3 {
    margin: 0 0 0.75rem !important;
    line-height: 1.05 !important;
}

.founder-credential {
    margin: 0 !important;
    line-height: 1.45 !important;
}

/* Make the body text begin at the same height in both cards */
.founder-story-body {
    padding-top: 0.25rem !important;
    flex: 1 !important;
}

/* Mobile version stays centered and matched */
@media (max-width: 760px) {
    .founder-story-top {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
        min-height: auto !important;
        padding-top: 1.7rem !important;
    }

    .founder-story-top>div {
        min-height: auto !important;
        align-items: center !important;
    }

    .founder-story-photo {
        width: 124px !important;
        height: 124px !important;
        min-width: 124px !important;
        max-width: 124px !important;
    }

    .founder-story-body {
        padding-top: 1rem !important;
    }
}

/* =========================================================
   FIX ANIMATED LOGO BLENDING — RESTORE BACKGROUND MATCH
   Paste at the VERY bottom of style.css
========================================================= */

.brand-logo-mark {
    width: 124px !important;
    height: 124px !important;
    flex: 0 0 124px !important;

    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    overflow: visible !important;
    border-radius: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative !important;

    /* IMPORTANT: do NOT isolate, because isolation breaks blending */
    isolation: auto !important;
}

.brand-video-logo {
    width: 124px !important;
    height: 124px !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block !important;
    background: transparent !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    transform: none !important;
    pointer-events: none !important;

    /* This is the important part that blends the white video background into the website */
    mix-blend-mode: multiply !important;
    filter: contrast(1.04) saturate(1.03) !important;
}

.brand-logo-mark::before,
.brand-logo-mark::after,
.brand-video-logo::before,
.brand-video-logo::after {
    display: none !important;
    content: none !important;
}

/* Make sure header background remains the website beige */
.topbar {
    background:
        linear-gradient(90deg, rgba(232, 227, 218, 0.98), rgba(255, 252, 246, 0.94)) !important;
}

/* Mobile */
@media (max-width: 760px) {
    .brand-logo-mark {
        width: 96px !important;
        height: 96px !important;
        flex: 0 0 96px !important;
    }

    .brand-video-logo {
        width: 96px !important;
        height: 96px !important;
    }
}

/* =========================================================
   FINAL FIX: BLENDED LOGO + RESTORED PREMIUM FOOTER
   Paste at the VERY bottom of style.css
========================================================= */

/* -----------------------------
   1) Restore animated logo blending
----------------------------- */

.topbar {
    background:
        linear-gradient(90deg, rgba(232, 227, 218, 0.98), rgba(255, 252, 246, 0.94)) !important;
    overflow: visible !important;
}

.brand,
.nav,
.brand-logo-mark {
    overflow: visible !important;
}

.brand-logo-mark {
    width: 124px !important;
    height: 124px !important;
    flex: 0 0 124px !important;

    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative !important;
    isolation: auto !important;
}

.brand-video-logo {
    width: 124px !important;
    height: 124px !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block !important;
    background: transparent !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    clip-path: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;

    transform: none !important;
    pointer-events: none !important;

    mix-blend-mode: multiply !important;
    filter: contrast(1.04) saturate(1.03) !important;
}

.brand-logo-mark::before,
.brand-logo-mark::after,
.brand-video-logo::before,
.brand-video-logo::after {
    display: none !important;
    content: none !important;
}

body[dir="rtl"] .brand-logo-mark,
body[dir="rtl"] .brand-video-logo {
    background: transparent !important;
}

@media (max-width: 760px) {
    .brand-logo-mark {
        width: 96px !important;
        height: 96px !important;
        flex: 0 0 96px !important;
    }

    .brand-video-logo {
        width: 96px !important;
        height: 96px !important;
    }
}

/* -----------------------------
   2) Restore premium footer layout
----------------------------- */

.site-footer {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background:
        radial-gradient(circle at 15% 0%, rgba(140, 96, 62, 0.22), transparent 30%),
        linear-gradient(135deg, #121A14, #2C1015) !important;
    color: #E8E3DA !important;
}

.site-footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 1fr 1fr 1.15fr !important;
    gap: clamp(1.4rem, 3vw, 2.5rem) !important;
    align-items: start !important;
    padding: clamp(2.5rem, 5vw, 4rem) 0 !important;
}

.site-footer .footer-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 0 !important;
}

.site-footer .footer-brand-title {
    margin: 0 !important;
    font-family: "Poppins", "Montserrat", Arial, sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.16em !important;
    color: #FFFCF6 !important;
}

.site-footer .footer-brand-subtitle {
    margin: 0.4rem 0 1rem !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.26em !important;
    color: #D7C7BB !important;
    text-transform: uppercase !important;
}

.site-footer .footer-column h3 {
    margin: 0 0 0.95rem !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    color: #D7C7BB !important;
}

.site-footer .footer-column a,
.site-footer .footer-column p {
    display: block !important;
    margin: 0 0 0.55rem !important;
    color: #B2B7B3 !important;
    font-weight: 650 !important;
    line-height: 1.55 !important;
    text-decoration: none !important;
}

.site-footer .footer-column a:hover {
    color: #FFFCF6 !important;
}

.site-footer .footer-social-row {
    display: flex !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    margin-top: 0.55rem !important;
}

.site-footer .footer-social-row a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 92px !important;
    padding: 0.55rem 0.8rem !important;
    border-radius: 999px !important;
    background: rgba(255, 252, 246, 0.08) !important;
    border: 1px solid rgba(232, 227, 218, 0.14) !important;
    color: #E8E3DA !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.site-footer .footer-social-row a:hover {
    background: rgba(255, 252, 246, 0.14) !important;
    color: #FFFCF6 !important;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(232, 227, 218, 0.16) !important;
    padding: 1.15rem 0 1.4rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    color: rgba(232, 227, 218, 0.72) !important;
    font-weight: 600 !important;
}

body[dir="rtl"] .site-footer .footer-column {
    text-align: right !important;
    align-items: flex-start !important;
}

@media (max-width: 900px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .site-footer .footer-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* =========================================================
   FAQ HERO SPACING + BALANCE
   Better spacing between heading/subheading and reduced awkward empty space
========================================================= */

body:has(.faq-list) .page-hero {
    padding-top: clamp(4.8rem, 7vw, 6.5rem) !important;
    padding-bottom: clamp(3.8rem, 5.5vw, 5rem) !important;
    min-height: auto !important;
}

body:has(.faq-list) .page-hero .section-head,
body:has(.faq-list) .page-hero .wide-head {
    max-width: 980px !important;
    margin-inline: auto !important;
    text-align: center !important;
}

body:has(.faq-list) .page-hero .section-kicker {
    margin-bottom: 1.15rem !important;
}

body:has(.faq-list) .page-hero h1 {
    max-width: 900px !important;
    margin: 0 auto 1.75rem !important;
    line-height: 1.03 !important;
    text-align: center !important;
    text-wrap: balance;
}

body:has(.faq-list) .page-hero .section-text {
    max-width: 860px !important;
    margin: 0 auto !important;
    line-height: 1.9 !important;
    text-align: center !important;
}

/* Pull FAQ cards slightly closer so the hero does not feel empty */
body:has(.faq-list) .page-hero+section {
    margin-top: 0 !important;
    padding-top: clamp(1.8rem, 3vw, 2.6rem) !important;
}

/* Keep the FAQ content balanced under the hero */
body:has(.faq-list) .content-grid {
    align-items: start !important;
    gap: clamp(1.5rem, 3vw, 2.4rem) !important;
}

body:has(.faq-list) .side-card,
body:has(.faq-list) .main-content {
    margin-top: 0 !important;
}

@media (max-width: 760px) {
    body:has(.faq-list) .page-hero {
        padding-top: 3.8rem !important;
        padding-bottom: 3rem !important;
    }

    body:has(.faq-list) .page-hero h1 {
        margin-bottom: 1.35rem !important;
        line-height: 1.06 !important;
    }

    body:has(.faq-list) .page-hero .section-text {
        line-height: 1.78 !important;
    }

    body:has(.faq-list) .page-hero+section {
        padding-top: 1.6rem !important;
    }
}

/* =========================================================
   FINAL TYPOGRAPHY + RTL POLISH
   Fixes letters visually sticking together in large headings
   without changing the overall layout.
========================================================= */

.hero h1,
.page-hero h1,
.course-hero h1,
.coming-soon-card h1,
.about-hero h1,
.updates-native-intro h1,
.gp2-title {
    letter-spacing: -0.025em !important;
    font-kerning: normal;
    font-feature-settings: "kern" 1, "liga" 0;
    text-rendering: optimizeLegibility;
    word-spacing: 0.015em;
}

/* Arabic headings should not use negative tracking */
body[dir="rtl"] .hero h1,
body[dir="rtl"] .page-hero h1,
body[dir="rtl"] .course-hero h1,
body[dir="rtl"] .coming-soon-card h1,
body[dir="rtl"] .about-hero h1,
body[dir="rtl"] .updates-native-intro h1,
body[dir="rtl"] .gp2-title {
    letter-spacing: 0 !important;
    word-spacing: 0.04em;
    line-height: 1.15;
}

/* Keeps Arabic content aligned properly inside visual cards/forms */
body[dir="rtl"] .medical-path-card,
body[dir="rtl"] .dashboard-window,
body[dir="rtl"] .updates-native-form-card,
body[dir="rtl"] .native-updates-form {
    text-align: right;
}

/* Keep dashboard number cards readable in Arabic mode */
body[dir="rtl"] .dashboard-mini-grid {
    direction: ltr;
}

body[dir="rtl"] .dashboard-mini-card small,
body[dir="rtl"] .dashboard-mini-card span {
    direction: rtl;
}

/* Dropdown direction follows selected website language */
body[dir="rtl"] select {
    direction: rtl;
}

body[dir="ltr"] select {
    direction: ltr;
}

/* Make dropdown option text more readable across browsers */
select option {
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

body[dir="rtl"] select option {
    font-family: "Tahoma", "Arial", sans-serif;
}

/* Slight polish for Germany visual card bilingual switch */
.medical-path-card h3,
.medical-path-card p,
.pathway-step,
.dashboard-profile-row strong,
.dashboard-profile-row small,
.dashboard-course-card strong,
.dashboard-course-card p,
.dashboard-mini-card small {
    transition: opacity 0.18s ease;
}

/* =========================================================
   MOBILE LOGO VIDEO FIX
   Prevents iPhone/Safari from showing native play overlay
========================================================= */

.brand-logo-mark,
.brand-video-logo {
    pointer-events: none !important;
}

.brand-video-logo {
    display: block !important;
    background: transparent !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Hide iOS/Safari native video controls/play overlay as much as possible */
.brand-video-logo::-webkit-media-controls,
.brand-video-logo::-webkit-media-controls-panel,
.brand-video-logo::-webkit-media-controls-play-button,
.brand-video-logo::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Keep the blended logo behavior */
.brand-video-logo {
    mix-blend-mode: multiply !important;
    filter: contrast(1.04) saturate(1.03) !important;
}

/* =========================================================
   MOBILE PROGRAMS DROPDOWN FIX
========================================================= */

.nav-dropdown {
    position: relative !important;
}

.nav-dropdown.open>.dropdown-menu,
.nav-dropdown:focus-within>.dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

@media (max-width: 760px) {
    .nav-links {
        overflow: visible !important;
    }

    .nav-dropdown {
        width: auto !important;
    }

    .dropdown-menu {
        position: absolute !important;
        top: calc(100% + 0.6rem) !important;
        left: 0 !important;
        right: auto !important;
        min-width: 250px !important;
        max-width: calc(100vw - 2rem) !important;
        z-index: 9999 !important;
    }

    body[dir="rtl"] .dropdown-menu {
        left: auto !important;
        right: 0 !important;
    }

    .nested-menu {
        position: static !important;
        margin-top: 0.45rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 18px !important;
        background: rgba(255, 252, 246, 0.78) !important;
    }
}

/* =========================================================
   FINAL MOBILE LOGO BLENDING FIX
   Works for img-based animated WebP logo
========================================================= */

.brand-logo-mark {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    overflow: visible !important;
    isolation: isolate;
}

.brand-video-logo {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    mix-blend-mode: multiply !important;
    filter: contrast(1.02) saturate(1.02) !important;
    pointer-events: none !important;
}

/* Prevent Safari from adding video UI if any old video tag remains somewhere */
.brand-video-logo::-webkit-media-controls,
.brand-video-logo::-webkit-media-controls-panel,
.brand-video-logo::-webkit-media-controls-play-button,
.brand-video-logo::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================================
   FINAL WEBP LOGO BACKGROUND BLEND
   For img-based animated WebP logo
========================================================= */

.brand-logo-mark {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    isolation: isolate;
}

.brand-video-logo {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;

    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    mix-blend-mode: multiply !important;
    filter: contrast(1.03) saturate(1.02) brightness(1.01) !important;
    pointer-events: none !important;
}

/* Prevent any old video styling from interfering */
.brand-video-logo::-webkit-media-controls,
.brand-video-logo::-webkit-media-controls-panel,
.brand-video-logo::-webkit-media-controls-play-button,
.brand-video-logo::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================================
   RESPONSIVE HERO IMAGE CONSISTENCY FIX
   Keeps the homepage hero visually balanced on laptop + phone
========================================================= */

.hero,
.home-hero,
.hero-section,
.home-visual-hero {
    min-height: clamp(560px, 72vh, 760px);
    overflow: hidden;
}

/* If your hero image is a background image */
.hero,
.home-hero,
.hero-section,
.home-visual-hero {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center 42% !important;
}

/* If your hero image is an actual img inside the hero */
.hero img,
.home-hero img,
.hero-section img,
.home-visual-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

/* Keep hero text from becoming oversized or cramped on phones */
.hero h1,
.home-hero h1,
.hero-section h1,
.home-visual-hero h1 {
    font-size: clamp(3.2rem, 7vw, 6.8rem) !important;
    line-height: 0.98 !important;
    max-width: min(980px, 92vw);
    margin-left: auto;
    margin-right: auto;
}

/* Fix the white text card on mobile so WhatsApp does not cover too much */
.hero .hero-card,
.home-hero .hero-card,
.hero-section .hero-card,
.home-visual-hero .hero-card,
.hero-copy-card {
    max-width: min(980px, 92vw);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.2rem, 4vw, 2.5rem);
}

.hero .hero-card p,
.home-hero .hero-card p,
.hero-section .hero-card p,
.home-visual-hero .hero-card p,
.hero-copy-card p {
    font-size: clamp(1.05rem, 3.8vw, 1.45rem) !important;
    line-height: 1.55 !important;
}

/* Mobile-specific hero framing */
@media (max-width: 760px) {

    .hero,
    .home-hero,
    .hero-section,
    .home-visual-hero {
        min-height: 720px;
        background-position: 48% 38% !important;
    }

    .hero img,
    .home-hero img,
    .hero-section img,
    .home-visual-hero img {
        object-position: 48% 38%;
    }

    .hero h1,
    .home-hero h1,
    .hero-section h1,
    .home-visual-hero h1 {
        font-size: clamp(3rem, 12vw, 4.8rem) !important;
        line-height: 1.02 !important;
        max-width: 92vw;
    }

    .hero .hero-card,
    .home-hero .hero-card,
    .hero-section .hero-card,
    .home-visual-hero .hero-card,
    .hero-copy-card {
        max-width: 92vw;
        padding: 1.35rem 1.25rem;
        border-radius: 24px;
    }
}

/* Extra-small iPhone screens */
@media (max-width: 430px) {

    .hero,
    .home-hero,
    .hero-section,
    .home-visual-hero {
        min-height: 700px;
        background-position: 50% 40% !important;
    }

    .hero h1,
    .home-hero h1,
    .hero-section h1,
    .home-visual-hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem) !important;
    }
}

/* =========================================================
   MOBILE LOGO PERFORMANCE FIX
   Reduces heavy blending work on iPhone/Safari
========================================================= */

@media (max-width: 760px) {
    .brand-video-logo {
        mix-blend-mode: multiply !important;
        filter: none !important;
        transform: translateZ(0);
        will-change: auto;
    }

    .brand-logo-mark {
        overflow: visible !important;
        background: transparent !important;
    }
}