body {
    font-family: 'Montserrat', sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
    overflow: scroll;
    font-size: 1.5rem;
}

p {
    font-size: 1.5rem;
}

h2 {
    font-size: 2.375rem;
}

section {
    margin: 0;
    padding: 0;
}

.slogan{
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;           /* tight but readable */
    letter-spacing: 8px;  
    margin-bottom: 1.25rem;
}


.navbar {
    padding: 1rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 5.0.313rem;
}

.nav-link:hover {
    color: #ED1C24;
}

.navbar-nav .nav-link.active {
    color: #ED1C24;
    font-weight: 700;
}

.navbar-nav{
    gap: 20px;
    padding-left: 100px;
}

.navbar-toggler{
    border: none;
}

.navbar-toggler:focus{
    box-shadow: 0 0 0 0.2rem rgba(237, 28, 36, 0.25);
}

footer {
    background-color: #cc171e;
    color: #fff;
    padding: 1.25rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 5.0.313rem;
}

.title {
    font-weight: 400;
    color: #ED1C24;

}

.corporate-banner {
    min-height: 70vw;
    background-color: #ffffff;
    overflow: hidden;
}

/* Top-right logo and tagline */
.top-right-banner {
    top: 3%;
    right: 5%;
    z-index: 10;
    position: absolute;
    max-width: 40%;
    padding: 0.625rem;
}

.logo-img {
    width: 100%;
    height: auto;
}

.tagline {
    color: #000;
    margin-top: 1.25rem;
}

/* Background shape (SVG) */
.banner-shape {
    position: relative;
    width: 100%;
    /* Adjust as needed for your SVG's aspect ratio */
    overflow: hidden;
    bottom: 0;
}

.banner-shape img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Ensure text appears above shape */
.z-1 {
    z-index: 1;
}

.corporate-banner-text {
    position: absolute;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    justify-content: end;

}

.text-left-thin {
    color: #FFF;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.text-left-bold {
    color: #FFF;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 5.0.313rem;
    text-transform: uppercase;
}

