#site-content {
    margin-top: -40px;
}
.outline {
    color: var(--navy);
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.white-overlay {
    background: rgba(255, 255, 255, 0.9);
}

@keyframes scrollCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideBackground {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-50%); /* Move half height to create seamless loop */
    }
  }

.btn-gold {
    margin-top: 40px;
    font-size: 22px;
    background-color: var(--gold);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.25);
    padding: 14px 56px;
    border-radius: 110px;
    color: #000;
    font-family: 'Titillium Web', sans-serif;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.hero {
    min-height: 100vh;
    background: var(--navy);

    & .page-content {
        padding: 30vh 20px;
        text-align: center;
        position: relative;
        z-index: 99999;
    }

    & h1, h2 {
        color: #fff;
    }

    & .hero-bottom {
        margin: 30vh auto 0px auto;
        max-width: 991px;

        & p {
            font-size: 42px;
            color: #fff;
        }
    }

    & .hero-icon {
        margin: 0 auto -80px auto;
    }

    & .continue {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }

    & .background-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0.2;
      }
  
      & .background-slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 200%; /* Extra tall to accommodate all images */
        animation: slideBackground 60s linear infinite;
		overflow: hidden;
      }
  
      & .background-image {
        position: absolute;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      }
  
      & .background-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

}


.services {
    padding: 140px 20px 60px 20px;
    background-color: #fff;
    text-align: center;
    z-index: 9999;

    & h2 {
        color: #000;
    }

    & p {
        max-width: 600px;
        margin-right: auto;
        margin-left: auto;
    }
	
	& .btn-gold {
		margin-right: 40px;
	}

    & .services-container {
        width: 125vw;
        margin-left: -20vw;
        height: 998px;
    }

    & .services-container, .service-cards-wrapper {
        height: 998px;
    }

    & .service-cards-wrapper {
        overflow: hidden;
        width: 100%;
        position: relative;
    }

    & .service-cards {
        margin-top: 60px;
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: repeat(8, 1fr);
        grid-column-gap: 50px;
        grid-row-gap: 50px;
        height: 100%;
        transition: transform 0.1s linear;
    }

    & div#service-cards-clone {
        left: 60px !important;
    }

    & .utilities {
            background-color: var(--gold) !important;
        }
        & .industrial {
            background-color: var(--navy) !important;
            color: #fff;
            & p {
                color: #fff;
            }
        }

    & .service-card {
        border-radius: 10px;
        box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
        padding: 20px;
        text-align: left;
        background-position: center;

        &:nth-child(1) { grid-area: 1 / 1 / 5 / 4; }
        &:nth-child(2) { grid-area: 5 / 1 / 9 / 4; }
        &:nth-child(3) { grid-area: 1 / 4 / 3 / 6; }
        &:nth-child(4) { grid-area: 3 / 4 / 7 / 6; }
        &:nth-child(5) { grid-area: 7 / 4 / 9 / 6; }
        &:nth-child(6) { grid-area: 1 / 6 / 5 / 9; }
        &:nth-child(7) { grid-area: 1 / 9 / 3 / 11; }
        &:nth-child(8) { grid-area: 3 / 9 / 5 / 11; }
        &:nth-child(9) { grid-area: 5 / 6 / 9 / 11; }

        & .card-title {
            background-color: #fff;
            border-radius: 110px;
            padding: 0px 25px;
            display: inline-block;
        }

        & p {
            font-family: 'Titillium Web', sans-serif;
            font-size: 12px;
            color: #000;
            font-weight: 400;
        }
        
        & .utilities {
            background-color: var(--gold) !important;
        }
        & .industrial {
            background-color: var(--navy) !important;
            color: #fff;
            & p {
                color: #fff;
            }
        }
    }
}


.projects {
    background-color: var(--grey);
    padding: 120px 20px 180px 20px;
    z-index: 9999;

    & h3 {
        color: #000;
    }

    & .projects-inner {
        max-width: 1180px;
        margin: 0 auto;
    }

    & .projects-header-content {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 60px;

        & p {
            margin-bottom: 0;
            width: 50%;
            font-family: 'Titillium Web', sans-serif;
        }
    }

    & .swiper-nav {
        margin-top: -60px;
        z-index: 99999;
        position: relative;
    }

    & button.swiper-button-prev-custom {
        margin-right: 20px;
    }

    & .swiper-nav button {
        background-color: #fff;
        color: #000;
        width: 64px;
        height: 40px;
        font-size: 24px;
        line-height: 0;
        box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    }

    & .project-slider {
        /* display: flex;
        gap: 20px; */
        padding: 120px 0px;
        overflow: visible;

        & .project-card {
            border-radius: 10px;
            box-shadow: 0px 20px 100px rgba(0, 0, 0, 0.45);
            padding: 20px;
            height: 500px;
            background-position: center;
            width: calc(33% - 50px) !important;

            & .project-info {
                background-color: #fff;
                border-radius: 10px;
                padding: 20px;
                color: var(--navy);

                & .type, .title, .detail {
                    margin: 0px 0px 10px 0px;
                }

                & .type {
                    font-family: 'Titillium Web', sans-serif;
                    font-size: 14px;
                    text-transform: uppercase;
                    letter-spacing: 1.25px;
                }
                & .title {
                    font-size: 28px;
                    font-family: 'Neuton', serif;
                }
                & .detail {
                    font-family: 'Titillium Web', sans-serif;
                    font-size: 16px;
                }
            }
        }
    }
}

