<style type="text/css">body {
            margin: 0;
            padding: 5px;
            font-family: Arial, sans-serif;
        }
        .banner {
            display: flex;
            align-items: flex-start; /* Adjust to align items at the top */
            width: 100%;
            height:auto;
            background-color: #15263b;
        }
        .banner-text,
.banner-text-reversed {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: white;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    aspect-ratio:16/9;
}
        .banner-text h1,
.banner-text-reversed h1 {
    font-size: 1.8vw;
    margin: 10px 0;
    color: white;
    text-align: center;
}
        .banner-text p,
.banner-text-reversed p {
    font-size: 0.9vw;
    line-height: 1.6;
    margin: 0;
    color: white;
    text-align: center;
}
        .banner-reversed {
            display: flex;
            align-items: flex-start; /* Align items at the top */
            width: 100%;
            height: auto; /* Adjust the minimum height as needed */
            background-color: #15263b;
        }
        .popup {
            display: none;
            position: fixed;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 80%; /* Width of the popup (80% of the viewport) */
            height: 80%; /* Height of the popup (80% of the viewport) */
            padding: 20px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            background-color: white;
            z-index: 1000000; /* Ensure it's on top of other content */
            overflow-y: auto; /* Allows scrolling if content overflows */
            border-radius: 10px; /* Rounded corners */
        }

        /* Style for the overlay */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 999; /* Directly below the popup */
        }
        ul {
            text-align:left;
        }
        .popup-content {
            font-size:1vw;
            overflow: auto;
            margin:1.2vw;
        }

        /* Two-column layout for text */
        .popup-column-content {
            display: flex;
            flex-direction: row;
            gap: 20px; /* Space between the columns */
        }

        .popup-column {
            flex: 1;
        }


        .popup-column h2 {
            margin-top: 0;
        }


        /* Style for the close button */
        .close-popup {
            display: block;
            margin: 20px auto 0;
            padding: 10px 20px;
            background-color: #15263b;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .close-popup:hover {
            background-color: #0056b3;
        }
.banner-image {
            flex: 1;
            background-image: url('/Portals/122/Images/Graphics/Stock Photos/defense-satellite1.jpeg');
            background-size: cover;
            background-position: center;
            min-height:100%;
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: inherit;
            aspect-ratio:16/9;
            max-height:30vw;
        }
.banner-reversed-image {
            order: 2; /* Ensure image appears second */
            flex: 1;
            background-size: contain;
            object-fit: contain;
            max-height: 100%;
            max-width: 100%;
            background-size: cover;
            background-position: center;
            border-radius: inherit;
            aspect-ratio: 16 / 9;
        }
@media (max-width:767px) {
.banner-reversed-image {
            flex: 1;
            order:-1;
            background-size: cover;
            background-position: center;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit;
            aspect-ratio:16 / 9;
            min-height: 30vw;
        }

.banner-image {
        flex: 1;
        order: -1;
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
        aspect-ratio: 16 / 9;
        min-height: 30vw;
            max-height: 100%;
            min-height: 100%;
        }

    .banner,
    .banner-reversed {
        flex-direction: column;
        min-height: auto;
    }

    .banner-text, .banner-text-reversed {
        order: 2; /* Ensure text is below the image */
        width: 100%;
        text-align: center;
        aspect-ratio: auto;
        margin-left: 0;
        margin-right: 0;
        padding: 40px 20px;
    }

    .banner-text h1,
    .banner-text-reversed h1 {
        font-size: 4vw; /* Adjust the heading font size for mobile */
        text-align: center; /* Ensure heading is centered */
    }

    .banner-text p,
    .banner-text-reversed p {
        font-size: 3vw; /* Adjust the paragraph font size for mobile */
        text-align: center; /* Ensure text is centered */ 
        margin-bottom:10px;
    }
    .popup-content {
                font-size: 3vw; /* Adjust the font size for readability on mobile */
                margin: 1em;
            }

            .popup-column-content {
                flex-direction: column; /* Stack columns for mobile */
            }

            .popup {
                width: 95%; /* Adjust the popup width for mobile */
                height: 90%; /* Adjust the popup height for mobile */
            }

            .close-popup {
                padding: 10px;
                font-size: 1em; /* Adjust the button size */
            }
}
</style>