html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #f3f3f3;
}

header {
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}

.top-bar.filled-header {
    background-color: #0000006b; /* Set your desired background color */
    transition: none; /* Disable transition for the filled header */
}

/* Universal container for full width */
.container-full {
    width: 100%;
    margin: 0 auto;
}

.container-margin {
    margin: 0 auto;
    padding: 0 6%;
}

.breadcrumb-container {
    background-color: #ffffff;
    padding: 10% 8% 2%;
    border-radius: 100px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    display: flex;
    flex-direction: column;
}


.breadcrumb-container .breadcrumb-bookmark {
    display: flex;
    flex-direction: row;

}

.breadcrumb-container .breadcrumb-bookmark a {
    text-decoration: none; 
    color: #2b816e ;
}

.breadcrumb-container .breadcrumb-bookmark span {
    text-decoration: none; 
    color: #5f5f5f;
}

.breadcrumb-container .breadcrumb-header h1 {
    color: #2b816e ;
}

/* Top bar styles */
.top-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 7%;
    padding-top: 5px;
    background-color: transparent;
    box-sizing: border-box;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 35%;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 0;
    transform: skewX(-20deg);
    transform-origin: top left;
}

/* .top-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: white;
    z-index: -1;
} */

.top-bar .logo img {
    max-height: 15vh;
}

.top-bar .contact-info {
    text-align: left;
    display: flex;
}

.top-bar .contact-info-item {
    margin-right: 60px;
    position: relative;
    padding-right: 35px; /* Add some padding to the right */

}

.contact-info-item:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 37px;
    text-shadow: 1px 1px 4px rgb(0 0 0 / 18%);
}

.top-bar .contact-info p {
    margin: 0;
    line-height: 22px;
}

/* Navbar styles */
.navbar {
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    max-width: 100vw;
    width: 65%;
    padding: 5px 0;
    margin: 0;
}
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.navbar ul li {
    margin: 0 5px;
    text-transform: uppercase;
    font-weight: 900;
    position: relative;
}

.navbar ul li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -5px;
    top: 45%;
    transform: translateY(-50%);
    color: #ffffff14;
    font-size: 21px;
    font-weight: 100;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 56%);
}

.navbar ul li a {
    color: #000000;
    text-decoration: none;
    display: block;
    font-weight: bold;
    font-size: 0.8rem;
    position: relative;
    transition: all 0.5s ease-in-out;
    padding: 0.6rem 1.5rem;
}

.scrolled .navbar ul li a {
    color: white !important; /* Ensure white color when scrolled */
}

.navbar ul li.active a {
    border-bottom: #2b816e  solid 2px;
}


.navbar ul li a:hover {
    border-bottom: #ffffff solid 2px;
    transition: all 0.5s ease-in-out;
}

/* hero background part*/
.full-width-background {
    position: relative;
    width: 100%;
    /* height: 600px; */
    margin: 0;
    overflow: hidden;
    margin-top: 30px;
    background-color: #21450a;
    border-radius: 100px;
}

.full-width-background .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../asset/img/bg.jpg');
    background-size: cover;
    background-position: center 59%;
    filter: brightness(50%);
    z-index: 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.arrow-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.arrow-button {
    background-color: #f5f5f5;
    color: black;
    border: none;
    padding: 14px 20px;
    font-weight: 900;
    cursor: pointer;
    text-align: center;
    display: flex;
    font-size: 18px;
    transition: background-color 0.3s ease;
    align-content: center;
    align-items: stretch;
    border-radius: 7px;
}

.arrow-button:hover {
    background-color: #555;
}

.page-counter {
    margin-top: 44px;
    margin-left: 3px;
    font-size: 2rem;
    font-weight: 100;
    line-height: 26px;
    letter-spacing: 0.6em;
    color: #8099a7;
    animation: fadeInUp 1.5s ease-in-out forwards;
    animation-delay: 4.6s;
    opacity: 0;
}

.hero-right {
    position: relative;
    width: 65%;
    height: 600px;
    border-radius: 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    background: white;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-right .text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
    /* width: 250px; */
    text-transform: uppercase;
}

.hero-right .text-overlay .project-text {
    font-size: 1.9rem;
    font-weight: bold;
    text-align: left;
}

.hero-right .text-overlay .project-name-text {
    font-size: 4.5rem;
    font-weight: bold;
    text-align: center;
    line-height: 4.3rem;
}

.hero-right .text-overlay .project-type-text {
    font-size: 1.5rem;
    font-weight: normal;
    text-align: right;
}

.view-project-button {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: transparent;
    color: #ffffff;
    border: 3px solid;
    border-left: none;
    border-bottom: 0;
    padding: 18px 28px;
    font-weight: 900;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    border-top-right-radius: 5px;
}

.view-project-button:hover {
    background-color: #555;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    flex-direction: column;
    overflow: hidden;
}

.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 42%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    
}

