@import url('https://fonts.googleapis.com/css2?family=Martel:wght@200;300;400;600;700;800;900&display=swap');

@font-face {
    font-family: 'General Sans';
    src: url('../fonts/GeneralSans-Regular.eot');
    src: url('../fonts/GeneralSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GeneralSans-Regular.woff2') format('woff2'),
        url('../fonts/GeneralSans-Regular.woff') format('woff'),
        url('../fonts/GeneralSans-Regular.ttf') format('truetype'),
        url('../fonts/GeneralSans-Regular.svg#GeneralSans-Regular') format('svg');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
}


@font-face {
    font-family: 'General Sans';
    src: url('../fonts/GeneralSansVariable-445.woff2') format('woff2'),
         url('../fonts/GeneralSansVariable-445.woff') format('woff'),
         url('../fonts/GeneralSansVariable-445.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'General Sans';
    src: url('../fonts/GeneralSansVariable-480.eot');
    src: url('../fonts/GeneralSansVariable-480.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GeneralSansVariable-480.woff2') format('woff2'),
        url('../fonts/GeneralSansVariable-480.woff') format('woff'),
        url('../fonts/GeneralSansVariable-480.ttf') format('truetype'),
        url('../fonts/GeneralSansVariable-480.svg#GeneralSansVariable-480') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}



/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'General Sans', sans-serif;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #000;
    color: #FFF;
}

/* Centered container with max width of 2400px */
.container {
    width: 100%;
    max-width: 2400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
}

/* Header styling: position absolutely to overlay content */
.header-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% opaque black */
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
}

.logo img {
    max-height: 50px; /* Adjust as needed */
}

/* New container for email and button */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;  /* space between email and button */
}

.btn {
    background-color: #445AFF;
    border: 0;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 1.1em;
    color: #FFF;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #3348DB;
}

.content-nav p {
    color: #FFF;
    font-size: 1em;
    margin: 0;
}

/* Page wrapper: no extra top padding so content appears under the header */
.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Content-row (Pink section) */
.content-row {
    width: 100%;
    padding: 2rem 0;
    text-align: center;
    flex: 0 0 auto;
    background-image: url('../../images/rdp_content.png');
    background-repeat: no-repeat;
    background-position: right 0px; /* Changed from 'right center' to move image down 200px */
    background-size: 35% auto;
}

/* Text section styling (contained within .container) */
.text-section {
    width: 100%;
    padding: 16% 0;
    max-width: 60%;
}

.text-section h1 {
    font-family: 'Martel', serif; /* Use Martel for h1 */
    font-size: 3em;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.25em;
    font-weight: 500;
}

.text-section p {
    font-size: 1.4em;
    line-height: 1.4;
    text-align: left;
    max-width: 700px;
}


/* Blue section: fills remaining space */
.blue-bar {
    background: linear-gradient(180deg, #445AFF 0%, #3348DB 100%);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blue-top {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blue-section {
    color: #fff;
    text-align: center;
    padding: 12% 0em;
    padding-bottom: 10%;
}

.blue-section .headline {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.blue-section h2 {
    font-family: 'Martel', serif;
    font-size: 3em;
    margin-bottom: 1rem;
    line-height: 1.25em;
    font-weight: 500;
    padding: 20px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.blue-section p {
    font-size: 1.5em;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4em;
}

.blue-section .email {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 2rem;
    font-size: 24px;
    padding-bottom: 1rem;
}

/* Blue bottom: footer styling */
.blue-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #fff;
    padding: 1rem;
    border-top: 1px solid #7d8df7;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 40px;
    padding-top: 60px;
}

/* Medium weight class */
.medium-weight {
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
}

.semi-weight {
    font-family: 'General Sans', sans-serif;
    font-weight: 400;
}


/* Responsive adjustments */


@media (max-width: 1023px) {

.content-nav
{
    display: none;
}
}

@media (max-width: 389px) {

    .header-bar button.btn {
        display: none;
    }


    }




@media (max-width: 1024px) {

    .text-section {
        padding-top: 200px !important;
        padding-bottom: 160px !important;
    }

    .content-row {
        background-image: none;
    }

    .text-section {
        max-width: 100%;
        text-align: center;
    }

    .text-section h1 {
        text-align: center;
    }

    .text-section p {
        text-align: center;
        margin: 0 auto; /* Center the paragraph with max-width */
    }
}

@media (max-width: 768px) {
    .text-section {
        padding: 16% 0em;
    }
    .text-section h1 {
        font-size: 2.25em;
    }
    .text-section p {
        font-size: 1.25em;
    }
    .blue-section h2 {
        font-size: 2.25rem;
        line-height: 1.25em;
    }

    .blue-section .email {
        background-color: rgba(255, 255, 255, 0.1);
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        display: inline-block;
        margin-top: 2rem;
        font-size: 18px!important;
        padding-bottom: 1rem;
    }


    .blue-section p {
        font-size: 1.25em!important;
        }

        .blue-section .headline {
            font-size: 1.25rem!important;
        }


        .blue-section {
            padding: 160px 0em!important;
            padding-bottom: 160px!important;
        }

    .blue-footer {
        flex-direction: column;
        text-align: center;
        gap: .25rem;
    }
}
