/* CSS Variables for Theming */
:root {
    /* Light Theme (Default) */
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e6e6e6;
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --accent: #007aff;
    --accent-light: #0a84ff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --window-border: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    --toggle-bg: #e9e9e9;
    --toggle-knob: #ffffff;
    /* --dock-bg: rgba(255, 255, 255, 0.8); */
    --dock-bg:rgba(245, 245, 245, 0.15)
    --menu-bg: rgba(255, 255, 255, 0.8);
    --card-bg: rgba(255, 255, 255, 0.6);
}

.dark-mode {
    /* Dark Theme */
    --bg-primary: #1c1c1e;
    --bg-secondary: #2c2c2e;
    --bg-tertiary: #3a3a3c;
    --text-primary: #f5f5f7;
    --text-secondary: #ebebf5;
    --accent: #0a84ff;
    --accent-light: #5eb0ff;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.4);
    --window-border: rgba(60, 60, 60, 0.6);
    --glass-bg: rgba(40, 40, 40, 0.7);
    --glass-border: rgba(50, 50, 50, 0.8);
    --toggle-bg: #38383a;
    --toggle-knob: #1c1c1e;
    --dock-bg: rgba(50, 50, 50, 0.8);
    --menu-bg: rgba(50, 50, 50, 0.8);
    --card-bg: rgba(50, 50, 50, 0.6);
}
h4{
    color: #fff !important;
}
/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Sora;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xo6eeI7fM.woff2) format('woff2');
    unicode-range: U +0100 -02BA, U +02BD -02C5, U +02C7 -02CC, U +02CE -02D7, U +02DD -02FF, U +0304, U +0308, U +0329, U +1D00 -1DBF, U +1E00 -1E9F, U +1EF2 -1EFF, U +2020, U +20A0 -20AB, U +20AD -20C0, U +2113, U +2C60 -2C7F, U + A720-A7FF;
}
body {
    font-family: Sora !important;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: url('https://index.storia.ro/img-2026/os_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
}
.active>img{
    width: 70% !important;
    margin: 0 auto;
}

h2{
    font-size: 1.5rem !important;
}

/* helpers */
.hidden{
    display: none;
}
.multu{
    font-size: 38px;
    font-weight: 600;
    top: 73%;
    left: 31%;
    position: fixed;
    color: #fff;
}

.aici>img{
    max-width: 300px;
    position: fixed;
    top: -17%;
    /* left: calc(50%); */
    transform: translate(20%);
    z-index: 9;
}
/* Menu Bar */
.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--menu-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    font-size: 14px;
}
#widget-btm{
    display: none;
}
.menu-left, .menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-item {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
}

.menu-item:hover {
    background-color: var(--bg-tertiary);
}

/* Dock */
.dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: var(--dock-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 900;
    gap: 12px;
}

.dock-app {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-tertiary);
    font-size: 20px;
    color: var(--text-primary);
    padding-left:20px;
    padding-right: 20px;
}

.dock-app:hover {
    transform: scale(1.2);
    background: var(--accent);
    color: white;
}

.dock-app.active {
    background: var(--accent);
    color: white;
}

