* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2933;
    background: #ffffff;
    line-height: 1.6;
}

/* Smooth anchor positioning under sticky header */
html {
    scroll-behavior: smooth;
}

#home,
#services,
#software,
#training,
#founder,
#contact,
#knowledge-network,
section[id] {
    scroll-margin-top: 104px;
}


.container {
    width: 92%;
    max-width: 1180px;
    margin: auto;
}

.site-header {
    background: #071d35;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo-text {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
}

.tagline {
    font-size: 14px;
    color: #d6b25e;
    margin-top: 7px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 24px;
    font-size: 15px;
    font-weight: 500;
}

.main-nav a:hover {
    color: #d6b25e;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}

.hero-section {
    background: linear-gradient(135deg, #071d35 0%, #123b63 100%);
    color: #ffffff;
    padding: 78px 0 95px;
    min-height: 620px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 54px;
    align-items: center;
}

.eyebrow {
    color: #c9972b;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.eyebrow.light {
    color: #f1c96a;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 760px;
}

.hero-subtitle {
    font-size: 20px;
    max-width: 760px;
    color: #edf3f7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    min-height: 50px;
    padding: 13px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-right: 0;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

.primary-btn {
    background: #c9972b;
    color: #071d35;
}

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.outline-dark-btn {
    background: transparent;
    color: #071d35;
    border: 1px solid #071d35;
}

.primary-btn:hover {
    background: #e1b653;
}

.secondary-btn:hover {
    background: #ffffff;
    color: #071d35;
}

.outline-dark-btn:hover {
    background: #071d35;
    color: #ffffff;
}

.hero-card {
    background: #ffffff;
    color: #1f2933;
    padding: 40px 38px;
    border-radius: 14px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 45px rgba(0,0,0,0.22);
}

.hero-founder {
    text-align: center;
}

.hero-founder img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #c9972b;
    margin-bottom: 15px;
}

.hero-founder h3 {
    color: #071d35;
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.2;
}

.hero-credentials {
    font-size: 15px;
    line-height: 1.6;
}

.hero-stats {
    margin-top: 25px;
}

.hero-stats div {
    padding: 12px 0;
    border-top: 1px solid #e5e5e5;
    font-weight: 600;
}


.hero-visual-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.hero-visual-card > img {
    width: 100%;
    display: block;
    height: 360px;
    object-fit: cover;
    object-position: center center;
}

.hero-founder-compact {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #ffffff;
    color: #1f2933;
    padding: 14px 18px;
}

.hero-founder-compact img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c9972b;
    flex: 0 0 auto;
}

.hero-founder-compact strong {
    display: block;
    color: #071d35;
    font-size: 17px;
    line-height: 1.25;
}

.hero-founder-compact span {
    display: block;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 3px;
}

.trust-section {
    background: #f6f8fb;
    padding: 35px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-box {
    background: #ffffff;
    padding: 24px;
    border-left: 5px solid #c9972b;
    box-shadow: 0 5px 18px rgba(0,0,0,0.06);
}

.stat-box h2 {
    color: #071d35;
    font-size: 30px;
}

.section {
    padding: 80px 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 45px;
}

.section-heading h2,
.two-column h2,
.founder-card h2,
.contact-grid h2,
.software-grid h2,
.profile-strip h2,
.simple-page h1 {
    color: #071d35;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(0,0,0,0.04);
}

.service-card h3 {
    color: #071d35;
    margin-bottom: 12px;
}

.dark-section {
    background: #071d35;
    color: #ffffff;
}

.dark-section h2 {
    color: #ffffff;
}

.software-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.feature-list {
    margin: 25px 0;
    padding-left: 22px;
}

.feature-list li {
    margin-bottom: 8px;
}

.software-panel {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 35px;
    border-radius: 14px;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.industry-grid div {
    background: #f6f8fb;
    padding: 22px;
    border-radius: 10px;
    font-weight: 700;
    color: #071d35;
    border-left: 4px solid #c9972b;
}

.muted-section {
    background: #f6f8fb;
}

.two-column {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 45px;
    align-items: start;
}

.info-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.06);
}

.info-box ul {
    padding-left: 22px;
    margin-top: 14px;
}

.founder-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 35px;
    align-items: center;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.founder-photo {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid #c9972b;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-section {
    background: #eef4fa;
}

.profile-strip {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 38px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-section {
    background: #123b63;
    color: #ffffff;
}

.contact-section h2 {
    color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: start;
}

.contact-details {
    margin-top: 26px;
    background: rgba(255,255,255,0.08);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.16);
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details a {
    color: #ffffff;
}

.contact-box {
    background: #ffffff;
    color: #1f2933;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-box h3 {
    color: #071d35;
    margin-bottom: 18px;
    font-size: 26px;
}

.enquiry-form label {
    display: block;
    font-weight: 700;
    margin: 14px 0 6px;
    color: #071d35;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
}

.enquiry-form textarea {
    resize: vertical;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-alert {
    padding: 13px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-weight: 700;
}

.form-alert.success {
    background: #e7f7ec;
    color: #14532d;
    border: 1px solid #bbf7d0;
}

.form-alert.error {
    background: #fdecec;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

.form-note {
    font-size: 13px;
    margin-top: 14px;
    color: #64748b;
}

.captcha-box {
    margin-top: 18px;
}

.full-btn {
    display: flex;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.site-footer {
    background: #051526;
    color: #d8dee6;
    padding: 22px 0;
    font-size: 14px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-links a,
.site-footer a {
    color: #d8dee6;
}

.simple-page {
    padding: 70px 0;
}

.simple-page p,
.simple-page li {
    margin-bottom: 14px;
}

.simple-page ul {
    padding-left: 24px;
    margin-bottom: 22px;
}

@media (min-width: 901px) {
    .hero-section {
        background: linear-gradient(135deg, #071d35 0%, #123b63 100%);
    }

    .hero-grid {
        align-items: start;
    }

    .hero-content {
        padding-top: 55px;
    }

    .hero-visual-card {
        margin-top: -10px;
    }
}

@media (max-width: 900px) {
    .hero-visual-card {
        margin-top: 10px;
    }

    .hero-visual-card > img {
        height: auto;
    }

    .hero-section {
        padding: 50px 0 60px;
        min-height: auto;
    }

    .hero-grid,
    .software-grid,
    .two-column,
    .contact-grid,
    .founder-card,
    .profile-strip {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .stats-grid,
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-card {
        min-height: auto;
    }

    .profile-actions {
        justify-content: flex-start;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 83px;
        right: 0;
        background: #071d35;
        width: 100%;
        padding: 20px;
    }

    .main-nav a {
        display: block;
        margin: 12px 0;
    }

    .main-nav.active {
        display: block;
    }

    .menu-btn {
        display: block;
    }
}

@media (max-width: 600px) {
    .hero-founder-compact {
        align-items: flex-start;
    }

    .hero-founder-compact img {
        width: 46px;
        height: 46px;
    }

    .card-grid,
    .stats-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 55px 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons,
    .profile-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        width: 100%;
    }

    .section-heading h2,
    .two-column h2,
    .founder-card h2,
    .contact-grid h2,
    .software-grid h2,
    .profile-strip h2,
    .simple-page h1 {
        font-size: 30px;
    }

    .founder-card,
    .profile-strip {
        padding: 28px;
    }

    .founder-photo {
        width: 150px;
        height: 150px;
    }

    .footer-flex {
        flex-direction: column;
    }
}
