﻿.Madalina-body {
    padding: 0;
    background-color: #050505;
    color: #EFECE9;
}

.Madalina-body-container {
    margin-top: 0;
}

.Madalina-navbar-background {
    background-color: #050505;
    box-shadow: 0 4px 10px rgba(172, 156, 141, 1) !important;
}

.Madalina-navtag-background {
    background-color: #050505 !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(172, 156, 141, 1) !important;
}

    .Madalina-nav-color {
        color: var(--white) !important;
    }

.Madalina-toggler-color {
    background-color: rgba(255,255,255,0.5);
}

.video-container-MadalinaLefter {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 4rem;
}

    .video-container-MadalinaLefter video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: auto;
        height: 100%;
        min-width: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

    @media (max-width: 640px) {
        .video-container-MadalinaLefter {
            margin-top: 3rem;
        }
    }

.video-screen-MadalinaLefter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
    pointer-events: none;
}

.video-text-overlay {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    color: #EFECE9;
    font-size: 6vw;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0;
    z-index: 10;
    width: 90%;
    max-width: 1000px;
    white-space: nowrap;
    text-shadow: 2px 2px 16px rgba(206, 212, 218, 0.7);
}

    .video-text-overlay span {
        display: inline-block;
        opacity: 1;
        font-size: 10vw;
        color: transparent;
        -webkit-text-stroke: 1px lightgray;
        position: relative;
    }

    .lefter {
        transform: translateY(-20px);
    }

.despre-madalina-container {
    padding: 0 5rem;
    text-align: justify;
}

/*.despre-madalina-p {
    margin-bottom: 5rem;
}*/

.double-line-border {
    position: relative;
    padding-top: 40px;
    padding-bottom: 20px;
}

    .double-line-border::before,
    .double-line-border::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 1px;
        background-color: #EFECE9;
    }

    .double-line-border::before {
        top: 0;
    }

    .double-line-border::after {
        top: 6px;
    }

.despre-madalina-container h1 {
    width: 100%;
    text-align: left;
    margin: 1rem 0;
}

.despre-madalina-container p {
    font-size: 18px;
}

.Madalina-section-1,
.Madalina-section-2,
.Madalina-section-3,
.Madalina-section-4,
.Madalina-section-5,
.Madalina-section-6,
.Madalina-section-7,
.Madalina-section-9,
.Madalina-section-10 {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    min-height: 50vh;
    width: 100%;
    margin-top: 5rem;
    margin-bottom: 5rem;
    position: relative;
}

.Madalina-section-6,
.Madalina-section-7,
.Madalina-section-9 {
    margin-top: 15vh;
}

.Madalina-section-8 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    margin-top: 15vh;
}

.Madalina-section-10 {
    margin-top: 10vh;
    min-height: auto;
    margin-bottom: 5rem;
}

@media (min-width: 1152px) {
    .Madalina-section-2,
    .Madalina-section-3,
    .Madalina-section-4,
    .Madalina-section-5,
    .Madalina-section-6,
    .Madalina-section-7,
    .Madalina-section-8,
    .Madalina-section-9 {
        margin-top: 30vh;
    }
}

@media (min-width: 1366px) {
    .Madalina-section-10 {
        margin-top: 20vh;
    }
}

.wrapper-1,
.wrapper-2,
.wrapper-3,
.wrapper-4,
.wrapper-5,
.wrapper-6,
.wrapper-7,
.wrapper-8-left,
.wrapper-8-right,
.wrapper-9 {
    position: relative;
    width: 40%;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: visible;
}

.wrapper-8-left,
.wrapper-8-right {
    width: 30%;
    flex-shrink: 0;
}

.image-1,
.image-2,
.image-3,
.image-4,
.image-5,
.image-6,
.image-7,
.image-8-left,
.image-8-right,
.image-9 {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 4px;
    clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%);
    position: relative;
    z-index: 1;
}

