/* All pages */
* {
    box-sizing: border-box;
}

body {
    width: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #211F54;
    font-size: 1.2vw;
}

a {
    color: #007AFF;
}

/* Landing page top */

main {
    width: 100vw;
    height: auto;
    margin: 0;
    padding: 0;
}
.landingpage {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10vw 30vw 15vw 10vw;
}

#bg-image {
    background-image: url(/images/background/landingPageBackground.png);
    height: 100%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
}

.container {
    margin-top: 3vw;
}

.welcome {
    font-size: 1.5vw;
    font-weight: 300;
    color: #007AFF;
    margin: 0;
}

h1 {
    text-transform: uppercase;
    font-size: 5vw;
    font-weight: 600;
    margin: 0;
}

.beAGuest, .upcomingCalls {
    padding: 1vw 2.5vw;
    color: white;
    background-color: #007AFF;
    border: none;
    border-radius: .7vw;
    text-transform: uppercase;
    font-size: 1vw; /* Base font size */
    transition: background-color 0.3s ease; /* Smooth transition for hover effects */
    text-decoration: none;
}

.bottombar {
    background-color: #EEF3F9;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 7vw;
    text-transform: uppercase;
}

.joinCall{
    text-decoration: none;
}

a .bottombar h2 {
    text-decoration: none;
    color: #211F54;
}

/* Our vision section */
.ourVision {
    padding: 10vw;
}

.ourVisionHeader, .formHeader {
    font-size: 2.5vw;
    color: #007AFF;
    text-transform: uppercase;
    margin: 0;
    font-weight: 800;
}

.ourVisionBody {
    font-weight: 400;
    line-height: 1.6;
    margin: 2vw 0 1vw 0;
}

.popupClick {
    background-color: transparent;
    border: none;
    text-decoration: underline;
    color: #007AFF;
    font-size: 1.2vw;
    padding: 0 0 4vh 0;
}

/* Sign up form section */
.gtmForm {
    background-color: #EEF3F9;
    max-width: 50%;
    min-width: 20%;
    margin: 0 auto 10vw auto;
    border-radius: 1.5vw;   
    padding: 0;
    display: block;
}

.formText {
    margin: 1vw 0 3vw 0;
}

.register {
    padding: 5vw;
}

label {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    margin: 1vw 0 0.5vw 0;
    font-size: 1vw;
}

.formInput, textarea {
    color: #211F54;
    background-color: white;
    border: solid 1.75px #211F54;
    border-radius: 0.5vw;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    padding: .5vw;
    font-size: 1vw;
    font-family: "Inter", sans-serif;
}

textarea {
    min-height: 3vh;
}


#submit {
    color: white;
    background-color: #007AFF;
    display: block;
    margin: 2vw auto 0 auto;
    border: none;
    border-radius: .7vw;
    text-transform: uppercase;
    padding: 1vw 2.5vw;
    font-size: 1vw; /* Base font size */
    transition: background-color 0.3s ease; /* Smooth transition for hover effects */
}

/* Newsletter coming soon section */
.newsletter {
    background-color: #EEF3F9;
    text-transform: uppercase;
}

.newsletterSignup {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 600px;
    margin: 0;
    
}

.newsletterPadding {
    padding: 5vh 10vw; /* Use vh for vertical padding and vw for horizontal */
}

.newsletterHeader h2 {
    font-size: 2.5vw;
    color: #007AFF;
    margin: 0;
}

.newsP {
    text-transform: none;
    font-size: 1.2vw;
    margin: 2vw 0 1.5vw 0;
}

.emailSubmitBtn {
    display: flex;
    flex-direction: row;
    min-width: 7vw;
    max-width: 60%;
}

#email {
    flex: 1;
    margin: 0;
    min-width: 0;
    width: 70%;
    border-radius: 0.5vw 0 0 0.5vw;
    border-right: none;
    color: #211F54;
    background-color: white;
    border: solid 1.75px #211F54;
    border-right: none;
    padding: .5vw;
    font-size: 1vw;
    font-family: "Inter", sans-serif;
}

