/* bunny  */
.bunny-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bunny-video-ratio {
    position: absolute;
    inset: 0;
}

.bunny-video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* hero  */

.case-study-hero {
    width: 100%;
    height: calc(100vh - 130px);
    display: flex;
    /* padding: 32px 16px; */
    position: relative;
}

@supports (height: 1dvh) {
    .case-study-hero {
        height: calc(100dvh - 130px);
    }
}

@media (min-width: 767px) and (max-width: 1024px) {
	@supports (height: 1dvh) {
    .case-study-hero {
        	height: calc(100dvh - 60px)!important;
    	}
	}
	.case-study-hero {
		height: calc(100vh - 60px)!important;
	}
}

.case-study-hero .case-study-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: all;
    z-index: 0;
}

@media (max-width: 767px) {
	.case-study-hero .case-study-video {
		pointer-events: all!important;
	}
}

.case-study-hero .case-study-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .1), rgba(0, 0, 0, .15));
    z-index: 1;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    pointer-events: none;
}

.case-study-hero .hero-project-stats {
    padding: 24px;
    z-index: 1;
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #ffffffd9;
    border-top: 6px solid #f42525;
    border-bottom: 6px solid #f42525;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
}

@media (max-width: 767px) {
    .case-study-hero {
        flex-direction: column;
        height: auto;
    }

    .case-study-hero .hero-project-stats {
        max-width: 100%;
        height: fit-content;
        position: static;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        background-color: #fff;
    }

    .case-study-hero .case-study-video {
        position: static;
        min-height: 450px;
    }

    .case-study-hero .hero-project-stats .project-content .project-title h5 {
        margin-bottom: 12px !important;
    }

    .case-study-hero .hero-project-stats .project-content .project-name {
        margin-bottom: 24px !important;
    }

    .case-study-hero .hero-project-stats .project-content .project-stats {
        margin-bottom: 24px !important;
    }
}

@media (max-width: 576px) {
    .case-study-hero .hero-project-stats .project-content .project-stats {
        flex-direction: column;
    }

    .case-study-hero .hero-project-stats .project-content .project-stats .stat {
        width: 100% !important;
    }
}

.case-study-hero .hero-project-stats .project-content {}