.image-8 {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 4px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.image-2,
.image-4,
.image-6,
.image-8-right,
.image-9 {
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}

.wrapper-3,
.wrapper-4,
.wrapper-5,
.wrapper-6,
.wrapper-7,
.wrapper-8-left,
.wrapper-8-right,
.wrapper-9 {
    position: relative;
}

    .wrapper-3 .image-3,
    .wrapper-4 .image-4,
    .wrapper-5 .image-5,
    .wrapper-6 .image-6,
    .wrapper-7 .image-7,
    .wrapper-8 .image-8-left,
    .wrapper-8 .image-8-right,
    .wrapper-9 .image-9 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
        z-index: 1;
        border-radius: 4px;
        object-fit: cover;
    }

        .wrapper-3 .image-3.active,
        .wrapper-4 .image-4.active,
        .wrapper-5 .image-5.active,
        .wrapper-6 .image-6.active,
        .wrapper-7 .image-7.active,
        .wrapper-8 .image-8-left.active,
        .wrapper-8 .image-8-right.active,
        .wrapper-9 .image-9.active {
            opacity: 1;
            z-index: 2;
        }

    .wrapper-3 .image-3,
    .wrapper-4 .image-4,
    .wrapper-5 .image-5,
    .wrapper-6 .image-6,
    .wrapper-7 .image-7,
    .wrapper-8 .image-8-left,
    .wrapper-8 .image-8-right,
    .wrapper-9 .image-9 {
        top: 50%;
        transform: translateY(-50%);
    }


.text-block {
    flex: 1;
    position: relative;
    z-index: 1;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .text-block p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin: 0;
        position: relative;
        z-index: 2;
    }

.text-block-8 {
    flex: 1;
    text-align: justify;
    padding: 1rem;
    position: relative;
}

@media (min-width: 1152px) {
    .text-block-8 p {
        font-size: 1.3rem;
    }
}

.svg-1,
.svg-2,
.svg-3,
.svg-4,
.svg-5,
.svg-6,
.svg-7,
.svg-9 {
    position: absolute;
    top: -150px;
    width: 120%;
    height: 300px;
    max-height: 300px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
}

.svg-1 {
    left: -10vw;
}

.svg-2 {
    left: 10vw;
}

.svg-3 {
    left: -22vw;
}

.svg-4 {
    left: 16vw;
}

.svg-5 {
    left: -24vw;
}

.svg-6 {
    left: 0;
}

.svg-7 {
    left: -25vw;
}

.svg-9 {
    left: 15vw;
}

.p-offset {
    transform: translateY(-50px);
}

.middle-p {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.Madalina-text-span {
    font-size: 20px;
    font-weight: 700;
}

.extract-container {
    position: relative;
}

.decorative-svg {
    position: absolute;
    top: -12vh;
    left: -13vw;
    width: 120%;
    height: 80vw;
    max-height: 600px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
}

    .decorative-svg path {
        fill: transparent;
        stroke: #999999;
        stroke-width: 4;
        stroke-linejoin: round;
        stroke-linecap: round;
    }

.svg-2008 {
    height: 40vh;
    top: -8vh;
    left: -15vw;
}

.svg-note {
    height: 40vw;
    top: -15vh;
    left: -40vw;
}

.extract {
    position: relative;
    z-index: 1;
}

.extract,
.quote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid #ccc;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #ddd9ce, #555555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
}

.quote {
    margin-top: 5rem;
    font-style: italic;
}

.quote-author {
    width: 100%;
    text-align: right;
    font-size: 1.5rem;
    font-style: italic;
}

.bachelor-diploma-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.bachelor-diploma-img {
    width: 50%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .bachelor-diploma-img {
        width: 100%;
    }
}


.carousel-container {
    overflow: hidden;
    max-width: 100vw;
    margin: 0 auto;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
}

    .carousel-arrow:hover {
        background-color: rgba(0, 0, 0, 0.6);
    }

    .carousel-arrow:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 auto;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: white;
    max-height: 500px;
    width: 180px;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.7s;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .slide img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .slide.center {
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        z-index: 2;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    }

        .slide.center img {
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            cursor: default;
        }

        .slide.center:hover img {
            transform: scale(1.1);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            cursor: zoom-in;
            z-index: 10;
        }