/* Windows */
.window {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    overflow: hidden;
    /* border: 1px solid var(--window-border); */
    min-width: 300px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.window-header {
    height: 40px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 1px solid var(--glass-border);
    cursor: move;
    user-select: none;
}

.window-title {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.window-controls {
    display: flex;
    gap: 10px;
}

.window-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.close { background-color: #ff5f57; }
.minimize { background-color: #febc2e; }
.maximize { background-color: #28c840; }

.window-content {
    padding: 0px;
    flex: 1;
    overflow-y: hidden;
    background-color: #e6e6e6;
}










/* About Window (System Settings Style) */
.chestionar-window {
    width: 1020px;
    height: 605px;
    top: 30px;
    left: calc(22%);
}
.timeline-window {
    width: 1000px;
    height: 605px;
    top: 30px;
    left: calc(5%);
}
.cercetare-window {
    width: 1000px;
    height: 605px;
    top: 30px;
    left: calc(8%);
}
.cv-window {
    width: 1000px;
    height: 605px;
    top: 30px;
    left: calc(10%);
}


.cv-window-ab {
    width: 1000px;
    height: 605px;
    top: 90px;
    left: calc(15%);
    background-color: #ED644D;
}













.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-item {
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-item:hover, .settings-item.active {
    background-color: var(--bg-tertiary);
}

.settings-item i {
    width: 20px;
    text-align: center;
}

/* Projects Window */
.projects-window {
    width: 700px;
    height: 500px;
    top: 150px;
    left: calc(50% - 350px);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* Contact Window */
.contact-window {
    width: 450px;
    height: 450px;
    top: 200px;
    left: calc(50% - 225px);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--bg-tertiary);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    /* background: var(--accent); */
    color: white;
    border: none;
    padding: 10px 20px;
    /* border-radius: 8px; */
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

button:hover {
    background: var(--accent-light);
}

/* Toggle Switch */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background: var(--toggle-bg);
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 3px;
    transition: background 0.3s ease;
}

.toggle-knob {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--toggle-knob);
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.dark-mode .toggle-knob {
    transform: translateX(26px);
}



/* Boot Animation */
.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.5s ease;
}

.boot-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    /* background: var(--accent); */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.boot-progress {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.boot-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    animation: bootProgress 2s ease-in-out forwards;
}

@keyframes bootProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Focus state for accessibility */
button:focus,
.dock-app:focus,
.menu-item:focus,
.window-control:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.ppt-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
  gap: 30px;
}
.slides-container{
    background-color: #E6E6E6;
    padding: 30px 10px 10px 30px;
    height: 550px;
    /* width: 280px; */
    overflow-y: auto;
}
.slides-container>img{
    max-width: 172px;
    display:block;
    opacity: 0.5;
    filter: grayscale(100%);
    /* cursor: not-allowed; */
}

.slide-intro{
    margin: 30px 0px 0px 0px;
    align-self: stretch;
    flex-grow: 1;
    background-image: url('https://index.storia.ro/img-2026/q_intro.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
}
#slide-end{
    margin: 30px 0px 0px 0px;
    align-self: stretch;
    flex-grow: 1;
    background-image: url('https://index.storia.ro/img-2026/q_end.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
}
#end-gif{
    max-width: 150px;
    position: absolute;
    left: 39%;
    top: 20%;
}
.start-q{
    background-color: #39c3d1;
    position: absolute;
    bottom: 6px;
    left: 50%;
    font-size: 17px;
    transform: translateX(-50%);
}
button.next{
    background-color: #f36d56;
    /* bottom: 6px; */
    display: block;
    font-size: 17px;
    margin-top: 30px;
    margin-bottom: 10px;
    margin: 0 auto;
    /* float: right;
    margin-right: 80px;
    margin-bottom: 20px; */
}
button#q2-next{
    /* margin-left: 90px; */
}
button#q3-next{
    /* margin-left: 90px; */
}
.start-q:hover{
    background-color: #f36d56;
}
.active-q{
    opacity: 1 !important;
    filter:none !important;
}
.q{
    margin: 30px 0px 0px 0px;
    align-self: stretch;
    flex-grow: 1;
    background-image: url('https://index.storia.ro/img-2026/q_bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    text-align: center;
    position: relative;
}
.q-text-container{
    margin-top: 100px;
    color: #fff;
    padding-bottom: 16px;
}
.q-ans-container{
    text-align: left;
    padding-left: 90px;
    padding-top: 20px;
    color: #fff;
    height: 254px;
    overflow: auto;
}
.form-check{
    padding: 5px;
}
.form-group >input{
    max-width: 400px;
}


/* Target Input */
.generator-input {
  -webkit-appearance: none;
  width: 60%;
  background: transparent;
  cursor: pointer;
}
.generator-input#q3 {
  -webkit-appearance: none;
  width: 60%;
  background: transparent;
  cursor: pointer;
}

/* --- Webkit Browsers --- */
.generator-input::-webkit-slider-runnable-track {
  height: 40px;
  background: #ed644c;
  border-radius: 40px;
  border: 0px solid #cbd5e1;
  box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.1);
}

.generator-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 31px;
  width: 31px;
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  margin-top: 4.5px;
}