/* Corporate banner text sizing */
.corporate-right p {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.corporate-right h3 {
    font-size: 3rem;
    margin-top: 0;
    font-weight: 300;
}

.company-info-container .info-container {
    padding-bottom: 1.875rem;
}

.info-container {
    margin-right: 1.25rem;
}

.product-container {
    padding-bottom: 100px;
}

.img-products {
    width: 80%;
    height: 80%;
}

.col-products {
    text-align: center;
}



.section-footer {
    min-height: 1000px;
    overflow: hidden;
}

.footer-logo {
    width: 70%;
    height: auto;
}

.footer-container {
    left: 50%;
    top: 20%;
}

.component-bottom {
    bottom: 0;

}

.footer-text>li {
    font-size: 1.5rem;
}

.polygon-left-text {
    width: 110%;
    max-width: 110%;
    padding: 0.938rem 1.25rem;
    color: white;
    font-family: sans-serif;
    background: linear-gradient(to bottom,
            #1a0000 0%,
            #330000 8%,
            #660000 18%,
            #800000 30%,
            #990000 45%,
            #b30000 50%,
            #990000 55%,
            #800000 70%,
            #660000 82%,
            #330000 92%,
            #1a0000 100%);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    margin-left: 0.625rem
}


.polygon-left {
    position: relative;
    width: 100%;
    height: 43.75rem;
    margin: 1.25rem;
}

.polygon-left::before {
    content: '';
    position: absolute;
    top: -0.625rem;
    left: -0.625rem;
    right: -0.625rem;
    bottom: -0.625rem;
    background: #cc171e;
    clip-path: polygon(0 0, 100% 0, 72% 100%, 0% 100%);
    z-index: -1;
}

.polygon-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(0 0, 98% 0, 70% 100%, 0% 100%);
    border: 0.625rem solid #cc171e;
}

.polygon-right-container {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.polygon-right-container-2 .polygon-right-location {
    display: flex;
    flex-direction: column;
    align-items: start !important;
}

.polygon-right {
    position: relative;
    width: 100%;
    height: 43.75rem;
    margin: 1.25rem;
}


.polygon-right::before {
    content: '';
    position: absolute;
    top: -0.625rem;
    left: -0.625rem;
    right: -0.625rem;
    bottom: -0.625rem;
    background: #cc171e;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: -1;
}

.polygon-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(27% 0, 100% 0, 100% 100%, 2% 100%);
    border: 0.625rem solid #cc171e;
}

.polygon-right-text {
    text-align: end;
    width: 110%;
    max-width: 110%;
    padding: 0.938rem 1.25rem;
    color: white;
    font-family: sans-serif;
    background: linear-gradient(to bottom,
            #1a0000 0%,
            #330000 8%,
            #660000 18%,
            #800000 30%,
            #990000 45%,
            #b30000 50%,
            #990000 55%,
            #800000 70%,
            #660000 82%,
            #330000 92%,
            #1a0000 100%);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    margin-right: 0.625rem;
}

.project-container {
    margin-bottom: 12.5rem;
    z-index: 0;
}

.component-project-top {
    bottom: -12.5rem;
    z-index: -1;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 100px;
}

.grid-item {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;

}

.col-tablet-left {
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 0% 99%);
    text-align: center;
}

.col-tablet-right {
    clip-path: polygon(100% 0%, 25% 0%, 0% 100%, 100% 100%);
    text-align: center;
}

.grid-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.grid-item p {
    margin: 0;
    padding: 15px;
    background: #3E0000;
    background: linear-gradient(90deg, rgba(62, 0, 0, 1) 0%, rgba(129, 1, 0, 1) 50%, rgba(62, 0, 0, 1) 100%);
    color: #fff;
    width: auto;
}

.accessory-images {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.accessory-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.grid-content {
    display: flex;
    flex-direction: column;
}

.grid-content-reverse {
    flex-direction: column-reverse;
}

.shadow-text,
.shadow {
    width: fit-content;
    padding: 20px 80px;
    clip-path: polygon(0% 0%, 100% 0%, 93% 100%, 0% 99%);
}

.shadow-text {
    background-color: #ED1C24;
    color: white;
}

.shadow {
    z-index: -2;
    color: transparent;
    background: #3E0000;
    background: linear-gradient(90deg, rgba(62, 0, 0, 1) 0%, rgba(129, 1, 0, 1) 50%, rgba(62, 0, 0, 1) 100%);
    bottom: -20px;
    left: 20px;
}

@media (min-width: 577px) and (max-width: 991px) {

    h2 {
        font-size: 2rem;
    }

    .project-container title {
        font-size: 1.5rem;
    }

    p,
    li,
    .polygon-left-text,
    .polygon-right-text {
        font-size: 1rem;
        width: 85%;
    }

    .top-right-banner {
        top: 0.938rem;
        right: 0.938rem;
        max-width: 21.25rem;
        padding: 8px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .corporate-left {
        font-size: 2rem;
    }

    .corporate-right p {
        font-size: 1.25rem;
        font-weight: 700;
    }

    .corporate-right h3 {
        font-size: 2.5rem;
        font-weight: 300;
    }

    .footer-text>li {
        font-size: 1rem;
    }

    .company-info-container .info-container {
        padding-bottom: 1.25rem;
    }

    .product-container {
        padding-bottom: 5rem;
    }

    .img-products {
        width: 70%;
        height: 70%;
    }

    .footer-logo {
        width: 40%;
    }

    .footer-container {
        left: 55%;
        top: 25%;
    }

    .polygon-left,
    .polygon-right {
        width: 25rem;
        height: 18.75rem;
        margin: 0.938rem;
    }


    .grid-container {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 20px;
        row-gap: 15px;
    }


    .col-mobile-top {
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0 99%);
        text-align: center;
    }

    .col-mobile-bottom {
        clip-path: polygon(100% 0%, 0% 20%, 0% 100%, 100% 100%);
        text-align: center;

    }

    .navbar-nav {
        padding-left: 0;
     }
}

/* Responsive tweaks */
@media (max-width: 576px) {

    .navbar-nav {
       padding-left: 0;
    }

    h2 {
        font-size: 1.5rem;
    }

    .company-info-container .info-container {
        padding-bottom: 1rem;
    }

    .description p,
    .description ul li {
        font-size: 0.875rem;
    }

    .title {
        margin-bottom: 15px;
    }

    ul li {
        font-size: 0.875rem;
    }

    .polygon-left-text,
    .polygon-right-text {
        font-size: 0.875rem;
        width: 86%;
    }

    .polygon-left-text {
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
        -webkit-clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    }

    .polygon-right-text {
        clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
        -webkit-clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    }

    .top-right-banner {
        top: 0.625rem;
        right: 0.625rem;
        max-width: 15rem;
        padding: 0.313rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .corporate-banner {
        margin-top: 50px;
    }

    .corporate-banner h2 {
        font-size: 1.5rem;
    }

    .corporate-right p {
        font-size: 0.7rem;
        font-weight: 700;
    }

    .corporate-right h3 {
        font-size: 2rem;
        font-weight: 300;
    }

    .footer-text>li {
        font-size: 0.5rem;
    }

    .polygon-left,
    .polygon-right {
        width: 18.75rem;
        height: 12.5rem;
        margin: 0.625rem;
        float: none;
        display: block;
    }

    .polygon-left::before,
    .polygon-right::before {
        top: -0.313rem;
        left: -0.313rem;
        right: -0.313rem;
        bottom: -0.313rem;
    }

    .polygon-left img,
    .polygon-right img {
        border: 5px solid red;
    }

    .grid-container {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 20px;
        row-gap: 15px;
    }

    .grid-item p {
        padding: 10px;
        font-size: 1.25rem;
    }


    .col-mobile-top {
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0 99%);
        text-align: center;
    }

    .col-mobile-bottom {
        clip-path: polygon(100% 0%, 0% 20%, 0% 100%, 100% 100%);
        text-align: center;

    }

    .shadow-text h2,
    .shadow h2 {
        font-size: 2rem;
    }

    .shadow-text p,
    .shadow p {
        font-size: 1rem;
    }

    .shadow-text {
        padding: 10px 20px;
    }

    .shadow {
        padding: 10px 15px;
    }

    .shadow {
        bottom: -15px;
        left: 10px;
    }


}