body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.gradient-background {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(#073365, #00244c);
    overflow: hidden;
}

.gradient-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../img/bg-mobile-colour.webp') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensures the image is on top */
    mix-blend-mode: luminosity; /* Apply the luminosity blend mode */
    opacity: 0.3; /* Optional: Adjust the opacity of the image */
    pointer-events: none;
}

.container {
    padding: 0 15px; /* Padding for mobile devices */
    z-index: 10; /* Ensures the image is on top */
}

.portrait {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid #fff;
}

a {
    color: #fff;
    text-decoration: none;
}

.btn-primary {
    background: #003878;
    color: #fff;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    text-decoration: none;
}

.btn-primary:hover {
    background: #00244c;
    color: #fff;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    text-decoration: none;
}

.btn-primary:active {
    background: #003878 !important;
    color: #fff;
    padding: 10px 20px;
    border: 2px solid #fff !important;
    border-radius: 5px;
    text-decoration: none;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 56, 120, .5);
}

/* Large devices (tablets, 992px and up) */
@media (min-width: 992px) {
    .gradient-background::before {
        background: url('../img/bg-desktop-colour.webp') no-repeat center center;
        background-size: cover;
    }
}