
/* Basic Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f8fc;
    color: #26364a;
    line-height: 1.6;
}

/* Navigation Bar */
header {
    background-color: #ffffff;
    padding: 20px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #124b91;
}

nav a {
    text-decoration: none;
    color: #26364a;
    margin-left: 25px;
    font-size: 15px;
    font-weight: bold;
}

nav a:hover {
    color: #1677d2;
}

/* Home Section */
.hero {
    background: linear-gradient(120deg, #123f78, #247bc4);
    color: white;
    text-align: center;
    padding: 110px 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: white;
    color: #124b91;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: #e5efff;
}

/* Common Sections */
section:not(.hero) {
    padding: 65px 8%;
    text-align: center;
}

section h2 {
    font-size: 30px;
    color: #124b91;
    margin-bottom: 20px;
}

section p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 16px;
}

/* Courses Section */
#courses {
    background-color: #ffffff;
}

/* Benefits Section */
#benefits {
    background-color: #eef4fb;
}

/* Contact Section */
#contact {
    background-color: #ffffff;
}

/* Footer */
footer {
    background-color: #123f78;
    color: white;
    text-align: center;
    padding: 22px;
    font-size: 14px;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    nav a {
        margin: 0;
        font-size: 13px;
    }

    .hero {
        padding: 75px 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    section:not(.hero) {
        padding: 45px 6%;
    }
}


/* Course Cards Layout */

#course-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* Individual Course Card */

.course-card {
    background-color: #f5f8fc;
    padding: 30px 22px;
    border-radius: 10px;
    border: 1px solid #dce7f3;
    text-align: left;
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.course-card h3 {
    color: #124b91;
    font-size: 19px;
    margin-bottom: 15px;
}

.course-card p {
    color: #526276;
    font-size: 14px;
    margin-bottom: 22px;
}

/* Enquiry Button */

.course-btn {
    display: inline-block;
    background-color: #1768ad;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 5px;
    font-size: 14px;
}

.course-btn:hover {
    background-color: #123f78;
}

/* Responsive Course Cards */

@media (max-width: 768px) {
    #course-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    #course-list {
        grid-template-columns: 1fr;
    }
}

/* About Section */

.about-text {
    line-height: 1.9;
    color: #526276;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.about-points div {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #dce7f3;
}

.about-points h3 {
    color: #1768ad;
    margin-bottom: 10px;
    font-size: 18px;
}

.about-points p {
    font-size: 14px;
    color: #526276;
}

@media (max-width: 600px) {
    .about-points {
        grid-template-columns: 1fr;
    }
}

/* Benefits Section */

.benefit-intro {
    color: #526276;
    margin-bottom: 35px;
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 30px;
}

.benefit-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #dce7f3;
    text-align: center;
    transition: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.benefit-card h3 {
    color: #1768ad;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #526276;
    font-size: 14px;
}

@media (max-width: 768px) {
    .benefit-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .benefit-list {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */

.contact-intro {
    color: #526276;
    margin-bottom: 30px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 750px;
    margin: 35px auto 0;
}

.contact-card {
    background-color: #f5f8fc;
    padding: 30px;
    border: 1px solid #dce7f3;
    border-radius: 10px;
}

.contact-card h3 {
    color: #124b91;
    margin-bottom: 12px;
}

.contact-card p {
    color: #526276;
    margin-bottom: 20px;
}

.contact-card a {
    display: inline-block;
    background-color: #1768ad;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.contact-card a:hover {
    background-color: #123f78;
}

@media (max-width: 600px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

#brochure {
  text-align: center;
  padding: 50px 20px;
  background: #f5f8fc;
}

#brochure h2 {
  color: #124b91;
  margin-bottom: 15px;
}

#brochure p {
  color: #526276;
  margin-bottom: 22px;
}

/* Professional Hero Section */
.hero {
    background: linear-gradient(120deg, #073b78, #1768ad);
    color: white;
    padding: 90px 8%;
    text-align: left;
    border-radius: 0;
}

.hero-content {
    max-width: 850px;
}

.hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: #c8e4ff;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 650px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-secondary {
    background: white;
    color: #124b91;
}

.hero-highlights {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 35px;
    font-size: 14px;
}
/* ERP Hero Visual Card */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    min-width: 260px;
    display: flex;
    justify-content: center;
}