.case-study-hero .hero-project-stats .project-content .project-title h5 {
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.case-study-hero .hero-project-stats .project-content .project-name {
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 48px;
}

.case-study-hero .hero-project-stats .project-content .project-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.case-study-hero .hero-project-stats .project-content .project-stats .stat {
    width: calc(50% - 10px);
}

.case-study-hero .hero-project-stats .project-content .project-stats .stat h6 {
    font-weight: bold;
    text-transform: uppercase;
}

.case-study-hero .hero-project-stats .project-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-study-hero .hero-project-stats .project-ctas .project-explore {}

.case-study-hero .hero-project-stats .project-ctas .project-explore a {
    display: flex;
    width: fit-content;
    height: 50px;
    padding: 0 20px;
    color: #fff;
    background-color: #000;
    border: 1px solid transparent;
    border-radius: 2px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    gap: 20px;
    cursor: pointer;
    text-wrap: nowrap;
}

.case-study-hero .hero-project-stats .project-ctas .project-explore a:hover {
    background-color: transparent;
    border: 1px solid black;
    color: #000;
}

/* FOCUS-VISIBLE */
.case-study-hero .hero-project-stats .project-ctas .project-explore a:focus-visible {
    outline: 2px solid black;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px color-mix(in srgb, black 30%, transparent);
}

/* FOCUS (fallback) — for browsers without :focus-visible */
.case-study-hero .hero-project-stats .project-ctas .project-explore a:focus {
    outline: 2px solid black;
    outline-offset: 2px;
}

/* …but don’t show it for mouse clicks in browsers that DO support :focus-visible */
.case-study-hero .hero-project-stats .project-ctas .project-explore a:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* ACTIVE */
.case-study-hero .hero-project-stats .project-ctas .project-explore a:active {
    background-color: #b31313;
    color: #fff;

}

.case-study-hero .hero-project-stats .project-ctas .project-back-to-map {}

.case-study-hero .hero-project-stats .project-ctas .project-back-to-map a {
    display: flex;
    width: fit-content;
    gap: 20px;
    height: 50px;
    padding: 0 20px;
    color: black;
    background-color: transparent;
    border: 1px solid black;
    border-radius: 2px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    text-wrap: nowrap;
}

.case-study-hero .hero-project-stats .project-ctas .project-back-to-map a:hover {
    background-color: black;
    color: #fff;
}

/* FOCUS-VISIBLE — ring outside the border */
.case-study-hero .hero-project-stats .project-ctas .project-back-to-map a:focus-visible {
    outline: 2px solid black;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px color-mix(in srgb, black 25%, transparent);
}

/* FOCUS fallback + suppress mouse focus */
.case-study-hero .hero-project-stats .project-ctas .project-back-to-map a:focus {
    outline: 2px solid black;
    outline-offset: 2px;
}

.case-study-hero .hero-project-stats .project-ctas .project-back-to-map a:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* ACTIVE — darker fill + tiny press */
.case-study-hero .hero-project-stats .project-ctas .project-back-to-map a:active {
    background-color: #f42525;
    border-color: #f42525;
    color: #fff;
}



/* end of hero  */

/* study stats  */

.study-stats-container {
    width: 100%;
    padding: 64px 32px;
    display: flex;
    background: #f7f7fa;
    justify-content: center;
    position: relative;
}

.study-stats-container .study-stats-wrapper {
/*     max-width: 1140px; */
    width: 100%;
}

.study-stats-container .study-stats-wrapper .study-intro {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.study-stats-container .study-stats-wrapper .study-intro h2 {
    font-size: 16px;
    font-weight: bold;
}

.study-stats-container .study-stats-wrapper .study-intro hr {
    width: 40px;
    max-width: 100%;
    height: 3px;
    background-color: red;
    opacity: 1;
    margin: 8px 0;
}


.study-stats-container .study-stats-wrapper .study-services-wrapper {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.study-stats-container .study-stats-wrapper .study-services-wrapper .study-services-intro {}


.study-stats-container .study-stats-wrapper .study-services-wrapper .study-services-intro h4 {
    margin-bottom: 20px;
}


.study-stats-container .study-stats-wrapper .study-services-wrapper .study-services {
    display: grid;
    gap: 20px;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 768px) and (max-width: 1024px) {
	.study-stats-container .study-stats-wrapper .study-services-wrapper .study-services {
		grid-template-columns: repeat(3, 1fr)!important;
	}
}

@media (min-width: 577px) and (max-width: 767px) {
	.study-stats-container .study-stats-wrapper .study-services-wrapper .study-services {
		grid-template-columns: repeat(2, 1fr)!important;
	}
}

@media (max-width: 576px) {
	.study-stats-container .study-stats-wrapper .study-services-wrapper .study-services {
		grid-template-columns: repeat(1, 1fr)!important;
	}
}

.study-stats-container .study-stats-wrapper .study-services-wrapper .study-services .service {
    display: flex;
    align-items: center;
    gap: 8px;
}

.study-stats-container .study-stats-wrapper .study-services-wrapper .study-services .service svg {
	width: 48px;
	height: auto;
	max-width: 100%;
}

.study-stats-container .study-stats-wrapper .study-statistics {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .study-stats-container .study-stats-wrapper .study-statistics .statistic {
        width: 50% !important;
    }
}

@media (max-width: 767px) {
    .study-stats-container .study-stats-wrapper .study-statistics .statistic {
        width: 100% !important;
    }

    .study-stats-container {
        padding: 32px 16px !important;
    }
}

@media (max-width: 767px) {
    .study-stats-container .study-stats-wrapper .study-services-wrapper {
        align-items: center;
    }

    .study-stats-container .study-stats-wrapper .study-services-wrapper .study-services {
        justify-content: center;
    }
}

.study-stats-container .study-stats-wrapper .study-statistics .statistic {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    width: 25%;
    text-align: center;
}

.study-stats-container .study-stats-wrapper .study-statistics .statistic img {
    width: 120px;
    height: auto;
    max-width: 100%;
}

.study-stats-container .study-stats-wrapper .study-statistics .statistic svg {
    width: 120px;
    height: auto;
    max-width: 100%;
}

.study-stats-container .study-stats-wrapper .study-statistics .statistic h4 {
    font-size: 32px;
    font-weight: bold;
}

.study-stats-container .study-stats-wrapper .study-statistics .statistic p {
    font-size: 16px;
}


/* jumbotron  */

.study-stats-container .project-jumbotron-container {
    width: 100%;
    max-width: 60%;
    bottom: -6%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .study-stats-container .project-jumbotron-container {
        max-width: 80%;
    }
}

@media (max-width: 767px) {
    .study-stats-container .project-jumbotron-container {
        max-width: 95%;
        bottom: -3%;
    }
}

.study-stats-container .project-jumbotron-container a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: #374151;
    border-radius: 2px;
    color: #fff;
    text-decoration: none;
}

.study-stats-container .project-jumbotron-container a:hover {
    background: #252b35;
	color: #fff!important;
}



/* FOCUS-VISIBLE — ring outside the border */
.study-stats-container .project-jumbotron-container a:focus-visible {
    outline: 2px solid #252b35;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px color-mix(in srgb, #252b35 25%, transparent);
}

/* FOCUS fallback + suppress mouse focus */
.study-stats-container .project-jumbotron-container a:focus {
    outline: 2px solid #252b35;
    outline-offset: 2px;
}

.study-stats-container .project-jumbotron-container a:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* ACTIVE — darker fill + tiny press */
.study-stats-container .project-jumbotron-container a:active {
    background-color: #f42525;
    border-color: #f42525;
    color: #fff;
}

.study-stats-container .project-jumbotron-container a span {}

.study-stats-container .project-jumbotron-container a svg {
    width: 24px;
    height: 24px;
    max-width: 100%;
}


/* end of study stats  */

/* project story intro  */

.project-story-intro {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 32px 64px 32px;
}

.project-story-intro .project-story-wrapper {
    max-width: 900px;
    width: 100%;
}

.project-story-intro .project-story-wrapper .project-story-wrapper-intro {}

.project-story-intro .project-story-wrapper .project-story-wrapper-intro h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 24px;
}

.project-story-intro .project-story-wrapper .project-story-intro-fancybox {
    display: grid;
    margin-top: 48px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 767px) {
    .project-story-intro {
        padding: 100px 16px 32px 16px !important;
    }

    .project-story-intro .project-story-wrapper .project-story-intro-fancybox {
        grid-template-columns: repeat(1, minmax(0, 1fr));

    }
}

.project-story-intro .project-story-wrapper .project-story-intro-fancybox a {
    border: 4px solid #081f2d;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: .3s ease;
}

.project-story-intro .project-story-wrapper .project-story-intro-fancybox a:hover {
    border-color: #f42525;
}

.project-story-intro .project-story-wrapper .project-story-intro-fancybox a img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    max-width: 100%;
    border-radius: 8px;
    transition: 0.3s ease;
}