.hero-content p {
    font-size: 2rem;
    margin-top: 0;
    font-family: "proxima-nova";
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-content-sub {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-content-line {
    width: 100%;
    height: 2px;
    background-color: black;
    margin: 20px 0;
}

.hero-content-sub-text {
    display: flex;
    flex-direction: row;
}

.hero-content-sub-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.hero-content-sub-text p {
    width: 60%;
    font-size: 1.2rem;
    line-height: 2rem;
    margin: 0;
}

.hero-content-sub .cta-button {
    background-color: transparent;
    color: black;
    padding: 0.5rem 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid black;
    font-size: 0.8rem;
    border-radius: 18px;
    transition: background-color 0.3s ease;
    z-index: 5;
    margin-top: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
}


.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 0 6%;
    flex-direction: column;
}


.project-title h1 {
    text-transform: uppercase;
    font-size: 3rem;
    color: #8099a7;
    font-weight: 100;
    animation: fadeInUp 1s ease-in-out forwards;
    opacity: 0;
    animation-delay: 3.8s;
}

.project-title span {
    color: #a72f2a;
    font-weight: 900;
}

.horizontal {
    display: flex;
    flex-direction: row;
    position: relative;
}



.horizontal-line {
    position: absolute;
    top: 65%;
    left: 29px;
    margin-left: 80px;
    height: 2px;
    background-color: #cbd5e1;
    width: 0;
    transition: width 1s ease-in-out;
    transition-delay: 4.3s;
    z-index: -1;
    transform: translateY(-50%);
}



/* for the services */
.banner2 {
    background-color: transparent;
    padding: 0px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    flex-direction: row;
    margin-bottom: 0% !important;
    background-image: url('../asset/img/wavy-lines.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.banner2-content {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    padding: 20px 0;
    background-image: url('../asset/img/roof-pattern.png');
    background-size: cover;
    background-color: #f1eee5;
    background-blend-mode: lighten;
    color: rgb(0, 0, 0);
    overflow: hidden;
    position: relative;
    align-items: center;
    border: 2px solid;
    border-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.banner2-content .cta-button {
    color: black;
    position: relative;
}

.banner2-content::before {
    content: '';
    position: absolute;
    top: 0;
    /* left: 59%; */
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #f1eee5, transparent);
    z-index: 0;
    /* transform: skewX(-20deg); */
    transform-origin: top left;
}

.compartment-number {
    color: #2b816e ;
    font-weight: bold;

}

.banner2-content p {
    position: relative;

    margin: 0;
    font-size: 1rem; /* Adjust font size as needed */
    font-weight: bold;
}

.banner2-content .compartment {
    flex: 1;
    text-align: center;
    padding: 10px;
    position: relative;
}



.compartment-1 {
    border-left: none;
    width: 18vw;
    padding-left: 0;
}

.services-detail {
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    color: black;
    padding: 13vh 20px;
    width: 100%;
    overflow: hidden;
}

.compartment {

}

.compartment-icon {
    width: 2.5rem;
    border: 5px solid red;
    padding: 8px;
    border-radius: 15px;
}

/* partners */
.partners {
    position: relative;
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
}

.partners-title {
    /* text-align: center; */
    font-size: 2.3rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 100;
    color: #8d8d8d;
    padding: 0 6%;
}

.partners-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('asset/img/hero2.png'); */
    background-size: cover;
    background-position: center;
    filter: brightness(80%);
    z-index: 0;
    margin: 0 auto;
    margin-top: 3%;
    max-width: 1600px;
}

.partners-background::before {
    content: 'CERTIFICATION';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11rem;
    color: #ababab59;
    text-transform: uppercase;
    z-index: 1;
    pointer-events: none;
}

.partners-content {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 2; /* Ensure logos are above the background and text */
}

.partner-logo {
    max-width: 200px;
    height: 142px;
    /* height: auto; */
    object-fit: contain;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 5px;
    opacity: 66%;
}



/* banner*/

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

.banner {
    background-color: #ffffff;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.banner-content {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to right, white, #8099a7);
    color: #4f4f4f;
    overflow: hidden;
    position: relative;
    align-items: center;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 10px;
}

.banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 59%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #8099a7, #a72f2a);
    z-index: 0;
    transform: skewX(-20deg);
    transform-origin: top left;
}

.cta-button {
    background-color: transparent;
    color: black;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid black;
    font-size: 0.8rem;
    border-radius: 18px;
    transition: background-color 0.3s ease;
    z-index: 1;
    margin-top: 8px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
}

.icon-circle {
    padding: 10px;
    background-color: #2b816e ;
    border-radius: 16px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.bx {
    font-family: boxicons!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    font-size: 1.8rem;
    text-rendering: auto;
    display: inline-block;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.banner-content p {
    position: relative;

    margin: 0;
    font-size: 1rem; /* Adjust font size as needed */
    font-weight: bold;
}


.cta-button:hover {
    background-color: #2b816e; /* Adjust hover color as needed */
}


/* what we offer */

.offer-container {
    margin: 0 !important;
    padding: 3% 6% !important;
    background-color: #f1eee5;
    color: #474747 !important;
    background-image: url('../asset/img/wavy-lines.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.offer h1 {
    font-size: 4rem;
    margin-bottom: 0;
    font-weight: 600;
    text-transform: uppercase;
    width: 50%;
    line-height: 3rem;
}

.offer p {
    margin-top: 150px;
    font-size: 1.24rem;
    line-height: 1.78rem;
}

.scroll-down-indicator {
    position: relative;
    width: 30px;
    height: 50px;
    margin: 0 auto;
    cursor: pointer;
}

.scroll-down-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    background-color: #2b816e ;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-down 1.5s infinite;
}

.scroll-down-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-down-indicator span:nth-child(2) {
    animation-delay: 0.25s;
}

.scroll-down-indicator span:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes scroll-down {
    0%, 20% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(80px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(150px);
    }
}


/* carousel */

.carousel {
    position: relative;
    width: 100vw;
    height: 100vh; /* Ensure the carousel takes up the full viewport height */
    max-height: 3000px;
    overflow: hidden;
}


.carousel-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%; /* Ensure the content takes up the full height */
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.carousel-slide {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-size: auto;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
}


.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-text {
    text-align: center;
    color: white;
    z-index: 2;
    height: 100vh;
    display: flex;
    width: 70%;
    flex-direction: column;
    align-content: center;
    align-items: flex-start;
    justify-content: center;
}

.carousel-text h1 {
    font-size: 7rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.carousel-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.7rem;
    text-align: left;
}

.carouse-span {
    color: #9ecdff;
    font-weight: bold;
}

.carousel-buttons {
    display: flex;
    gap: 4rem;
    width: 100%;
    justify-content: center;
}

.carousel-cta {
    position: relative;
    background-color: transparent;
    color: white;
    border: 2px white solid;
}

.carousel-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: white;
}

/* carousel2 */

.carousel2-wrapper {
    position: relative;
    width: 150vw;
    margin: 0 auto;
    overflow: hidden;
}

.carousel2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 10px;
}

.carousel2 .compartment {
    flex: 0 0 calc(50% - 15px);
    margin: 0 5px;
    height: 300px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: white;
    overflow: hidden;
    display: flex;
    text-align: center;
    justify-content: center;
}

.carousel2 .compartment .caption {
    position: absolute;
    bottom: 0;
    width: auto;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 10px;
    /* border-bottom-right-radius: 10px; */
}

.compartment h3 {
    height: auto;
    margin: 0;
    padding: 5px 15px;
    margin: 0 auto;
    font-weight: 600;
    font-size: 1rem;
}

.carousel2-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.carousel2-arrow {
    background-color: #2b816e;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.2rem;
}

.carousel2-arrow:hover {
    background-color: #003f7f;
}

.carousel2-indicators {
    display: flex;
    gap: 5px;
}

.carousel2-indicator {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.carousel2-indicator.active {
    background-color: #2b816e;
}


/* services */

.services {
    margin-bottom: 5%;
}
.service-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.service-item {
    background-color: #fff;
    /* padding: 20px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    text-align: left;
    width: 100%;
    color: #474747;
}

.service-item img {
    max-width: 100%;
    width: 100%;
    height: 190px;
    object-fit: cover;
    filter: brightness(0.6);
    border-radius: 10px;
}

.service-item h3 {
    margin: 15px 0;
    font-size: 1.2rem;
    color: #474747;
}

.service-item p {
    font-size: 1rem;
    color: #858585;
}


/* learn more button onthe service section */
.learn-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #2d2d2d; /* Adjust the color as needed */
    font-weight: bold;
    transition: color 0.3s ease;
}

.learn-button .icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border-radius: 50%;
    background-color: transparent;
    border: solid 2px;
    color: #2d2d2d;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.learn-button:hover .icon-circle {
    background-color: #2b816e; /* Adjust the hover background color as needed */
}



/* about*/
.about {
    background-color: white;
    padding: 40px 6%;
    margin: 20px 0;
    margin-bottom: 0;
    /* border-radius: 10px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.about-header {
    font-size: 3rem;
    margin-bottom: 0;
    font-weight: 600;
    text-transform: uppercase;
    width: 50%;
    line-height: 3rem;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 0 0%;
    flex-direction: column;
    height: 85%;
    width: 84%;
}

.container-margin {
    margin: 8% 8%;
    padding: 0px 0%;
    color: #dddddd;
}


.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: transparent;
    padding: 0;
    border-radius: 10px;
    margin: auto;
    margin-top: 30px;
}

.about-content-left {
    flex: 0 0 54%;
    max-width: 50%;
    position: relative;
}

.about-content-left .cta-button {

    border: white solid 2px;
    color: white;

}


.about-content-left p {
    font-size: 1.24rem;
    line-height: 1.78rem;
}

.about-image {
    width: 228px;
    height: auto;
    display: block;
    margin-bottom: 2px;
    border-radius: 7px;
}

.about-image-1 {
    position: absolute;
    top: 0;
    left: 0;
}

.about-image-2 {
    position: absolute;
    top: 222px;
    left: 0;
    margin-top: 22px;
}

.about-image-3 {
    position: absolute;
    top: 30px; /* 30px below the first image */
    left: 250px; /* Fixed position to the right of the first image */
}

.about-content-right {
    flex: 0 0 40%;
    max-width: 40%;
}

.about-content-right img {
    transform: translateX(300px);
    transition: transform 1s ease-in-out;
    object-fit: contain;
    width: 100%;
    border-radius: 25px;
}

.about-content-right h2 {
    font-size: 2.3rem;
    color: #a72f2a;
    margin-bottom: 20px;
    margin-top: 0;
    text-transform: uppercase;
    font-weight: 100;
}

.about-content-right p {
    font-size: 1rem;
    color: #586369;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-content-right .cta-button {
    padding: 10px 20px;
    margin-top: 9px;
    position: absolute;
}

.about-content-right .cta-button:hover {
    background-color: #2b816e; /* Adjust hover background color as needed */
}

.about-content h3 {
    margin-top: 150px;
    color:white;

}

.about-content h4 {
    color:white;
}

.bih {
    width: 150px;
    height: 150px;
}



/* projects */


.projects {
    margin-bottom: 5%;
}
.projects-title {
    /* text-align: center; */
    font-size: 2.3rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 100;
    color: #8d8d8d;
}

.projects-collage {
    display: flex;
    gap: 30px;
    margin-bottom: 24px;
}

.project-box {
    position: relative;
    overflow: hidden;
    flex: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    border-radius: 15px;
    transform: translateY(20px);
}

.project-box img {
    width: 100%;
    height: 100%;
    max-height: 229px;
    object-fit: cover;
}

.project-box-1 {
    position: relative;
    background-image: url('https://judepainting.ca/asset/img/project1.png');
    background-size: cover;
    background-position: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    height: 229px;
}

.project-box-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darker filter */
    z-index: 1; /* Ensure the filter is above the background image */
}