.erp-card {
    background: white;
    color: #124b91;
    padding: 35px;
    border-radius: 18px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.erp-card h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

.erp-card p {
    color: #64748b;
    margin-bottom: 25px;
}

.erp-feature {
    background: #eef6ff;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 55px 6%;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons,
    .hero-highlights {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
    }

    .erp-card {
        max-width: 100%;
        text-align: left;
    }
}
footer {
    background: #073b78;
    color: white;
    text-align: center;
    padding: 22px 10px;
    font-size: 14px;
}

footer p {
    margin: 5px;
}

/* Professional Contact Section */
#contact {
    background: #f3f7fc;
    padding: 70px 8%;
    text-align: center;
}

#contact h2 {
    color: #124b91;
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-intro {
    color: #64748b;
    margin-bottom: 35px;
}

.enquiry-form {
    background: white;
    max-width: 600px;
    margin: auto;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: left;
}

.enquiry-form h3 {
    color: #124b91;
    margin-bottom: 10px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 13px;
    margin: 10px 0;
    border: 1px solid #d5dfeb;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.enquiry-form button {
    width: 100%;
    padding: 14px;
    background: #1768ad;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.enquiry-form button:hover {
    background: #073b78;
}

.contact-container {
    margin-top: 35px;
    color: #526276;
    line-height: 2;
}
/* ===== SIR KE CHANGES: Navy + Teal Theme ===== */
:root {
    --navy-900: #0A1B44;
    --navy-700: #0F2F6B;
    --blue-500: #2563EB;
    --teal: #14C8A8;
}

* { font-family: 'Inter', Arial, sans-serif; }

/* Header */
header {
    background: linear-gradient(90deg, var(--navy-900), var(--navy-700));
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 10;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}
.logo span { color: var(--teal); }
nav a { color: #DCE7FA; }
nav a:hover { color: var(--teal); }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, #0E5A8F 100%);
}
.hero-tag {
    background: var(--teal);
    color: var(--navy-900);
    padding: 7px 16px;
    border-radius: 999px;
}
.hero-highlights { color: #CFE0FA; }

/* Buttons (hero) */
.btn {
    background: var(--teal);
    color: var(--navy-900);
    border-radius: 999px;
    padding: 13px 28px;
}
.btn:hover { background: #2EE0C0; }
.hero-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--teal);
}
.hero-secondary:hover { background: rgba(20, 200, 168, 0.15); }

/* Hero card */
.erp-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: none;
}
.erp-card p { color: var(--teal); font-weight: 600; }
.erp-feature {
    background: rgba(10, 27, 68, 0.55);
    border-left: 4px solid var(--teal);
}

/* Headings */
section h2, #contact h2, #brochure h2 { color: var(--navy-900); }

/* Cards: teal top border + navy headings */
.about-points div,
.benefit-card,
.course-card { border-top: 4px solid var(--teal); }

.about-points h3,
.benefit-card h3,
.course-card h3,
.contact-card h3,
.enquiry-form h3 { color: var(--navy-900); }

/* Blue buttons (courses, contact, form) */
.course-btn,
.contact-card a,
.enquiry-form button {
    background: var(--blue-500);
    border-radius: 999px;
}
.course-btn:hover,
.contact-card a:hover,
.enquiry-form button:hover { background: var(--navy-700); }

/* Brochure section (dark navy) */
#brochure {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
#brochure h2 { color: #ffffff; }
#brochure p { color: #CFE0FA; }
#brochure .course-btn {
    background: var(--teal);
    color: var(--navy-900);
    font-weight: 700;
}
#brochure .course-btn:hover { background: #2EE0C0; }

/* Footer */
footer {
    background: var(--navy-900);
    border-top: 4px solid var(--teal);
}
.who-for {
    margin-top: 30px;
    padding: 16px 20px;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.07);
    border-left: 4px solid var(--teal);
    border-radius: 0 12px 12px 0;
}
/*Who For*/
.who-for h4 { color: var(--teal); font-size: 16px; margin-bottom: 4px; }
.hero .who-for p { margin: 0; font-size: 15px; }
.hero .hero-tagline { margin: 22px 0 0; font-weight: 700; color: var(--teal); }

