/* ========================================================================== 
   Identité visuelle Boost d'énergie et correctifs de mise en page du CV
   Palette Boost : orange, rose, rouge, mauve, jaune, cyan et vert sur fond sombre
   ========================================================================== */

:root {
    --boost-bg: #0b0c10;
    --boost-bg-soft: #101117;
    --boost-panel: #15151b;
    --boost-panel-alt: #1b1b22;
    --boost-text: #f3f4f6;
    --boost-muted: #a7abb6;
    --boost-orange-light: #FAA940;
    --boost-pink: #FF006B;
    --boost-pink-dark: #dc0b63;
    --boost-orange: #f89310;
    --boost-red: #da0a0e;
    --boost-red-dark: #971012;
    --boost-purple: #d00bf4;
    --boost-purple-dark: #9f07bb;
    --boost-yellow: #fef00e;
    --boost-yellow-dark: #d6cc25;
    --boost-cyan: #08ecef;
    --boost-cyan-dark: #0fc4c6;
    --boost-green: #0cf60c;
    --boost-green-dark: #07b806;
    --boost-border: rgba(255, 255, 255, 0.11);
    --boost-sidebar: clamp(220px, 18vw, 280px);
    --boost-gradient: linear-gradient(100deg, var(--boost-pink), var(--boost-orange-light));
    --section-accent: var(--boost-orange-light);
    --section-accent-dark: var(--boost-orange);
    --section-glow: rgba(250, 169, 64, 0.24);
}

html {
    background: var(--boost-bg);
    scroll-behavior: smooth;
}

body {
    background: var(--boost-bg) url("../images/boost-cosmic-background.png") center / cover fixed no-repeat;
    color: var(--boost-text);
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.65;
}

/* Le fond fourni reste fixe derriere tous les chapitres. Deux nappes de petites
   etoiles animees donnent du mouvement sans concurrencer le contenu. */
.container::before,
.container::after {
    content: "";
    position: fixed;
    z-index: 0;
    inset: 0;
    pointer-events: none;
}

.container::before {
    background:
        radial-gradient(circle at 12% 18%, rgba(250, 169, 64, 0.95) 0 1px, transparent 2px),
        radial-gradient(circle at 34% 76%, rgba(255, 0, 107, 0.8) 0 1px, transparent 2px),
        radial-gradient(circle at 63% 24%, rgba(8, 236, 239, 0.8) 0 1px, transparent 2px),
        radial-gradient(circle at 86% 68%, rgba(208, 11, 244, 0.9) 0 1px, transparent 2px);
    background-size: 190px 210px, 260px 230px, 310px 270px, 230px 300px;
    opacity: 0.32;
    animation: boost-star-drift 22s linear infinite;
}

.container::after {
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.8px) 8% 14% / 240px 240px,
        radial-gradient(circle, rgba(254, 240, 14, 0.75) 0 1px, transparent 1.8px) 62% 72% / 320px 320px;
    opacity: 0.16;
    animation: boost-star-twinkle 4.8s ease-in-out infinite alternate;
}

@keyframes boost-star-drift {
    to { transform: translate3d(18px, -14px, 0); }
}

@keyframes boost-star-twinkle {
    0%, 100% { opacity: 0.08; filter: brightness(0.8); }
    50% { opacity: 0.28; filter: brightness(1.35); }
}

@keyframes boost-logo-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes boost-nebula-right {
    to { background-position: 96% 4%, center, 52% 48%; }
}

@keyframes boost-nebula-left {
    to { background-position: 4% 4%, center, 48% 52%; }
}

@keyframes boost-divider-glow {
    0%, 100% { opacity: 0.86; filter: brightness(0.92); }
    50% { opacity: 1; filter: brightness(1.28); }
}

@keyframes boost-icon-glow {
    0%, 100% { box-shadow: 0 12px 30px rgba(248, 147, 16, 0.26), inset 0 1px rgba(255, 255, 255, 0.34); }
    50% { box-shadow: 0 15px 36px rgba(250, 169, 64, 0.42), 0 0 18px rgba(250, 169, 64, 0.12), inset 0 1px rgba(255, 255, 255, 0.42); }
}