/* --- Firefox --- */
.generator-input::-moz-range-track {
  height: 40px;
  background: #ed644c;
  border-radius: 40px;
  border: 0px solid #cbd5e1;
  box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.1);
}

.generator-input::-moz-range-thumb {
  height: 31px;
  width: 31px;
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
select{
    max-width: 50%;
    margin-bottom: 20px !important;
    
}
.gif{
    max-width: 100px;
    margin-top: 90px;
}

.desk-icons{
    max-width: 110px;
    margin-top: 20px;
    cursor: pointer;
    padding: 10px;
}
.left-icons{
    width: 50%;
}
.right-icons>table{
    float:right
}
.widget{
    margin-top: 50px;
    background-color: rgba(30, 30, 30, 0.55);
    max-width: 427px;
    border-radius: 22px;
    position: relative;
    cursor: pointer;
}
.widget>img{
    max-width: 100%;
    padding:25px 20px 20px 20px;
    border-radius: 32px;

}
span.date{
    color:#fff;
    font-weight: 600;
    padding: 5px;
    background-color: #ed644c;
    border-radius: 10px;
    position: absolute;
    right: 32px;
    top:32px
}
.widget-cont{
    color:#fff;
    font-weight: 800;
    font-size: 24px;
    background-color: #ed644c;
    padding: 5px;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
}





.doc-app>a>img{
    max-width: 70px;
    padding-right: 9px;
    transition: transform .2s;
    cursor: pointer;
}
.doc-app>img{
    max-width: 70px;
    padding-right: 9px;
    transition: transform .2s;
    cursor: pointer;
}
@keyframes scale {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.doc-app>img:hover{
    transform: scale(1.3);
}
.doc-app>a>img:hover{
    transform: scale(1.3);
}





/* timeline */
.timeline {
    padding: 90px 0 110px;
    position: relative;
}

.container {
    width: min(1000px, 92vw) !important;
    margin: 0 auto;
    position: relative;
}

.hero {
    text-align: center;
    margin-bottom: 70px;
    color:#000;
}

.heroBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(63, 81, 181, 0.25);
    background: rgba(63, 81, 181, 0.1);
    color: var(--primaryDark);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.4px;
}

.hero h1 {
    margin-top: 14px;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: 0.6px;
}

.hero p {
    margin: 10px auto 0;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.6;
}

.timelineRail {
    position: absolute;
    /* top: 180px; */
    top: 0px;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    border-radius: 999px;
    background-color: #3DC8D1;
    box-shadow: 0 0 0 6px rgba(197, 202, 233, 0.12);
}

.timelineItem {
    position: relative;
    width: 100%;
    margin: 0 0 70px;
    display: flex;
    justify-content: flex-start;
}

.timelineItem.right {
    justify-content: flex-end;
}

.timelineDot {
    width: 25px;
    height: 25px;
    background: #ed644c;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 28px;
}

.card {
    width: min(420px, 92%);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--cardShadow);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 38px -18px rgba(0, 0, 0, 0.42);
}

.cardTop {
    position: relative;
}

.imgWrap {
    width: 100%;
    height: 170px;
    background: linear-gradient(
        135deg,
        rgba(63, 81, 181, 0.12),
        rgba(255, 64, 129, 0.08)
    );
    overflow: hidden;
}

.imgWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.card:hover .imgWrap img {
    transform: scale(1.06);
}

.cardTop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.2)
    );
    pointer-events: none;
}

.date {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px;
    border-radius: 12px;
    background: #ed644c;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.3px;
    box-shadow: 0 14px 28px rgba(255, 64, 129, 0.25);
}

.cardBody {
    padding: 35px 18px 16px;
    background-color: #ed644c;
    color: #fff;
}

.cardBody h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.cardBody p {
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 12px;
}

.meta {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.meta li {
    position: relative;
    padding-left: 18px;
    color: rgba(33, 33, 33, 0.82);
    font-size: 14px;
}

.meta li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(63, 81, 181, 0.85);
    position: absolute;
    left: 0;
    top: 7px;
}

.footerNote {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(63, 81, 181, 0.85);
    box-shadow: 0 0 0 0 rgba(63, 81, 181, 0.35);
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(63, 81, 181, 0.35);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(63, 81, 181, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(63, 81, 181, 0);
    }
}

/* reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.left {
    transform: translate(-56px, 16px);
}
.reveal.right {
    transform: translate(56px, 16px);
}

.reveal.show {
    opacity: 1;
    transform: translate(0, 0);
}

/* little arrow pointers like classic timeline */
.timelineItem.left .card::after,
.timelineItem.right .card::after {
    content: "";
    position: absolute;
    top: 36px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timelineItem.left .card::after {
    right: -14px;
    border-width: 10px 0 10px 14px;
    border-color: transparent transparent transparent var(--surface);
    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.15));
}

.timelineItem.right .card::after {
    left: -14px;
    border-width: 10px 14px 10px 0;
    border-color: transparent var(--surface) transparent transparent;
    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.15));
}

/* Go top button */
.toTop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(245, 245, 245, 0.92);
    color: rgba(33, 33, 33, 0.88);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.toTop.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toTop:hover {
    transform: translateY(-2px);
}

/* responsive */
@media (max-width: 840px) {
    .timelineRail {
        left: 44px;
        transform: none;
    }
    .timelineDot {
        left: 32px;
        transform: none;
    }

    .timelineItem {
        justify-content: flex-start !important;
    }

    .card {
        width: calc(100% - 74px);
        margin-left: 74px;
    }

    .timelineItem.left .card::after,
    .timelineItem.right .card::after {
        left: -14px;
        right: auto;
        border-width: 10px 14px 10px 0;
        border-color: transparent var(--surface) transparent transparent;
    }
}


.t-line{
    height: 230px;
}

.f-bold{
    font-weight: 800;
}

.reasearch{
    background-color: #fff !important;
}
.project-card>img{
    max-width: 200px;
}
.project-card>a>img{
    max-width: 200px;
}
.cv-window-content{
    border-radius: 17px;
    margin: 20px;
    padding: 20px;
    background-color: #CF4639;
    color: #fff;;
}
.cer-detail{
    max-width: 550px !important;
}
.end-btns{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;
    align-content: stretch;
    gap: 8px;
    /* position: absolute;
    bottom: 10px; */
}
.lbls{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;
    align-content: stretch;
    gap: 200px;
    padding-bottom: 30px;
}
button.end1{
     position: absolute;
     bottom: 35px;
     left: calc(9%);
     background-color: #39c3d1;
}
button.end2{
     position: absolute;
     bottom: 35px;
     right: calc(9%);
     background-color: #39c3d1;
}
img#c-exp{
    max-width: 125px;
    padding-right: 15px;
    margin: 0 auto;
}
input.val{
    text-align: center;
    width: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}
.err-val{
    text-align: center;
}

@media (max-width: 1270px){
    .chestionar-window{
        left: calc(9%);
    }

}


