:root {
    --navy: #07152f;
    --navy-dark: #041022;
    --green: #79c141;
    --light: #f7f9fb;
    --mist: #eef2f6;
    --border: #dfe5ec;
    --text: #222;
    --shadow: 0 12px 30px rgba(7, 21, 47, .12);
    --shadow-hover: 0 22px 48px rgba(7, 21, 47, .18);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: white;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

header {
    background: rgba(7, 21, 47, .98);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 6px 24px rgba(4, 16, 34, .18);
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease;
}

.logo span {
    color: var(--green);
}

.logo small {
    display: block;
    margin-top: 6px;
    font-size: .7rem;
    letter-spacing: 4px;
    color: var(--green);
}

nav div:last-child {
    display: flex;
    align-items: center;
    gap: 4px 20px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

nav a:hover,
nav a.active {
    color: var(--green);
}

.logo:hover,
nav div:last-child a:hover {
    transform: translateY(-1px);
}

.container {
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

section {
    padding: 88px 24px;
}

.hero {
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 92px 24px;
    background:
        linear-gradient(90deg, rgba(7, 21, 47, .94), rgba(7, 21, 47, .7), rgba(7, 21, 47, .15)),
        url("../images/vertex.hero.png");
    background-size: cover;
    background-position: center;
    color: white;
}

.home-hero {
    min-height: 620px;
}

.hero-content {
    max-width: 660px;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    margin: 0 0 20px;
    line-height: 1.08;
    letter-spacing: -.035em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.1rem);
    line-height: 1.2;
    color: var(--navy);
    margin: 0 0 18px;
    letter-spacing: -.02em;
}

h3 {
    line-height: 1.25;
    margin: 0 0 14px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 580px;
    margin: 0;
}

.green {
    color: var(--green);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    margin-top: 24px;
    background: var(--green);
    color: white;
    text-decoration: none;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(121, 193, 65, .22);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, opacity .2s ease;
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--green);
    margin-left: 12px;
}

.btn:hover {
    opacity: .94;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(121, 193, 65, .28);
}

.btn.secondary:hover {
    background: rgba(121, 193, 65, .12);
}

.strip {
    background: var(--mist);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.cards.three {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cards.two {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: linear-gradient(180deg, #ffffff 0%, var(--light) 100%);
    padding: 38px 32px;
    border-radius: var(--radius);
    border-top: 5px solid var(--green);
    box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.card.icon-card {
    text-align: center;
    padding: 42px 34px 40px;
}


.card.icon-card::before,
.card.simple-icon::before {
    content: "";
    display: block;
    border-radius: 50%;
    background-color: rgba(121, 193, 65, .14);
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid var(--green);
    transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.card.icon-card::before {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background-size: 36px 36px;
    box-shadow: 0 10px 22px rgba(121, 193, 65, .12);
}

.card.simple-icon::before {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    background-size: 28px 28px;
    box-shadow: 0 8px 18px rgba(121, 193, 65, .1);
}

.card.icon-health-safety::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l7%203v5c0%204.5-2.9%208.6-7%2010-4.1-1.4-7-5.5-7-10V6l7-3z%22%2F%3E%3Cpath%20d%3D%22M8.6%2012.1l2.2%202.2%204.8-5%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-compliance::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h8l4%204v14H7z%22%2F%3E%3Cpath%20d%3D%22M15%203v5h5%22%2F%3E%3Cpath%20d%3D%22M9%2013l2%202%204-4%22%2F%3E%3Cpath%20d%3D%22M9%2018h6%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-quality::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l2.4%204.9%205.4.8-3.9%203.8.9%205.4L12%2015.3%207.2%2018l.9-5.4-3.9-3.8%205.4-.8L12%203z%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-sheq::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M12%208v4l3%202%22%2F%3E%3Cpath%20d%3D%22M4%2012h3%22%2F%3E%3Cpath%20d%3D%22M17%2012h3%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-retained::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%204h10a2%202%200%200%201%202%202v14l-7-3-7%203V6a2%202%200%200%201%202-2z%22%2F%3E%3Cpath%20d%3D%22M9%208h6%22%2F%3E%3Cpath%20d%3D%22M9%2012h4%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-audit::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%204h6l1%202h3v15H5V6h3l1-2z%22%2F%3E%3Cpath%20d%3D%22M9%204h6%22%2F%3E%3Cpath%20d%3D%22M8%2011h.1%22%2F%3E%3Cpath%20d%3D%22M11%2011h5%22%2F%3E%3Cpath%20d%3D%22M8%2016h.1%22%2F%3E%3Cpath%20d%3D%22M11%2016h5%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-training::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-4%209%204-9%204-9-4z%22%2F%3E%3Cpath%20d%3D%22M7%2010v5c0%201.7%202.2%203%205%203s5-1.3%205-3v-5%22%2F%3E%3Cpath%20d%3D%22M21%207v6%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-contractor::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021V8l8-4%208%204v13%22%2F%3E%3Cpath%20d%3D%22M9%2021v-7h6v7%22%2F%3E%3Cpath%20d%3D%22M8%2010h.1%22%2F%3E%3Cpath%20d%3D%22M12%2010h.1%22%2F%3E%3Cpath%20d%3D%22M16%2010h.1%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-incident::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l10%2018H2L12%203z%22%2F%3E%3Cpath%20d%3D%22M12%209v5%22%2F%3E%3Cpath%20d%3D%22M12%2018h.1%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-iso::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M8%2012l2.4%202.4L16%209%22%2F%3E%3Cpath%20d%3D%22M12%202v3%22%2F%3E%3Cpath%20d%3D%22M12%2019v3%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-construction::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020h16%22%2F%3E%3Cpath%20d%3D%22M6%2020V9l6-5%206%205v11%22%2F%3E%3Cpath%20d%3D%22M9%2020v-6h6v6%22%2F%3E%3Cpath%20d%3D%22M10%209h4%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-manufacturing::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020V9l5%203V9l5%203V8h6v12H4z%22%2F%3E%3Cpath%20d%3D%22M7%2016h2%22%2F%3E%3Cpath%20d%3D%22M12%2016h2%22%2F%3E%3Cpath%20d%3D%22M17%2016h1%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-engineering::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M12%202v3%22%2F%3E%3Cpath%20d%3D%22M12%2019v3%22%2F%3E%3Cpath%20d%3D%22M4.9%204.9l2.1%202.1%22%2F%3E%3Cpath%20d%3D%22M17%2017l2.1%202.1%22%2F%3E%3Cpath%20d%3D%22M2%2012h3%22%2F%3E%3Cpath%20d%3D%22M19%2012h3%22%2F%3E%3Cpath%20d%3D%22M4.9%2019.1L7%2017%22%2F%3E%3Cpath%20d%3D%22M17%207l2.1-2.1%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-logistics::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207h11v9H3z%22%2F%3E%3Cpath%20d%3D%22M14%2010h4l3%203v3h-7z%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2218%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2218%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-facilities::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2021V4h14v17%22%2F%3E%3Cpath%20d%3D%22M9%2021v-5h6v5%22%2F%3E%3Cpath%20d%3D%22M8%208h2%22%2F%3E%3Cpath%20d%3D%22M14%208h2%22%2F%3E%3Cpath%20d%3D%22M8%2012h2%22%2F%3E%3Cpath%20d%3D%22M14%2012h2%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-sme::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020V9l8-5%208%205v11%22%2F%3E%3Cpath%20d%3D%22M8%2020v-6h8v6%22%2F%3E%3Cpath%20d%3D%22M9%2010h6%22%2F%3E%3Cpath%20d%3D%22M12%207v6%22%2F%3E%3C%2Fsvg%3E");
}

.card.icon-profile::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2379c141%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M5%2021c1.2-4%204-6%207-6s5.8%202%207%206%22%2F%3E%3C%2Fsvg%3E");
}

.card h2,
.card h3 {
    margin-top: 0;
    color: var(--navy);
}

.card.icon-card h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--green);
    margin: 16px auto 0;
    transition: width .22s ease;
}

.card p {
    margin-top: 0;
}

.card p:last-child {
    margin-bottom: 0;
}

@media (hover: hover) {
    .card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
    }

    .card:hover::before {
        transform: translateY(-2px) scale(1.04);
        background-color: rgba(121, 193, 65, .2);
        box-shadow: 0 14px 28px rgba(121, 193, 65, .18);
    }

    .card.icon-card:hover h2::after {
        width: 64px;
    }

    .quote-image:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 46px rgba(7, 21, 47, .22);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 52px;
    align-items: center;
}

.quote-image {
    min-height: 320px;
    border-radius: var(--radius);
    background: url("../images/quote-image.png");
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 35px rgba(7, 21, 47, .18);
    transition: transform .22s ease, box-shadow .22s ease;
}

.team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 28px;
}

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