@keyframes boost-content-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

body,
button,
input,
textarea {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a:focus-visible,
.menu-link:focus-visible {
    outline: 3px solid var(--boost-orange);
    outline-offset: 4px;
}

/* Navigation : les éléments restent séparés, même sur un écran peu haut
   ou lorsque le navigateur est fortement zoomé. */
.menu {
    width: var(--boost-sidebar);
    min-width: 220px;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 0, 107, 0.2), transparent 35%),
        rgba(5, 5, 7, 0.94);
    backdrop-filter: blur(16px);
    border-right: 1px solid var(--boost-border);
    box-shadow: 18px 0 55px rgba(0, 0, 0, 0.3);
}

.logo {
    flex: 0 0 auto;
    margin: 0;
    padding: clamp(20px, 4vh, 38px) 24px 18px;
    text-align: center;
}

.logo img {
    display: block;
    width: clamp(96px, 9vw, 132px);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 14px 28px rgba(255, 0, 107, 0.2));
    animation: boost-logo-float 5.5s ease-in-out infinite;
}

.menu nav {
    position: relative;
    inset: auto;
    flex: 1 1 auto;
    width: 100% !important;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--boost-pink) transparent;
}

.menu nav .jspContainer,
.menu nav .jspPane {
    width: 100% !important;
}

.menu nav a {
    position: relative;
    margin: 0 28px;
    padding: 11px 0;
    color: var(--boost-muted);
    border-color: rgba(255, 255, 255, 0.08);
    font-size: 14px;
    letter-spacing: 0.04em;
    transform: translateX(0);
    transition: color 0.22s ease, transform 0.22s ease;
}

.menu nav a::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 0 3px 3px 0;
    background: var(--boost-gradient);
    transform: translateY(-50%);
    transition: height 0.2s ease;
}

.menu nav a:hover,
.menu nav a:focus-visible,
.menu nav a span.active {
    color: var(--boost-text);
}

.menu nav a:hover,
.menu nav a:focus-visible {
    transform: translateX(5px);
}

.menu nav a:has(span.active)::before,
.menu nav a:hover::before {
    height: 60%;
}

.menu nav a span.active {
    font-weight: 500;
}

.social {
    position: static;
    flex: 0 0 auto;
    padding: 18px 30px 12px;
}

.social a,
.contact-social a {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--boost-orange-light), var(--boost-orange));
    box-shadow: 0 8px 22px rgba(248, 147, 16, 0.26);
    transform: translateY(0);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
        box-shadow 0.2s ease, transform 0.2s ease;
}

.social a:last-child,
.contact-social a:last-child {
    margin-right: 0;
}

.social a i,
.contact-social a i,
.contact-social a:first-child i {
    margin: 0 !important;
    color: #fff;
}

.social a:hover,
.social a:focus-visible,
.contact-social a:hover,
.contact-social a:focus-visible {
    color: #fff;
    background: linear-gradient(145deg, var(--boost-pink), var(--boost-pink-dark));
    border-color: #fff;
    box-shadow: 0 10px 26px rgba(255, 0, 107, 0.36);
    transform: translateY(-2px);
}

.copyright {
    position: static;
    flex: 0 0 auto;
    padding: 10px 30px 22px;
    color: #7f8490;
    line-height: 1.55;
}

/* Chaque chapitre occupe exactement l'espace restant à droite du menu.
   Cela supprime le chapitre suivant visible sur le bord droit. */
.content-scroller {
    z-index: 1;
    left: var(--boost-sidebar);
    height: 100vh;
    height: 100dvh;
    background: transparent;
}

.content-wrapper {
    display: flex;
    width: max-content;
    height: 100%;
}

.content,
.content:last-child {
    float: none;
    flex: 0 0 calc(100vw - var(--boost-sidebar));
    width: calc(100vw - var(--boost-sidebar));
    height: 100vh;
    height: 100dvh;
    background: rgba(8, 9, 15, 0.78);
    border-right: 1px solid var(--boost-border);
}