.project-story-intro .project-story-wrapper .project-story-intro-fancybox a img:hover {
    scale: 1.1;
}

.project-story-intro .project-story-wrapper .project-story-intro-fancybox a .project-story-expand-icon {
    align-items: center;
    background-color: #081f2d;
    bottom: 0;
    color: #000;
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 0;
    width: 40px;
    z-index: 1;
    font-size: 18px;
}

.project-story-intro .project-story-wrapper .project-story-intro-fancybox a .project-story-expand-icon i {
    color: #fff;
}

/* end of project story intro  */


/* project our plan  */

.project-our-plan {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 32px 64px 32px;
}

.project-our-plan .project-our-plan-wrapper {
    max-width: 900px;
    width: 100%;
    margin-bottom: 48px;
}

.project-our-plan .project-our-plan-wrapper h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 24px;
}

.project-our-plan .project-our-plan-wrapper .our-plan-fancybox {}

.project-our-plan .our-plan-fancybox .fancyMainWrapper {
    display: flex;
    gap: 48px;
}

@media (max-width: 1024px) {
    .project-our-plan .our-plan-fancybox .fancyMainWrapper {
        gap: 24px !important;
    }

    .project-our-plan .our-plan-fancybox .fancyMainWrapper .rightImgWrapper {
        gap: 24px !important;
    }

    .project-our-plan .our-plan-fancybox .imgRow {
        gap: 24px !important;
    }
}