.contact-panel {
    background: var(--navy);
    color: white;
}

.contact-panel h2 {
    color: white;
}

.contact-detail {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.contact-detail:last-child {
    border-bottom: 0;
}

.contact-detail strong {
    display: block;
    color: var(--green);
    margin-bottom: 4px;
}

.contact-detail a {
    color: white;
    text-decoration: none;
    word-break: break-word;
}

.contact-detail a:hover {
    color: var(--green);
}

label {
    display: block;
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--navy);
}

input,
textarea {
    width: 100%;
    padding: 15px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
    background: white;
    transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(121, 193, 65, .18);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.note {
    margin-top: 18px;
    font-size: .95rem;
    color: #555;
}

.cta {
    text-align: center;
    padding: 68px 24px 88px;
    background: var(--mist);
}

.cta p {
    max-width: 720px;
    margin: 0 auto 10px;
}

.dark {
    background: var(--navy);
    color: white;
}

.dark h2 {
    color: white;
}

footer {
    background: var(--navy-dark);
    color: white;
    text-align: center;
    padding: 42px 24px;
}

@media (max-width: 900px) {
    .cards.three,
    .cards.two,
    .about-grid,
    .contact-grid,
    .team {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    nav div:last-child {
        justify-content: center;
        margin-top: 8px;
        gap: 10px 18px;
    }

    nav a {
        display: inline-block;
    }

    .hero {
        min-height: 420px;
        padding: 64px 20px;
        background-position: 75% center;
    }

    .home-hero {
        min-height: 520px;
    }

    h1 {
        font-size: 2.55rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn,
    .btn.secondary {
        display: block;
        width: fit-content;
        margin-left: 0;
    }

    section {
        padding: 62px 20px;
    }

    .card,
    .card.icon-card {
        padding: 32px 26px;
    }

    .quote-image {
        min-height: 260px;
    }
}