.content .jspContainer,
.content .jspPane {
    width: 100% !important;
}

.inner {
    box-sizing: border-box;
    width: min(100%, 1120px);
    margin-inline: auto;
    padding: clamp(48px, 6vw, 88px);
}

.white-bg {
    background-color: #08090f;
    background-image:
        radial-gradient(800px 420px at 100% 0%, var(--section-glow), transparent 62%),
        linear-gradient(115deg, rgba(3, 4, 11, 0.3), rgba(5, 6, 12, 0.56) 52%, rgba(8, 4, 10, 0.3)),
        url("../images/boost-cosmic-background.png");
    background-position: 100% 0%, center, 50% 50%;
    background-size: 800px 420px, 100% 100%, cover;
    background-repeat: no-repeat;
    animation: boost-nebula-right 26s ease-in-out infinite alternate;
}

.gray-bg {
    background-color: #0e0b14;
    background-image:
        radial-gradient(800px 420px at 0% 0%, var(--section-glow), transparent 62%),
        linear-gradient(115deg, rgba(5, 4, 12, 0.32), rgba(7, 6, 14, 0.58) 52%, rgba(10, 4, 13, 0.3)),
        url("../images/boost-cosmic-background.png");
    background-position: 0% 0%, center, 50% 50%;
    background-size: 800px 420px, 100% 100%, cover;
    background-repeat: no-repeat;
    animation: boost-nebula-left 26s ease-in-out infinite alternate;
}

#chapterabout {
    --section-accent: var(--boost-orange-light);
    --section-accent-dark: var(--boost-orange);
    --section-glow: rgba(250, 169, 64, 0.2);
}

/* Le theme d'origine limitait cette section a 50 % de sa largeur. */
#chapterabout .inner {
    width: min(calc(100% - 80px), 1240px);
    padding-inline: clamp(40px, 4vw, 64px);
}

#chapterskills {
    --section-accent: var(--boost-yellow);
    --section-accent-dark: var(--boost-yellow-dark);
    --section-glow: rgba(254, 240, 14, 0.1);
}

#chapterexperience {
    --section-accent: var(--boost-red);
    --section-accent-dark: var(--boost-red-dark);
    --section-glow: rgba(218, 10, 14, 0.16);
}

#chaptereducation {
    --section-accent: var(--boost-purple);
    --section-accent-dark: var(--boost-purple-dark);
    --section-glow: rgba(208, 11, 244, 0.14);
}

#chapterportfolio {
    --section-accent: var(--boost-cyan);
    --section-accent-dark: var(--boost-cyan-dark);
    --section-glow: rgba(8, 236, 239, 0.13);
}

#chaptercontact {
    --section-accent: var(--boost-green);
    --section-accent-dark: var(--boost-green-dark);
    --section-glow: rgba(12, 246, 12, 0.12);
}

