body {
   
    margin: 0;
    background-color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    
}

.main-section {
    max-width: 832px;
    display: grid;
    grid-template-columns: [line1] 40px [line2] 1fr [line3] 1fr [line4] 1fr [line5] 1fr [line6] 1fr [line6] 1fr [line6] 40px [end];
    grid-template-rows: auto auto 50px auto 80px auto auto auto;
    gap: 0px 0px;
    background-color: #1d1d1d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #C5C5C5;
    font-size: 18px;
    background-clip: padding-box;
    box-sizing: border-box;
}
.h2 {
    color: #ffffff;
}

.main-title {
    grid-row: 1 / 2;
    grid-column: 2 / 8;
    text-align: center;
    font-size: 30px;
    color: white;
}

.main-title h1 {
    margin-bottom: 0px;
}

.main-subtitle {
    grid-row: 2 / 3;
    grid-column: 2 / 8;
    text-align: center;
    font-size: 22px;
}
.main-subtitle p:first-of-type {
    margin-top: 0px;
    margin-bottom: 40px;
}

.compatibility {
    grid-row: 3 / 4;
    grid-column: 2 / 8;
    padding-top: 10px;
}
.pill {
    background: #313035;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}
.bgstatue {
    grid-row: 1 / 3;
    grid-column: 2 / 8;
    background-image:url('assets/test.png');
    border-radius: 15px;
}
.video-river {
    grid-row: 4 / 5;
    grid-column: 2 / 8;
}
.video-river video {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: block;
}
.river-sub {
    text-align: end;
    font-size: 14px;
    color: #6d6d6d;
}
.why-title {
    grid-row: 5 / 6;
    grid-column: 2 / 8;
}
.brick-main {
    grid-row: 6 / 7;
    grid-column: 1 / 9;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    padding-left: 40px;
    padding-right: 40px;
}
.brick-media {
    text-align: center;
}
.brick-media img {
    width: 100%;
    max-width: 376px;
}
.brick-text {
   
}

.transition-right {
    grid-row: 7 / 8;
    grid-column: 1 / 9;
    background: #99999B;
    height: 40px;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.fine-tuned {
    grid-row: 8 / 9;
    grid-column: 1 / 5;
    background: #99999B;
    color: black;
    padding-left: 40px;
    margin-top: -1px;
}

.fine-tuned-node {
    grid-row: 8 / 9;
    grid-column: 5 / 9;
    background: #99999B;
    margin-top: -1px;
    padding-right: 40px;
    display: grid;      
    justify-items: end;
    align-items: center;
}
.fine-tuned-node img {
    width: 100%;
    max-width: 279px;
    height: auto;        
    object-fit: contain;
    display: block;
}
.vertex-paint {
    grid-row: 9 / 10;
    grid-column: 2 / 8;
    margin-top: 30px;
}
.vertex-paint h2 {
    margin-bottom: 0px;
}
.vertex-paint_sub {
    grid-row: 10 / 11;
    grid-column: 2 / 8;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    align-items: center;
}

.video-mud {
    grid-row: 11 / 12;
    grid-column: 2 / 8;
}
.mud-sub{
    text-align: end;
    font-size: 14px;
    color: #6d6d6d;
}

.video-mud video {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: block;
}

.transition-left {
    grid-row: 12 / 13;
    grid-column: 1 / 9;
    background: #99999B;
    height: 40px; 
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    margin-top: 40px;
}

.decals-title {
    grid-row: 13 / 14;
    grid-column: 1 / 9;
    background: #99999B;
    color: black;
    padding-left: 40px;
    margin-top: -1px;
}
.decals-main {
    grid-row: 14 / 15;
    grid-column: 1 / 9;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    background: #99999B;
    padding-left: 40px;
    padding-right: 40px;
}
.decals-text {
    padding-right: 40px;
    color: black;
}
.decals-text p:first-of-type {
    margin-top: 0px;
}

.decals-video {

}
.decals-video video {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: block;
}

.decals-bottom {
    height: 40px; 
    grid-row: 15 / 16;
    grid-column: 1 / 9;
    background: #99999B;
}

.masking {
    grid-row: 16 / 17;
    grid-column: 2 / 8;
    margin-top: 20px;
}

.mask-video {
    grid-row: 17 / 18;
    grid-column: 2 / 8;
}
.masking-sub {
    text-align: start;
    font-size: 14px;
    color: #6d6d6d;
}
.mask-video video {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: block;
}
.transition-last {
    grid-row: 18 / 19;
    grid-column: 1 / 9;
    background: #99999B;
    height: 40px;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    margin-top: 40px;
}
.workflow {
    grid-row: 19 / 20;
    grid-column: 1 / 9;
    background: #99999B;
    color: black;
    margin-top: -1px;
    display: grid;
    text-align: right;
    padding-right: 40px;
}
.workflow h2 {
    margin-top: 0px;
} 
.bathroom-video {
    grid-row: 21 / 22;
    grid-column: 1 / 9;
    background: #99999B;
    padding-left: 40px;
    padding-right: 40px;
}
.bathroom-video video {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: block;
}
.workflow-text{
    grid-row: 22 / 23;
    grid-column: 1 / 9;
    background: #99999B;
    text-align: center;
    color: black;
}

.badge-container-a{
    grid-row: 23 / 24;
    grid-column: 1 / 9;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    padding-left: 40px;
    padding-right: 40px;
    gap: 20px;
}
.badge-container-b{
    grid-row: 24 / 25;
    grid-column: 1 / 9;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    padding-left: 40px;
    padding-right: 40px;
    gap: 20px;
}

div.hm-badge1, div.hm-badge2, div.hm-badge3, div.hm-badge4 {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-self: center;
    margin-top: 20px;
    background-color: #101010;
}


.badge-header {
    background: black;
    padding: 18px 10px;
    font-weight: bold;
    font-size: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.badge-body {
    padding: 30px 26px;
    font-size: 18px;
    line-height: 1.4em;
    color: #e4e4e4;
    flex: 1;
}
.hm_footer {
    grid-row: 25 / 26;
    grid-column: 2 / 8; 
    text-align: center;
}
