/* ===============================
   Investment Section
=================================*/

@font-face {
    font-family: "TiemposHeadline";
    src: url("../../public/assets/fonts/Tiempos-Font/TiemposHeadline-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TiemposHeadline";
    src: url("../../public/assets/fonts/Tiempos-Font/TiemposHeadline-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TiemposHeadline";
    src: url("/public/assets/fonts/Tiempos-Font/TiemposHeadline-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TiemposHeadline";
    src: url("../../public/assets/fonts/Tiempos-Font/TiemposHeadline-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TiemposHeadline";
    src: url("../../public/assets/fonts/Tiempos-Font/TiemposHeadline-LightItalic.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "TiemposHeadline";
    src: url("../../public/assets/fonts/Tiempos-Font/TiemposHeadline-MediumItalic.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* ===============================
   Space Grotesk Font
=================================*/

@font-face {
    font-family: "Space Grotesk";
    src: url("../../public/assets/fonts/SpaceGrotesk/SpaceGrotesk-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../../public/assets/fonts/SpaceGrotesk/SpaceGrotesk-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../../public/assets/fonts/SpaceGrotesk/SpaceGrotesk-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

.investment-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    overflow-x: hidden;
}

/* Background */

.investment-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 1;
}

.investment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 2;
    pointer-events: none;
}

/* Container */

.investment-container {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1400px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 120px;
}

/* LEFT SIDE */

.investment-left {
    width: 50%;
}

.investment-heading {
    font-family: "TiemposHeadline", serif;
    font-weight: 300;
    font-size: 48px;
    line-height: 55px;
    letter-spacing: 0;
    color: #363638;
    margin: 0;
    text-indent: 46px;
    /* width: 452px; */
}

.investment-text {
    font-family: "TiemposHeadline", serif;
    font-weight: 500;
    font-style: italic;

    background: linear-gradient(71deg,
            #E81CFF 10%,
            #C216D9 90%
            /* slightly darker pink */
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.operating-text {
    font-family: "TiemposHeadline", serif;
    font-weight: 500;
    font-style: italic;

    background: linear-gradient(71deg,
            #40C9FF 10%,
            #1EA5DB 90%
            /* slightly darker blue */
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* RIGHT SIDE */

.investment-right {
    width: 45%;

    display: flex;
    flex-direction: column;
    gap: 20px;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.investment-right p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.1px;
    color: #111;
    /* width: 452px; */
}

.first_para {
    width: 544px;
}

.second_para {
    width: 563px;
}


/* ===============================
   Investment Reveal Animation
=================================*/

.investment-left,
.investment-right {
    opacity: 0;
    filter: blur(20px);
    transition: all 1s ease;
}

/* Left text slides from left */
.investment-left {
    transform: translateX(-80px);
}

/* Right paragraph slides from right */
.investment-right {
    transform: translateX(80px);
}

/* Reveal */
.investment-section.reveal-active .investment-left,
.investment-section.reveal-active .investment-right {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* =================================
   TABLET (iPad landscape)
=================================*/

@media (max-width: 1024px) {

    .investment-container {
        flex-direction: column;
        align-items: center;
        padding: 100px 60px;
        gap: 50px;
    }

    .investment-left {
        width: 100%;
        text-align: center;
    }

     .investment-right {
        width: 100%;
        max-width: 650px;
        align-items: flex-start;
    }

    .investment-right p {
        width: 100%;
        max-width: 650px;
        text-align: justify;
    }

    /* remove desktop widths */
    .first_para,
    .second_para {
        width: 100%;
        max-width: 650px;
    }

    .investment-heading{

        font-family: "TiemposHeadline", serif;
        font-weight: 300;

        font-size: 30px;
        line-height: 36px;

        text-indent: 0;
        padding-left: 0;
        max-width: 100%;

        white-space: nowrap; 

    }

}


@media (max-width: 768px) {

    .investment-container {
        padding: 80px 30px;
        gap: 40px;
    }

    .investment-right {
        width: 100%;
        max-width: 320px;
        align-items: flex-start;
    }

    .investment-right p {
        width: 100%;
        max-width: 320px;
        text-align: left;
        font-size: 15px;
        line-height: 1.7;
    }

    .first_para,
    .second_para {
        width: 100%;
        max-width: 320px;
    }

}
@media (max-width: 480px) {

    .investment-container {
        padding: 70px 22px;
        gap: 30px;
    }

    .investment-right{
        width: 100%;
        max-width: 320px;
        text-align: center;
        align-items: center;
    }

    .investment-right p{
        width: 100%;
        max-width: 320px;
        font-size: 15px;
        line-height: 1.7;
    }

    .first_para,
    .second_para{
        width: 100%;
        max-width: 320px;
    }

}