body {
    margin: 0;
    background: #f4f4f4;
    font-family: 'Sora', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container,
.mobile-container {
    flex: 1 0 auto;
    /* main content grows to fill space above footer */
}

/* Add max-width and center for all main content containers */
.container,
.mobile-container,
.trip-container,
.frame-slider,
.info-section,
.features-section,
.download-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Nav Bar */
nav {
    /* background: white; */
    background: transparent;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    z-index: 10;
    display: flex;
    align-items: center;
}

nav img {
    height: 45px;
    margin-right: 12px;
}

nav span {
    font-size: 18px;
    font-weight: bold;
    color: #0e2342;
    font-family: 'Sora', sans-serif;
}

nav.scrolled {
    background: #0e2342;
    transition: background 0.3s;
}

nav.scrolled span {
    color: white;

}

#nav-cta-btn {
    margin-left: auto;
    margin-right: 40px;
    background: #fcdc3a;
    color: #0e2342;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 16px;
    cursor: pointer;
}

#nav-cta-btn:hover {
    background: #ffe84d;
    color: #0a2240;
}


/* Main Content */
.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* gap: 20px; */
    padding: 75px 20px 40px;
    flex-wrap: wrap;
}

/* iPhone Frames */
.frame {
    /* background: white; */
    /* padding: 20px; */
    padding-top: 20px;
    border-radius: 12px;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.2); */
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease;
}

.frame:hover {
    transform: translateY(-5px);
}

.frame img {
    max-width: 100%;
    height: auto;
}

/* .frame h1 {
        margin-top: 15px;
        font-size: 16px;
        color: #333;
    } */
.trip-container {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: black;
    font-family: 'Sora', sans-serif;
    word-wrap: break-word;
}

.trip-title-regular {
    font-size: 32px;
    font-weight: 500;
    line-height: 52px;
    margin-bottom: -5px;
}

.trip-title-bold {
    font-size: 32px;
    font-weight: 700;
    line-height: 52px;
    margin-bottom: 16px;
}

.trip-description {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    width: 60%;
    margin: 0 auto;
}

/* Info Section Under Frames */
.info-section {
    width: 75%;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    border-radius: 12px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
    border: 1px solid #0a224031;
    padding: 32px 24px;
    gap: 32px;
}

.info-section-text {
    flex: 1;
    font-size: 18px;
    color: #0e2342;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    /* text-align: center; */
    /* display: flex; */
    /* flex-direction: column; */
    align-items: center;
    /* justify-content: center; */
    margin-top: -50px;
}

.info-section-img {
    width: 250px;
    height: auto;
    border-radius: 8px;
}

/* Download App Section */
.download-section {
    width: 100%;
    background: #0e2342;
    color: #fff;
    text-align: center;
    padding: 48px 0 56px 0;
    margin-top: 48px;
}

.download-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
    font-family: 'Sora', sans-serif;
}

.download-desc {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 32px;
    font-family: 'Sora', sans-serif;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background: #fcdc3a;
    color: #0e2342;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 28px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, color 0.2s;
}

.download-btn:hover {
    background: #f4f4f4;
    color: #111;
}


/* --------------------------- */

/* Features Grid Section */
/* .features-section {
    width: 75%;
    margin: 48px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 32px;
}

.feature-box {
    background: #0e2342;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}

.feature-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #fcdc3a;
    margin-bottom: 12px;
    font-family: 'Sora', sans-serif;
}

.feature-desc {
    font-size: 15px;
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    text-align: center;
} */

.full-width-cta {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
    box-shadow: none;
    flex-shrink: 0;
}
/* --------------------------- */

/* form */
.waitlist-form {
    width: 80%;
    margin: auto;
}



.waitlist-form h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #fcdc3a;
}

.input-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.input-group input {
    padding: 12px 16px;
    background-color: transparent;
    /* outline: 1px rgba(255, 255, 255, 0.15) solid; */
    border: 1px solid #fcdc3a;
    border-radius: 100px;
    color: white;
    font-size: 14px;
    outline: none;
    flex: 1;
    min-width: 150px;
}

.input-group input::placeholder {
    /* color: rgba(255, 255, 255, 0.40); */
    color: white;
}

.input-group button {
    background-color: #fcdc3a;
    color: #0a2240;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    /* transition: background 0.3s ease; */
}

.input-group button:hover {
    background-color: #ffe84d;
}

#popup-modal .input-group input {
    color: #111;
}

#popup-modal .input-group input::placeholder {
    color: #aba9a9;
}

#popup-modal .input-group button {
    width: 100%;
    box-sizing: border-box;
}

/* Popup Modal Styles */
#popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(14, 34, 66, 0.75);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

#popup-modal>div {
    background: #fff;
    border-radius: 25px;
    max-width: 460px;
    width: 90%;
    padding: 32px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    position: relative;
    height: 270px;
}

#close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    color: #0e2342;
    cursor: pointer;
}

.swal2-container {
    z-index: 999999 !important;
}

.footer-text {
    background-color: #000;
    color: #fff;
    position: relative;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 30px 0;
    text-align: center;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.swal2-confirm-black {
    color: #0a2240 !important;
}

.swal2-rounded {
    border-radius: 25px !important;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 20px; /* spacing between images */
    max-width: 865px; /* optional, keeps it neat */
    margin:30px;
}

.feature-box img {
    width: 100%;   /* image fills box */
    height: auto;  /* keep aspect ratio */
    display: block;
    border-radius: 10px;
}



@media (max-width: 600px) {
    #popup-modal>div {
        max-width: 95vw;
        width: 95vw;
        padding: 40px 0px;
        /* height: 320px; */
    }
}

@media (max-width: 900px) {
    .container {
        display: none;
    }

    .mobile-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 120px 0 40px 0;
        width: 100%;
    }

    .trip-container {
        width: 90%;
        margin-bottom: 24px;
    }

    .frame-slider {
        width: 100%;
        /* max-width: 350px; this effect the ipaad view */
        margin: 0 auto 24px auto;
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        background: transparent;
    }

    .frames-wrapper {
        display: flex;
        width: calc(350px * 1.25);
        /* enough for 3 frames to peek */
        transition: none;
    }

    .frame {
        min-width: 85%;
        width: 75%;
        box-sizing: border-box;
        padding-top: 20px;
        margin-right: -60px;
        /* negative margin to allow peeking */
        scroll-snap-align: start;
    }

    .frame img {
        max-width: 85%;
        height: auto;
    }

    .frame:last-child {
        margin-right: 0;
    }

    .info-section {
        flex-direction: column;
        width: 90%;
        gap: 18px;
        padding: 50px 50px;
        align-items: center;
    }

    .info-section-text {
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: 8% 0 0 0;
    }

    .info-section-img {
        width: 220px;
        margin: 0 auto;
    }

    .features-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        width: 90%;
    }

    .trip-title-regular {
        font-size: 32px;
        font-weight: 500;
        line-height: 40px;
        margin-bottom: 0;
        text-align: center;
    }

    .trip-title-bold {
        font-size: 32px;
        font-weight: 700;
        line-height: 40px;
        margin-bottom: 16px;
        text-align: center;
    }

    .trip-description {
        font-size: 15px;
        font-weight: 500;
        line-height: 1.7;
        width: 98%;
        margin: 0 auto;
        text-align: justify;
        text-justify: inter-word;
    }

    .full-width-cta {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }

    .footer-text {
        font-size: 12px;
    }

}

@media (min-width: 901px) {
    .mobile-container {
        display: none;
    }

}