﻿.public-page {
    --genius-purple: #6A006F;
    --genius-dark-purple: #4D0052;
    --genius-magenta: #C00088;
    --genius-pink: #D21AA6;
    --genius-yellow: #FFC928;
    --genius-yellow-light: #FFD85A;
    --genius-white: #FFFFFF;
    --genius-soft-bg: #FFF8FE;
    --genius-text: #331533;
    background: white;
    color: var(--genius-text);
}
.public-page > main { flex: none; }
/* One margin per section boundary; keep each section's internal sizing intact. */
:is(.home-section, .manager-outer, .programs-section, .certificate-cta) {
    margin-top: var(--home-section-gap, 36px);
}
.about-section { --home-section-gap: 32px; }
.manager-outer { --home-section-gap: 38px; }
.programs-section { --home-section-gap: 34px; }
.certificate-cta { --home-section-gap: 30px; }
@media (min-width: 1200px) {
    :is(.home-section, .manager-outer, .programs-section, .certificate-cta) {
        margin-top: var(--home-section-gap, 42px);
    }
}
@media (max-width: 991.98px) {
    :is(.home-section, .manager-outer, .programs-section, .certificate-cta) { margin-top: 28px; }
}
@media (max-width: 576px) {
    :is(.home-section, .manager-outer, .programs-section, .certificate-cta) { margin-top: 24px; }
}
.home-container { width: calc(100% - 80px); max-width: 1450px; margin-inline: auto; }
.public-page [id] { scroll-margin-top: 12px; }
.public-skip-link { position: absolute; left: 20px; top: -100px; z-index: 20; padding: 12px 20px; background: white; }
.public-skip-link:focus { top: 12px; }
.public-header { height: 70px; background: white; border-bottom: 1px solid #F0E5EF; position: relative; z-index: 5; }
.public-header .navbar { height: 100%; padding-block: 0; gap: 24px; }
.public-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--genius-purple); font-size: 21px; font-weight: 700; text-decoration: none; line-height: 1.2; flex-shrink: 0; }
.public-brand small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: #8A6A86; }
.public-logo { width: 52px; height: 52px; object-fit: contain; }
.public-nav-links { gap: 24px; align-items: center; margin-right: 45px; }
.public-nav-links .nav-link { position: relative; color: var(--genius-text); font-size: 14px; font-weight: 600; padding-block: 12px; white-space: nowrap; }
.public-nav-links .nav-link:hover, .public-nav-links .nav-link.active { color: var(--genius-magenta); }
.public-nav-links .nav-link.active::after { content: ''; position: absolute; height: 3px; bottom: 3px; left: 8px; right: 8px; background: var(--genius-yellow); }
.public-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.public-login-button { height: 44px; background: linear-gradient(90deg, var(--genius-purple), var(--genius-magenta)); color: white; }
.public-login-button:hover { color: white; background: var(--genius-dark-purple); }
.public-menu-toggle { border: 1px solid #E7CFE5; color: var(--genius-purple); width: 44px; height: 44px; }
.public-page a:focus-visible, .public-menu-toggle:focus-visible { outline: 3px solid var(--genius-magenta); outline-offset: 4px; }
/* The slanted copy edge stays near 40%; the image fills the other 60%. */
.home-hero { position: relative; height: 325px; overflow: hidden; background: linear-gradient(135deg, #5F0068 0%, #890078 45%, #C00088 100%); }
.hero-copy { position: relative; width: 40%; height: 100%; z-index: 2; color: white; }
.hero-copy::before { content: ''; position: absolute; inset: 0; opacity: .06; background: radial-gradient(circle at 90% 15%, transparent 65px, white 66px, transparent 68px), radial-gradient(circle, white 1px, transparent 2px) right bottom / 18px 18px; pointer-events: none; }
.hero-copy-inner { position: relative; max-width: 560px; margin-left: auto; padding: 23px 30px 20px 40px; }
.home-eyebrow { display: block; color: white; font-size: 17px; font-weight: 700; line-height: 1.2; margin-bottom: 5px; }
.home-hero h1 { color: white; font-size: clamp(40px, 3.2vw, 55px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin: 0 0 10px; }
.hero-portal { color: var(--genius-yellow); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.hero-copy p { font-size: 15px; line-height: 1.5; color: #FFF0FA; margin-bottom: 14px; }
.hero-actions { display: flex; gap: 10px; }
.button-yellow { background: var(--genius-yellow); color: #5F0068; }
.button-yellow:hover { background: var(--genius-yellow-light); color: var(--genius-dark-purple); }
.button-outline { border-color: rgba(255,255,255,.7); color: white; }
.button-outline:hover { background: rgba(255,255,255,.12); color: white; }
.hero-divider { position: absolute; top: 0; bottom: 0; left: calc(40% - 16px); width: 32px; background: var(--genius-yellow); transform: skewX(-6deg); transform-origin: top; z-index: 3; }
.hero-school-photo { position: absolute; inset: 0 0 0 calc(40% - 19px); background: url('../images/genius-school-bg.jpeg') center 20% / cover no-repeat; clip-path: polygon(35px 0, 100% 0, 100% 100%, 0 100%); }
.hero-slogan { position: absolute; top: 27px; right: 5%; z-index: 2; color: white; font: italic 700 30px/1.05 Georgia, serif; text-align: center; text-shadow: 0 2px 5px #33153380; transform: rotate(-5deg); }
.hero-slogan::after { content: ''; display: block; height: 4px; background: var(--genius-yellow); margin-top: 8px; border-radius: 50%; }
.feature-strip { height: 72px; background: #FFF8FE; border-bottom: 1px solid #F0E5EF; }
.feature-grid { height: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 24px; }
.school-feature { display: flex; gap: 12px; align-items: center; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: #F3E4F5; color: var(--genius-purple); }
.feature-icon svg { width: 24px; height: 24px; }
.school-feature:nth-child(even) .feature-icon { background: #FFE7F5; color: var(--genius-magenta); }
.school-feature h2 { font-size: 14px; font-weight: 700; margin: 0 0 3px; }
.school-feature p { font-size: 12px; color: #786578; margin: 0; }
.about-section { min-height: 184px; display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 34px; align-items: center; padding-block: 26px 18px; }
.home-section-title { color: var(--genius-purple); font-size: 27px; font-weight: 750; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 12px; }
.home-section-title::after { content: ''; display: block; width: 55px; height: 4px; margin-top: 8px; background: var(--genius-yellow); }
.about-copy p { font-size: 14px; line-height: 1.55; color: #786578; margin: 0; }
.statistics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.statistic { min-height: 158px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px 12px; border: 1px solid #EDE1EF; border-radius: 14px; background: #F7EFFA; }
.statistic:nth-child(2) { background: #FFF0F8; }
.statistic:nth-child(3) { background: #FFF9E7; }
.statistic:nth-child(4) { background: #F1F7FF; }
.stat-icon-wrap { width: 62px; height: 62px; margin: 0 auto 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; }
.stat-icon { width: 58px; height: 58px; object-fit: contain; display: block; }
.statistic strong { color: var(--genius-magenta); font-size: 32px; font-weight: 800; line-height: 1; margin-top: 2px; }
.statistic span { font-size: 13px; font-weight: 600; line-height: 1.3; margin-top: 7px; }

.leadership-list { margin-top: 38px; }
.leadership-card {
    --leadership-accent: #C00088;
    --leadership-slogan-color: #C00088;
    padding: 20px 24px;
    border: 1px solid rgba(106, 0, 111, .08);
    border-radius: 20px;
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(106, 0, 111, .045);
    background: linear-gradient(135deg, #FFF7FC, #FFF9FD);
}
.leadership-card + .leadership-card { margin-top: 24px; }
.leadership-academic { --leadership-accent: #3D83D9; --leadership-slogan-color: #256FC5; background: linear-gradient(135deg, #F6FAFF, #EEF7FF); border-color: #D6E8FA; }
.leadership-development { --leadership-accent: #E9A900; --leadership-slogan-color: #D47300; background: linear-gradient(135deg, #FFFDF5, #FFF8E7); border-color: #F4DFAC; }
.leadership-card-inner { display: grid; grid-template-columns: 300px minmax(0, 1fr) 240px; gap: 34px; align-items: center; }
.leadership-photo { width: 100%; max-width: 285px; margin-inline: auto; }
.leadership-photo img { display: block; width: 100%; height: 205px; object-fit: contain; object-position: center; border-radius: 18px; }
.leadership-title { margin: 0 0 8px; color: #6A006F; font-size: 29px; font-weight: 800; line-height: 1.05; }
.leadership-copy { font-size: 14.5px; line-height: 1.5; color: #73596F; }
.leadership-copy p { margin: 0 0 7px; }
.leadership-copy p:last-child { margin-bottom: 0; }
.leadership-quote-mark { color: var(--leadership-accent); font-size: 30px; font-weight: 800; line-height: .8; margin-right: 8px; }
.leadership-role { margin-top: 9px; color: #6A006F; font-size: 14px; font-weight: 800; }
.leadership-slogan { position: relative; padding-left: 24px; text-align: center; color: var(--leadership-slogan-color); font-family: Georgia, serif; font-style: italic; font-size: 26px; line-height: 1.05; }
.leadership-slogan::before { content: ""; position: absolute; left: 0; top: 5%; width: 1px; height: 90%; background: currentColor; opacity: .35; }
.leadership-slogan-line { width: 54px; height: 3px; margin: 8px auto 0; border-radius: 999px; background: #FFC928; }
.programs-section { padding-block: 6px 8px; }
.section-intro { text-align: center; }
.section-intro .home-section-title { font-size: 24px; margin-bottom: 4px; }
.section-intro .home-section-title::after { margin: 5px auto 0; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.program-card { display: flex; align-items: center; gap: 16px; min-height: 78px; padding: 14px 22px; border: 1px solid #E3E8F0; border-radius: 10px; background: #F0F6FF; }
.program-card:nth-child(2) { background: #FFF1F8; border-color: #F0E2EC; }
.program-card:nth-child(3) { background: #FFFAEA; border-color: #F0EBD6; }
.program-card h3 { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.program-card p { font-size: 12px; line-height: 1.4; color: #786578; margin: 0; }
.language-flag { position: relative; display: block; width: 46px; height: 30px; flex-shrink: 0; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px #33153315; }
.flag-en { background: linear-gradient(90deg, transparent 42%, #C8102E 42% 58%, transparent 58%), linear-gradient(transparent 38%, #C8102E 38% 62%, transparent 62%), linear-gradient(90deg, transparent 35%, white 35% 65%, transparent 65%), linear-gradient(transparent 28%, white 28% 72%, transparent 72%), linear-gradient(33deg, transparent 43%, white 43% 48%, #C8102E 48% 52%, white 52% 57%, transparent 57%), linear-gradient(-33deg, #012169 43%, white 43% 48%, #C8102E 48% 52%, white 52% 57%, #012169 57%); }
.flag-fr { background: linear-gradient(90deg, #002395 33.33%, white 33.33% 66.66%, #ED2939 66.66%); }
.flag-de { background: linear-gradient(#171717 33.33%, #DD0000 33.33% 66.66%, #FFCE00 66.66%); }
.certificate-cta { background: linear-gradient(100deg, var(--genius-purple), var(--genius-magenta)); color: white; }
.certificate-cta-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 12px; }
.certificate-cta h2 { color: white; font-size: 20px; font-weight: 700; margin: 0 0 3px; }
.certificate-cta p { color: #FFEAF9; font-size: 12px; margin: 0; }
.public-footer { min-height: 108px; border-top: 1px solid #FFFFFF30; background: linear-gradient(100deg, var(--genius-dark-purple), #890078); color: white; }
.footer-top { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand, .footer-brand:hover { color: white; font-size: 14px; }
.footer-brand .public-logo { width: 44px; height: 44px; }
.footer-brand small { font-size: 11px; color: #F1D8EB; margin-top: 3px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: white; text-decoration: none; font-size: 12px; }
.footer-links a:hover { color: var(--genius-yellow); }
.footer-social { display: flex; gap: 10px; }
.footer-social span { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; border: 1px solid #FFFFFF60; border-radius: 50%; }
.footer-social svg { width: 15px; height: 15px; }
.footer-bottom { min-height: 37px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #FFFFFF30; font-size: 11px; color: #F1D8EB; }
.footer-tagline { color: var(--genius-yellow); letter-spacing: .08em; }
.public-footer a:focus-visible, .home-hero a:focus-visible, .certificate-cta a:focus-visible { outline-color: var(--genius-yellow); }
@media (prefers-reduced-motion: no-preference) { html:has(.public-page) { scroll-behavior: smooth; } }
@media (min-width: 1700px) { .home-container { max-width: 1500px; } }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .public-brand { font-size: 16px; }
    .public-nav-links { gap: 8px; }
    .public-header .navbar { gap: 16px; }
    .public-button { padding-inline: 14px; }
    .hero-copy-inner { padding-inline: 24px 30px; }
    .home-hero h1 { font-size: 36px; }
}
@media (max-width: 991.98px) {
    .home-container { width: calc(100% - 48px); }
    .public-header { height: auto; min-height: 70px; }
    .public-header .navbar { min-height: 70px; padding-block: 10px; justify-content: space-between; }
    .public-nav-links { align-items: stretch; gap: 2px; padding-block: 8px; }
    .public-nav-links .nav-link.active::after { left: 0; right: auto; width: 32px; }
    .public-login-button { margin-bottom: 8px; }
    .home-hero { height: auto; display: flex; flex-direction: column; }
    .hero-copy { width: 100%; }
    .hero-copy-inner { max-width: none; margin-left: 0; padding: 28px 24px; }
    .home-hero h1 { font-size: 46px; }
    .hero-divider { display: none; }
    .hero-school-photo { position: relative; inset: auto; width: 100%; height: 280px; clip-path: none; border-top: 5px solid var(--genius-yellow); }
    .hero-slogan { top: auto; bottom: 145px; right: 24px; font-size: 25px; }
    .feature-strip { height: auto; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 18px; gap: 20px; }
    .about-section { grid-template-columns: 1fr; gap: 20px; padding-block: 24px; }
    .about-copy p { max-width: none; }
    .statistics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .programs-section { padding-block: 22px; }
    .program-grid { grid-template-columns: 1fr; gap: 10px; }
    .certificate-cta-inner { flex-direction: column; align-items: flex-start; padding-block: 18px; gap: 14px; }
    .footer-top { height: auto; padding-block: 16px; flex-wrap: wrap; }
    .footer-bottom { padding-block: 12px; flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
    .stat-icon { width: 50px; height: 50px; }
    .stat-icon-wrap { width: 54px; height: 54px; }
    .home-container { width: calc(100% - 32px); }
    .public-brand { font-size: 15px; gap: 8px; }
    .public-brand small { font-size: 10px; }
    .public-logo { width: 42px; height: 42px; }
    .public-header .navbar { gap: 8px; }
    .home-hero h1 { font-size: 40px; }
    .hero-portal { font-size: 18px; }
    .hero-actions { flex-wrap: wrap; }
    .hero-school-photo { height: 230px; }
    .hero-slogan { bottom: 120px; font-size: 20px; }
    .school-feature { gap: 8px; }
    .school-feature h2 { font-size: 12px; }
    .school-feature p { font-size: 10px; }
    .feature-grid { gap: 18px 12px; }
    .statistics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-links { gap: 16px; flex-wrap: wrap; }
.desktop-break { display: none; }
}

@media (max-width: 1100px) {
    .leadership-card-inner { grid-template-columns: 240px minmax(0, 1fr); gap: 18px 28px; }
    .leadership-slogan { grid-column: 2; }
}
@media (max-width: 768px) {
    .leadership-card-inner { grid-template-columns: 1fr; gap: 14px; }
    .leadership-photo { margin-inline: auto; }
    .leadership-content { text-align: left; }
    .leadership-slogan { grid-column: auto; padding-left: 0; text-align: center; }
    .leadership-slogan::before { display: none; }
}