/* Responsive Design */
@media (max-width: 768px) {
    /* body {
        padding: 10px;
        background-image: none;
        background-color: var(--bg-primary);
    } */
    .carousel-item>.d-none{
        display: block !important;
    }
    .carousel-item.active{
        height: 420px;
    }
    .carousel-caption {
        position: absolute;
        right: 15%;
        bottom: 1.25rem;
        left: 15%;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        color: var(--bs-carousel-caption-color);
        text-align: center;
        display: block !important;
    }
    .carousel-caption>h4{
        font-size: 16px;
    }
    #q3>.gif{
        margin-top: 0px !important;
    }

    .multu {
                font-size: 23px;
        font-weight: 600;
        top: 62%;
        left: 50%;
        transform: translateX(-50%);
        position: fixed;
        color: #fff;
        line-height: 1;
    }
    .aici>img {
        max-width: 210px;
        position: fixed;
        top: -11%;
        /* left: calc(50%); */
        transform: translate(20%);
        z-index: 9;
    }
    button.end1{
        position: absolute;
        bottom: 105px;
        left: 50%;
        transform: translateX(-50%);    
        background-color: #39c3d1;
        font-size: 15px !important;
        padding: 5px !important;
    }
    button.end2{
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);    
        background-color: #39c3d1;
        font-size: 15px !important;
        padding: 5px !important;
    }
    #widget-top{
        display: none;
    }
    #widget-btm{
        display: block
    }

    body {
        font-family: Sora !important;
        background-color: var(--bg-primary);
        color: var(--text-primary);
        min-height: 100vh;
        overflow-x: hidden;
        background-image: url('https://index.storia.ro/img-2026/os_bg.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        padding: 20px;
    }

    .imgWrap {
        width: 100%;
        height: 100px;
        background: linear-gradient(135deg, rgba(63, 81, 181, 0.12), rgba(255, 64, 129, 0.08));
        overflow: hidden;
    }
    
    .window {
        position: absolute;
        width: 100% !important;
        height: auto !important;
        top: 0 !important;
        left: 0 !important;
        margin-bottom: 20px;
    }
    
    .dock {
        width: 100%;
        justify-content: space-around;
    }
    
    .dock-app {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    /* About Window (System Settings Style) */
    .chestionar-window {
        height: 600px !important;
        top: 30px !important;
        left: calc(3%);
    }
    .timeline-window {

        top: 30px;
        left: calc(5%);
    }
    .cercetare-window {

        top: 30px;
        left: calc(8%);
    }
    .cv-window {

        top: 30px;
        left: calc(10%);
    }


    .cv-window-ab {

        top: 50px !important;
        left: calc(15%);
        background-color: #ED644D;
    }

    .desk-icons {
        max-width: 87px !important;
        margin-top: 20px;
        cursor: pointer;
    }
    .widget-cont>p{
        font-size: .9rem;
    }
    .widget {
        margin-top: 50px;
        background-color: rgba(30, 30, 30, 0.55);
        width: 100% !important;
        border-radius: 22px;
        position: relative;
        cursor: pointer;
        margin:0 auto
    }
    .doc-app>a>img {
        max-width: 32px !important;
        padding-right: 2px;
        transition: transform .2s;
        cursor: pointer;
    }
    .doc-app>img {
        max-width: 32px !important;
        padding-right: 2px;
        transition: transform .2s;
        cursor: pointer;
    }
    #d-pipe{
        display: none !important;
    }

    .ppt-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        align-content: stretch;
        gap: 0px !important;
    }
    .slides-container{
        width: 0px !important;
        margin: 0px !important;
        padding: 0px !important;
    }
    .slide-intro{
        background-image: url('https://index.storia.ro/img-2026/Vector.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position-x: center;
    }
    #slide-end{
        background-image: url('https://index.storia.ro/img-2026/q_end_m.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position-x: center;
    }
    #end-gif{
        display: none;
    }
    
    .q {
        /* margin: 30px 0px 0px 0px; */
        align-self: stretch;
        flex-grow: 1;
        background-color: #ed644c;
        background-image: none !important;
        background-repeat: no-repeat;
        background-size: contain;
        text-align: center;
        position: relative;
    }
    .q-ans-container {
        text-align: left;
        padding-left: 10px !important;
        padding-top: 20px;
        color: #fff;
        height: 314px;
        overflow: auto;
    }
    
    button.next {
        background-color: #39c3d1 !important;
        /* bottom: 6px; */
        display: block;
        font-size: 17px;
        margin-top: 30px;
        margin-bottom: 10px;
        margin:0 auto;
    }
    

    .q-text-container {
        margin-top: 20px;
        color: #fff;
        padding-bottom: 16px;
    }
    /* Target Input */
    .generator-input {
    -webkit-appearance: none;
    width: 85%;
    background: transparent;
    cursor: pointer;
    }
    .generator-input#q3 {
    -webkit-appearance: none;
    width: 85%;
    background: transparent;
    cursor: pointer;
    }

    /* --- Webkit Browsers --- */
    .generator-input::-webkit-slider-runnable-track {
    height: 40px;
    background: #39c3d1;
    border-radius: 40px;
    border: 0px solid #cbd5e1;
    box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.1);
    }

    .generator-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 31px;
    width: 31px;
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    margin-top: 4.5px;
    }

    /* --- Firefox --- */
    .generator-input::-moz-range-track {
    height: 40px;
    background: #39c3d1;
    border-radius: 40px;
    border: 0px solid #cbd5e1;
    box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.1);
    }

    .generator-input::-moz-range-thumb {
    height: 31px;
    width: 31px;
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    }
    .small{
        font-size: .7rem !important;
    }
}