.content:not(.introduction):not(.introduction-end) .inner > h2 {
    animation: boost-content-rise 0.7s cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.about-con,
.skills-con,
.experience-con,
.education-con,
.portfolio-con,
.contact-con {
    animation: boost-content-rise 0.85s 0.12s cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.skills-con .col-6 {
    transform: translateY(0);
    transition: filter 0.28s ease, transform 0.28s ease;
}

.skills-con .col-6:hover {
    filter: brightness(1.13);
    transform: translateY(-4px);
}

.inner h2,
.inner h3,
.inner h4,
.inner h5,
.contact-text strong {
    color: var(--boost-text);
}

.inner p,
.about-con li,
.experience-details,
.education-details,
.contact-text,
.skills-con li {
    color: #c9ccd4;
}

.title-divider {
    width: 84px;
    height: 5px;
    margin: 24px 0 42px;
    border-radius: 999px;
    background: linear-gradient(100deg, var(--section-accent), var(--section-accent-dark));
    box-shadow: 0 8px 24px var(--section-glow);
    animation: boost-divider-glow 4.5s ease-in-out infinite;
}

.full-divider {
    background: linear-gradient(90deg, var(--section-accent), rgba(255, 255, 255, 0.08) 35%, transparent);
    opacity: 0.52;
}

.about-con ul {
    overflow: hidden;
    margin-bottom: 38px;
    border: 1px solid rgba(250, 169, 64, 0.34);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.04);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.about-con ul:hover {
    border-color: rgba(250, 169, 64, 0.58);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.3), 0 0 30px rgba(248, 147, 16, 0.08);
    transform: translateY(-3px);
}

.about-con ul li {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background-color 0.22s ease, transform 0.22s ease;
}

.about-con ul li:hover {
    background: linear-gradient(90deg, rgba(250, 169, 64, 0.1), transparent 68%);
    transform: translateX(5px);
}

.about-con ul li:first-child {
    padding: 12px 16px;
}

.about-con ul li:last-child {
    border-bottom: 0;
}

.about-con a,
.contact-text a {
    color: var(--boost-orange);
}

.about-con h4 {
    margin-top: 28px;
    color: var(--boost-orange);
}

figure blockquote {
    margin-top: 24px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 4px solid var(--section-accent);
    border-radius: 0 14px 14px 0;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

figure blockquote:hover {
    border-left-color: var(--section-accent-dark);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28), 0 0 24px var(--section-glow);
    transform: translateY(-3px);
}

figure blockquote p {
    color: #e6e7eb !important;
}

figure figcaption {
    margin-top: 10px;
    color: var(--section-accent);
}

.button {
    border-color: var(--boost-pink);
    border-radius: 999px;
    color: var(--boost-text);
    background: rgba(255, 255, 255, 0.025);
}

.button:hover,
.button:focus-visible {
    border-color: transparent;
    color: #fff;
    background: var(--boost-gradient);
    box-shadow: 0 12px 32px rgba(255, 0, 107, 0.25);
}

.icon-block,
.experience-details .icon-block,
.education-details .icon-block,
.contact-details .icon-block {
    display: grid;
    float: left;
    width: 84px;
    height: 84px;
    min-width: 84px;
    place-items: center;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--boost-orange-light), var(--boost-orange));
    box-shadow: 0 12px 30px rgba(248, 147, 16, 0.3), inset 0 1px rgba(255, 255, 255, 0.36);
    transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    animation: boost-icon-glow 4.2s ease-in-out infinite;
}

.icon-block i,
.experience-con .icon-block i,
.education-con .icon-block i,
.contact-details .icon-block i {
    margin: 0;
    color: #fff;
    font-size: 35px;
    line-height: 1;
    transition: transform 0.22s ease;
}

.experience-details:hover .icon-block,
.education-details:hover .icon-block,
.contact-text:hover .icon-block {
    width: 84px;
    background: linear-gradient(145deg, var(--boost-pink), var(--boost-pink-dark));
    box-shadow: 0 14px 34px rgba(255, 0, 107, 0.36), inset 0 1px rgba(255, 255, 255, 0.34);
    transform: translateY(-2px);
    animation: none;
}

.experience-details:hover .icon-block i,
.education-details:hover .icon-block i,
.contact-text:hover .icon-block i {
    color: #fff;
    font-size: 35px;
    transform: scale(1.06);
}

.experience-details .flot-left,
.education-details .flot-left,
.contact-text .flot-left {
    box-sizing: border-box;
    max-width: calc(100% - 104px);
    padding-left: 20px;
}

.chart {
    color: var(--boost-text);
}

.progress {
    background: rgba(255, 255, 255, 0.09);
}

.progress-value {
    background: var(--boost-gradient);
}

.experience-details h5,
.education-details h5,
.experience-details span,
.education-details span {
    color: var(--boost-orange);
}

.grid-gallery figcaption {
    background: linear-gradient(145deg, rgba(255, 0, 107, 0.93), rgba(248, 147, 16, 0.9));
}