#subscribe {
    margin: 0;
    width: auto; /* Adjust width as needed */
    min-width: 100px; /* Ensure a minimum width */
    border-radius: 0 0.5vw 0.5vw 0; /* Adjust border radius to match design */
    border-left: none;
    border: solid 1.75px #211F54;
    border-left: none;
    background-color: #007AFF;
    color: white;
    text-transform: uppercase;
    padding: .5vw; /* Base padding */
    font-size: 1vw; /* Base font size */
}
}

.newsletterPadding {
    padding: 4vw 25vw 4vw 10vw;
}

/* Footer section */
footer {
    padding: 4vw 10vw;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

footer h2 {
    font-size: 3vw;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

footer h3 {
    font-size: 1.5vw;
    text-transform: uppercase;
    margin: 0.5vw 0 1vw 0;
}

a .icon {
    width: 2vw;
    margin: 0 0.3vw 0.2vw 0;
}

.rowOne, .rowTwo {
    display: flex;
}

/* Popup - what to expect section */
.popup {
    position: fixed;
    top: 25%;
    left: 5%;
    right: 5%;
    margin: auto;
    width: 70%;
    height: auto;
    background-color: white;
    border-radius: 1.5vw;
    border: solid 3px #007AFF;
    display: none; 
    overflow: auto;
}

.popupSection {
    padding: 2vw 5vw 4vw 5vw;
    margin: 0;
}

.popupHeader h2 {
    font-size: 2.5vw;
    text-transform: uppercase;
    color: #007AFF;
    margin: 0 0 2vw 0;
}

.popupBody p {
    font-size: 1vw;
    font-weight: 400;
    line-height: 1.6;
}

.popupCloseBtn {
    background-color: transparent;
    border: 1px solid transparent;
    font-size: 1.5vw;
    margin: 0;
    padding: 1.5vw 1.5vw 0 0;
    color: #007AFF;
}

.closePopupContainer {
    text-align: right;
}

/* Button hover */
.beAGuest:hover, 
#submit:hover, 
#subscribe:hover,
.upcomingCalls:hover,
.beAGuest:active, 
#submit:active, 
#subscribe:active,
.upcomingCalls:active {
    background-color: #003d80;
    cursor: pointer;
    color: white;
} 

a:hover, 
a:active,
.popupClick:hover, 
.popupClick:active,
.popupCloseBtn:hover, 
.popupCloseBtn:active {
    color: #003d80;
    cursor: pointer;
}

a .bottombar h2:hover {
    color: #007AFF;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    body {
        font-size: 2vw;
    }

    main {
        height: auto;
    }

    .popupClick {
        font-size: 2vw;
    }

    .formInput, textarea, .emailInput {
        font-size: 2vw;
        border-radius: 1vw;
        padding: 1vw;
    }

    .formInput, textarea {
        border: solid 1.5px #211F54;
    }

    h2 {
        font-size: 2vw;
    }

    p {
        font-size: 2vw; /* Increase paragraph size for smaller screens */
        margin: 2vw 0; /* Adjust margin for smaller screens */
    }

    .welcomeText {
        margin: 0 0 2vw 0;
    }

    .newsP {
        font-size: 2vw; /* Increase font size for smaller screens */
        margin: 2vw 0; /* Adjust margin for smaller screens */
    }

    label {
        font-size: 2vw;
    }

    .landingpage {
        padding: 15vw 5vw 15vw 5vw;
    }

    h1 {
        font-size: 6vw;
    }

    .ourVision {
        padding: 10vw 5vw;
    }
    
    .ourVisionHeader, .formHeader, .newsletterHeader h2, .popupHeader h2 {
        font-size: 3.5vw;
    }

    .gtmForm {
        max-width: 70%;
    }

    .newsletterPadding {
        padding: 4vw 5vw;
    }

    footer {
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
        text-align: start;
        padding: 2vw 5vw;
    }

    footer h2 {
        font-size: 4vw;
        margin-top: 1vh;
    }

    footer h3 {
        font-size: 2vw;
        padding-top: 1vh;
        text-align: start;
    }

    footer p {
        font-size: 1.5vw;
        padding: 0;
        margin: 0;
        text-align: start;
    }

    .beAGuest, .upcomingCalls, #submit {
        font-size: 1.75vw; /* Increase font size for smaller screens */
        padding: 1vw 3vw; /* Adjust padding for better touch targets */
        border-radius: 1vw; /* Slightly larger border radius for smaller screens */
    }

    .beAGuest {
        margin-top: 1vh;
        display: none;
    }

    #subscribe {
        border-radius: 0 1vw 1vw 0;
        font-size: 2vw;
        border: solid 1.5px #211F54;
        border-left: none;
    }

    #email {
        border-radius: 1vw 0 0 1vw;
        font-size: 2vw;
        padding-left: 1vw;
        border: solid 1.5px #211F54;
        border-right: none;
    }

    .emailSubmitBtn {
        width: 70%;
    }

    .guestLink {
        font-size: 1.5vw;
        justify-content: start;
    }
}