.top-bar { background: #0F2F6B; color: #fff; text-align: center; padding: 10px 16px; font-size: 14px; }
.top-bar a { color: var(--teal); font-weight: 700; margin-left: 8px; text-decoration: none; }
/*cta card*/
.cta-card { background: var(--navy-900); border-radius: 24px; padding: 50px 25px; max-width: 700px; margin: 0 auto; }
.cta-card h2 { color: #ffffff; }
.cta-card p { color: #CFE0FA; margin-bottom: 26px; }

/*footer*/
footer { text-align: left; padding: 50px 8% 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; margin-bottom: 12px; }
.footer-grid a { display: block; color: #B9C8E6; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--teal); }
.footer-grid p { color: #B9C8E6; font-size: 14px; margin-top: 12px; }
.copy { text-align: center; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
/*Banner*/
.pb { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 50px 8% 0; }
.pb-inner { max-width: 1000px; margin: 0 auto; }
.pb-title { font-size: clamp(34px, 7vw, 64px); font-weight: 800; line-height: 1.1; }
.pb-title em { font-style: normal; color: var(--teal); }
.pb-sub { font-size: 22px; margin: 12px 0; }
.pb-text { max-width: 560px; color: #D3E0F7; margin-bottom: 22px; }
.pb-pill { display: inline-block; background: var(--teal); color: var(--navy-900); font-weight: 700; padding: 12px 26px; border-radius: 999px; }
.pb-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: #F2F7FC; color: var(--navy-900); border-radius: 20px 20px 0 0; padding: 24px; margin-top: 36px; }
.pb-info h4 { margin-bottom: 4px; }
.pb-info p { font-size: 15px; color: #26364a; }
.pb-info a { color: var(--blue-500); font-weight: 600; text-decoration: none; }
@media (max-width: 700px) { .pb-info { grid-template-columns: 1fr; } }
/*free workshop*/
#workshop { background: var(--navy-900); }
.ws-card { max-width: 900px; margin: 0 auto; text-align: left; color: #fff; }
.ws-tag { display: inline-block; background: var(--teal); color: var(--navy-900); font-weight: 700; font-size: 13px; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; }
#workshop h2 { color: #fff; font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
#workshop h2 em { font-style: normal; color: var(--teal); }
#workshop p { max-width: none; margin: 0 0 16px; color: #D3E0F7; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.ws-chips span { border: 2px solid var(--teal); border-radius: 999px; padding: 6px 16px; font-weight: 600; }
.ws-details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 32px; }
.ws-details div { border: 2px dashed #3B5BA8; border-radius: 10px; padding: 12px; font-size: 14px; }
.ws-details b { display: block; color: #7FA6FF; margin-bottom: 4px; }
.ws-card h3 { font-size: 26px; margin-bottom: 6px; }
#workshop .ws-note { font-size: 12px; color: #8FA3C8; margin: 28px 0 0; }
@media (max-width: 700px) { .ws-details { grid-template-columns: 1fr 1fr; } }


/* ===== COURSE CARD: NEW DESIGN ===== */
#course-list { align-items: start; }

.course-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #DCE6F4;
    border-top: 4px solid var(--teal);
    border-radius: 18px;
    padding: 26px 22px 22px;
    text-align: left;
}
.course-card h3 { color: var(--navy-900); font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.course-card > p { color: #51607F; font-size: 14px; margin: 0 0 18px; }

/* Open / close bar */
.course-card details { margin-bottom: 18px; }
.course-card summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F2F7FC;
    color: var(--navy-900);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid #DCE6F4;
    border-radius: 12px;
}
.course-card summary::-webkit-details-marker { display: none; }
.course-card summary::after {
    content: "+";
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--blue-500);
    color: #fff;
    font-size: 18px;
    line-height: 1;
}
.course-card details[open] summary {
    background: var(--navy-900);
    color: #ffffff;
    border-color: var(--navy-900);
    border-radius: 12px 12px 0 0;
}
.course-card details[open] summary::after {
    content: "–";
    background: var(--teal);
    color: var(--navy-900);
}

/* Panel inside */
.course-card details > h4,
.course-card details > ul {
    background: #F7FAFE;
    border-left: 1px solid #DCE6F4;
    border-right: 1px solid #DCE6F4;
    margin: 0;
}
.course-card details > h4 {
    color: var(--navy-900);
    font-size: 15px;
    padding: 16px 16px 4px;
}
.course-card details > h4::before {
    content: "";
    display: inline-block;
    width: 4px; height: 14px;
    margin-right: 8px;
    border-radius: 2px;
    background: var(--teal);
    vertical-align: -2px;
}
.course-card details > ul {
    list-style: none;
    padding: 0 16px 12px;
}
.course-card details > ul:last-of-type {
    border-bottom: 1px solid #DCE6F4;
    border-radius: 0 0 12px 12px;
}

/* List items with round markers */
.course-card details li {
    position: relative;
    padding: 7px 0 7px 34px;
    font-size: 14px;
    line-height: 1.45;
    color: #26364a;
}
.course-card details li::before {
    position: absolute;
    left: 0; top: 7px;
    width: 22px; height: 22px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

/* 1st list: numbered modules */
.course-card details > ul:nth-of-type(1) { counter-reset: mod; }
.course-card details > ul:nth-of-type(1) li { counter-increment: mod; }
.course-card details > ul:nth-of-type(1) li::before {
    content: counter(mod);
    background: var(--navy-900);
    color: #fff;
}
/* 2nd list: ticks */
.course-card details > ul:nth-of-type(2) li::before {
    content: "✓";
    background: rgba(20, 200, 168, 0.2);
    color: #0B8F78;
}
/* 3rd list: hands-on */
.course-card details > ul:nth-of-type(3) li::before {
    content: "▶";
    font-size: 8px;
    background: var(--blue-500);
    color: #fff;
}

/* Enquire button at the bottom of every card */
.course-card .course-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    background: var(--blue-500);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 18px;
    border-radius: 999px;
}
.course-card .course-btn:hover { background: var(--navy-700); }
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}
.logo span { color: #14C8A8; }
.logo svg { flex-shrink: 0; }

/* ===== SESSION DETAILS BANNER ===== */

.session-banner {
    background: linear-gradient(120deg, #0A1B44, #0F2F6B);
    color: #ffffff;
    padding: 45px 7%;
    border-top: 4px solid #14C8A8;
    border-bottom: 4px solid #14C8A8;
}

.session-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.session-brand h2 {
    color: #ffffff;
    font-size: 25px;
}

.session-brand h2 span {
    color: #14C8A8;
}

.enroll-label {
    background: #14C8A8;
    color: #0A1B44;
    padding: 9px 18px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 13px;
}

.session-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 25px;
    align-items: center;
}

.session-heading h1 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 45px);
    line-height: 1.2;
    margin-bottom: 12px;
}

.session-heading p {
    color: #D3E0F7;
    font-size: 15px;
    font-style: italic;
}

.session-feature {
    text-align: center;
    border-left: 2px solid #14C8A8;
    padding: 12px;
}

.session-icon {
    font-size: 35px;
    color: #14C8A8;
    margin-bottom: 12px;
}

.session-feature p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

.session-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.session-enroll {
    display: inline-block;
    background: #14C8A8;
    color: #0A1B44;
    padding: 13px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.session-enroll:hover {
    background: #2EE0C0;
}

.session-emails {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.session-emails a {
    color: #D3E0F7;
    text-decoration: none;
    font-size: 14px;
}

.session-emails a:hover {
    color: #14C8A8;
}

/* Mobile Responsive */

@media (max-width: 800px) {
    .session-content {
        grid-template-columns: 1fr 1fr;
    }

    .session-heading {
        grid-column: 1 / -1;
    }
}

@media (max-width: 500px) {
    .session-content {
        grid-template-columns: 1fr;
    }

    .session-heading {
        grid-column: auto;
    }

    .session-feature {
        border-left: none;
        border-top: 1px solid #14C8A8;
        padding-top: 20px;
    }

    .session-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Space between the two sections */
.who-for {
    margin-bottom: 30px;
}

.pb-pill {
    margin-top: 30px;
}
.hero-visual {
    position: relative;
    top: 200px;
}
.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    display: block;
}
<!---->

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;

}
.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
}
<!---->

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.hero-visual {
    transform: translateY(-180px);
}