.project-our-plan .our-plan-fancybox .fancyMainWrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid #081f2d;
    transition: .3s ease;
}

.project-our-plan .our-plan-fancybox .fancyMainWrapper img:hover {
    border-color: #f42525;

}

.project-our-plan .our-plan-fancybox .fancyMainWrapper .mainImgWrapper {
    width: 50%;
    position: relative;
    border: 1px solid transparent;
}

.project-our-plan .our-plan-fancybox .fancyMainWrapper .mainImgWrapper:hover {}

.project-our-plan .our-plan-fancybox .fancyMainWrapper .rightImgWrapper {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;

}

.project-our-plan .our-plan-fancybox .fancyMainWrapper a {
    overflow: hidden;
    display: flex;
    height: 100%;
}


.project-our-plan .our-plan-fancybox .imgRow {
    display: flex;
    gap: 48px;
}

.project-our-plan .our-plan-fancybox .imgRowImgWrapper.first {
    width: 50%;
    position: relative;
    border: 1px solid transparent;
}

.project-our-plan .our-plan-fancybox .imgRowImgWrapper.first:hover {}


.project-our-plan .our-plan-fancybox .imgRowImgWrapper.second {
    width: 50%;
    position: relative;
    border: 1px solid transparent;
}

.project-our-plan .our-plan-fancybox .imgRowImgWrapper.second:hover {}

.project-our-plan .our-plan-fancybox .hover-img-icon {
    align-items: center;
    background-color: #081f2d;
    bottom: 4px;
    color: #fff;
    display: flex;
    height: 50px;
    justify-content: center;
    position: absolute;
    right: 4px;
    border-bottom-right-radius: 8px;
    width: 50px;
    z-index: 1;
    font-size: 20px;
}

.project-our-plan .our-plan-fancybox .rightImgFirstDiv {
    border: 1px solid transparent;
    position: relative;
}

.project-our-plan .our-plan-fancybox .rightImgFirstDiv:hover {}

@media (max-width: 767px) {
    .project-our-plan .our-plan-fancybox .fancyMainWrapper .mainImgWrapper {
        width: 100%;
    }

    .project-our-plan .our-plan-fancybox .fancyMainWrapper .rightImgWrapper {
        width: 100%;
    }

    .project-our-plan .our-plan-fancybox .fancyMainWrapper {
        flex-direction: column;
    }

    .project-our-plan .our-plan-fancybox .imgRow {
        flex-direction: column;
    }

    .project-our-plan .our-plan-fancybox .imgRowImgWrapper.first {
        width: 100%;
    }

    .project-our-plan .our-plan-fancybox .imgRowImgWrapper.second {
        width: 100%;
    }

    .project-our-plan {
        padding: 32px 16px !important;
    }
}

/* end of project our plan  */


/* project middle  */

.project-middle {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 32px 64px 32px;
}

@media (max-width: 767px) {
    .project-middle {
        padding: 32px 16px !important;
    }

    .project-middle .project-middle-wrapper {
        margin-bottom: 0 !important;
    }
}