#carousel {
    cursor: grab;
}

    #carousel:active {
        cursor: grabbing;
    }

.diploma-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(12px, 3vw, 32px);
    padding: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

    .diploma-row img {
        width: clamp(140px, 20vw, 200px);
        height: auto;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

        .diploma-row img:hover {
            transform: scale(1.03);
            cursor: pointer;
        }

.zoom-close-btn {
    cursor: pointer !important;
    transform: translateX(-3rem);
    transform: translateY(3rem);
}

    .zoom-close-btn:hover {
        cursor: pointer !important;
        color: #ffdddd !important;
    }


@media (min-width: 640px) {
    .diploma {
        pointer-events: auto;
        cursor: pointer;
    }

    .diploma-modal-overlay {
        display: flex;
    }
}

@media (max-width: 1023px) {
    .despre-madalina-container p {
        font-size: 16px;
    }

    .Madalina-text-span {
        font-size: 18px;
        font-weight: 700;
    }

    .decorative-svg {
        left: 0;
    }

    .svg-note {
        top: 0;
        left: -10vw;
    }
}

@media (max-width: 767px) {
    .despre-madalina-container p {
        font-size: 14px;
    }

    .Madalina-text-span {
        font-size: 16px;
        font-weight: 700;
    }

    .svg-note {
        top: 0;
        left: -10vw;
    }
}

@media (max-width: 639px) {
    .despre-madalina-container {
        padding-left: 8vw;
        padding-right: 8vw;
    }

    .Madalina-section-1,
    .Madalina-section-2,
    .Madalina-section-3,
    .Madalina-section-4,
    .Madalina-section-5,
    .Madalina-section-6,
    .Madalina-section-7,
    .Madalina-section-9 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 5rem;
    }

    .Madalina-section-2 {
        margin-bottom: 2rem;
    }

    .Madalina-section-3,
    .Madalina-section-6,
    .Madalina-section-7,
    .Madalina-section-10 {
        margin-top: 2rem;
    }

    .Madalina-section-2,
    .Madalina-section-4,
    .Madalina-section-6,
    .Madalina-section-9 {
        flex-direction: column-reverse;
    }

    .Madalina-section-8 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 5rem;
    }

    .wrapper-1,
    .wrapper-2,
    .wrapper-3,
    .wrapper-4,
    .wrapper-5,
    .wrapper-6,
    .wrapper-7,
    .wrapper-9 {
        width: 100%;
        max-width: 90vw;
        position: relative;
    }

        .wrapper-3 .image-3,
        .wrapper-4 .image-4,
        .wrapper-5 .image-5,
        .wrapper-6 .image-6,
        .wrapper-7 .image-7,
        .wrapper-8 .image-8-left,
        .wrapper-8 .image-8-right,
        .wrapper-9 .image-9 {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: auto;
            opacity: 0;
            z-index: 1;
            transform: none;
        }

            .wrapper-3 .image-3.active,
            .wrapper-4 .image-4.active,
            .wrapper-5 .image-5.active,
            .wrapper-6 .image-6.active,
            .wrapper-7 .image-7.active,
            .wrapper-8-left .image-8-left.active,
            .wrapper-8-right .image-8-right.active,
            .wrapper-9 .image-9.active {
                position: relative;
                opacity: 1;
                z-index: 1;
            }

    .wrapper-8-left,
    .wrapper-8-right {
        width: 100%;
        max-width: 90vw;
    }

    .image-1,
    .image-2,
    .image-3,
    .image-4,
    .image-5,
    .image-6,
    .image-7,
    .image-8-left,
    .image-8-right,
    .image-9 {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .text-block {
        padding-left: 0;
        margin-top: 2rem;
        width: 100%;
        position: relative;
    }

    .text-block-8 {
        width: 100%;
        margin: 2rem 0;
        text-align: justify;
        padding: 0 1rem;
    }

    .svg-1,
    .svg-2,
    .svg-3,
    .svg-4,
    .svg-5,
    .svg-6,
    .svg-7,
    .svg-9 {
        position: absolute;
        top: -150px;
        left: 30%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 400px;
        height: auto;
        opacity: 0.25;
        z-index: 0;
        pointer-events: none;
    }

    .decorative-svg {
        top: -10vh;
    }

    .svg-note {
        top: 8vh;
        left: -10vw;
    }

    .text-block p {
        font-size: 1rem;
        line-height: 1.5;
        position: relative;
        z-index: 2;
        text-align: justify;
    }

    .Madalina-text-span {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .corkboard-img,
    .pin {
        display: none;
    }

    .diploma {
        position: static;
        width: 100%;
        margin-bottom: 1rem;
        transform: none !important;
        animation: none !important;
        cursor: default;
        pointer-events: none;
    }

    .diploma-img {
        transform: none !important;
        width: 100%;
        border-radius: 8px;
    }

    .diploma-modal-overlay {
        display: none !important;
    }
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
    width: 100%;
}

.icon-image {
    max-width: 200px;
    width: 80%;
    height: auto;
    display: block;
    opacity: 0.5;
}

.award-medal {
    transform: scale(0.5);
}


.video-row {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.thumb-inner {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

    .thumb-inner:hover {
        transform: scale(1.03);
    }

.video-thumb {
    width: 320px;
    aspect-ratio: 4 / 3;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow: hidden;
}

#vimeo-player {
    position: absolute;
    width: 80vw;
    height: 45vw;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0;
    cursor: zoom-out;
    background: black;
}

#video-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 2001;
}

    #video-close:hover {
        color: #ffdddd;
    }

