/* Sticky header */
header {
    position: sticky;
    top: 0;
    background-color: #fff;
    color: #031D5B;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; /* Adjust the z-index as needed */
}

/* Mobile menu styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    order: 2; /* Adjust the order to move the burger menu to the right */
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #031D5B;
    margin: 6px 0;
}

nav {
    width: 1450px;
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.nav-links {
    display: flex;
    order: 1; /* Adjust the order to move the navigation links to the left */
}

.nav-links a {
    color: #031D5B;
    text-decoration: none;
    margin: 0 10px;
}

main {
    padding: 20px;
}

.flex-reverse {
    flex-direction: row-reverse;
}

/* Reset */
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
}

a {
    color: #A8B0D5;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:active,
a:hover {
    color: #A8B0D5;
    outline: 0;
}

/* Footer styles */
footer a {
    color: #A8B0D5;
}

footer a:hover {
    color: #A8B0D5;
}

img {
    max-height: 75vh;
    max-width: 100%;
    border-radius: 16px;
    height: auto;
    width: auto;
    object-fit: cover;
}

input, button, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
}

/* Colour reference */
.primary-blue {
    color: #031D5B;
}

.secondary-blue {
    color: #B6BBC9;
}

.primary-orange {
    color: #F8765E;
}

.shadow {
    color: rgba(0, 70, 75, .2);
}

/* Basic setup */
body {
    color: #031D5B;
    background-color: #F9FAFC;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

.container {
    max-width: 1450px;
    margin: 0 auto;
}

#Taiji {
    min-height: 75vh;
}

/* Typography */
h1, h2, p, li {
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 3em;
    font-family: 'Lora', serif;
    line-height: 1em;
}

h2 {
    font-size: 1.5em;
    font-weight: 400;
}

p {
    font-size: 1.05em;
}

li {
    font-size: 1em;
}

ul, ol {
    padding: 0;
    margin: 0
}

/* Nav and Brand */
.content-section {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 100px;
    gap:24px;
    align-items: center;
}

.column {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0 10px;
    gap: 24px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 75vh;
    width: 100%;
    background-image: url('assets/Hero-image-WEB.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

footer {
    background-color: #fff;
    color: #031D5B;
    padding: 10px;
    text-align: center;
}

/* Table */
.custom-table {
    border-collapse: collapse;
    width: 100%;
}

.custom-table tr {
    border-bottom: 2px solid #A8B0D5;
}

.custom-table td {
    padding: 8px;
}

.custom-table td:first-child {
    text-align: left;
}

.custom-table td:last-child {
    text-align: right;
}

@media screen and (max-width: 800px) {
    .column {
        flex: 100%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0; /* Display on the right */
        background-color: #fff;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        margin: 10px;
    }

    .menu-toggle {
        display: block;
    }
}