.grid-gallery .grid li figure {
    overflow: hidden;
    border: 1px solid rgba(8, 236, 239, 0.24);
    border-radius: 14px;
    background: var(--boost-panel-alt);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), 0 0 24px rgba(8, 236, 239, 0.06);
    transform: translateY(0);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.grid-gallery .grid li figure:hover {
    border-color: rgba(8, 236, 239, 0.58);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.4), 0 0 32px rgba(8, 236, 239, 0.13);
    transform: translateY(-6px) scale(1.01);
}

.contact-social a i {
    border: 0;
    background: transparent;
}

.jspVerticalBar {
    width: 7px;
    background: transparent;
}

.jspTrack {
    background: rgba(255, 255, 255, 0.035);
}

.jspDrag {
    border-radius: 999px;
    background: var(--boost-gradient);
}

/* Page d'accueil */
.introduction {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(248, 147, 16, 0.16), transparent 32%),
        #111216;
}

.introduction::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 5, 7, 0.78) 0%, rgba(5, 5, 7, 0.26) 48%, transparent 78%),
        linear-gradient(0deg, rgba(5, 5, 7, 0.68) 0%, transparent 45%);
}

.introduction .owl-carousel,
.introduction .owl-carousel .owl-wrapper-outer,
.introduction .owl-carousel .owl-wrapper,
.introduction .owl-carousel .owl-item,
.introduction .item {
    height: 100%;
}

.introduction img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.introduction .inner {
    position: absolute;
    z-index: 3;
    left: clamp(32px, 6vw, 90px);
    bottom: clamp(52px, 10vh, 110px);
    width: min(720px, calc(100% - 64px));
    margin: 0;
    padding: 0;
}

.introduction h2 {
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 68px);
    line-height: 1.08;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.55);
}

.introduction h2 span {
    color: var(--boost-orange);
    font-size: 0.46em;
    letter-spacing: 0.08em;
}

.introduction span.title {
    display: inline-block;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(11, 12, 16, 0.32);
    backdrop-filter: blur(8px);
}

.introduction .owl-theme .owl-controls {
    z-index: 4;
    bottom: 24px;
}

.introduction-end {
    background:
        linear-gradient(90deg, rgba(5, 5, 7, 0.34), rgba(5, 5, 7, 0.58)),
        url("../images/jck3.jpg") right top / cover no-repeat;
}

.introduction-end-con h3 strong {
    color: var(--boost-orange);
    border-color: var(--boost-border);
}

/* Écrans peu hauts et zoom navigateur élevé */
@media (min-width: 769px) and (max-height: 720px) {
    .logo {
        padding-block: 12px 8px;
    }

    .logo img {
        width: 78px;
    }

    .menu nav a {
        padding-block: 7px;
        font-size: 13px;
    }

    .social {
        padding-block: 9px 5px;
    }

    .copyright {
        padding-block: 5px 10px;
        font-size: 10px;
    }

    .introduction .inner {
        bottom: 42px;
    }
}

