body {
    font-family: Segoe UI, Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
}

nav {
    background: #003366;
    padding: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-weight: bold;
}

header {
    background: white;
    margin: 20px;
    padding: 30px;
    border-radius: 10px;
}

section {
    background: white;
    margin: 20px;
    padding: 30px;
    border-radius: 10px;
}

h1 {
    color: #003366;
}
/* ============================
   Architecture Page Styles
   ============================ */

.architecture-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.flow-box {
    width: 300px;
    background: #0a3d75;
    color: white;
    padding: 15px;
    margin: 5px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}

.arrow {
    font-size: 28px;
    font-weight: bold;
    color: #0a3d75;
    margin: 5px 0;
}
/* Architecture Icons */

.flow-icon {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 15px;
    display: block;
}

.flow-box {
    text-align: center;
}

.flow-box h3 {
    margin-top: 10px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    text-align: center;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #d3d3d3;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
}

.gallery-item p {
    margin-top: 10px;
    font-size: 14px;
}
.gallery-item img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
/*
.gallery-item img:active {
    transform: scale(3);
	cursor: zoom-out;
	position: relative:
    z-index: 10000; 
}
*/
/*
.gallery-item img.zoomed {
    transform: scale(2);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
    z-index: 9999;
    background: white;
    box-shadow: 0 0 25px rgba(0,0,0,.5);
    cursor: zoom-out;
}
*/

.gallery-item img.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    z-index: 9999;
    background: white;
    padding: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,.6);
    cursor: zoom-out;
}