/* Base styles - global styles that apply to both marketing and app */
body {
    font-family: 'Libre Franklin', sans-serif;
    -moz-font-feature-settings: "liga" on;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "liga" on;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding: 0;
    /* Remove any potential height restrictions that may prevent scrolling */
    height: auto;
    min-height: 100%;
    overflow-y: auto;
}

html {
    height: 100%;
    overflow-y: scroll; /* Ensure scrollbar is always present to prevent layout shifts */
}

/* Marketing site specific styles */
.marketing-site {
    width: 100%;
    overflow: visible; /* Change from hidden to visible to allow scrolling */
}

.marketing-page-wrapper {
    width: 100%;
    position: relative;
    overflow: visible; /* Change from hidden to visible to allow scrolling */
}

.marketing-content-wrapper {
    width: 100%;
    overflow: visible; /* Ensure content can scroll */
}

.marketing-container {
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 20px;
}

/* Marketing Navigation */
.marketing-navigation {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 36, 73, 0.8);
    padding: 20px 0;
}

.marketing-navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.marketing-logo {
    display: block;
}

.marketing-nav-menu {
    display: flex;
    align-items: center;
}

.marketing-nav-link {
    color: white !important;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s;
}

    .marketing-nav-link:hover {
        color: #2898FB !important;
        text-decoration: none;
    }

.marketing-get-started {
    display: inline-block;
    background-color: #2898FB;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 20px;
    transition: background-color 0.3s;
}

    .marketing-get-started:hover {
        background-color: #1482E5;
        color: white !important;
        text-decoration: none;
    }

/* Marketing Header with background image */
.marketing-header {
    background-image: url('/images/home_page_large_image.jpg');
    background-size: cover;
    background-position: center;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0; /* Ensure no unexpected margin */
    padding-top: 80px; /* Accommodate fixed navigation */
}

    /* Optional overlay to darken the image slightly for better text visibility */
    .marketing-header:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
        z-index: 1;
    }

.marketing-header-content {
    position: relative;
    z-index: 2; /* Place content above the overlay */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.marketing-h1 {
    color: white;
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    font-family: Libre Franklin, sans-serif;
}

.marketing-button {
    display: inline-block;
    background-color: #2898FB;
    color: white !important;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

    .marketing-button:hover {
        background-color: #1482E5;
        text-decoration: none;
    }

/* Marketing Features Section */
.marketing-features {
    padding: 80px 0;
    background-color: #F7F7F7;
}

.marketing-section-heading {
    font-size: 28px;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-weight: 400;
    color: #333;
}

.marketing-text-span {
    color: #002449;
    font-weight: 600;
}

/* Marketing Slider Section */
.marketing-slider-section {
    background-color: #fafafa;
    flex-flow: wrap;
    place-content: stretch center;
    position: relative;
}

.marketing-slider {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    height: 500px;
    overflow: hidden;
}

.marketing-slider-mask {
    position: relative;
    width: 100%;
    height: 100%;
}

.marketing-slide, .marketing-slide-5, .marketing-slide-6 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50%;
    transition: opacity 0.5s;
    opacity: 0;
}

.marketing-slide {
    background-image: url('/images/carousel_slide_1.jpg');
}

.marketing-slide-5 {
    background-image: url('/images/carousel_slide_2.jpg');
}

.marketing-slide-6 {
    background-image: url('/images/carousel_slide_3.jpg');
}

.marketing-left-arrow, .marketing-right-arrow {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
}

.marketing-left-arrow {
    left: 20px;
}

.marketing-right-arrow {
    right: 20px;
}

.marketing-icon-left, .marketing-icon-right {
    width: 20px;
    height: 20px;
    border-top: 3px solid white;
    border-left: 3px solid white;
}

.marketing-icon-left {
    transform: rotate(-45deg);
    margin-left: 5px;
}

.marketing-icon-right {
    transform: rotate(135deg);
    margin-right: 5px;
}

.marketing-slide-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.marketing-slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

    .marketing-slider-dot.active {
        background-color: white;
    }

/* Marketing About Section */
.marketing-about {
    padding: 80px 0;
    background-color: white;
}

.marketing-h2 {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 400;
    color: #333;
}

.marketing-cc-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Marketing Premium Section */
.marketing-premium {
    padding: 80px 0;
    background-color: #F7F7F7;
}

.marketing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

    .marketing-row.reverse {
        flex-direction: row-reverse;
    }

.marketing-section-image-wrap {
    flex: 0 0 48%;
}

.marketing-section-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.marketing-content-box {
    flex: 0 0 48%;
}

.marketing-row-title {
    font-size: 36px;
    font-weight: 800;
    color: #002449;
    margin-bottom: 20px;
}

.marketing-paragraph {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.marketing-cc-gray {
    color: #555;
}

/* Marketing Separator */
.marketing-separator {
    padding: 10px 0;
    background-color: #F0F0F0;
}

.marketing-line-color {
    height: 2px;
    background-color: #2898FB;
    max-width: 200px;
    margin: 0 auto;
}

/* Marketing CTA Section */
.marketing-cta {
    background-color: #fafafa;
    justify-content: center;
    align-items: flex-end;
    padding: 150px 30px;
    display: flex;
}

.marketing-overflow-hidden {
    overflow: visible; /* Changed from hidden to visible */
}

.marketing-div-block-4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.marketing-cta-column {
    flex: 0 0 48%;
}

.marketing-h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.marketing-cta-line {
    height: 2px;
    background-color: #2898FB;
    width: 100px;
    margin-bottom: 20px;
}

.marketing-cc-cta {
    margin-top: 0;
}

h3.marketing-cc-cta {
    color: blue;
    margin-bottom: 0;
}

.marketing-button.cc-cta {
    margin-top: 0;
}

    .marketing-button.cc-cta:hover {
        background-color: #1482E5;
        text-decoration: none;
    }

/* Marketing Footer */
.marketing-footer {
    padding: 80px 0;
    background-color: #001B36;
    color: white;
}

.marketing-cc-footer {
    display: flex;
    justify-content: space-between;
}

.marketing-footer-column {
    flex: 0 0 48%;
}

.marketing-navigation-logo {
    display: block;
    margin-bottom: 40px;
}

.marketing-text-footer-credits {
    font-size: 14px;
    opacity: 0.7;
}

.marketing-footer-links-list {
    margin-bottom: 30px;
}

.marketing-link-footer {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

    .marketing-link-footer:hover {
        opacity: 1;
    }

.marketing-footer-social {
    display: flex;
}

.marketing-link-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s;
}

    .marketing-link-social:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

.marketing-social-icon {
    max-width: 50%;
    height: auto;
}

/* Responsive */
@media (max-width: 991px) {
    .marketing-row, .marketing-div-block-4 {
        flex-direction: column;
    }

        .marketing-row.reverse {
            flex-direction: column;
        }

    .marketing-section-image-wrap, .marketing-content-box, .marketing-cta-column {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }

    .marketing-h1 {
        font-size: 42px;
    }

    .marketing-footer-column {
        flex: 0 0 100%;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .marketing-h1 {
        font-size: 36px;
    }

    .marketing-section-heading {
        font-size: 24px;
    }

    .marketing-h2 {
        font-size: 28px;
    }

    .marketing-row-title {
        font-size: 30px;
    }
}

@media (max-width: 479px) {
    .marketing-h1 {
        font-size: 30px;
    }

    .marketing-header {
        min-height: 500px;
    }

    .marketing-row-title {
        font-size: 26px;
    }
}

/* App-specific styles - to keep both styles in one file */
.app-body {
    background-color: #FCFAF7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}