.video-carousel {
    position: relative;
    width: 90%;
    max-width: none;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-track {
    display: flex;
    transition: transform 0.5s ease;
    align-items: center;
}

.video-thumb-wrapper {
    flex: 0 0 auto;
    padding: 1rem;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: scale(0.75);
    opacity: 0.8;
    cursor: pointer;
}

    .video-thumb-wrapper.center {
        transform: scale(1);
        opacity: 1;
    }

.video-thumb {
    width: 320px;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

@media (max-width: 640px) {
    .video-thumb {
        width: 240px;
    }
}

.video-title {
    position: absolute;
    top: 8px;
    left: 8px;
    max-width: 85%;
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    z-index: 100;
    transition: background 0.3s ease;
}

    .carousel-arrow:hover {
        background: rgba(0,0,0,0.6);
    }

#videosArrowLeft {
    left: 10px;
}

#videosArrowRight {
    right: 10px;
}

.video-carousel, .video-track {
    touch-action: pan-y;
}

.video-thumb-wrapper,
.video-thumb-wrapper img {
    user-drag: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    pointer-events: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 3;
    will-change: opacity;
}

    .play-button[src] {
        display: block;
        object-fit: contain;
    }

.video-thumb-wrapper.show-play .play-button {
    opacity: 1;
}

@media (max-width: 640px) {
    .play-button {
        width: 56px;
        height: 56px;
    }
}

.ml-timeline {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 0 2rem;
    overflow: hidden;
}

.ml-timeline-inner {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    width: 100%;
    justify-content: center;
}

    .ml-timeline-inner::-webkit-scrollbar {
        display: none;
    }

.ml-timeline-item {
    flex-shrink: 0;
    scroll-snap-align: center;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

    .ml-timeline-item:hover {
        color: rgba(255,255,255,0.85);
        transform: scale(1.05);
    }

    .ml-timeline-item.active {
        color: rgba(255,255,255,1);
        transform: scale(1.1);
    }

@media (max-width: 768px) {
    .ml-timeline {
        height: 70px;
        padding: 0 1rem;
        justify-content: flex-start;
    }

    .ml-timeline-inner {
        justify-content: flex-start;
        gap: 1.5rem;
    }

    .ml-timeline-item {
        font-size: 0.9rem;
    }
}