.project-box-1 .project-content {
    position: absolute;
    bottom: 15%;
    left: 9%;
    color: white;
    font-weight: 900;
    z-index: 2;
}

.project-box-1 .project-content h3 {
    margin: 0;
    font-size: 3.5rem;
}

.project-box-1 .project-content p {
    margin: 5px 0 0;
    font-weight: 400;
}

.project-box-2 {
    flex: 1;
}

.project-box-3 {
    flex: 1;
}

.project-box-4 {
    flex: 2;
}

.project-box-5 {
    flex: 1.5;
}

.project-box:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.project-box:hover .project-content {
    z-index: 2;
}

.projects-cta {
    text-align: center;
    margin-top: 24px;
    display: flex;
    flex-direction: row-reverse;
}

.projects-cta .cta-button {
    background-color: #a72f2a;
    color: white;
    padding: 17px 50px;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 300;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.projects-cta .cta-button:hover {
    background-color: #555;
}

.project-content p {
    text-transform: uppercase;
}



/*project page */
.projects-page-title {
    font-size: 2.3rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 100;
    color: #8d8d8d;
}

.projects-page-title span {
    color: #a72f2a;
    font-weight: 700;
}

.projects-list {
    margin-bottom: 5%;
}

.project-item {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    /* background-color: #f9f9f9; */
    /* padding: 20px; */
    border-radius: 10px;
}

.project-image {
    flex: 1 1 45%;
    max-width: 45%;
}

.project-image img {
    width: 100%;
    height: 370px;
    border-radius: 10px;
}

.project-details {
    flex: 1 1 45%;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.project-details h3 {
    margin: 0 0 40px;
    font-size: 2.4rem;
    color: #9f9f9f;
    font-weight: 100;
}

.project-details p {
    margin: 0 0 10px;
    color: #666;
}

.project-details .cta-button {
    align-self: flex-start;
    background-color: transparent;
    color: #a72f2a;
    padding: 10px 20px;
    padding-left: 0;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}




/*footer*/
/* Footer styles */
.footer {
    background-color: #f3f3f3;
    color: #555;
    padding: 40px 0;
    margin-top: 0px;
    background-image: url('../asset/img/wavy-lines.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    max-width: 218px;
    left: -25px;
    /* margin-bottom: 10px; */
    position: relative;
}

.footer-left p {
    margin: 5px 0;
    color: black;
}

.footer-middle {
    flex: 1;
    min-width: 200px;
}

.footer-middle h4 {
    margin-bottom: 10px;
    color: black;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-middle ul li {
    margin-bottom: 5px;
}

.footer-middle ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-middle ul li a:hover {
    color: #f7b731;
}

.footer-right {
    flex: 1;
    min-width: 200px;
}

.footer-right h4 {
    margin-bottom: 10px;
    color: black;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #555;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f7b731;
}

/* contact form */
/* Contact section styles */
.contact {
    background-color: transparent;
    padding: 40px 6%;
    /* margin: 20px 0; */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust gap as needed */
}

.contact-left,
.contact-right {
    flex: 1;
    min-width: 300px; /* Ensure the sections don't get too narrow */
}

.contact-left iframe {
    width: 100%;
    height: 100vh;
    border: 0;
    border-radius: 10px;
}

.contact-right h2 {
    font-size: 3.5rem;
    color: #5f5f5f;
    margin-bottom: 20px;
    margin-top: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.contact-right .form-group {
    margin-bottom: 0;
    background-color: transparent;
    padding: 20px;
    padding-bottom: 0;
    border-radius: 15px;
}

.contact-right .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #493433;
    font-size: 1.3rem;
    text-decoration: underline;
}

.contact-right .form-group input,
.contact-right .form-group select,
.contact-right .form-group textarea {
    width: 100%;
    margin-top: 8px;
    padding: 14px 0;
    border: 2px solid #9f9f9f;
    border-radius: 5px;
    font-size: 1rem;
    background-color: transparent;
}

.contact-right .form-group textarea {
    resize: vertical; /* Allow vertical resizing */
}

.contact-right .cta-button {
    background-color: #474747;
    color: white;
    padding: 13px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-right .cta-button:hover {
    background-color: #2b816e; /* Adjust hover background color as needed */
}

/* Form Messages Styling */
#form-messages, #form-messages-template {
    margin-bottom: 20px;
}

#form-messages .success-message, #form-messages-template .success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    animation: slideInFromTop 0.5s ease-out;
}

#form-messages .error-message, #form-messages-template .error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
    animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Submit button loading state */
.contact-right .cta-button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

iframe {
    filter: grayscale(48%);
}


/* Loading screen */
/* Optimized Loading screen styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out;
}

.loading-gif {
    width: 500px;
    height: auto;
    will-change: transform;
}
#loading-text {
    display: flex;
    gap: 2px;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInText 1s 1s forwards;
    color: #2b816e ;
    justify-content: center;
}

.space-span {
    width: 10px;
}

#loading-subtext {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.4s 2s forwards; /* Adjust the delay for the subtext */
    color: #BBBAB8;
    font-size: 1rem;
    text-align: center;
    margin-top: 0px;
    margin-left:7px;
    letter-spacing: 0.23rem;
    top: -20px;
    position: relative;

}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

@keyframes riseUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes curtain {
    to {
        opacity: 1;
    }
}

@keyframes curtainUp {
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* dynamic box selector */

/* Services Detail Section */
.services-detail {
    margin: 70px 0;
    /* gap: 10px; */
}

.services-detail h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.services-detail p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.service-selector {
    display: flex;
    justify-content: space-around;
    position: relative;
}

.selector-box {
    text-align: center;

    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 25%;
    height: 98px;
    border-bottom: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.5rem;
    align-content: center;
}

.selector-box.active {
    background-color: #f0f0f0;
}

.service-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.service-info-box img {
    width: 25%;
    height: 300px;
    margin-right: 20px;
    border-bottom-left-radius: 10px;
}

.service-info-box .info-text {
    flex: 1;
}

.service-info-box .info-text h3 {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.service-info-box .info-text p {
    margin: 0;
}

.service-info-box::before {
    content: '';
    position: absolute;
    top: -20px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #a72f2a transparent;
    display: none;
    transition: left 0.3s ease; /* Add transition for smooth animation */
}

.service-info-box.active::before {
    display: block;
}
.service-info-box.active::before {
    display: block;
}


.service-info-box::before {
    content: '';
    position: absolute;
    top: -20px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #a72f2a transparent;
    display: none;
}

.service-info-box.active::before {
    display: block;
}


/* Accordian FAQ */
.faq-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.faq-accordion {
    flex: 0 0 60%;
    width: 100%;
}


.faq-accordion h2 {
    font-size: 3.5rem;
    color: #5f5f5f;
    margin-bottom: 20px;
    margin-top: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.faq-item {
    border: 2px solid #878787;
    background-color: transparent;
    padding: 12px 20px;
    margin: 12px 0;
    border-radius: 18px;
    color: #3f3f3f;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
}

.faq-number {
    margin-right: 10px;
    font-weight: bold;
    color: #2b816e ;
}

.faq-text {
    flex-grow: 1;
}

.faq-icon {
    transition: transform 0.3s ease;
    font-size: 1.7rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust this value based on the expected maximum height of the answer */
}

.faq-item.active .faq-question {
    color: #203c4d;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-image {
    flex: 0 0 35%;
}

.faq-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 50px;
}

.box-selector .box {
    width: 130px;
    height: 130px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
}


/*hamburger menu*/ 
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    top: 27px;
    right: 37px;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: black ;
    transition: all 0.3s ease;
}

.hamburger-menu.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 5px);
    background-color: #ffffff  !important;
}

.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
    background-color: #ffffff  !important;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 90%;
    background-color: #21450ae0;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
}

