/* --- Exact Font Definitions --- */
@font-face {
    font-family: 'Google Sans Flex';
    src: url('../fonts/GoogleSansFlex_24pt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Google Sans Flex';
    src: url('../fonts/GoogleSansFlex_24pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* --- Global Theme Variables --- */
:root {
    --bg-color: #141C1D;
    --text-white: #D8D8D8;
    --text-grey: #8a9496;
    --text-accent: #6B7D86;
    --btn-bg: #6B7D86;
    --card-border: #232f31;
}

/* --- Base Resets --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



body {
    font-family: 'Google Sans Flex', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px 80px; /* Adjusted side padding for a cleaner margin on large monitors */
    overflow-x: hidden;
}

/* --- Global Header Configuration (Fixed Alignment) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px; /* Locked down boundary to pull content away from outer display edges */
    margin: 0 auto 60px auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    position: relative;
}

/* Supplier Hub active page marker link state */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-accent);
}

.btn-contact {
    background-color: var(--btn-bg);
    color: var(--text-white);
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.btn-contact:hover {
    opacity: 0.9;
}

/* --- Balanced Main Layout Container --- */
main {
    display: flex;
    justify-content: space-between; /* Dynamically spaces column contents to their respective outer boundaries */
    align-items: center;
    width: 100%;
    max-width: 1280px; /* Matched perfectly with header max-width boundary layout */
    margin: auto;
    gap: 60px;
}

/* --- Home Page Specific Styles --- */
.content-box {
    max-width: 560px;
}

h1 {
    font-size: 83px;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
    margin-top: 20px;
}

.content-box h1 {
    font-weight: 500;
}

h1 span {
    font-weight: 500;
    color: var(--text-accent);
}

p {
    font-size: 17px;
    line-height: 1.55;
    font-weight: 300;
    color: var(--text-white);
}

.artwork-container {
    width: 540px;
    height: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.artwork-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Supplier Hub Layout Layout --- */
.hub-main {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 60px;
}

.hub-hero {
    max-width: 800px;
}

.hub-hero h1 {
    font-size: 64px;
    margin-bottom: 30px;
}

.hub-hero p {
    font-size: 18px;
    line-height: 1.6;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    margin-top: 20px;
}

.hub-card {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hub-card h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff;
}

.hub-card p {
    font-size: 16px;
    color: var(--text-grey);
    margin-bottom: 30px;
}

.hub-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.hub-card ul li {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: var(--text-white);
}

.hub-card ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-accent);
}

.hub-card .meta-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-accent);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.hub-card .meta-action:hover {
    opacity: 0.8;
}

.hub-card-text a:link, .hub-card-text a:visited {
    color: var(--btn-bg);
    text-decoration: none;
}

.hub-card-text h3, .hub-card-text h4{
 margin-top: 15px;
 margin-bottom: 5px;
}

.hub-card-text ol {
    margin-left: 30px;
}

.hub-card-text ol li {
    margin: 10px 0;
}




.tender_row{
	margin: 3em 0;
	content: "";
	display: table;
	clear: both;
}
.tender_column{
	float: left;
	animation: fadein 0.5s;
}
.tc1{
	width: 44%;
	margin: 0 28%;
}
.tc2{
	width: 44%;
	margin: 0 3%;
}
.tc3{
	width: 30%;
  	margin: 0 1.666666666666667%;
}
.tc4{
	width: 23%;
  	margin: 0 1%;
}

.tender_column a{
	float: left;
}
.tender_column a:hover{
	/*transform: scale(1.05);*/
    opacity: 0.9;
}

.tender_column img{
	width: 100%;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

/* --- Responsive Layout Engine --- */
@media (max-width: 1200px) {
    body { padding: 40px; }
    header { margin-bottom: 50px; }
    h1 { font-size: 56px; }
    .hub-hero h1 { font-size: 46px; }
    .artwork-container { width: 420px; height: 420px; }
    .hub-grid { grid-template-columns: 1fr; gap: 30px; }
    main { 
        gap: 40px;
        flex-direction: column;
        text-align: center;
    }
    .content-box {
        max-width: 100%;
    }
}