.content-top {
    background-image : url('/wp-content/uploads/2025/05/8fba85e573806864ce9d603c9adc1540-1-e1747341930408.png');
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: -100% 0%;
    text-align: center;
    z-index: 99999;

    & .white-overlay {
        padding: 0px 20px 220px 20px;
    }

    & .content-top-inner {
        max-width: 700px;
        margin: -20px auto 0 auto;
    }

    & p {
        margin: 10px 0px 40px 0px;
    }

    & h2 {
        color: #000;
    }

    & img {
        position: relative;
        top: -120px;
        margin: 0 auto;
    }
}

.content-bottom {
    padding: 120px 20px 220px 20px;
    background-image: url('/wp-content/uploads/2025/05/Logo-Mark.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-color: #fff;

    & .content-bottom-wrapper {
        display: flex;
        gap: 60px;
        justify-content: space-between;
        align-items: center;
        max-width: 1180px;
        margin: 0 auto;
    }

    & .h3 {
        color: #000;
    }

    & p {
        font-family: 'Titillium Web', sans-serif;
        font-size: 21px;
        line-height: 28px;
    }

    & .icon {
        margin: 0px 0px -80px -100px;
    }

    & .content-bottom-inner {
        width: 50%;
    }

    & .grid {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(12, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        max-height: 700px;

        & .grid-item {
            border-radius: 10px;
            box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
            height: 100%;
            width: 100%;
            object-fit: cover;

            &:nth-child(1) { grid-area: 1 / 2 / 5 / 6; }
            &:nth-child(2) { grid-area: 5 / 1 / 10 / 6; }
            &:nth-child(3) { grid-area: 10 / 3 / 13 / 6; }
            &:nth-child(4) { grid-area: 2 / 6 / 6 / 9; }
            &:nth-child(5) { grid-area: 6 / 6 / 12 / 9; }
        }
    }
}


@media screen and (max-width: 991px){
    .services {
        & .services-container {
            width: 100%;
            margin-left: 0;
        }

        & .service-cards-wrapper {
            overflow: visible;
        }

        & .service-cards {
            grid-template-columns: repeat(7, 1fr);
            grid-template-rows: repeat(8, 1fr);
            grid-column-gap: 10px;
            grid-row-gap: 10px;
        }

        & .service-card {
            padding: 10px;
			&:nth-child(1) { grid-area: 1 / 1 / 2 / 4; }
			&:nth-child(2) { grid-area: 2 / 1 / 4 / 4; }
			&:nth-child(3) { grid-area: 4 / 1 / 5 / 4; }
			&:nth-child(4) { grid-area: 1 / 4 / 3 / 8; }
			&:nth-child(5) { grid-area: 3 / 4 / 5 / 8; }
			&:nth-child(6) { grid-area: 5 / 1 / 7 / 4; }
			&:nth-child(7) { grid-area: 7 / 1 / 9 / 4; }
			&:nth-child(8) { grid-area: 5 / 4 / 7 / 8; }
			&:nth-child(9) { grid-area: 7 / 4 / 9 / 8; }
        }
        & .card-title {
            padding: 0px 15px;
        }
    }

    .projects {

        & .project-slider .swiper-slide.project-card {
            flex-direction: column;
            width: 88% !important;
        }
    } 
}

@media screen and (max-width: 768px){
    .hero {
        & br {
            display: none;
        }

        & .hero-bottom p {
            font-size: 28px;
        }

        & .continue {
            display: none;
        }
    }

    .projects {
        & h3 {
            text-align: center;
        }

        & .projects-header-content {
            flex-direction: column;
            align-items: center;
            text-align: center;

            & p {
                width: 100%;
                margin-bottom: 20px;
            }
        }
    }

    .content-bottom {
        & .content-bottom-wrapper {
            flex-direction: column;
        }

        & .content-bottom-inner {
            width: 100%;
        }
    }
	
	.services {
		& .btn-gold {
			margin-right: 0px;
		}
	}
}

@media screen and (max-width: 499px){
	.services {
		& .services-container, .service-cards-wrapper {
			height: auto;
		}
		
		& .service-cards {
			display: block;
		}
		
		& .service-card {
			height: 200px;
			margin-bottom: 20px;
		}
	}
}