.mobile-nav.open {
    transform: translateX(20%);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 52%;
}

.mobile-nav ul li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav ul li.show {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav .social-media {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav .social-media.show {
    opacity: 1;
    transform: translateY(0);
}


/* box selector */
/* Box selector section */
.box-selector-section {
    margin: 46px 0 0 0;
    text-align: center;
}

.box-selector-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #a72f2a;
}

.box-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
}

.box-selector .box {
    width: 100%;
    height: 17vh;
    background-size: cover;
    background-position: center;
    border: 2px solid #adadad;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
}

.box-selector .box:hover {
    transform: scale(1.05);
}

.box-selector .box.selected {
    border-color: #30d3b0 ;
    border: 2px solid #30d3b0 ;
}

.box-selector .box .caption {
    position: absolute;
    top: -14px;
    left: -2px;
    width: 88%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}


/* reveal animation */

.service-item, 
.compartment, 
.faq-item, 
.partner-logo {
    opacity: 0;
    transition: opacity 2s ease, transform 2s ease;
}





/* before and after slider */

div#comparison {
    width: 74vw;
    height: 30vw;
    max-width: 600px;
    max-height: 600px;
    overflow: hidden;
}

div#comparison figure { 
  background-image: url(../asset/img/after.jpeg); 
  background-size: cover;
  position: relative;
  font-size: 0;
  width: 100%; 
  height: 100%;
  margin: 0; 
}
div#comparison figure > img { 
  position: relative;
  width: 100%;
}
div#comparison figure div { 
  background-image: url(../asset/img/before.jpeg);
  background-size: cover;
  position: absolute;
  width: 50%; 
  box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
  overflow: hidden;
  bottom: 0;
  height: 100%;
}