/* Version verticale pour tablettes et téléphones */
@media screen and (max-width: 768px) {
    :root {
        --boost-sidebar: 0px;
    }

    html,
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .menu {
        position: fixed;
        z-index: 1000;
        width: 100%;
        min-width: 0;
        height: 64px;
        display: block;
        overflow: visible;
        background: rgba(5, 5, 7, 0.96);
        backdrop-filter: blur(14px);
    }

    .logo {
        width: calc(100% - 64px);
        height: 64px;
        padding: 0 0 0 18px;
    }

    .logo img {
        display: none;
    }

    .logo span {
        width: 100%;
        height: 64px;
        display: flex;
        align-items: center;
        padding: 0;
        color: var(--boost-text);
        font-size: 17px;
        font-weight: 500;
        letter-spacing: 0.02em;
    }

    .menu-link {
        position: absolute;
        top: 0;
        right: 0;
        width: 64px;
        height: 64px;
        display: grid;
        place-items: center;
        padding: 0;
        color: #fff;
    }

    .menu-link::before {
        content: "";
        width: 24px;
        height: 2px;
        display: block;
        background: #fff;
        border-radius: 999px;
        box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff;
        font-family: inherit;
    }

    .menu nav,
    .menu nav.active {
        position: fixed;
        inset: 64px 0 auto 0;
        width: 100% !important;
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
        overflow-y: auto !important;
        background: rgba(5, 5, 7, 0.985);
        border-top: 1px solid var(--boost-border);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    }

    .menu nav {
        display: none;
    }

    .menu nav.active {
        display: block;
        height: auto;
    }

    .menu nav.active .jspContainer {
        width: 100% !important;
        height: auto !important;
        overflow: visible;
    }

    .menu nav.active .jspPane {
        position: static !important;
        width: 100% !important;
    }

    .menu nav a {
        margin-inline: 22px;
        padding-block: 14px;
        text-align: center;
    }

    .social,
    .copyright {
        display: none;
    }

    .content-scroller {
        position: relative;
        z-index: 1;
        left: 0;
        width: 100%;
        height: auto;
        padding-top: 64px;
        overflow: visible !important;
    }

    .content-wrapper {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .content,
    .content:last-child {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid var(--boost-border);
    }

    .inner {
        box-sizing: border-box;
        width: 100%;
        padding: 64px 7vw;
    }

    #chapterabout .inner {
        width: 100%;
        padding-inline: 7vw;
    }

    .container::before,
    .container::after {
        inset: 64px 0 0;
    }

    .experience-details .flot-left,
    .education-details .flot-left,
    .contact-text .flot-left {
        max-width: calc(100% - 96px);
        padding-left: 14px;
    }

    .introduction {
        height: calc(100vh - 64px);
        height: calc(100svh - 64px);
        min-height: 560px;
    }

    .introduction .inner {
        left: 7vw;
        top: auto;
        bottom: 50px;
        width: 86vw;
        padding: 0;
        background: none;
        transform: none;
    }

    .introduction h2 {
        font-size: clamp(34px, 10vw, 52px);
        line-height: 1.05;
    }

    .introduction span.title {
        font-size: 11px;
        line-height: 1.45;
    }

    .introduction img {
        object-position: 58% top;
    }

    .introduction::after {
        background: linear-gradient(0deg, rgba(5, 5, 7, 0.94) 0%, rgba(5, 5, 7, 0.26) 68%, transparent 100%);
    }

    .about-con ul {
        margin-top: 0 !important;
    }

    .button {
        float: none;
        width: 100%;
        text-align: center;
    }

    .introduction-end {
        min-height: 70vh;
    }

    .introduction-end .inner {
        min-height: 70vh;
    }

    .introduction-end-con {
        float: none;
        width: min(100%, 480px);
        margin: 18vh auto 0;
    }

    a.totop-link {
        z-index: 999;
        border-color: var(--boost-pink);
        background: var(--boost-gradient);
        color: #fff;
    }
}

@media screen and (max-width: 480px) {
    .inner {
        padding: 52px 22px;
    }

    #chapterabout .inner {
        padding-inline: 22px;
    }

    .inner h2 {
        font-size: 32px;
        line-height: 1.15;
    }

    .introduction h2 {
        font-size: clamp(29px, 8.8vw, 46px);
    }

    .title-divider {
        margin-bottom: 30px;
    }

    figure blockquote {
        padding: 16px;
    }

    .contact-text .flot-left {
        overflow-wrap: anywhere;
    }

    .icon-block,
    .experience-details .icon-block,
    .education-details .icon-block,
    .contact-details .icon-block {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }

    .icon-block i,
    .experience-con .icon-block i,
    .education-con .icon-block i,
    .contact-details .icon-block i,
    .experience-details:hover .icon-block i,
    .education-details:hover .icon-block i,
    .contact-text:hover .icon-block i {
        font-size: 29px;
    }

    .experience-details:hover .icon-block,
    .education-details:hover .icon-block,
    .contact-text:hover .icon-block {
        width: 70px;
    }

    .experience-details .flot-left,
    .education-details .flot-left,
    .contact-text .flot-left {
        max-width: calc(100% - 82px);
        padding-left: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