.project-middle .project-middle-wrapper {
    max-width: 900px;
    width: 100%;
    margin-bottom: 48px;
}

.project-middle .project-middle-wrapper img {
	width: 100%;
	height: auto;
	max-width: 100%;
	margin-top: 16px;
	border-radius: 8px;
}

.project-middle .project-middle-wrapper h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* end of project middle  */

/* james quote  */

.james-quote-container {
    width: 100%;
    padding: 64px 32px;
    display: flex;
    justify-content: center;
}

.james-quote-container .james-quote-wrapper {
    max-width: 1300px;
    width: 100%;
    padding: 128px 32px 64px 32px;
    position: relative;
    border-radius: 12px;
}

.james-quote-container .james-quote-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 12px;
    z-index: 1;
}

.james-quote-container .james-quote-wrapper .james-bg-img {
    object-fit: cover;
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
}

.james-quote-container .james-quote-wrapper .james-quote-gradient {
    background-image: linear-gradient(0deg, rgba(55, 65, 81, .9) 0%, rgba(55, 65, 81, 0) 60%);
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 12px;
}


.james-quote-container .james-quote-wrapper .james-quote-contents {
    width: 66.67%;
    position: relative;
    color: #fff;
	z-index: 1;
}

@media (max-width: 1024px) {
    .james-quote-container .james-quote-wrapper .james-quote-contents {
        width: 100%;
    }

}

@media (max-width: 767px) {
    .james-quote-container {
        padding: 32px 16px !important;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .james-quote-container .james-quote-wrapper .james-bg-img {
        object-position: 40% left;
    }
}

@media (max-width: 576px) {
    .james-quote-container .james-quote-wrapper .james-bg-img {
        object-position: 70% center;
    }
}

.james-quote-container .james-quote-wrapper .james-quote-contents h3 {
    font-size: 30px;
	color: #fff;
    font-weight: bold;
    margin-bottom: 24px;
}

.james-quote-container .james-quote-wrapper .james-quote-contents h4 {
    font-size: 18px;
	color: #fff;
    font-weight: 500;
}

.james-quote-container .james-quote-wrapper .james-quote-contents a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.james-quote-container .james-quote-wrapper .james-quote-contents a:hover {
    text-decoration: underline;
}

.james-quote-container .james-quote-wrapper .james-quote-contents a svg {
    width: 12px;
    height: auto;
    max-width: 100%;
}

.james-quote-container .james-quote-wrapper .james-quote-signature {
    width: 12rem;
    height: auto;
    max-width: 100%;
    position: absolute;
    right: 32px;
    bottom: 32px;
}

.james-quote-container .james-quote-wrapper .james-quote-signature svg {
    stroke: red;
    fill: red;
}

/* end of james quote  */

/* problems solutions  */

.problems-solutions-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 32px 64px 32px;
}

.problems-solutions-container .problems-solutions-wrapper {
    max-width: 900px;
    width: 100%;
    margin-bottom: 48px;
}

.problems-solutions-container .problems-solutions-wrapper img {
	border-radius: 8px;
	width: 100%;
	margin-top: 16px;
	height: auto;
	max-width: 100%;
}

@media (max-width: 767px) {
    .problems-solutions-container {
        padding: 32px 16px !important;
    }

    .problems-solutions-container .problems-solutions-wrapper {
        margin-bottom: 0;
    }
}

.problems-solutions-container .problems-solutions-wrapper h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* end of problems solutions  */


/* project end  */

.project-end-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 32px 64px 32px;
}

.project-end-container .project-end-wrapper {
    max-width: 900px;
    width: 100%;
    margin-bottom: 48px;
}

@media (max-width: 767px) {
    .project-end-container {
        padding: 32px 16px !important;
    }

    .project-end-container .project-end-wrapper {
        margin-bottom: 0;
    }
}

.project-end-container .project-end-wrapper h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* end of project end  */