@media screen and (max-width: 480px) {
    .ourVisionHeader, .formHeader, .newsletterHeader h2, .popupHeader h2 {
        font-size: 4vw;
    }

    .gtmForm {
        width: 75%;
    }

    h1 {
        font-size: 6vw;
        padding-bottom: .2vh;
    }

    .popupClick {
        font-size: 3vw;
        padding: 0 0 2vh 0;
    }

    label {
        font-size: 3vw;
    }

    h2 {
        font-size: 2.5vw;
    }

    .bottombar {
        padding: 2vw 0;
        display: none;
    }

    .formInput, textarea, .emailInput {
        font-size: 3vw;
    }

    p {
        font-size: 3vw; /* Further increase paragraph size for very small screens */
        margin: 3vw 0; /* Adjust margin for very small screens */
    }

    .newsP {
        font-size: 3vw; /* Further increase font size for very small screens */
        margin: 3vw 0; /* Adjust margin for very small screens */
    }

    .newsletterSignup {
        flex-direction: row;
    }

    #email, #subscribe {
        border-radius: 0.3vw;
     
    }

    .emailSubmitBtn {
        width: 100%;
    }

    #email {
        font-size: 2.5vw;
        border-radius: 1vw 0 0 1vw;
        border: solid .5px #211F54;
        border-right: none;
        padding-left: 1vw;
    }

    #subscribe {
        border-radius: 0 1vw 1vw 0;
        padding: 1vw;
        font-size: 2.5vw;
        border: solid .5px #211F54;
        border-left: none;
    }

    footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: start;
        padding: 3vw 5vw;
    }

    footer h2 {
        font-size: 4.5vw;
        padding-top: 1vw;
        margin: 0;
    }

    footer h3 {
        font-size: 2vw;
        margin: .5vh 0 .3vh 0;
        text-align: start;
    }

    footer p {
        font-size: 1.5vw;
        padding: 0;
        margin: 0;
        text-align: start;
    }

    .iconImgs {
        display: flex;
    }

    .welcome {
        display: none;
    }

    .beAGuest, .upcomingCalls, #submit {
        font-size: 2.25vw; /* Further increase font size for very small screens */
        padding: 1.5vw 3vw; /* Further adjust padding */
        border-radius: 2vw; /* Larger border radius for very small screens */
    }

    .beAGuest {
        margin-top: .2vh;
        display: none;
    }

    .formInput, textarea {
        border: solid .5px #211F54;
        font-size: 2.5vw;
    }

    label {
        font-size: 2.5vw;
    }
  
    #submit {
        font-size: 2.5vw;
    }

    .guestLink {
        font-size: 1.5vw;
    }
}