/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.4.1750175762
Updated: 2025-06-17 15:56:02

*/

.acf-gallery-slider img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.acf-gallery-slider {
    margin: 0 auto;
    position: relative;
}
.acf-gallery-slider .swiper-slide {
    height: 450px; /* Max height for each slide */
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.acf-gallery-slider img {
    height: 100%;
    width: 100%;
	object-fit: cover;
    /* Ensures image covers container without distortion */
    display: block;
}
.swiper-button-next, .swiper-button-prev{
	color: white!important;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .case-study-grid {
        grid-template-columns: 1fr;
    }
	.acf-gallery-slider .swiper-slide {
    height: 250px; /* Max height for each slide */
}
}


.case-study-card {
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: block;
}

.case-study-card:hover {
    transform: scale(1.02);
}

.case-study-image {
    position: relative;
    height: 360px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

.case-study-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: white;
	backdrop-filter: blur(3px);
}

.case-study-location {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.case-study-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
	color: white;
}





/*homepage team section*/
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1800px!important;
	width: 100%;
    margin: 0 auto!important;
	overflow: hidden;
}
/* large desktops */
@media (max-width: 1400px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* laptops / small desktops */
@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* tablets */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
}

/* mobile */
@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
.team-member {
    text-align: center;
    position: relative;
}

.team-image-container {
    position: relative;
    overflow: hidden;
}

.team-headshot {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.3s ease;
	filter: grayscale(1);
	display: block; 
}

.team-bio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(183, 114, 50, 0.8);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: left;
}

.team-image-container:hover .team-bio-overlay {
    opacity: 1;
}

.team-info {
    margin-top: 1rem;
}

.team-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.team-title {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: #666;
}

.team-bio-content {
    max-height: 100%;
    overflow-y: auto;
    font-size: 0.9rem;
	line-height: 1.4rem;
}

