/* ===== GLOBAL RESET (THIS PREVENTS HEADER BREAKAGE) ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root{
--ink:#1e2933;
--muted:#6b7280;
--brand:#243a5e;
--line:#e5e7eb;
--bg:#f7f8fa;
--white:#ffffff;
}

body{
    margin:0;
    font-family:'Inter',system-ui,sans-serif;
    color:var(--ink);
    background:var(--bg);
}

/* ===== SITE WIDTH CONTROL ===== */

.wrap {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}


/* HEADER */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e6e9ed;
    padding: 18px 0;   /* increases header height cleanly */
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.identity .name{
font-weight:600;
letter-spacing:.4px;
}

.identity .descriptor{
font-size:13px;
color:var(--muted);
margin-top:2px;
}
.identity img {
    height: 64px;
    width: auto;
    display: block;
}

.mainnav a:hover{
color:var(--brand);
}
.mainnav {
    display: flex;
    gap: 34px;
}

.mainnav a {
    text-decoration: none;
    color: #4a5560;
    font-weight: 500;
    font-size: 15px;
}
.social {
    display: flex;
    gap: 16px;
    margin-left: 28px;
}

.social a {
    color: #222;
    font-size: 16px;
}

.social a.linkedin:hover{
color:#0077b5;
}
.social a.x-twitter:hover{
color:#000;
}
.social a.youtube:hover{
color:#ff0000;
}
.social a.instagram:hover{
color:#e1306c;
}

/* PAGE */
.page{
padding:70px 0;
}

/* TITLES */
h1{
font-size:30px;
font-weight:500;
margin-bottom:20px;
}

p{
max-width:720px;
color:#4b5563;
}

/* GRID */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:24px;
margin-top:40px;
}

.card{
background:var(--white);
padding:26px;
border:1px solid var(--line);
}

/* CONTENT BLOCKS */
.block{
background:var(--white);
padding:32px;
border-left:3px solid var(--brand);
margin-bottom:24px;
}

/* CONTACT */
.contactbox{
background:var(--white);
padding:40px;
max-width:640px;
}

/* FOOTER */
.footer{
border-top:1px solid var(--line);
padding:24px 0;
font-size:13px;
color:var(--muted);
background:var(--white);
}

/* HERO SECTION */
.hero{
    background-color:#f2f3f5;
    padding:100px 0 60px;
    min-height:70vh;
    display:flex;
    align-items:center;
    width:100%; /* ensures consistent flex calculation */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--ink);
    max-width: 620px;
}

.hero-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #5a6b7b;
    margin-bottom: 18px;
}

.hero-sub {
    font-size: 16px;
    color: #6c7a89;
    margin-bottom: 28px
}

.btn-hero {
    display: inline-block;
    background: #c46a2d;
    color: #fff;
    padding: 14px 26px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 10px;
    transition: all 0.25s ease;
}

.btn-hero:hover {
    background: #a55522;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 20px;
    }
    .hero-visual {
        max-width: 400px;
        margin-top: 20px;
    }
    .hero-content h1 {
        font-size: 34px;
    }
    .grid-3-col, .grid-2x2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .home-heading {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* HOME SECTIONS */
.home-section {
    padding: 20px 0;
}

.section-light {
    background-color: #f4f6f8;
}

.home-heading {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* Section 1: 3 Columns */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.col-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--brand);
}

.col-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

/* Section 2: 2x2 Grid */
.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.domain-card {
    background: var(--white);
    padding: 40px;
    border-top: 2px solid var(--brand);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.domain-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.domain-card h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--ink);
}

.domain-card p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.5;
}

/* Section 3: Feature Blocks */
.feature-stack {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 50px;
}

.feature-row h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--ink);
}

.text-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.text-link:hover {
    border-bottom-color: var(--brand);
}