input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    top: -2rem;
    left: -2%;
    background-color: rgb(0 0 0 / 29%);
    width: 102%;
}
input[type=range]:focus { 
  outline: none; 
}
input[type=range]:active { 
  outline: none;  
}

input[type=range]::-moz-range-track { 
  -moz-appearance:none;
    height:15px;
    width: 98%;
    background-color: rgba(255,255,255,0.1); 
    position: relative;
    outline: none;    
 }
input[type=range]::active { 
  border: none; 
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance:none;
    width: 20px; height: 15px;   
    background: #fff;
    border-radius: 0;
   }
input[type=range]::-moz-range-thumb {
  -moz-appearance: none;
  width: 20px;
  height: 15px;
  background: #fff;
  border-radius: 0;
     }   
input[type=range]:focus::-webkit-slider-thumb {
    background: rgba(255,255,255,0.5);
   }
input[type=range]:focus::-moz-range-thumb {
    background: rgba(255,255,255,0.5);
   }




@media (max-width: 768px) {

        .service-item, .compartment, .faq-item, .partner-logo {
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .contact-modal, .banner2-content, .about, .faq-item, .service-item, .project-box {
        box-shadow: none !important;
    }


    .contact-modal {
        max-width: 98vw;
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        font-size: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    }
    .contact-modal .modal-option {
        font-size: 1rem;
        padding: 0.7rem 0.5rem;
    }
    .contact-modal h2 {
        font-size: 1.1rem;
    }
    .contact-modal .modal-close {
        font-size: 1.2rem;
        top: 6px;
        right: 10px;
    }

    .carousel, .carousel-content, .carousel-slide {
        height: 100vh !important;
    }
    .carousel-text {
        width: 98%;
        padding: 0px 7vw;
        text-align: left;
    }
    .carousel-text h1 {
        font-size: 2rem;
    }
    .carousel-text p {
        font-size: 0.95rem;
    }


    .box-selector {
    grid-template-columns: repeat(2, 1fr);
    }

    /* about us value card */

    .value-card {
        color: #5f5f5f;
    }


    /* b & A comparison */
    div#comparison {
        width: 83vw;
        height: 60vw;
    }

    .contact-right .form-group {
        margin-bottom: 20px;
        background-color: #f1eee5;
        padding: 20px;
        padding-bottom: 20px;
        border-radius: 15px;
    }

    .navbar {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
    .box-selector {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 15px; 
    }
    .box-selector .box {
        width: 100%;
        height: 150px;
        background-position: 50% 0%; 
    }
    .box-selector .box .caption {
        position: absolute;
        top: -27px;
        left: 0px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.9rem;
        width: 88%;
    }
    .contact {
        background-color: #ffffff;
        border-radius: 35px;
    }

    .contact-content {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        flex-direction: column-reverse;
    }

    .contact-right .cta-button {
        width: 100%;
    }


    .hero-section {
        height: 129% !important;
        padding: 19% 0;
    }

    /* ifram mobile version */
    .contact-left {
        margin-top: 20%;
    }

    .contact-left iframe {
        height: 50vh;
    }

    /* about apge */
    .breadcrumb-container {
        background-color: #f1eee5;
        padding: 30% 8% 0px;
        border-radius: 10px;
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }


    /* card */
    .value-card a {
        margin-bottom: 80px;
    }


    .loading-gif {
        width: 400px;
        height: auto;
    }

    .contact  {
        padding-bottom: 22% !important;
    }


    /* hero content */
    

    .hero-content-sub-text {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero-content-sub-text p {
        width: 100%;
        font-size: 1.2rem;
        line-height: 2rem;
        margin: 0;
        margin-bottom: 8%;
    }
    .hero-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(255 255 255 / 24%);
        z-index: 1;
    }

    .hero-content-sub .cta-button {
        background-color: transparent;
        /* color: #fff; */
        padding: 0.5rem 1.1rem;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: bold;
        /* border: 2px solid #ffffff9c; */
        font-size: 1.1rem;
        /* border-radius: 18px; */
        transition: background-color 0.3s ease;
        z-index: 2;
        margin-top: 8px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 21px;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content h1 {
        font-size: 2.7rem;
        margin-bottom: 0;
        font-weight: 300;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        width: 100%;
        text-align: center;
    }
    .hero-content p {
        font-size: 1.4rem;
        margin-top: 5%;
        font-family: "proxima-nova";
        text-transform: uppercase;
        letter-spacing: 0.2em;
    }

    .hero-right .text-overlay .project-name-text {
        font-size: 4rem;
        font-weight: bold;
        text-align: center;
        line-height: 4.3rem;
    }
    .hero-container {
        padding: 0;
    }
    .hero-left {
        width: 100%;
        padding: 0 6%;
        margin-bottom: 10%;
    }

    .cta-button {
        background-color: transparent;
        width: 85%;
        position: relative;
    }


    /*services */

    .carousel2-wrapper {
        width: 100%;
        margin: 8%;
    }

    .carousel2 .compartment {
        flex: 0 0 97%;
    }

    .carousel2 {
        gap:  0;
    }

    .banner2 {
        
        flex-direction: column;
    }

    .container-margin {
        margin: 0;
        padding: 8%;
        color: #dddddd;
    }

    .services-detail {
        display: flex;
        flex-direction: column;
    }
    .compartment {
        width: 100%;
        border-left: none;
        padding-left: 0;
        margin-bottom: 20px;
        padding-bottom: 0px;
        border-bottom: 1px solid;
        height: auto;
    }

    .compartment h3 {
        font-size: 1rem;
    }

    .compartment-icon {
        width: 3.5rem;
    }

    .banner2-content {
        display: none;
    }

    .banner2-content .cta-button {
        color: black;
        position: relative;
    }

    /* carousel */

    .carousel-text h1 {
        font-size: 3rem;
        margin-bottom: 0.1rem;
        text-transform: uppercase;
    }
    .carousel-text p {
        font-size: 1rem;
        margin-top: 0.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.4rem;
        text-align: left;
    }
    
    .carouse-span {
        color: #2b816e ;
        font-weight: bold;
    }

    .carousel-cta {
        position: relative;
        background-color: transparent;
        color: white;
        border: 2px white solid;
        margin-top: 0;
        padding: 0.2rem 0.3rem 0.2rem 1.5rem;
        display: flex;
        justify-content: space-between;
    }

    .carousel-buttons {
        display: flex;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }


    /* offer */
    .offer h1 {
        font-size: 3.5rem;
        margin-bottom: 0;
        font-weight: 600;
        text-transform: uppercase;
        width: 79%;
        line-height: 4rem;
    }

    /*FAQ */
    .faq-container {
        flex-direction: column;
    }

    .faq-image {
        display: none;
    }

    .service-info-box {
        flex-direction: column;
        text-align: center;
    }

    .service-info-box img {
        margin-bottom: 20px;
    }

    .service-info-box::before {
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
    }
    .navbar {
        display: none;
    }
    .full-width-background {
        height: auto;
        margin-top: 0;
    }
    .hero-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
        flex-direction: column;
    }
    .hero-right {
        position: relative;
        width: 100%;
        height: 55vh;
        border-radius: 50px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        overflow: hidden;
        background: white;
    }
    .view-project-button {
        /* border-top-right-radius: 15px; */
        width: 100%;
        border: none;
        /* border-top: 2px solid; */
        /* border-right: none; */
        /* border: none; */
        border-radius: 0;
        background-color: #0000009c;
        font-weight: 500;
        font-size: 0.8rem;
        padding: 23px;
    }

    .project-title h1 {
        font-size: 2.5rem;
        margin: 10px 0;
        margin-top: 40px;
    }
    .arrow-buttons {
        margin-top: 0;
    }
    .arrow-button {
        background-color: #a72f2a;
        color: #ffffff;
    }
    .page-counter {
        margin-top: 14px;
        margin-left: 3px;
        font-size: 1.25rem;
    }
    .horizontal-line {
        top: 57%;
    }

    .banner {
        padding-left: 0;
        background-color: #e5e5e5;
        display: none;
    }
    .banner-content {
        background: linear-gradient(to right, #e5e5e5, #8099a7);
    }


    /* top bar */

    .top-bar .logo img {
        max-height: 70px;
    }
    .top-cta {
        display: none;
    }
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        background-color: transparent;
    }

    .top-bar .contact-info {
        text-align: left;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li {
        margin: 5px 0;
    }

    .top-bar::after {
        background-color: transparent;
    }

    .logo img {
        content: url('../asset/img/logo/base/full/jps_logo_horizontal_base.png');
        transition: opacity 0.5s ease-in-out;
    }

    .scrolled .logo img {
        content: url('../asset/img/logo/base/full/jps_logo_horizontal_white.png');
    }
    .scrolled header {
        background-color: transparent;
    }
    .scrolled {
        background-color: #29292959;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        border-top: none;
    }
    header {
        transition:  1s ease;
    }


    main {
        /* did this because it interferes with certification section background color */
        /* background-color: #cbd5e163; */
        z-index: -2;
        position: absolute;
    }

    .full-width-background {
        border-radius: 50px;
    }


    /* about */

    .about-header {
        font-size: 2rem;
        margin-bottom: 0;
        font-weight: 600;
        text-transform: uppercase;
        width: 100%;
        line-height: 2.5rem;
    }

    .about {
        background-color: #e5e5e5;
    }

    .about-content {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        padding: 0;
        padding-bottom: 15%;
        border-radius: 10px;
        flex-direction: column-reverse;
        align-content: flex-start;
    }
    .about-content-right {
        flex: 0 0 40%;
        max-width: 100%;
    }
    
    .about-content-right h1 {
        font-size: 2.3rem;
        color: #a72f2a;
        margin-bottom: 20px;
        margin-top: 0;
        text-transform: uppercase;
        font-weight: 600;
    }

    .about-content-right h2 {
        font-size: 1.5rem;
        color: #a72f2a;
        margin-bottom: 0px;
        margin-top: 0;
        text-transform: uppercase;
        font-weight: 100;
    }
    .about-content-right .cta-button {
        padding: 10px 20px;
        margin: 9px 0;
        position: absolute;
        width: 78%;
        background-color: transparent;
        border: #a72f2a solid 2px;
        border-radius: 20px;
        color: #a72f2a;
        text-align: center;
    }
    .about-image {
        width: 40vw;

    }
    
    .about-image-2 {
        position: absolute;
        top: 222px;
        left: 0;
        margin-top: -26px;
    }

    .about-image-3 {
        position: relative;
        top: 45px;
        left: 196px;
    }



    .about-content-left {
        flex: 0 0;
        max-width: 100%;
        position: relative;
    }


    /* project */
    .project-box-1 .project-content h3 {
        margin: 0;
        font-size: 2.2rem;
    }
    .project-box-1 .project-content {
        position: absolute;
        bottom: 15%;
        left: 5%;
        color: white;
        font-weight: 900;
        z-index: 2;
    }
    .projects-collage {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
    }
    .project-box-1 {
        height: 173px;
    }
    .projects-title {
        font-size: 2.3rem;
        color: #a72f2a;
        margin-bottom: 20px;
        margin-top: 0;
        text-transform: uppercase;
        font-weight: 600;
    }
    .projects h2 {
        font-size: 1.5rem;
        color: #a72f2a;
        margin-bottom: 0px;
        margin-top: 20%;
        text-transform: uppercase;
        font-weight: 100;
    }
    .projects {
        margin-bottom: 20%;
    }
    .project-box-1 .project-content p {
        font-size: 0.9rem;
    }

    .projects-cta .cta-button {
        padding: 10px 20px;
        margin: 9px 0;
        position: relative;
        width: 100%;
        background-color: transparent;
        border: #a72f2a solid 2px;
        border-radius: 20px;
        color: #a72f2a;
        text-align: center;
    }


    /*FAQ */
    .faq {
        margin-bottom: 20%;

    }

    .faq-accordion h2 {
        font-size: 3.5rem;
        color: #5f5f5f;
        margin-bottom: 20px;
        margin-top: 0;
        text-transform: uppercase;
        font-weight: 600;
    }


    /* scroll-nav-bar mobile */
    .bx {
        font-size: 1.3rem;
    }
    



    .partners-background::before {
        font-size: 1.5rem;
        color: #6b6b6bb3;
        rotate: 90deg;
        left: 50%;
        top: 469px;
        font-weight: 900;
        letter-spacing: 0.5rem;
    }
    .partners-content {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        z-index: 2;
    }

    .partners-content .partner-logo {
        flex: 0 0 94%;
        margin-bottom: 20px;
        max-width: none;
        max-height: 130px;
    }

    .partners {
        position: relative;
        width: auto;
        margin: 10% 6%;
        padding: 50px 0;
        overflow: hidden;
        border: #8f8f8f solid 3px;
        border-radius: 34px;
        margin-top: 20%;
    }


    /* carousel */
    .carousel-slide::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0 0 0 / 72%);
        z-index: 1;
    }

        /* Mobile loading screen optimization */
    .loading-gif {
        height: 100%;
        width: auto;
        max-height: 500px;
    }

    .box-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (between 428px and 1200px) */
@media (min-width: 429px) and (max-width: 768px) {
    .top-bar {
        padding: 10px 2%;
    }

    .navbar ul {
        justify-content: space-around;
    }
}

/* PC (min 768px) */
@media (min-width: 768px) {

    .contact-right .cta-button {
        margin-left: 20px;
    }


    .partners {
        position: relative;
        width: 100%;
        padding: 50px 0;
        overflow: hidden;
        padding-bottom: 12%;
    }



.contact {
    padding: 40px 0;
    /* margin: 20px 0; */
    border-radius: 10px;
    box-shadow: none;
}

.about {
    background-color: white;
    padding: 40px 6%;
    margin: 20px auto;
    margin-bottom: 0;
    /* border-radius: 10px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}


.navbar {
    margin: 0 0;
    width: auto;
}


.banner {
    background-color: #ffffff;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 1400px;

}

.scrolled .top-bar {
    background-color: #0000006b;
}


.top-cta {
    display: flex;
    background-color: rgb(151 151 151 / 0%);
    padding: 1.4% 2%;
    margin-bottom: 5px;
    border-radius: 50px;
    gap: 20px;
}

.top-cta a {
    color: #000000;
    text-decoration: none;
    background-color: #00000000;
    display: block;
    font-weight: bold;
    font-size: 0.8rem;
    position: relative;
    transition: all 0.5s ease-in-out;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border: dashed 2px #2b816e;
    white-space: nowrap;
}

.top-cta a.mail {
    background-color: transparent;
    border: 2px solid #000000;
    color: #000000;
}

.scrolled .top-cta a {
    color: white !important; /* Change font color to white */
}

.scrolled .top-cta a.mail {
    border-color: white !important; /* Change mail border color to white */
}

/* Values section */
.values-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.value-card {
    background-color: transparent;
    color: #5f5f5f;
    padding: 34px;
    border: 3px solid;
    border-radius: 30px;
    text-align: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-card.no-border {
    background-color: #21450a;
    border: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.value-card h1 {
    margin: 15px 0;
}
.value-card h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0;
    text-align: left;
    text-transform: none;
}

.value-card span {
    font-size: 1rem;
}

.value-card .cta-button {
    position:relative;
    border: white 2px solid;
    color: white;;
}

.value-card-word {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}



.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}    


}