/* Bridging Section */
.wrap-narrow {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.statement-heading {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.statement-text {
    font-size: 18px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 30px;
}

.keyword-row {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* EXPERTISE PAGE STYLES */

.border-bottom {
    border-bottom: 1px solid var(--line);
}

.capability-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.cap-head .home-heading {
    margin-bottom: 20px;
}

.cap-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 90%;
}

.competency-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.competency-list li {
    font-size: 16px;
    color: var(--ink);
    font-weight: 500;
    border-left: 2px solid var(--line);
    padding-left: 15px;
}

/* Approach Band */
.approach-band {
    background-color: #f8fafc;
    padding: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.process-flow {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--brand);
    letter-spacing: 0.5px;
}

.process-flow .arrow {
    color: var(--muted);
    margin: 0 15px;
    font-weight: 400;
}

@media (max-width: 900px) {
    .capability-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .competency-list {
        grid-template-columns: 1fr;
    }
    .process-flow {
        font-size: 15px;
    }
    .process-flow .arrow {
        margin: 0 8px;
    }
}

/* EXPERIENCE PAGE STYLES */
.exp-block {
    padding: 50px 0;
    border-bottom: 1px solid var(--line);
    max-width: 800px;
    margin: 0 auto;
}

.exp-block:last-child {
    border-bottom: none;
}

.exp-role {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.exp-meta {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.exp-impact {
    margin-top: 24px;
    padding-left: 20px;
    border-left: 3px solid var(--brand);
    font-style: italic;
    color: #4b5563;
    font-size: 16px;
}

.exp-text {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

/* Phase Layout */
.phase-block {
    margin-bottom: 60px;
    padding-left: 0;
}

.phase-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 15px;
}

.phase-text {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 20px;
    max-width: 800px;
}

.phase-contribution {
    font-size: 15px;
    color: var(--ink);
    background-color: #f3f4f6;
    padding: 15px 20px;
    border-left: 4px solid var(--brand);
    display: inline-block;
    max-width: 760px;
}

/* Sector Matrix */
.sector-matrix {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
}

.matrix-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.matrix-domain {
    font-weight: 600;
    color: var(--brand);
    font-size: 16px;
}

.matrix-contrib {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .matrix-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* INITIATIVES PAGE STYLES */
.initiative-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--line);
    max-width: 800px;
    margin: 0 auto;
}

.initiative-section:last-child {
    border-bottom: none;
}

.initiative-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 16px;
}

.initiative-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 20px;
}

.initiative-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--brand);
    text-decoration: none;
}

.initiative-link:hover {
    text-decoration: underline;
}
.initiative-block {
    max-width: 760px;
    margin: 0 auto 48px auto;
}

.initiative-block h2 {
    margin-bottom: 8px;
    font-weight: 500;
}

.initiative-theme {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 14px;
}

.initiative-description {
    margin-bottom: 14px;
    line-height: 1.7;
}

.initiative-link a {
    text-decoration: none;
    color: #243a5e;
    font-weight: 500;
}

.initiative-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 40px 0;
}
/* -----------------------------
   CONTACT / ENQUIRY PAGE
------------------------------ */

.contact-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 35px;
    color: #4b5563;
    line-height: 1.6;
}

/* Form Container */
.enquiry-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 34px 38px;
}

/* Form Fields */
.enquiry-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #374151;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #fff;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: #243a5e;
}

/* Field spacing */
.form-group {
    margin-bottom: 22px;
}

/* Button */
.enquiry-form button {
    background: #243a5e;
    color: #fff;
    padding: 12px 26px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.enquiry-form button:hover {
    background: #1a2b45;
}

/* Notes under form */
.form-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 18px;
    line-height: 1.5;
}

/* Success / Error Messages */
.form-message {
    padding: 14px 16px;
    margin-bottom: 25px;
    font-size: 14px;
}

.form-message.success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-message.error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #7f1d1d;
}

.contact-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 20px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 35px;
    color: #4b5563;
    line-height: 1.6;
}

.enquiry-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 36px 40px;
}

.form-group {
    margin-bottom: 22px;
}

.enquiry-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #374151;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: #243a5e;
}

.enquiry-form button {
    background: #243a5e;
    color: #fff;
    padding: 12px 26px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.enquiry-form button:hover {
    background: #b05d25;
}

.form-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 18px;
}

@media (max-width: 640px) {
    .enquiry-form {
        padding: 26px 20px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .enquiry-form {
        padding: 26px 20px;
    }
}

/* VERIFICATION PAGE */
.verify-section {
    padding: 100px 20px;
    background: #f7f9fc;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-container {
    max-width: 720px;
    width: 100%;
}

.verify-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    text-align: center;
}

.verify-card h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1e2a38;
}

.verify-card p {
    font-size: 18px;
    line-height: 1.6;
    color: #5a6b7b;
    margin-bottom: 30px;
}

.verify-card.success {
    border-top: 5px solid #28a745;
}

.verify-card.error {
    border-top: 5px solid #dc3545;
}

.btn-primary {
    display: inline-block;
    background: #243a5e;
    color: #fff;
    padding: 12px 26px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #1a2b45;
}
.container {
    width: 1100px;
    max-width: 92%;
    margin: 0 auto;
}

/* Responsive Header Adjustments */
@media (max-width: 1024px) {
    .topbar .wrap {
        gap: 20px;
    }
    .mainnav {
        gap: 15px;
    }
    .mainnav a {
        margin-left: 15px;
    }
    .social {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    /* Header Compactness */
    .topbar {
        padding: 10px 0;
    }
    .topbar .wrap {
        flex-direction: column;
        padding-bottom: 5px;
        gap: 8px;
    }
    .identity img {
        margin: 0 auto;
        height: 42px;
    }
    .identity {
        text-align: center;
        margin-bottom: 5px;
    }
    .mainnav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 0;
    }
    .mainnav a {
        margin: 2px 8px;
        font-size: 14px;
    }
    .social {
        margin-left: 0;
        margin-top: 8px;
        justify-content: center;
    }
    .social a {
        font-size: 18px;
        margin: 0 8px;
    }
    /* Hero Compactness */
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    .hero-content h1 {
        font-size: 28px;
    }
}