/* ============================================================================
   SECTION TITLES
   ============================================================================ */

.primary-title {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 90px;
    padding-right: 90px;
    background: var(--secondary);
    color: white!important;
    height: 150px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    margin: 80px 0;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.13em;
}

.secondary-title {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: flex-end;
    padding-left: 90px;
    padding-right: 90px;
    background: var(--secondary);
    color: white!important;
    height: 150px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    margin: 80px 0;
    margin-left: auto;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.13em;
}

@media (max-width: 1024px) {
    .primary-title,
    .secondary-title {
        width: 70%;
        font-size: 2rem;
        height: 120px;
        padding-left: 60px;
        padding-right: 60px;
		align-items: center;
    }
}

@media (max-width: 768px) {
    .primary-title,
    .secondary-title {
        width: 90%;
        font-size: 32px;
        height: 100px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .primary-title {
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    }
    
    .secondary-title {
        clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* ============================================================================
   HERO
   ============================================================================ */

.hero-image {
    background-size: contain;
    width: 100%;
    display: flex;
    background-repeat: no-repeat;
    background-position: top;
	height: 60vw;
}

.hero-overlay {
    display: flex;
	flex-direction: column;
	height: 58%;
    width: 100%;
    max-width: 1440px;
    align-items: flex-end;
    color: white;
    margin: 0px auto;
	position: relative;
	    align-items: flex-end;
    justify-content: center;
	justify-content: flex-end;
	gap: 25%;
}

.plot-hero-video .hero-overlay {
position: absolute;
}

h1.banner-text {
    margin-bottom: 1.5rem;
}


@media (max-width: 768px) {

	
	.hero-overlay {
		height: 450px;
		gap:10px;
		
	}
	
	h1.hero-page-title {
    margin: 0px auto;
}
	
.hero-overlay h1 {
	font-size: 10vw;
}
	
	.hero-image {
    background-size: cover;
    background-position: center;
	height: 600px;
}
	
	
	body:not(.home) .hero-image {
        height: 400px; 
        background-position: left;
    }
}
.banner-subtitle {
    text-transform: uppercase;
    position: relative;
    top: -2vw;
	color: white;
}

	/* Video Hero Styles */
.plot-hero-video {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
	display: flex;
    justify-content: center;
	margin-top: 60px;
}


.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 60vw;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}


/* ============================================================================
   Image Hero Section - New Layout
   ============================================================================ */
.image-hero-section {
    padding: 6rem 0;
    min-height: 900px;
    display: flex;
    align-items: center;
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

/* Background image overlay with opacity control */
.image-hero-section.has-bg-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image-url);
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

.image-hero-section.has-bg-image.bg-contain::before {
    background-size: contain;
	height: 90%;
}

.image-hero-section.has-bg-image.bg-cover::before {
    background-size: cover;
}


.image-hero-section .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
	display: flex;
	flex-direction: row;
	gap: 5vw;
	align-items: center;
}

.image-hero-section .hero-grid {
    display: block;
}

.image-hero-section .hero-content-wrapper {
    max-width: 600px;
}

/* Alignment options */
.image-hero-section.align-left .hero-content-wrapper {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.image-hero-section.align-center .hero-content-wrapper {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.image-hero-section.align-right .hero-content-wrapper {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.image-hero-section .hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 100px;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
}

.image-hero-section .hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0;
    margin: 0 0 1.5rem 0;
    opacity: 0.95;
    border-bottom: 3px solid #ffffff50;
    width: fit-content;
}

/* Align subtitle border based on section alignment */
.image-hero-section.align-center .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.image-hero-section.align-right .hero-subtitle {
    margin-left: auto;
    margin-right: 0;
}

.image-hero-section .hero-description {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 140%;
    letter-spacing: 0;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.image-hero-section .hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* Align buttons based on section alignment */
.image-hero-section.align-center .hero-buttons {
    justify-content: center;
}

.image-hero-section.align-right .hero-buttons {
    justify-content: flex-end;
}

.image-hero-section .hero-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.image-hero-section .hero-button:first-child {
    background-color: #0e0e2c;
    color: white;
}

.image-hero-section .hero-button:first-child:hover {
    background-color: #0a0a20;
    transform: translateY(-2px);
}

.image-hero-section .hero-button:nth-child(2) {
    background-color: #0a2b5e;
    color: white;
}

.image-hero-section .hero-button:nth-child(2):hover {
    background-color: #082348;
    transform: translateY(-2px);
}

.image-hero-section .hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Align features list based on section alignment */
.image-hero-section.align-center .hero-features-list {
    justify-content: center;
}

.image-hero-section.align-right .hero-features-list {
    justify-content: flex-end;
}

.image-hero-section .hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
}

.image-hero-section .checkmark-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.image-hero-section .hero-images-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.image-hero-section .hero-image-item {
    max-width: 100%;
    pointer-events: auto;
}

.image-hero-section .hero-image-item img {
    width: 100%;
    display: block;
	min-width: 50%;
	height: auto;
}

/* Specific positioning for multiple images if needed */
.image-hero-section .hero-images-wrapper .hero-image-1 {
    position: relative;
    z-index: 2;
}

.image-hero-section .hero-images-wrapper .hero-image-2 {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 45%;
    z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .image-hero-section .hero-title {
        font-size: 42px;
		line-height: 140%;
    }
	
		.image-hero-section.has-bg-image.bg-contain::before {
    background-size: cover;
}
    
    .image-hero-section .hero-subtitle {
        font-size: 20px;
    }
    
    .image-hero-section .hero-content-wrapper {
        max-width: 100%;
        text-align: center;
    }
    
    
    .image-hero-section .hero-features-list {
        justify-content: center;
        max-width: 100%;
    }
    
    .image-hero-section .hero-images-wrapper {
        width: 60%;
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .image-hero-section {
        padding: 3rem 0;
    }
	

    
    .image-hero-section .container {
        padding: 0 1.5rem;
		flex-direction: column;
    }
    
    .image-hero-section .hero-title {
        font-size: 32px;
    }
    
    .image-hero-section .hero-subtitle {
        font-size: 18px;
    }
    
    .image-hero-section .hero-description {
        font-size: 16px;
    }
    
    .image-hero-section .hero-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .image-hero-section .hero-features-list {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .image-hero-section .hero-images-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        padding: 2rem 1.5rem;
        opacity: 0.2;
        justify-content: center;
    }
}

/* ============================================================================
   Two Column with image
   ============================================================================ */


.two-col-image-content-section h2 {
	margin-bottom: 30px;
}

.two-col-image-content-section .primary-button {
	margin-top: 30px;
}

.two-col-image-content-section .flex-container {
    display: flex;
    align-items: stretch;
    margin: 0 auto;
    gap: 60px;
}

/* Column layouts */
.two-col-image-content-section .col-left,
.two-col-image-content-section .col-right {
    flex: 1;
}

/* Image wrapper styling */
.two-col-image-content-section .image-wrapper {
    position: relative;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.two-col-image-content-section .image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    
}

/* Keep the same curve shape regardless of left/right image position
   unless an explicit rounding class is provided from ACF. */
.two-col-image-content-section.image-left .image-wrapper img:not(.rounded-top):not(.rounded-left):not(.rounded-bottom):not(.rounded-right),
.two-col-image-content-section.image-right .image-wrapper img:not(.rounded-top):not(.rounded-left):not(.rounded-bottom):not(.rounded-right) {
    border-radius: 50% 0 0 0;
}

.two-col-image-content-section .image-wrapper .rounded-top {
	border-radius: 400px 400px 0px 0px;
}
.two-col-image-content-section .image-wrapper .rounded-left {
	border-radius: 0px 400px 400px 0px;
}

.two-col-image-content-section .image-wrapper .rounded-bottom {
	border-radius: 0px 0px 400px 400px;
}
.two-col-image-content-section .image-wrapper .rounded-right {
	border-radius: 400px 0px 0px 400px;
}
/* Text Container Rounding - Desktop */
.two-col-image-content-section .col-left.grey-background.rounded-top {
    border-radius: 400px 400px 0px 0px;
}
.two-col-image-content-section .col-left.grey-background.rounded-left {
    border-radius: 0px 400px 400px 0px;
	padding-right: 8vw;
}
.two-col-image-content-section .col-left.grey-background.rounded-bottom {
    border-radius: 0px 0px 400px 400px;
}
.two-col-image-content-section .col-left.grey-background.rounded-right {
    border-radius: 400px 0px 0px 400px;
}

@media (max-width: 768px) {
    /* Image Rounding - Mobile */
    .two-col-image-content-section .image-wrapper img.mobile-rounded-top {
        border-radius: 400px 400px 0px 0px;
    }
    .two-col-image-content-section .image-wrapper img.mobile-rounded-left {
        border-radius: 0px 400px 400px 0px;
    }
    .two-col-image-content-section .image-wrapper img.mobile-rounded-bottom {
        border-radius: 0px 0px 400px 400px;
    }
    .two-col-image-content-section .image-wrapper img.mobile-rounded-right {
        border-radius: 400px 0px 0px 400px;
    }
    
	/* Two Column Image Content Section */
.two-col-image-content-section {
	padding: 50px 0;
}
    /* Text Container Rounding - Mobile */
    .two-col-image-content-section .col-left.grey-background.mobile-rounded-top {
        border-radius: 45vw 45vw 0px 0px;
    }
    .two-col-image-content-section .col-left.grey-background.mobile-rounded-left {
        border-radius: 0px 400px 400px 0px;
    }
    .two-col-image-content-section .col-left.grey-background.mobile-rounded-bottom {
        border-radius: 0px 0px 400px 400px;
    }
    .two-col-image-content-section .col-left.grey-background.mobile-rounded-right {
        border-radius: 400px 0px 0px 400px;
    }
}

/* Subtitle styling if present */
.two-col-image-content-section .subtitle {
    display: block;
    font-size: 1.2rem;
    color: #C2A66A;
    margin-top: 10px;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Button wrapper */
.two-col-image-content-section .button-wrapper {
    margin-top: 30px;
}



/* Image position variants - using order property */
/* When image is on LEFT: image is order 1, content is order 2 */
.two-col-image-content-section.image-left .col-left {
    order: 1; /* Image column */
}

.two-col-image-content-section.image-left .col-right {
    order: 2; /* Content column */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* When image is on RIGHT: content is order 1, image is order 2 */
.two-col-image-content-section.image-right .col-left {
    order: 1; /* Content column */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.two-col-image-content-section.image-right .col-right {
    order: 2; /* Image column */
}

.image-left .main-content {
    margin: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.two-col-image-content-section .main-content p:has(a) { 
	padding-top: 10px;
}

.two-col-image-content-section .main-content-image img {
    width: 100%;
}

.two-col-image-content-section .image-right .col-left .main-content { 
    display: flex;
    flex-direction: column;
    align-content: center;
    margin: auto;
}

.two-col-image-content-section .main-content h3 { 
margin-bottom: 30px;
}

@media (min-width: 901px) {
	.two-col-image-content-section {
		padding: 30px 0px;
	}
	.two-col-image-content-section .image-right .col-left .main-content { 
	    max-width: 600px;
    }
	.how-it-works .two-col-image-content-section .image-right .col-left { 
	    max-width: 530px;
    }
	.how-it-works .two-col-image-content-section { 
	    padding-top: 64px;
    }
}

@media (max-width: 900px) {
	.two-col-image-content-section .flex-container {
		flex-direction: column;
		padding: 50px 0px;
	}
    .two-col-image-content-section.image-right .col-left {
        order: 2!important; /* Content first on mobile */
    }

    .two-col-image-content-section.image-right .col-right {
        order: 1!important; /* Image first on mobile */
    }
}
/* Responsive design */
@media (max-width: 768px) {

    .two-col-image-content-section .flex-container {
        flex-direction: column!important;
        gap: 40px;
    }

    /* Reset order on mobile so it always stacks properly */
    .two-col-image-content-section .col-left,
    .two-col-image-content-section .col-right {
        order: unset;
    }
	.two-col-image-content-section .image-right .col-left .main-content, .why-choose-us-content {
		padding: 30px;
		max-width:100%;
	}

    .two-col-image-content-section .main-content {
        margin-bottom: 20px;
    }

    .two-col-image-content-section .button-wrapper {
        margin-top: 20px;
    }
	
	.two-col-image-content-section.image-left .col-right {
   
	    border-radius: 40vw 0px 0px 0px;
		        padding: 0px;
		text-align: center;

}
	
	.two-col-image-content-section.image-right .grey-background::before {
		display: none;
	}
	section#land-two-col.two-col-image-content-section.image-right .flex-container {
    flex-direction: column-reverse!important;
		gap:0px;
}
	    .two-col-image-content-section .col-left.grey-background.mobile-rounded-top {
        border-radius: 45vw 45vw 0px 0px;
        padding-top: 45vw;
        padding: 45vw 30px 30px 30px;
    }
	
	#our-process-section.two-col-image-content-section .flex-container {
		        flex-direction: column-reverse !important;
	}
}



section#land-two-col .flex-container {
    max-width: 1600px;
    margin: auto;
    padding: 0px 20px;
}
section#land-two-col {
   position: relative;
	margin-top: 114px;
	padding:0px;
}

section#land-two-col .main-content {
	z-index: 1
}

.two-col-image-content-section.image-right .grey-background::before {
	content: '';
    position: absolute;
    top: 0;
    right: 85vw;
    bottom: 0;
    left: 0;
    background-color: #F6F4F2;
    z-index: 0;
	
}

.how-it-works .two-col-image-content-section .flex-container, .how-it-works .two-col-image-content-section {
	padding-bottom: 0px;
	
}

/* ============================================================================
   ABOUT
   ============================================================================ */
							.about-container {
    max-width: var(--container-width);
    margin: auto;
    display: flex;
    gap: 5vw;
								align-items: flex-end;
								padding-top: 120px;
}
							
							.about-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 5vw;
}
.about-image-circle {
    display: flex;
}
							
							.about-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 70px;
								height: -webkit-fill-available;
								width: 100%;
}
							
.grid-image img {
	width:100%;
}
@media (max-width: 1024px) {
		.about-image-circle img, .grid-image img{
								width: 100%;
							}
}					
							/* Mobile Styles */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
		padding: var(--mobile-padding);
    }
	
	.about-image-circle {
    order: 3;
}
    
    .about-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-content-wrapper {
        gap: 40px;
    }

}
/* ============================================================================
   QUOTE
   ============================================================================ */

section.quote-section {
	margin-top:120px;
	margin-bottom: 150px;
	position: relative;
	    
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 70vw;
    bottom: 0;
    left: 0;
    background-color: #F6F4F2;
    z-index: -1;
}

.quote-content {
	background: var(--tertiary);
	border-radius: 0px 400px 400px 0px;
	padding: 80px 0px;
}

@media (max-width: 768px) {
	section.quote-section {
		margin-top: 80px;
		margin-bottom: 80px;
		
	}
	.quote-content {
		padding: 50px 30px;
	}
}

/* ============================================================================
   TITLE AND CONTENT
   ============================================================================ */
section.title-content-section {
    margin: 92px 0px;
   
}

.title-content-section h2 {
	margin-bottom: 30px;
}

/* ============================================================================
   Contact
   ============================================================================ */
.contact-footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 120px;
	width:100%;
	margin-top:60px;
	margin-bottom: 60px;
}

.contact-footer-left {
    background: var(--tertiary);
    border-radius: 0px 25rem 25rem 0px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	padding-right: 80px;
	padding-left: 0px;
}

.contact-footer-section {
	position: relative;
}

.contact-footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 70vw;
    bottom: 0;
    left: 0;
    background-color: #F6F4F2;
    z-index: -1;
}

.contact-footer-left,
.contact-footer-right {
    flex: 1;
}

.contact-form {
    max-width: 800px;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--primary);
    background: transparent;
    font-size: 14px;
    color: #333;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
        border-bottom-color: var(--primary);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
}

.form-submit {
    display: inline-block;
    background: #fff;
    color: var(--secondary) !important;
    border: 1px solid var(--secondary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    padding: 10px 40px 10px 30px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Form checkbox for terms agreement */
.form-checkbox {
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    min-width: 18px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 1px solid var(--secondary);
    background: #fff;
}

.form-checkbox span {
    color: #fff;
	font-size: 18px;
}

.form-checkbox a {
    color: var(--white)!important;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px!important;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.contact-button {
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
    border-radius: 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.contact-button:hover {
    background-color: transparent;
}

/* ============================================================================
   Contact Section
   ============================================================================ */

.contact-section {
    padding: 10px 0;
    background: #000;
}

.contact-section .container {
    max-width: var(--container-width, 1600px);
    margin: 0 auto;
    padding: 0 60px;
}

.contact-title {
    margin-bottom: 10px;
}

.contact-content {
    display: block;
}

.contact-form-column {
    max-width: 100%;
}
.ff-default .ff-el-form-control {
	font-weight: 500;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: #fff;
    border: none;
    color: #000!important;
    font-size: 16px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--secondary);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-buttons {
    margin-top: 30px;
}

.button-send {
    display: inline-block;
    background: #fff;
    color: var(--secondary) !important;
    border: 1px solid var(--secondary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    padding: 10px 40px 10px 30px;
    transition: transform 0.3s ease;
    cursor: pointer;
    font-family: 'Lexend', sans-serif;
}

.button-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.contact-info-item i {
    color: var(--white)!important;
    font-size: 28px;
    min-width: 20px;
    margin-top: 3px;
}



/* Form Messages */
.form-message {
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.form-message.success {
    background: #4caf50;
    color: #fff;
}

.form-message.error {
    background: #f44336;
    color: #fff;
}

.form-message h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.form-message p {
    margin: 0;
    font-size: 16px;
}

@media (max-width: 1200px) {
	.contact-footer-content {
		gap: 5vw;
	}
	.contact-footer-left {
		padding-left: 20px;
		gap: 30px;
	}
	
	/* Contact section responsive */
	.contact-section .container {
		padding: 0 40px;
	}
}


@media (max-width: 1024px) {
    .contact-footer-content {
        grid-template-columns: 1fr;
		gap:40px!important;
    }
	.contact-footer-left {
        margin-left: -20px;
		margin-right: -20px;
    }
	.contact-footer-section::before {
		display: none;
	}
	
	/* Contact section responsive */
	.contact-content {
		grid-template-columns: 1fr!important;
		gap: 40px;
	}
	
	.contact-section .container {
		padding: 0 30px;
	}
	
	.contact-title {
		font-size: 50px;
	}
}

@media (max-width: 768px) {
	section.contact-footer-section {
		 grid-template-columns: 1fr;
		gap:40px;
		margin-top:40px;
	margin-bottom: 40px;
	}
	.contact-footer-left {
    background: var(--tertiary);
    border-radius: 0px 0rem 200px 0px;
    padding-left: 30px;
	padding-right: 40px;
}
	.form-submit {
		width: 100%;
	}
	
	/* Contact section responsive */
	.contact-section {
		padding: 60px 0;
	}
	
	.contact-section .container {
		padding: 0 20px;
	}
	
	.contact-title {
		font-size: 36px;
		margin-bottom: 40px;
	}
	
	.form-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.button-send {
		width: 100%;
		font-size: 1.1rem;
		text-align: center;
	}
	
	.contact-info-column {
		gap: 20px;
	}
	
}

/* ============================================================================
   Post Listing Section
   ============================================================================ */
.post-listing-section {
    padding: 80px 0;
}
.post-listing-section .section-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 70px;
    font-weight: 700;
    letter-spacing: -2%;
}

.post-listing-section .post-listing-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: normal;
}

.post-listing-grid {
    display: grid;
    gap: 0px;
}
.post-listing-grid.columns-1 {
    grid-template-columns: 1fr;
}
.post-listing-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}
.post-listing-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.post-listing-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}
.post-listing-grid.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}
.post-listing-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}
.post-listing-item {
    position: relative;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: background 0.8s ease-in-out;
}
.post-listing-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease-in-out;
}

.post-listing-item:hover::before {
    transform: scale(1.1);
}

.post-listing-link {
    position: relative;
    z-index: 1;
}

.post-listing-link {
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
}
.post-listing-title {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}
.post-listing-item:hover .post-listing-title {
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 1200px) {
    .post-listing-grid.columns-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .post-listing-grid.columns-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1024px) {
    .post-listing-section {
        padding: 60px 0;
    }
    
    .post-listing-section .section-title {
        font-size: 50px;
        margin-bottom: 40px;
    }
    
    .post-listing-grid.columns-6,
    .post-listing-grid.columns-5,
    .post-listing-grid.columns-4,     
	.post-listing-grid.columns-3
	{
        grid-template-columns: repeat(2, 1fr);
    }
   
}
@media (max-width: 768px) {
    .post-listing-section .section-title {
        font-size: 36px;
    }
    
    
    .post-listing-grid.columns-6,
    .post-listing-grid.columns-5,
    .post-listing-grid.columns-4,
    .post-listing-grid.columns-3,
    .post-listing-grid.columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .post-listing-grid.columns-6,
    .post-listing-grid.columns-5,
    .post-listing-grid.columns-4,
    .post-listing-grid.columns-3,
    .post-listing-grid.columns-2 {
        grid-template-columns: 1fr;
    }
    
    .post-listing-title {
        font-size: 20px;
    }
}

/* Services-specific styling */
.post-listing-section.post-type-service .post-listing-grid {
    gap: 24px;
}

.post-listing-section.post-type-service .post-listing-item.service-item {
    aspect-ratio: auto;
    padding: 0;
}

.post-listing-section.post-type-service .post-listing-item.service-item::before {
    display: none;
}

.post-listing-section.post-type-service .service-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.post-listing-section.post-type-service .post-listing-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -2%;
}

.post-listing-section.post-type-service .post-listing-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: normal;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.post-listing-section.post-type-service .post-listing-excerpt p {
    margin: 0;
}

.post-listing-section.post-type-service .service-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #0e0e2c;
    color: #fff;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    align-self: center;
}

.post-listing-section.post-type-service .service-button:hover {
    background-color: #014E92;
}

@media (max-width: 768px) {
    .post-listing-section.post-type-service .service-content {
        padding: 24px 20px;
        gap: 12px;
    }
    
    .post-listing-section.post-type-service .post-listing-title {
        font-size: 20px;
    }
    
    .post-listing-section.post-type-service .post-listing-excerpt {
        font-size: 15px;
    }
    
    .post-listing-section.post-type-service .service-button {
        padding: 10px 24px;
        font-size: 15px;
    }
}

/* Case Studies-specific styling */
.post-listing-section.post-type-case_study .post-listing-grid {
    gap: 24px;
}

.post-listing-section.post-type-case_study .post-listing-item.case-study-item {
    aspect-ratio: auto;
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.post-listing-section.post-type-case_study .post-listing-item.case-study-item::before {
    display: none;
}

.post-listing-section.post-type-case_study .case-study-link {
    text-decoration: none;
    display: block;
}

.post-listing-section.post-type-case_study .case-study-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f0f0f0;
}

.post-listing-section.post-type-case_study .case-study-image-default,
.post-listing-section.post-type-case_study .case-study-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.post-listing-section.post-type-case_study .case-study-image-hover {
    opacity: 0;
    background: var(--primary);
    
}

.post-listing-section.post-type-case_study .case-study-item:hover .case-study-image-hover {
    opacity: 1;
    padding: 20px;
    object-fit: contain;
}

.post-listing-section.post-type-case_study .case-study-content {
    padding: 20px 0;
}

.post-listing-section.post-type-case_study .post-listing-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0A2B5E;
    line-height: 1.3;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.post-listing-section.post-type-case_study .case-study-item:hover .post-listing-title {
    color: #014E92;
}

.post-listing-section.post-type-case_study .case-study-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-listing-section.post-type-case_study .case-study-category {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .post-listing-section.post-type-case_study .post-listing-title {
        font-size: 18px;
    }
    
    .post-listing-section.post-type-case_study .case-study-category {
        font-size: 13px;
        padding: 3px 10px;
    }
}

/* ============================================================================
   Posts Carousel
   ============================================================================ */
.posts-carousel-section {
    padding: 60px 0;
    overflow: hidden;
}

.posts-carousel-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* ============================================================================
   Posts Carousel
   ============================================================================ */
.post-listing-carousel {
    padding: 0px;
    overflow: hidden;
}

.posts-carousel-container {
    position: relative;
    margin: 0 auto;
    padding: 0 50px;
}

.posts-carousel {
    overflow: hidden;
    width: 100%;
}


.posts-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.post-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 0;
    overflow: hidden;
    user-select: none;
    background: transparent;
}

@media (max-width: 992px) {
    .post-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .post-card {
        flex: 0 0 100%;
    }
    .posts-carousel-container {
        padding: 0 40px;
    }
}

.post-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

.post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}



.post-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a2f42;
    color: #666;
}

.post-content {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
    pointer-events: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-read-button {
    display: inline-block;
    background: var(--primary);
    color: white!important;
    border: 1px solid currentColor;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 24px;
    clip-path: none;
    transition: background 0.2s ease, color 0.2s ease;
    pointer-events: auto;
    align-self: flex-start;
}

.post-read-button:hover {
    background: transparent;
	color: var(--primary)!important;
	border: 1px solid var(--primary);
}

.bg-primary .post-read-button:hover {
    background: var(--secondary);
	color: whitesmoke!important;
	border: 1px solid white;
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: calc(50% - 60px);
    transform: translateY(-50%);
    z-index: 2;
    background: transparent;
    color: inherit;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.carousel-arrow:hover {
    opacity: 1;
}

.carousel-arrow--prev { left: 8px; }
.carousel-arrow--next { right: 8px; }

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.carousel-indicator {
    width: 30px;
    height: 2px;
    background: currentColor;
    opacity: 0.2;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.carousel-indicator:hover {
    opacity: 0.5;
}

.carousel-indicator.active {
    opacity: 1;
    width: 50px;
}

.post-listing-carousel .testimonial-post-card {
    flex: 0 0 100%;
	display: flex;
    align-items: center;
}

.post-listing-carousel.post-type-testimonial .testimonial-layout {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 400px);
    align-items: center;
    gap: 2rem;
}

.post-listing-carousel.post-type-testimonial .testimonial-content-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post-listing-carousel.post-type-testimonial .testimonial-rating {
    color: #9cef69;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
}

.post-listing-carousel.post-type-testimonial .testimonial-rating span::before {
    content: "\f155";
    font-family: dashicons;
    display: inline-block;
    font-size: 1.5rem;
}

.post-listing-carousel.post-type-testimonial .testimonial-quote-mark {
    color: #9cef69;
    font-size: 250px;
    line-height: 180px;
    font-weight: 700;
    margin-bottom: -120px;
	margin-top: 30px;
	margin-left: -10px;
}

.post-listing-carousel.post-type-testimonial .testimonial-excerpt {
    opacity: 1;
    display: block;
    overflow: visible;
    line-clamp: unset;
    -webkit-line-clamp: unset;
    margin: 0;
}

.post-listing-carousel.post-type-testimonial .testimonial-author {
    margin: 0.5rem 0 0;
	font-size: 23px;
    font-family: Nunito;
    font-weight: 600;
    line-height: 31px;
    color: rgba(108, 193, 53, 1);
}

.post-listing-carousel.post-type-testimonial .testimonial-company {
	font-size:23px;
	font-weight: 600;
    opacity: 0.9;
}

.post-listing-carousel.post-type-testimonial .testimonial-image-column .post-image {
    aspect-ratio: 1 / 1;
}

.post-listing-carousel.post-type-testimonial .testimonial-image-column .post-image img {
    object-fit: contain;
	border-radius: 50%;
}

.post-listing-carousel.post-type-testimonial .testimonial-image-column {
        max-width: 280px;
    }

@media (max-width: 900px) {
    .post-listing-carousel.post-type-testimonial .testimonial-layout {
        grid-template-columns: 1fr;
    }

    
	.post-listing-carousel.post-type-testimonial .testimonial-image-column {
        max-width: 100%;
    }
}

/* ============================================================================
   Gallery Page Component - Flexbox 3-column layout
   ============================================================================ */

.gallery-page-section {
    padding: 80px 0;
}

.gallery-column-1, .gallery-column-2, .gallery-column-3 {
	width: 33%;
}

.gallery-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-page-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #000130;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-page-subtitle {
    font-size: 1rem;
    color: var(--primary-gold);
    margin: 0;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: 'Montserrat';
}

/* Development Selector */
.gallery-page-selector {
    margin-bottom: 40px;
    display: flex;
}

.gallery-page-dropdown {
    font-size: 16px;
    border: 0px;
    border-radius: 0;
    min-width: 200px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 45px;
    text-transform: uppercase;
    font-family: 'Mabry Pro';
}

.gallery-page-dropdown:hover {
    opacity: 0.9;
}

.gallery-page-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(194, 166, 106, 0.2);
}

.gallery-page-dropdown option {
    padding: 10px;
    font-size: 14px;
    text-transform: capitalize;
    background-color: white;
    color: #333 !important;
}

/* Gallery Stats */
.gallery-page-stats {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 14px;
}

.gallery-page-images-count {
    font-size: 14px;
    color: #666;
}

/* Gallery Grid Wrapper - contains multiple grid sections */
.gallery-page-grid-wrapper {
    display: block;
    width: 100%;
}

/* FIRST LOAD - Masonry Style Layout (6 images) - FLEXBOX 3 COLUMNS */
.gallery-page-grid.first-load {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
	max-height: 950px;
}

.gallery-column-3 .gallery-page-item {
	height: 100%;
	width: 100%;
}


/* Column 2 - flex wrapper for items 5 & 6 */
.gallery-column-2-wrapper {
    flex: 0 0 calc(33.333% - 10px);
    display: flex;
    flex-direction: column;
    gap: 15px;
    order: 2;
}

.gallery-column-2-wrapper .gallery-page-item {
    flex: 1;
    aspect-ratio: auto;
    min-height: 0;
}

.gallery-column-2 {
    display: flex;
    flex-direction: column;
    align-content: stretch;
}

/* SUBSEQUENT LOADS - Simple 3-column rows */
.gallery-page-grid.additional-load {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.gallery-page-grid.additional-load .gallery-page-item {
    width: 33%;
	height: auto;
}

/* Gallery Item - Base Styles */
.gallery-page-item {
    overflow: hidden;
	height: 100%;
   
}

.gallery-column-1, .gallery-column-2 {
    display: flex;
    flex-direction: column;
	gap: 40px;
}

.gallery-page-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

.gallery-page-item:hover img {
    transform: scale(1.05);
}

/* Load More Button */
.gallery-page-load-more-wrapper {
    display: flex;
    margin-top: 40px;
}

.gallery-page-load-more {
    display: inline-block;
    background: #fff;
    color: var(--secondary) !important;
    border: 1px solid var(--secondary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    padding: 10px 40px 10px 30px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-page-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gallery-page-load-more:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-2px);
}

.gallery-page-load-more:active {
    transform: translateY(0);
}

/* No Images State */
.gallery-page-no-images {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.gallery-page-no-images p {
    font-size: 16px;
    margin: 0;
}

/* Lightbox styles */
.gallery-page-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-page-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.gallery-page-lightbox-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-page-lightbox-image-wrapper {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-page-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.gallery-page-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.gallery-page-lightbox-close:hover {
    transform: scale(1.1);
}

.gallery-page-lightbox-prev,
.gallery-page-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gold);
    border: none;
    padding: 20px;
    cursor: pointer;
    z-index: 10001;
    transition: background-color 0.3s ease;
}

.gallery-page-lightbox-prev:hover,
.gallery-page-lightbox-next:hover {
    background: var(--primary-navy);
}

.gallery-page-lightbox-prev {
    left: 20px;
}

.gallery-page-lightbox-next {
    right: 20px;
}

.gallery-page-lightbox-prev img {
    height: 20px;
    filter: brightness(0) invert(1);
}

.gallery-page-lightbox-next img {
    height: 20px;
    transform: rotate(180deg);
    filter: brightness(0) invert(1);
}

.gallery-page-lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .gallery-page-section {
        padding: 60px 0;
    }
	.gallery-page-grid.first-load {
		max-height: 100%;
		margin-bottom: 0px;
	}
	
	.gallery-column-1, .gallery-column-2, .gallery-column-3 {
		width: 100%;
		gap:0px;
	}
    
    .gallery-page-container {
        padding: 0 15px;
    }
    

    .gallery-page-header {
        margin-bottom: 40px;
    }
    
    .gallery-page-load-more {
        padding: 12px 30px;
        font-size: 12px;
    }
    
    .gallery-page-lightbox-prev,
    .gallery-page-lightbox-next {
        width: 50px;
        height: 50px;
        padding: 15px;
    }
    
    .gallery-page-lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .gallery-page-dropdown {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    /* Single column on mobile */
    .gallery-page-grid.first-load,
    .gallery-page-grid.additional-load {
        flex-direction: column;
        width: 100%;
        gap: 0px;
    }
    
    .gallery-page-grid.first-load .gallery-page-item,
    .gallery-page-grid.additional-load .gallery-page-item,
    .gallery-column-2-wrapper,
    .gallery-column-2-wrapper .gallery-page-item {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    
    .gallery-column-2-wrapper {
        flex-direction: column;
    }
    
    .gallery-page-title {
        font-size: 1.5rem;
    }
    
    .gallery-page-load-more {
        padding: 10px 25px;
        font-size: 11px;
    }
    
    .gallery-page-lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .gallery-page-lightbox-prev,
    .gallery-page-lightbox-next {
        width: 45px;
        height: 45px;
        padding: 12px;
    }
    
    .gallery-page-lightbox-prev {
        left: 10px;
    }
    
    .gallery-page-lightbox-next {
        right: 10px;
    }
    
    .gallery-page-lightbox-prev img,
    .gallery-page-lightbox-next img {
        height: 16px;
    }
    
    .gallery-page-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .gallery-page-item,
    .gallery-page-item img,
    .gallery-page-load-more,
    .gallery-page-lightbox-close,
    .gallery-page-lightbox-prev,
    .gallery-page-lightbox-next {
        transition: none;
    }
}

/* Focus styles for accessibility */
.gallery-page-item:focus,
.gallery-page-load-more:focus,
.gallery-page-lightbox-close:focus,
.gallery-page-lightbox-prev:focus,
.gallery-page-lightbox-next:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .gallery-page-load-more-wrapper,
    .gallery-page-lightbox-close,
    .gallery-page-lightbox-prev,
    .gallery-page-lightbox-next {
        display: none !important;
    }
    
    .gallery-page-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ============================================================================
   Title Header
   ============================================================================ */
.title-container.container {
    text-align: center;
    padding-top: 120px;
	padding-bottom: 120px;
}

@media (max-width: 992px) { 
	.title-container.container {
    padding-top: 40px;
	padding-bottom: 80px;
}
}


/* ==========================================================================
   Socials
   ============================================================================ */
.socials-section {
	padding: 30px 0px;
}

@media (max-width: 768px) { 
	.title-container.container {
    padding-top: 40px;
	padding-bottom: 80px;
    }
}

.socials-subtitle {
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.13em;
}

.socials-icons a {
    text-decoration: none;
    border: solid 1px var(--secondary);
    background-color: var(--secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 36px;
}


.socials-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.socials-icons {
    display: flex;
    gap: 20px;
    text-transform: uppercase;
}
.socials-icons {
    display: flex;
    gap: 20px;
    text-transform: uppercase;
    align-items: center;
}

@media (max-width: 640px) {
	.socials-wrapper {
		flex-direction: column;
		align-items: flex-start;
	}
	.socials-icons p {
		display: none;
	}
	.socials-icons {
    width: 100%;
    justify-content: flex-start;
}
}
/* ============================================================================
   Posts Grid - Split Layout
   ============================================================================ */
.posts-grid-section {
    padding: 60px 0;
    background: var(--tertiary);
}

.posts-grid-section .section-title {
    margin-bottom: 40px;
}

/* Split Layout Container */
.posts-split-layout {
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 9vw;
    margin-top: 40px;
}

/* Scrolling Posts List (Left Side) */
.posts-scrolling-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-height: 1100px;
    overflow-y: auto;
    padding-right: 5vw;
    order: 1;
}

.featured-banner {
    position: absolute;
    top: 40px;
    background: linear-gradient(90deg, #FFF 48.08%, rgba(255, 255, 255, 0.00) 100%);
    width: 250px;
    padding-left: 10px;
}
.featured-banner h3 {
	color: var(--text2);
}

/* Custom scrollbar */
.posts-scrolling-list::-webkit-scrollbar {
    width: 2px;
}

.posts-scrolling-list::-webkit-scrollbar-track {
    background: #EFECE8;
    border-radius: 3px;
}

.posts-scrolling-list::-webkit-scrollbar-thumb {
    background: #C8C9CB;
    border-radius: 3px;
}

.posts-scrolling-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Featured Post (Right Side) */
.post-featured {
    display: flex;
    flex-direction: column;
    gap: 85px;
    order: 2;
}

.post-featured-image {
    position: relative;
    overflow: hidden;
    background-color: var(--tertiary);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.post-featured:hover img {
    transform: scale(1.05);
}

.post-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-featured-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.post-featured .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}


.post-featured .post-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary);
}

.post-featured .post-read-button {
    display: inline-block;
    background: #fff;
    color: var(--secondary) !important;
    border: 1px solid var(--secondary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    padding: 10px 40px 10px 30px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    transition: transform 0.3s ease;
}

.post-featured .post-read-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Small Post Cards */
.post-card-small {
    display: grid;
    gap: 20px;
    padding-bottom: 25px;
    transition: transform 1s ease;
}
.post-card-small:hover img {
	transition: transform 1s ease;
}

.post-card-small:last-child {
    padding-bottom: 0;
}

.post-card-small:hover img {
    transform: scale(1.05);
}

.post-small-image {
    overflow: hidden;
    aspect-ratio: 1;
    background-color: var(--tertiary);
}

.post-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-small-image:hover img {
    transform: scale(1.1);
}

.post-small-image .post-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--tertiary);
    color: var(--text2);
    font-size: 12px;
}

.post-small-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.post-card-small .post-title {
    color: var(--primary);
	margin-bottom: 20px;
}

.post-card-small .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-small .post-title a:hover {
    color: var(--text2);
}

.post-card-small .post-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: var(--primary);
}

.post-card-small .post-read-button {
    display: inline-block;
    background: #fff;
    color: var(--secondary) !important;
    border: 1px solid var(--secondary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    padding: 10px 40px 10px 30px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.post-card-small .post-read-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}


/* Responsive Design */
@media (max-width: 992px) {
    .posts-split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
		.post-featured-image {
		aspect-ratio: 1;
	}
    
    .posts-scrolling-list {
        max-height: none;
        overflow-y: visible;
        order: 2;
		padding-right:0px;
    }
    
    .post-featured {
        order: 1;
		gap:20px;
    }
    
    .post-featured .post-title {
        font-size: 24px;
    }
		.featured-banner {
		display: block;
	}
	.post-featured .post-read-button {
		/* Maintain same button styling on mobile */
		font-size: 1.2rem;
		padding: 8px 30px 8px 20px;
	}
	.post-card-hidden {
        display: none;
    }
    
    .post-card-hidden.show {
        display: grid;
        animation: fadeIn 0.3s ease;
    }
    
    .posts-load-more-btn {
        display: block;
    }
    
    .posts-load-more-btn.hidden {
        display: none;
    }
}

@media (max-width: 768px) {
    .posts-grid-section {
        padding: 40px 0;
    }

	.featured-banner {
		display: none;
	}
}

@media (max-width: 480px) {
    .post-card-small, .post-featured {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Load More Button */
.posts-load-more-btn {
    display: none;
    margin: 30px auto 0;
    background: #fff;
    color: var(--secondary) !important;
    border: 1px solid var(--secondary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    padding: 10px 40px 10px 30px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.posts-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.posts-load-more-btn.hidden {
    display: none !important;
}

@media (max-width: 992px) {
    .post-card-hidden {
        display: none;
    }
    
    .post-card-hidden.show {
        display: grid;
        animation: fadeIn 0.3s ease;
    }
    
    .posts-load-more-btn {
        display: block;
		order: 3;
    }
}
/* ============================================
   TEAM MEMBERS SECTION
   ============================================ */

.team-members-section {
    padding: 60px 0;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.team-member-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.team-member-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-content {
    padding: 24px;
}

.team-member-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.team-member-role {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary, #666);
    margin-bottom: 16px;
}

.team-member-bio {
    line-height: 1.7;
    color: #333;
    font-size: 0.95rem;
}

.team-member-bio p {
    margin-bottom: 12px;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .team-members-section {
        padding: 40px 0;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-member-content {
        padding: 20px;
    }
    
    .team-member-name {
        font-size: 1.3rem;
    }
    
    .team-member-role {
        font-size: 0.9rem;
    }
}

#30-years .post-primary-column img {
	max-width: 300px;
}

#30-years .post-excerpt p {
	font-weight: 600!important;
	font-size: 25px!important;
}

.post-excerpt p {
	font-weight: 600;
	font-size: 25px;
}
/* ============================================================================
   COLUMN SERVICES SECTION (& Post Content - Dynamic Post Types)
   ============================================================================ */

.column-posts-container .container {
	max-width: 1200px;
}
.column-posts-section,
.column-case-studys-section,
.column-team-members-section {
    padding: 0px 0;
}
.column-services-section {
    padding: 0px;
}

.services-header,
.posts-header,
.case-studys-header,
.team-members-header {
    margin-bottom: 60px;
}

.services-title,
.posts-title,
.case-studys-title,
.team-members-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-subtitle,
.posts-subtitle,
.case-studys-subtitle,
.team-members-subtitle {
    font-size: 1.2rem;
    color: var(--text2, #666);
    letter-spacing: 0.5px;
}

.column-posts-container,
.column-case-studys-container,
.column-team-members-container {
    display: grid;
    gap: 40px;
    margin-top: 50px;
}

.column-services-container {
    display: grid;
    gap: 40px;
    margin: 0px;
}

/* Single column layout - horizontal with image */
.column-services-container.columns-1,
.column-posts-container.columns-1,
.column-case-studys-container.columns-1,
.column-team-members-container.columns-1 {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 0;
}

.column-services-container.columns-1 .service-item,
.column-posts-container.columns-1 .post-item,
.column-case-studys-container.columns-1 .case-study-item,
.column-team-members-container.columns-1 .team-member-item {
    display: flex;
    flex-direction: column;
    background-color: var(--accent);
    
    overflow: hidden;
    margin-bottom: 0;
    border-radius: 0;
}

.column-services-container.columns-1 .service-item-even {
    background: #fff;
}

.column-services-container.columns-1 .service-grid,
.column-posts-container.columns-1 .post-grid,
.column-case-studys-container.columns-1 .case-study-grid,
.column-team-members-container.columns-1 .team-member-grid {
    display: grid;
    grid-template-columns: 479px 1fr;
    gap: 40px;
    padding: 40px 0;
	align-items: center;
}

.column-services-container.columns-1 .service-grid > .service-image,
.column-posts-container.columns-1 .post-grid > .post-image,
.column-case-studys-container.columns-1 .case-study-grid > .case-study-image,
.column-team-members-container.columns-1 .team-member-grid > .team-member-image {
    order: 1;
}

.column-services-container.columns-1 .service-grid > .service-content,
.column-posts-container.columns-1 .post-grid > .post-content,
.column-case-studys-container.columns-1 .case-study-grid > .case-study-content,
.column-team-members-container.columns-1 .team-member-grid > .team-member-content {
    order: 2;
	gap: 30px;
}

.column-services-container.columns-1 .service-image,
.column-posts-container.columns-1 .post-image,
.column-case-studys-container.columns-1 .case-study-image,
.column-team-members-container.columns-1 .team-member-image {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 100%;
}

.column-services-container.columns-1 .service-image
 {
    padding: 0px;
    border-radius: 0px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: block;
}

.column-services-container.columns-1 .service-image img,
.column-posts-container.columns-1 .post-image img,
.column-case-studys-container.columns-1 .case-study-image img,
.column-team-members-container.columns-1 .team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.column-services-container.columns-1 .service-content,
.column-posts-container.columns-1 .post-content,
.column-case-studys-container.columns-1 .case-study-content,
.column-team-members-container.columns-1 .team-member-content {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.column-services-container.columns-1 .service-excerpt,
.column-posts-container.columns-1 .post-excerpt,
.column-case-studys-container.columns-1 .case-study-excerpt,
.column-team-members-container.columns-1 .team-member-excerpt {
    color: #fff;
    line-height: 1.8;
    padding: 0px;
    margin: 0;
    flex: 1;
    min-height: auto;
    text-align: left;
    font-weight: 400;
}

.column-services-container.columns-1 .service-excerpt p,
.column-posts-container.columns-1 .post-excerpt p,
.column-case-studys-container.columns-1 .case-study-excerpt p,
.column-team-members-container.columns-1 .team-member-excerpt p {
    margin-bottom: 15px;
}

.column-services-container.columns-1 .service-button,
.column-posts-container.columns-1 .post-button,
.column-case-studys-container.columns-1 .case-study-button,
.column-team-members-container.columns-1 .team-member-button {
    white-space: nowrap;
    padding: 15px 40px;
    background-color: var(--primary);
    color: var(--white) !important;
    border: 2px solid var(--primary);
    border-radius: 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    cursor: pointer;
    width: fit-content;
}

.column-services-container.columns-1 .service-button:hover,
.column-posts-container.columns-1 .post-button:hover,
.column-case-studys-container.columns-1 .case-study-button:hover,
.column-team-members-container.columns-1 .team-member-button:hover {
    background: transparent !important;
    color: var(--primary) !important;
}

/* Even items - image on right, title aligned left */
.column-services-container.columns-1 .service-item-even .service-grid,
.column-posts-container.columns-1 .post-item-even .post-grid,
.column-case-studys-container.columns-1 .case-study-item-even .case-study-grid,
.column-team-members-container.columns-1 .team-member-item-even .team-member-grid {
    grid-template-columns: 1fr 479px;
}

.column-services-container.columns-1 .service-item-even .service-grid > .service-image,
.column-posts-container.columns-1 .post-item-even .post-grid > .post-image,
.column-case-studys-container.columns-1 .case-study-item-even .case-study-grid > .case-study-image,
.column-team-members-container.columns-1 .team-member-item-even .team-member-grid > .team-member-image {
    order: 2;
}

.column-services-container.columns-1 .service-item-even .service-grid > .service-content,
.column-posts-container.columns-1 .post-item-even .post-grid > .post-content,
.column-case-studys-container.columns-1 .case-study-item-even .case-study-grid > .case-study-content,
.column-team-members-container.columns-1 .team-member-item-even .team-member-grid > .team-member-content {
    order: 1;
	gap: 30px;
}

/* Two column layout */
.column-services-container.columns-2,
.column-posts-container.columns-2,
.column-case-studys-container.columns-2,
.column-team-members-container.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Three column layout */
.column-services-container.columns-3,
.column-posts-container.columns-3,
.column-case-studys-container.columns-3,
.column-team-members-container.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Four column layout */
.column-services-container.columns-4,
.column-posts-container.columns-4,
.column-case-studys-container.columns-4,
.column-team-members-container.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Team Member Card Styling (for post_content case) */
.team-member-item {
    background: #FFFFFF;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.team-member-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-item .team-member-content {
    padding: 24px;
}

.team-member-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.team-member-role {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary, #666);
    margin-bottom: 16px;
}

.team-member-bio {
    line-height: 1.7;
    color: #333;
    font-size: 0.95rem;
}

.team-member-bio p {
    margin-bottom: 12px;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

/* Multi-column content section */
.multi-col-content-section {
    padding: 60px 0;
    width: 100%;
}

.multi-col-content-section .container {
    width: 100%;
}

/* Multi-column section title and content */
.multi-col-section-title {
    text-align: center;
    margin-bottom: 20px;
}

.multi-col-section-content {
    text-align: center;
    margin-bottom: 40px;
}

/* Multi-column content grid */
.multi-col-grid {
    display: grid !important;
    gap: 40px;
    margin-top: 50px;
    width: 100%;
}

.multi-col-grid.columns-1 {
    grid-template-columns: 1fr !important;
}

.multi-col-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.multi-col-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.multi-col-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.multi-col-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.multi-col-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Multi-column content alignment */
.multi-col-content-section.align-left .multi-col-item {
    text-align: left;
    align-items: flex-start;
}

.multi-col-content-section.align-center .multi-col-item {
    text-align: center;
    align-items: center;
}

.multi-col-content-section.align-right .multi-col-item {
    text-align: right;
    align-items: flex-end;
}

.service-item,
.post-item,
.case-study-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
}
.team-member-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.service-item .service-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.3;
    text-align: left;
}
.post-item .post-title,
.case-study-item .case-study-title,
.team-member-item .team-member-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary, #0d1f30);
}

.service-item hr,
.post-item hr,
.case-study-item hr,
.team-member-item hr {
    margin: 15px auto;
}

.service-excerpt,
.post-excerpt,
.case-study-excerpt,
.team-member-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
  
    margin-bottom: 25px;
    min-height: 80px;
}



/* Tablet adjustments */
@media (max-width: 1024px) {
    /* Single column horizontal layout adjustments */
    .column-services-container.columns-1 .service-grid,
    .column-posts-container.columns-1 .post-grid,
    .column-case-studys-container.columns-1 .case-study-grid,
    .column-team-members-container.columns-1 .team-member-grid {
        grid-template-columns: 1fr;
    }
    
    .column-services-container.columns-1 .service-title,
    .column-posts-container.columns-1 .post-title,
    .column-case-studys-container.columns-1 .case-study-title,
    .column-team-members-container.columns-1 .team-member-title {
        font-size: 2rem;
        padding: 30px 40px;
    }
    
    
    .column-services-container.columns-1 .service-button,
    .column-posts-container.columns-1 .post-button,
    .column-case-studys-container.columns-1 .case-study-button,
    .column-team-members-container.columns-1 .team-member-button {
        margin: 40px;
    }
    
    /* Even items on tablet */
    .column-services-container.columns-1 .service-item-even .service-grid,
    .column-posts-container.columns-1 .post-item-even .post-grid,
    .column-case-studys-container.columns-1 .case-study-item-even .case-study-grid,
    .column-team-members-container.columns-1 .team-member-item-even .team-member-grid {
        grid-template-columns: 1fr;
    }
	
	.service-item h3 {
		width: 80vw!important;
	}
	
	.column-services-container.columns-1 .service-item-even .service-grid > .service-image,
.column-posts-container.columns-1 .post-item-even .post-grid > .post-image,
.column-case-studys-container.columns-1 .case-study-item-even .case-study-grid > .case-study-image,
.column-team-members-container.columns-1 .team-member-item-even .team-member-grid > .team-member-image {
    order: 1;
	width: 100%;
    aspect-ratio: 1;
    height: 100%;
}
    
	.column-services-container.columns-1 .service-grid > .service-image,
.column-posts-container.columns-1 .post-grid > .post-image,
.column-case-studys-container.columns-1 .case-study-grid > .case-study-image,
.column-team-members-container.columns-1 .team-member-grid > .team-member-image {
		width: 100%;
    aspect-ratio: 1;
    height: 100%;
}

    
    /* 4 columns becomes 2 on tablet */
    .column-services-container.columns-4,
    .column-posts-container.columns-4,
    .column-case-studys-container.columns-4,
    .column-team-members-container.columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* 3 columns becomes 2 on tablet */
    .column-services-container.columns-3,
    .column-posts-container.columns-3,
    .column-case-studys-container.columns-3,
    .column-team-members-container.columns-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* 2 columns stays 2 on tablet */
    .column-services-container.columns-2,
    .column-posts-container.columns-2,
    .column-case-studys-container.columns-2,
    .column-team-members-container.columns-2 {
        gap: 30px;
    }
	
	.column-services-container.columns-1 .service-item:not(.service-item-even), .column-posts-container.columns-1 .post-item:not(.post-item-even), .column-case-studys-container.columns-1 .case-study-item:not(.case-study-item-even), .column-team-members-container.columns-1 .team-member-item:not(.team-member-item-even) {
		background-image: none;
		padding: 20px;
	}
}

/* Mobile adjustments */
@media (max-width: 768px) {
	
	div .multi-col-grid.columns-4 {
    grid-template-columns: 1fr!important;
}
	
    .column-services-section,
    .column-posts-section,
    .column-case-studys-section,
    .column-team-members-section {
        margin: 80px 0;
    }
    
    .services-header,
    .posts-header,
    .case-studys-header,
    .team-members-header {
        margin-bottom: 40px;
    }
    
    .services-title,
    .posts-title,
    .case-studys-title,
    .team-members-title {
        font-size: 2rem;
    }
    
    .services-subtitle,
    .posts-subtitle,
    .case-studys-subtitle,
    .team-members-subtitle {
        font-size: 1rem;
    }
    
    /* Single column becomes vertical stack on mobile */
    .column-services-container.columns-1 .service-grid,
    .column-posts-container.columns-1 .post-grid,
    .column-case-studys-container.columns-1 .case-study-grid,
    .column-team-members-container.columns-1 .team-member-grid {
        grid-template-columns: 1fr;
    }
    
    
    .column-services-container.columns-1 .service-title,
    .column-posts-container.columns-1 .post-title,
    .column-case-studys-container.columns-1 .case-study-title,
    .column-team-members-container.columns-1 .team-member-title {
        font-size: 1.5rem;
        padding: 25px 30px;
        text-align: left;
       width: 100%;
    }
    
    .column-services-container.columns-1 .service-item-even .service-title,
    .column-posts-container.columns-1 .post-item-even .post-title,
    .column-case-studys-container.columns-1 .case-study-item-even .case-study-title,
    .column-team-members-container.columns-1 .team-member-item-even .team-member-title,
	.column-services-container.columns-1 .service-title:not(.service-item-even), .column-posts-container.columns-1 .post-title:not(.post-item-even), .column-case-studys-container.columns-1 .case-study-title:not(.case-study-item-even), .column-team-members-container.columns-1 .team-member-title:not(.team-member-item-even), .column-services-container.columns-1 .service-button, .column-posts-container.columns-1 .post-button, .column-case-studys-container.columns-1 .case-study-button, .column-team-members-container.columns-1 .team-member-button{
		 width: 100%;
        font-size: 30px;
    }
    
    
    .column-services-container.columns-1 .service-button,
    .column-posts-container.columns-1 .post-button,
    .column-case-studys-container.columns-1 .case-study-button,
    .column-team-members-container.columns-1 .team-member-button {
        margin: 0 30px 25px auto;
        padding: 10px 30px;
    }
    
    /* Even items on mobile - both use same button position */
    .column-services-container.columns-1  .service-button,
    .column-posts-container.columns-1  .post-button,
    .column-case-studys-container.columns-1 .case-study-button,
    .column-team-members-container.columns-1  .team-member-button {
        width: 70vw;
        font-size: 20px;
        display: flex;
        margin: 0px;
        max-width: 250px;
    }
    
    /* All multi-column layouts become 1 column on mobile */
    .column-services-container.columns-2,
    .column-services-container.columns-3,
    .column-services-container.columns-4,
    .column-posts-container.columns-2,
    .column-posts-container.columns-3,
    .column-posts-container.columns-4,
    .column-case-studys-container.columns-2,
    .column-case-studys-container.columns-3,
    .column-case-studys-container.columns-4,
    .column-team-members-container.columns-2,
    .column-team-members-container.columns-3,
    .column-team-members-container.columns-4,
    .multi-col-grid.columns-2,
    .multi-col-grid.columns-3,
    .multi-col-grid.columns-4 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-excerpt,
    .post-excerpt,
    .case-study-excerpt,
    .team-member-excerpt {
        min-height: auto;
    }
    
    /* Team member card responsive */
    .team-member-item .team-member-content {
        padding: 20px;
    }
    
    .team-member-name {
        font-size: 1.3rem;
    }
    
    .team-member-role {
        font-size: 0.9rem;
    }
}

/* ============================================================
   Homepage Services Section
   ============================================================ */

.homepage-services-section {
    background-color: #111; /* default dark background matching screenshot */
    padding-bottom: 0;
	margin-bottom: 130px;
}

/* ----- Header bar ----- */
.homepage-services-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
	width: 50%;
}

.homepage-services-title {
    position: relative;
    display: inline-block;
    background-color: var(--secondary);
    color: #fff;
    text-transform: capitalize;
    letter-spacing: 0.03em;
    padding: 12px 40px 12px 24px;
    margin: 0;
    line-height: 1.2;
    margin-bottom: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    padding-right: 90px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    width: 50%;
    justify-content: center;
}

.homepage-services-view-all {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.homepage-services-view-all:hover {
    border-color: #E84C1E;
    opacity: 0.85;
}

/* ----- Cards strip ----- */
.homepage-services-strip {
    display: flex;
    width: 100%;
    gap: 0;
    /* Each card separated by a thin white line */
}

/* ----- Individual card ----- */
.homepage-service-card {
    position: relative;
    flex: 1 1 0;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    cursor: pointer;
	aspect-ratio: 1;

    /* Thin white divider between cards */
    border-right: 2px solid rgba(255, 255, 255, 0.12);
}

.homepage-service-card:last-child {
    border-right: none;
}

/* Background image */
.homepage-service-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.homepage-service-card:hover .homepage-service-card__bg {
    transform: scale(1.06);
}

/* Gradient overlay — dark at bottom, light at top */
.homepage-service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.35) 25%,
        rgba(0, 0, 0, 0.10) 50%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.homepage-service-card:hover .homepage-service-card__overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.90) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

/* Title */
.homepage-service-card__title {
    position: relative;
    z-index: 2;
    padding: 18px 16px;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-align: right;
    width: 100%;
    display: block;
	max-width: 300px;
	margin-left: auto;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet: 3 columns + 2 hidden, show all on scroll */
@media (max-width: 1024px) {
    .homepage-services-strip {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
		flex-direction: column;
	}
	

    .homepage-services-strip::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .homepage-service-card {
        flex: 0 0 240px; /* fixed width, horizontal scroll */
        min-height: 280px;
    }
}

@media (max-width: 768px) {

    .homepage-service-card {
        flex: 0 0 200px;
        min-height: 240px;
    }

    .homepage-services-title {
        font-size: 32px;
        padding: 10px 32px 10px 18px;
		        width: 80%;
    }
}

@media (max-width: 480px) {
    .homepage-service-card {
        flex: 0 0 170px;
        min-height: 200px;
    }

    .homepage-service-card__title {
        font-size: 18px;
        padding: 14px 10px;
    }
}

/* ============================================================================
   CASE STUDIES SECTION
   ============================================================================ */

.case-studies-header {
    text-align: center;
    margin-bottom: 60px;
}

.case-studies-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-studies-subtitle {
    font-size: 1.2rem;
    color: var(--text2, #666);
    letter-spacing: 0.5px;
}

.column-case-studies-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.case-study-item {
    display: flex;
    flex-direction: column;
}

.case-study-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio (square) */
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 20px;
}

.case-study-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-image-link:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: #999;
}

.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-study-title {
    font-size: 1.25rem;
    margin: 0;
}

.case-study-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-study-title a:hover {
    color: var(--secondary);
}

.no-case-studies {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .column-case-studies-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .column-case-studies-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-studies-header {
        margin-bottom: 40px;
    }
    
    .case-studies-title {
        font-size: 2rem;
    }
    
    .case-studies-subtitle {
        font-size: 1rem;
    }
    
    .case-study-title {
        font-size: 1.5rem;
    }
}

/* ============================================================================
      Path to Land development
   ============================================================================ */
#your-path-to-land-development {
	background: transparent;
}
#your-path-to-land-development.image-left .col-left {
	display: flex;
	flex-direction: column;
}

#your-path-to-land-development.image-left .col-right {
	    border-radius: 0px 0px 20vw 0px;
	background: var(--tertiary);
}
#your-path-to-land-development .flex-container {
	gap:0px;
}

#your-path-to-land-development .image-wrapper img, #your-path-to-land-development .image-wrapper {
	height:auto;
}
.map-details {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 0px 20px;
    justify-content: center;
    justify-items: center;
    align-content: center;
	text-decoration: none;
}
.map-details a {
	text-decoration: none;
}

@media (max-width: 1024px) {
	.map-details{padding: 50px 20px;
		        grid-template-columns: auto;
    GAP: 50PX;}
}
@media (max-width: 768px) {
    #your-path-to-land-development .col-right {
     
        text-align: left;
		padding: 120px 20px;
    }
}

/* ============================================================================
   build-process
   ============================================================================ */


.build-process-content{
		    border-radius: 20vw 0px 0px 0px;
	    background-color: var(--tertiary);
}

.build-image img {
    width: 100%;
	border-radius: 0px 0px 20vw 0px;
}

.build-process-wrapper {
	max-width: 1200px;
	margin: auto;
	padding:120px 20px;
}

.build-process-wrapper h2 {
	margin-bottom: 20px;
}

section.build-process {
    margin-bottom: 120px;
}

@media (max-width: 768px) {
	.build-process-wrapper {
		text-align: right;
		padding: 200px 30px;
	}
	.build-process-content {
		border-radius: 400px 0px 0px 0px;
	}
	section.build-process {
    margin-bottom: 80px;
}
	
}

/* ============================================================================
   b-corp
   ============================================================================ */
.b-corporation {
    display: flex;
    background-color: #d4c4b8;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20vw 0px 0px 0px;
    overflow: hidden;
}

.b-corporation-content {
    flex: 1;
    padding: 60px 12vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 40%;
    background: var(--tertiary);
}

.b-corporation-content .b-corp-logo {
    width: 190px;
    margin-bottom: 30px;
}

.b-corporation-content .content p:last-child {
    margin-bottom: 0;
}
.b-corp-mobile {
	display: none;	
	}


/* Responsive */
@media (max-width: 1024px) {
    .b-corporation-content {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
	.b-corp-mobile {
	display: block;	
	}
	
    .b-corporation {
        flex-direction: column;
        border-radius: 0;
        min-height: 500px; /* Ensures background image is visible */
		border-radius: 200px 0px 0px 0px;
    }
	.mobile-version .b-corporation {
		justify-content: flex-end;
		border-radius: 0px 0px 0px 0px;
	}
	
	.mobile-version .b-corporation img.b-corp-logo {
    max-width: 140px;
		filter: invert(1);
}
	.mobile-version .b-corporation {
		padding:30px;
	}
	
	.b-corporation--has-bg {
        background-image: none !important;
    }
	
	.b-corporation-content img {
		display: none;
	}
    
    .b-corporation-content {
        max-width: 100%;
		justify-content: flex-end;
		        text-align: right;
    }
    
    .b-corporation-content .b-corp-logo {
        width: 150px;
        margin-bottom: 20px;
    }
}
/* ============================================================================
	Meet The Founder
   ============================================================================ */

.meet-the-founder-content.container {
    display: flex;
    background-color: var(--tertiary);
    padding-top: 120px;
	padding-bottom: 120px;
    gap: 10vw;
    border-radius: 0% 20vw 20vw 0%;
    padding-right: 6vw;
}

.meet-the-founder {
    position: relative;
    overflow: hidden;
}

.meet-the-founder::before {
    content: '';
    position: absolute;
    top: 0;
    right: 80%;
    bottom: 0;
    left: 0;
    background-color: var(--tertiary);
    z-index: -1;
}
.meet-the-founder-content img {
	object-fit: cover;
}

.meet-the-founder .curved-edge {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ============================================================================
   Logo scroller
   ============================================================================ */
.logo-scroller-section {
    padding: 20px 0;
    /* NO background-color here - comes from ACF inline style */
}

.logo-scroller-wrapper {
    width: 100%;
    overflow: hidden;
}

.logo-scroller-static {
    display: none;
}

.logo-scroller-carousel {
    display: block;
    overflow: hidden;
    width: 100%;
}

.logo-scroller-track {
    display: flex;
    align-items: center;
    gap: 100px;
    width: max-content;
    animation: logoScroll 25s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.logo-scroller-track:hover {
    animation-play-state: paused;
}

.logo-scroller-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-scroller-item img {
    height: 50px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.2s ease;
}

.logo-scroller-item a:hover img {
    filter: brightness(1.1);
}

@media (max-width: 600px) {
    .logo-scroller-track {
        gap: 60px;
        animation-duration: 18s;
    }

    .logo-scroller-item img {
        height: 35px;
        max-width: 80px;
    }
}

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


/* ============================================================
   Reviews
   ============================================================ */

.reviews-title {
    position: relative;
    display: inline-block;
    background-color: var(--secondary);
    color: #fff!important;
    text-transform: capitalize;
    letter-spacing: 0.03em;
    padding: 12px 40px 12px 24px;
    margin: 0;
    line-height: 1.2;
    margin-bottom: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    padding-right: 90px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    /* width: 50%; */
    justify-content: right;
}

/* ============================================================
   Google Reviews Section
   ============================================================ */

.google-reviews-section.layout-grid .container {
    max-width: 1440px;
    margin: 0 auto;
}

.google-reviews-section .reviews-title {
    margin-bottom: 60px;
}
section#google-reviews {
    margin-bottom: 0px;
	margin-top: 0px;
    padding: 80px 0px;
    position: relative;
    z-index: 1;
}

/* Background image overlay with opacity control */
.google-reviews-section.has-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Ensure content stays above the background image */
.google-reviews-section.has-bg-image > * {
    position: relative;
    z-index: 1;
}


@media (max-width: 768px) {
    .google-reviews-section .reviews-title {
        font-size: 40px;
        margin-bottom: 40px;
    }
}



/* Grid Layout Styles */
.google-reviews-grid {
    background-image: url('../assets/images/diagonal-stripe-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
}

.google-reviews-grid .grid-top-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .google-reviews-grid .grid-top-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .google-reviews-grid .grid-top-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.google-reviews-grid .grid-bottom-row {
    display: flex;
    justify-content: center;
    width: 100%;
    align-content: stretch;
    flex-direction: column;
}

.google-reviews-grid .grid-review-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.google-reviews-grid .grid-top-row .grid-review-card::before {
    content: '“';
    position: absolute;
    font-family: 'Georgia', serif;
    font-size: 500px;
    line-height: 0.5;
    color: var(--star-color, #C2A66A);
    opacity: 0.15;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.google-reviews-grid .grid-review-card > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .google-reviews-grid .grid-review-card {
        padding: 30px 20px;
        min-height: auto;
    }
}

.google-reviews-grid .grid-review-card .grs-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.google-reviews-grid .grid-review-card .grs-logo img {
    max-width: 80px;
    height: auto;
}

.google-reviews-grid .grid-review-card .grs-stars {
    font-size: 58px;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.google-reviews-grid .grid-review-card .grs-stars .star {
    color: #ddd !important;
    transition: color 0.2s ease;
}

.google-reviews-grid .grid-review-card .grs-stars .star.filled {
    color: var(--star-color, #C2A66A) !important;
}

.google-reviews-grid .grid-review-card .grs-review {
    color: #000;
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.13em;
    text-align: center;
    flex-grow: 1;
}

.google-reviews-grid .grid-review-card .grs-author {
    color: #000;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.13em;
    font-weight: 500;
    text-align: center;
    margin-top: auto;
}

.google-reviews-grid .grid-review-card.grid-review-card-large {
    max-width: 100%;
    padding: 60px 40px;
    min-height: 300px;
}

@media (max-width: 768px) {
    .google-reviews-grid .grid-review-card.grid-review-card-large {
        padding: 40px 20px;
    }
}

.google-reviews-grid .grid-review-card-large .large-card-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .google-reviews-grid .grid-review-card-large .large-card-content {
        gap: 20px;
    }
}

.google-reviews-grid .grid-review-card-large .large-card-left,
.google-reviews-grid .grid-review-card-large .large-card-right {
    flex-shrink: 0;
    display: flex;
}

.google-reviews-grid .grid-review-card-large .large-card-left {
    align-items: flex-start;
    align-self: flex-start;
}

.google-reviews-grid .grid-review-card-large .large-card-right {
    align-items: flex-end;
    align-self: flex-end;
}

.google-reviews-grid .grid-review-card-large .large-card-left .quote-mark,
.google-reviews-grid .grid-review-card-large .large-card-right .quote-mark {
    font-size: 200px;
    line-height: 0.8;
    color: var(--star-color, #C2A66A) !important;
    opacity: 0.15 !important;
    font-family: Georgia, serif;
    display: block;
}

.google-reviews-grid .grid-review-card-large .large-card-right .quote-mark {
    transform: translateY(80%);
}

@media (max-width: 768px) {
    .google-reviews-grid .grid-review-card-large .large-card-left .quote-mark,
    .google-reviews-grid .grid-review-card-large .large-card-right .quote-mark {
        font-size: 80px;
    }
}

.google-reviews-grid .grid-review-card-large .large-card-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.google-reviews-grid .grid-review-card-large .large-card-middle .grs-logo {
    justify-content: center;
}

.google-reviews-grid .grid-review-card-large .large-card-middle .grs-stars {
    text-align: center;
    font-size: 58px !important;
    justify-content: center;
}

.google-reviews-grid .grid-review-card-large .large-card-middle .grs-review {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
}

.google-reviews-grid .grid-review-card-large .large-card-middle .grs-author {
    text-align: center;
    font-size: 16px;
}

/* Carousel Layout Styles */
.google-reviews-section .inner.splide {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 80px;
}

@media (max-width: 1024px) {
    .google-reviews-section .inner.splide {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .google-reviews-section .inner.splide {
        padding: 0 10px;
    }
}

.google-reviews-section .splide {
    background: transparent;
    padding: 40px 20px;
    border-radius: 8px;
}

.google-reviews-section .splide__slide {
    background: transparent;
    border-radius: 0;
    padding: 60px 40px;
    margin: 0px;
    box-shadow: none;
    position: relative;
    overflow: visible;
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.google-reviews-section .splide__slide::before {
    content: '“';
    position: absolute;
    font-family: 'Georgia', serif;
    font-size: 200px;
    line-height: 0.5;
    color: var(--star-color, #C2A66A);
    opacity: 0.15;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.google-reviews-section .splide__slide > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .google-reviews-section .splide__slide {
        padding: 40px 20px;
    }
}

/* ============================================================================
   Post Listing Filter
   ============================================================================ */

.post-listing-filter-section {
    padding: 80px 0;
}

.plf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
    justify-content: center;
}

.plf-filter-btn {
    background: transparent;
    color: var(--primary);
    padding: 10px 24px;
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
	border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border 0.8s ease-in-out;
}

.plf-filter-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.plf-filter-btn:hover {
	border-bottom: 1px solid var(--primary);
}

.plf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    transition: opacity 0.2s ease;
}

.plf-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
}

.plf-card-default {
    position: absolute;
    inset: 0;
}

.plf-card-default .plf-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.plf-card:hover .plf-card-default .plf-card-img {
    transform: scale(1.05);
}

.plf-card-img-placeholder {
    background: #e0e0e0;
}

.plf-card-hover {
    position: absolute;
    inset: 0;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 24px;
    box-sizing: border-box;
    text-align: center;
}

.plf-card:hover .plf-card-hover {
    opacity: 1;
}

.plf-card-hover-img {
    max-height: 60%;
    object-fit: contain;
    margin-bottom: 2vw;
    display: block;
}

.plf-card-hover-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.plf-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
    color: #ffffff;
}

.plf-card-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.plf-term {
    font-size: 12px;
    color: #ffffff;
    font-weight: 400;
}

.plf-card-btn {
    display: inline-block;
    background: #0e0e2c;
    color: var(--white);
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.plf-card-btn:hover {
    background: var(--secondary);
    color: #ffffff;
}

.plf-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    opacity: 0.6;
}

.plf-loading {
    text-align: center;
    padding: 20px 0;
    font-style: italic;
    opacity: 0.6;
}

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

@media (max-width: 600px) {
    .plf-grid {
        grid-template-columns: 1fr;
    }
    .plf-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .plf-filter-btn {
        text-align: center;
    }
}


/* ============================================================================
   Google reviews
   ============================================================================ */

.google-reviews-section .splide__slide .grs-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.google-reviews-section .splide__slide .grs-logo img {
    max-width: 100px;
    height: auto;
}

.google-reviews-section .splide__slide .grs-stars {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: -20px;
    line-height: 1;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.google-reviews-section .splide__slide .grs-stars .star {
    color: #ddd !important;
    transition: color 0.2s ease;
}

.google-reviews-section .splide__slide .grs-stars .star.filled {
    color: var(--star-color, #C2A66A) !important;
}

.google-reviews-section .splide__slide .grs-review {
    color: #000;
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .google-reviews-section .splide__slide .grs-review {
        font-size: 18px;
    }
}

.google-reviews-section .splide__slide .grs-author {
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}

.google-reviews-section .no-reviews {
    text-align: center;
    font-size: 18px;
    color: inherit;
    margin: 40px 0;
}

/* Grid Review Groups */
.google-reviews-grid .review-group {
    display: none;
}

.google-reviews-grid .review-group.active {
    display: block;
}

/* Grid Show More Button */
.grid-show-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.grid-show-more-btn {
    display: inline-block;
    background: #fff;
    color: var(--secondary) !important;
    border: 1px solid var(--secondary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    padding: 10px 40px 10px 30px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.grid-show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.grid-show-more-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .grid-show-more-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Splide Carousel Arrows */
.google-reviews-section .splide__arrows {
    width: 100%;
}

.google-reviews-section .splide__track {
    margin: 0 auto;
    width: 100%;
}
.google-reviews-section.layout-carousel .splide {
    text-align: center;
}

.google-reviews-section.layout-carousel .splide__track {
    margin-left: auto;
    margin-right: auto;
}
.google-reviews-section .splide__slide {
    align-items: center;
}

.google-reviews-section .splide__arrow {
    background: transparent;
    width: 40px;
    height: 40px;
    border-radius: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    position: absolute;
}

.google-reviews-section .splide__arrow:hover {
    background: transparent;
    opacity: 0.6;
}

.google-reviews-section .splide__arrow svg {
    fill: #FFF;
}
.google-reviews-section .splide__arrow:hover svg {
    fill: var(--star-color, #C2A66A);
}

.google-reviews-section .splide__arrow--prev {
    left: 20px;
}

.google-reviews-section .splide__arrow--next {
    right: 20px;
}

@media (max-width: 1024px) {
    .google-reviews-section .splide__arrow--prev {
        left: 10px;
    }
    
    .google-reviews-section .splide__arrow--next {
        right: 10px;
    }
	.google-reviews-grid .grid-top-row .grid-review-card:nth-child(3) {
    grid-column: span 2;
}
}

@media (max-width: 768px) {
    .google-reviews-section .splide__arrow {
        width: 30px;
        height: 30px;
    }
    
    .google-reviews-section .splide__arrow--prev {
        left: 5px;
    }
    
    .google-reviews-section .splide__arrow--next {
        right: 5px;
    }
    
    .google-reviews-section .splide__arrows {
        top: 40px;
    }
		.google-reviews-grid .grid-top-row .grid-review-card:nth-child(3) {
    grid-column: auto;
}
}

/* Splide Pagination Dots */
.google-reviews-section .splide__pagination {
    bottom: -40px;
}

.google-reviews-section .splide__pagination__page {
    background: #ddd;
    opacity: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.google-reviews-section .splide__pagination__page.is-active {
    background: var(--star-color, #C2A66A);
    transform: scale(1.2);
}

.google-reviews-section .splide__pagination__page:hover {
    background: var(--star-color, #C2A66A);
    opacity: 0.8;
}

/* Override ::before for carousel - use div instead */
.google-reviews-section .splide__slide::before {
    display: none !important;
}

.google-reviews-section .splide__slide .quote-background {
    font-family: 'Georgia', serif;
    font-size: 150px;
    font-weight: 500;
    line-height: 0.5;
    color: var(--star-color, #C2A66A)!important;
    opacity: 0.8;
    text-align: center;
    margin: 0;
    padding: 0;
}

.google-reviews-section .splide__list {
    display: flex;
    align-items: stretch;
}

.google-reviews-section .tm__item.splide__list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.google-reviews-section .splide__slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    list-style: none;
    text-align: center;
}

/* ============================================================================
   CTA Content Section
   ============================================================================ */

.cta-content-section {
    padding: 80px 0;
    margin: 0;
}

.cta-content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-content-section .cta-title {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
}

.cta-content-section .cta-content {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
}

.cta-content-section .cta-content p {
    margin: 0;
}

.cta-content-section .cta-button-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-content-section .cta-button {
    white-space: nowrap;
    padding: 15px 40px;
    background-color: var(--black);
    color: var(--white)!important;
    border: 2px solid var(--primary);
    border-radius: 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.cta-content-section .cta-button:hover, .cta-content-section .cta-button_2:hover {
    transform: translateY(-2px);
}

.cta-content-section .cta-button_2 {
    white-space: nowrap;
    padding: 15px 40px;
    background-color: var(--primary);
    color: var(--white)!important;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    display: inline-block;
    cursor: pointer;
}


/* Alignment options */
.cta-content-section.align-left .container {
    align-items: flex-start;
    text-align: left;
}

.cta-content-section.align-left .cta-button-wrapper {
    justify-content: flex-start;
}

.cta-content-section.align-center .container {
    align-items: center;
    text-align: center;
}

.cta-content-section.align-center .cta-button-wrapper {
    justify-content: center;
}

.cta-content-section.align-right .container {
    align-items: flex-end;
    text-align: right;
}

.cta-content-section.align-right .cta-button-wrapper {
    justify-content: flex-end;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cta-content-section {
        padding: 40px 0;
    }
    
    .cta-content-section .cta-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .cta-content-section .cta-content {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-content-section .cta-button-wrapper {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-content-section .cta-button {
        width: 100%;
        text-align: center;
    }
    
    /* Override alignment on mobile - always center */
    .cta-content-section .container {
        align-items: center;
        text-align: center;
    }
    
    .cta-content-section .cta-button-wrapper {
        justify-content: center;
    }
}

/* ============================================================================
   Terms and Conditions
   ============================================================================ */

section#terms-conditions, section#privacy-policy  {
    margin-top: 225px;
}

@media (max-width: 768px) {
	section#terms-conditions, section#privacy-policy  {
		margin-top: 100px;
	}
}


section#terms-conditions h2.one-col-title, section#privacy-policy h2.one-col-title  {
    margin-bottom: 50px;
}

section p {
    margin-bottom: 20px;
}

/* ============================================================================
   Two Column Image Accordion Section
   ============================================================================ */

.two-col-image-accordion-section {
    padding: 60px 0;
}

.two-col-accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Image side control */
.two-col-image-accordion-section.image-right .two-col-accordion-grid {
    grid-template-columns: 1fr 1fr;
}

.two-col-image-accordion-section.image-right .accordion-image-column {
    order: 2;
}

.two-col-image-accordion-section.image-right .accordion-content-column {
    order: 1;
}

.accordion-section-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.accordion-section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Alignment */
.two-col-image-accordion-section.align-center .accordion-content-column {
    text-align: center;
}

.two-col-image-accordion-section.align-right .accordion-content-column {
    text-align: right;
}

/* Accordion Styles */
.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid var(--primary);
    border-radius: 0;
    overflow: visible;
    background: transparent;
    transition: none;
}

.accordion-item:hover {
    box-shadow: none;
}

.accordion-header {
    width: 100%;
    padding: 20px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: inherit;
    transition: none;
}

.accordion-header:hover {
    background: transparent;
}

.accordion-header.active {
    background: transparent;
}

.accordion-title-text {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.accordion-content.hidden-accordion {
    display: none;
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.accordion-content-inner {
    padding: 0 0 20px 0;
    line-height: 1.6;
    font-size: 1rem;
}

.accordion-content-inner p {
    margin-bottom: 15px;
}

.accordion-content-inner p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    div .two-col-accordion-grid {
        grid-template-columns: 1fr!important;
        gap: 30px;
    }
    
    .two-col-image-accordion-section.image-right .accordion-image-column,
    .two-col-image-accordion-section.image-right .accordion-content-column {
        order: unset;
    }
    
    .accordion-section-title {
        font-size: 2rem;
    }
    
    .accordion-title-text {
        font-size: 1.25rem;
    }
    
    .accordion-header {
        padding: 15px 0;
    }
    
    .accordion-content-inner {
        padding: 0 0 15px 0;
    }
}

/* ============================================================================
   WHAT WE OFFER
   ============================================================================ */

#homepage.offer-section {
    padding: 60px 0 40px;
}

#homepage.offer-section .primary-header {
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 30px;
}

#homepage.offer-section .lms-courses-category-list {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    flex-wrap: nowrap;
}

#homepage.offer-section .lms-courses-category-list__item {
    width: 100%;
    min-height: 280px;
    border-radius: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
	margin: auto 0px;
}

#homepage.offer-section .lms-courses-category-list__item:hover {
    transform: translateY(-10px);
}

#homepage.offer-section .lms-courses-category-list__item:nth-child(1) {
    background: #7ed447;
}

#homepage.offer-section .lms-courses-category-list__item:nth-child(2) {
    background: #6cc136;
}

#homepage.offer-section .lms-courses-category-list__item:nth-child(3) {
    background: #539b25;
}

#homepage.offer-section .lms-courses-category-list__item:nth-child(4) {
    background: #46861d;
}

#homepage.offer-section .lms-courses-category-list__item:nth-child(5) {
    background: #386c17;
}

#homepage.offer-section .lms-courses-category-list__item:nth-child(6) {
    background: #539b25;
}

#homepage.offer-section .lms-courses-category-list__item:nth-child(7) {
    background: #46861d;
}

#homepage.offer-section .lms-courses-category-list__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    width: 100%;
    height: 100%;
    padding: 24px 14px;
    gap: 20px;
}

#homepage.offer-section .lms-courses-category-list__link span {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
}

#homepage.offer-section .lms-courses-category-list__link button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

@media (max-width: 1299px) {
    #homepage.offer-section .lms-courses-category-list {
        flex-wrap: wrap;
        align-items: stretch;
    }

    #homepage.offer-section .lms-courses-category-list__item {
        border-radius: 70px;
		min-height: auto;
    }
	
	#homepage.offer-section  .lms-courses-category-list__link button {
		display: none!important;
	}
	#homepage.offer-section .lms-courses-category-container {
		padding: 0px 25px;
	}
	
}

@media (min-width: 1300px) {
    #homepage.offer-section .lms-courses-category-list {
        flex-wrap: nowrap;
        align-items: flex-end;
    }

    #homepage.offer-section .lms-courses-category-list__item {
        width: 180px;
        padding: 10px;
    }

    #homepage.offer-section .lms-courses-category-list__item:nth-child(1) {
        min-height: 380px;
    }

    #homepage.offer-section .lms-courses-category-list__item:nth-child(2) {
        min-height: 420px;
    }

    #homepage.offer-section .lms-courses-category-list__item:nth-child(3) {
        min-height: 455px;
    }

    #homepage.offer-section .lms-courses-category-list__item:nth-child(4) {
        min-height: 490px;
    }

    #homepage.offer-section .lms-courses-category-list__item:nth-child(5) {
        min-height: 560px;
    }

    #homepage.offer-section .lms-courses-category-list__item:nth-child(6) {
        min-height: 520px;
    }

    #homepage.offer-section .lms-courses-category-list__item:nth-child(7) {
        min-height: 609px;
    }
}

@media (max-width: 767px) {
    #homepage.offer-section .primary-header {
        margin-bottom: 30px;
    }

    #homepage.offer-section .lms-courses-category-list {
        gap: 12px;
    }

    #homepage.offer-section .lms-courses-category-list__item {
        width: 100%;
        min-height: auto !important;
        border-radius: 50px;
    }
}

/* ============================================================================
   WHY CHOOSE US
   ============================================================================ */

.why-choose-us-title {
    margin-bottom: 35px;
}

.about .why-choose-us-title {
	color: var(--color-green-brand)!important;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-choose-us-image img {
    width: 100%;
    height: auto;
    display: block;
}

	html body .why-choose-us-section  .container, .two-col-image-content-section .container {
	padding: 0px !important;
}

/* Default layout: image left, content right */
.why-choose-us-section .why-choose-us-image {
    order: 1;
}

.why-choose-us-section .why-choose-us-content {
    order: 2;
}

/* If aligned right, place image on the right column */
.why-choose-us-section.align-right .why-choose-us-image {
    order: 2;
}

.why-choose-us-section.align-right .why-choose-us-content {
    order: 1;
}

/* Box variant: list 33% left, boxes 67% right */
.why-choose-us-section--box .why-choose-us-grid {
    grid-template-columns: minmax(0, 1fr) 800px;
}

/* Text variant: text content 67% left, listing 33% right */
.why-choose-us-section--text .why-choose-us-grid {
    grid-template-columns: 2fr 1fr;
}

.why-choose-us-section--box .why-choose-us-image {
    order: 2;
}

.why-choose-us-section--box .why-choose-us-content {
    order: 1;
}

.why-choose-us-content.highlight-listing {
    background: white;
    border-radius: 70px;
    padding: 40px;
}
.about .why-choose-us-grid {
	padding: 30px 20px;
}

.about .why-choose-us-text-content h2 {
	color: var(--color-green-brand);
	
}
@media (max-width: 1024px) {
	.about .why-choose-us-section .why-choose-us-grid {
		grid-template-columns: 1fr!important;
		padding: 20px;
	}
}
@media (min-width: 768px) {
	html body .why-choose-us-section  .container, .two-col-image-content-section .container {
	padding: 0px 20px!important;
    }
	.about .why-choose-us-image img {
		border-radius: 0px;
	}
	/* Image on left: top-right curve */
    .why-choose-us-section.align-left .why-choose-us-image img {
    border-radius: 0;
    }
    /* Image on right: top-left curve */
    .why-choose-us-section.align-right .why-choose-us-image img {
        border-radius: 0;
    }
}
@media (min-width: 900px) {
	/* Image on left: top-right curve */
    .why-choose-us-section.align-left .why-choose-us-image img {
    border-radius: 0 50% 0 0;
    }
    /* Image on right: top-left curve */
    .why-choose-us-section.align-right .why-choose-us-image img {
        border-radius: 50% 0 0 0;
    }
}
.why-box {
    padding: 20px;
    box-sizing: border-box;
    -ms-flex-line-pack: center;
    align-content: center;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1607843137);
    border-radius: 21px;
    -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
    font-family: "nunito", sans-serif;
    font-weight: 800;
}
.tilt-box {
    @media (min-width: 1300px) {
        -webkit-transform: matrix(1, -0.09, 0.09, 1, 0, 0);
        transform: matrix(1, -0.09, 0.09, 1, 0, 0);
    }
}

.why-boxes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.why-box-number {
    color: var(--color-accent);
    font-size: 70px;
    line-height: 75px;
    font-weight: 800;
}

.why-box-text {
    color: var(--color-accent);
    font-size: 20px;
    line-height: 25px;
    font-weight: 800;
}
@media (min-width: 768px) {
    .why-boxes-grid {
        grid-template-columns: 360px 360px;
    }
    .why-box {
        padding: 40px;
        width: 100%;
        -ms-flex-line-pack: center;
        align-content: center;
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, 0.1607843137);
        border-radius: 21px;
        -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
        font-family: "nunito", sans-serif;
        font-weight: 800;
    }

}
@media (min-width: 900px) {
    .why-boxes-grid {
        grid-template-columns: 300px 300px;
    }
    .why-box-number {
        font-size: 90px;
        line-height: 95px;
    }
    .why-box-text {
        font-size: 30px;
        line-height: 35px;
    }
	.home .why-choose-us-section {
        padding: 80px 0px;
    }
}

@media (min-width: 1300px) {
    .why-boxes-grid {
        grid-template-columns: 360px 360px;
    }
    .why-box-number {
        font-size: 120px;
        line-height: 125px;
    }
    .why-box-text {
        font-size: 30px;
        line-height: 35px;
    }
	.home .why-choose-us-section {
        padding: 80px 0px;
    }
}

@media (min-width: 1919px) {
    .why-boxes-grid {
        grid-template-columns: 360px 360px;
    }
    .why-box-number {
        font-size: 130px;
        line-height: 135px;
    }
    .why-box-text {
        font-size: 40px;
        line-height: 45px;
    }
}

.why-choose-us-section .why-choose-us-content ul.wp-block-list.ticks {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.why-choose-us-section .why-choose-us-content ul.wp-block-list.ticks li {
    position: relative;
    padding-left: 70px;
    margin-bottom: 24px;
    line-height: 1.5;
    font-size: 24px;
    font-weight: 400;
}

.why-choose-us-section .why-choose-us-content ul.wp-block-list.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #50991f;
    border-radius: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="white" d="M0 11c2.761.575 6.312 1.688 9 3.438 3.157-4.23 8.828-8.187 15-11.438-5.861 5.775-10.711 12.328-14 18.917-2.651-3.766-5.547-7.271-10-10.917z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.why-choose-us-section.align-center .why-choose-us-title,
.why-choose-us-section.align-center .why-choose-us-content {
    text-align: center;
}

.why-choose-us-section.align-right .why-choose-us-title,
.why-choose-us-section.align-right .why-choose-us-content {
    text-align: right;
}

.why-choose-us-section .primary-button {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-green-darkest);
    border-width: var(--button-border-width);
    border-style: solid;
    border-color: var(--color-green-darkest);
    border-radius: 100px;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.why-choose-us-section .primary-button:hover {
    background-color: var(--color-white);
    color: var(--color-green-darkest);
}

@media (max-width: 900px) {
    .why-choose-us-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-us-section .why-choose-us-image,
    .why-choose-us-section .why-choose-us-content,
    .why-choose-us-section.align-right .why-choose-us-image,
    .why-choose-us-section.align-right .why-choose-us-content {
        order: initial;
    }
	
	.two-col-image-content-section.image-left .image-wrapper img:not(.rounded-top):not(.rounded-left):not(.rounded-bottom):not(.rounded-right), .two-col-image-content-section.image-right .image-wrapper img:not(.rounded-top):not(.rounded-left):not(.rounded-bottom):not(.rounded-right) {
		border-radius: 0px;
	}
	
	.how-it-works .why-choose-us-grid {
	    flex-direction: column;
    }
}


.how-it-works .why-choose-us-section {
	padding:30px 0px;
}

.how-it-works .why-choose-us-grid {
	display: flex;
}
/* ============================================================================
   Multi Marker Map
   ============================================================================ */


.multi-marker-map-grid {
    display: grid;
    grid-template-columns: 664px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.multi-marker-map-col--map .acf-map {
    width: 664px;
    height: 850px;
}

.multi-marker-map-title {
    margin-top: 0;
}

.multi-marker-map-content {
    line-height: 1.7;
}

.multi-marker-map-col.multi-marker-map-col--content {
	margin:auto;
}

.multi-marker-map-section .marker {
    display: none;
}

.multi-marker-map-content img {
    max-height: 150px;
	width:auto;
	margin-bottom: 3rem;
}
.multi-marker-map-content h2 {
    text-transform: uppercase;
}


@media (max-width: 1200px) {
    .multi-marker-map-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
	
	.multi-marker-map-content {
		padding:20px;
	}
.multi-marker-map-section .container {
    padding: 0px;
}

    .multi-marker-map-col--map .acf-map {
        width: 100%;
        
    }
}

/* =============================================
   Meet the Team Section
   ============================================= */

.meet-the-team-section {
    width: 100%;
}
.meet-the-team-section h2 {
	margin-bottom: 30px;
}
.meet-the-team-inner:before {
	display: none;
}
.meet-the-team-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

.meet-the-team-section .col-team-list {
    flex: 0 0 50%;
    max-width: 50%;
}

.meet-the-team-section .col-team-photos {
    flex: 0 0 50%;
    max-width: 50%;
}

/* User list grid */
.meet-the-team-section .user-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

/* User card */
.meet-the-team-section .user-card {
    margin-bottom: 0.5rem;
}

.meet-the-team-section .user-card .user-title {
    font-weight: bold;
    line-height: 1.15rem;
    text-transform: uppercase;
    color: var(--color-green-dark);
}

.meet-the-team-section .user-card .user-position {
    font-size: 1.15rem;
    margin-top: 0;
	font-weight: 600;
}

.meet-the-team-section .user-card .user-email {
    display: flex;
}

.meet-the-team-section .user-card .user-email a {
    margin-top: 0.25rem;
    color: var(--e-global-color-text);
    text-decoration: underline !important;
    font-size: 0.95rem;
    line-height: 1rem;
}

/* Team photo grid */
.meet-the-team-section .team-photo-grid {
    --top-margin-offset: -100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: start;
    padding-top: 50px;
}

/* Reset browser default figure margin */
.meet-the-team-section .team-photo-grid figure {
    margin: 0;
}

.meet-the-team-section .team-photo-grid .team-member {
    width: 140px;
    height: 195px;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 1);
    overflow: hidden;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.095) inset,
                -2px 0px 2px rgba(0, 0, 0, 0.095) inset;
    margin: 0;
    padding: 0;
}

/* Stagger: even children drop down — matches theme behaviour */
.meet-the-team-section .team-photo-grid .team-member:nth-of-type(2),
.meet-the-team-section .team-photo-grid .team-member:nth-of-type(4),
.meet-the-team-section .team-photo-grid .team-member:nth-of-type(6),
.meet-the-team-section .team-photo-grid .team-member:nth-of-type(8),
.meet-the-team-section .team-photo-grid .team-member:nth-of-type(10),
.meet-the-team-section .team-photo-grid .team-member:nth-of-type(12) {
    margin-top: var(--top-margin-offset);
}

.meet-the-team-section .team-photo-grid .team-member img {
    padding: 15px 0 0 0;
    margin: 0;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

section.meet-the-team-section {
    padding: 100px 0px;
}

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

    .meet-the-team-inner {
        flex-direction: column;
		align-items: start;
		gap:0px;
    }

    .meet-the-team-section .col-team-list,
    .meet-the-team-section .col-team-photos {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .meet-the-team-section .col-team-photos {
        display: none;
    }

    .meet-the-team-section .user-list {
        grid-template-columns: 1fr;
    }

    .meet-the-team-section .team-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 0;
    }

    /* Reset all stagger on mobile */
    .meet-the-team-section .team-photo-grid .team-member:nth-of-type(2),
    .meet-the-team-section .team-photo-grid .team-member:nth-of-type(4),
    .meet-the-team-section .team-photo-grid .team-member:nth-of-type(6),
    .meet-the-team-section .team-photo-grid .team-member:nth-of-type(8),
    .meet-the-team-section .team-photo-grid .team-member:nth-of-type(10),
    .meet-the-team-section .team-photo-grid .team-member:nth-of-type(12) {
        margin-top: 0;
    }
	section.meet-the-team-section {
		padding-top: 40px;
	}
	.meet-the-team-inner {
		gap:0px!important;
	}
}

@media (max-width: 1024px) {
	.meet-the-team-inner {
		flex-direction: column;
		gap: 120px;
	}
	.meet-the-team-section .col-team-photos, .meet-the-team-section .col-team-list {
		max-width: 100%;
		width: 100%;
	}
}
/* =============================================
   Brochure
   ============================================= */
section#brochure-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
	padding: 1rem;
}
section#brochure-cta h2 {
	margin-bottom: 0px;
}

.download-button {
	background: var(--color-green-mid);
}

/* =============================================
   Socials
   ============================================= */
.socials-section h2 {
	text-align: center;
}

/* =============================================
   One col content
   ============================================= */
.how-it-works .one-col-content-section {
	text-align: center;
}

.how-it-works .one-col-content-section { padding: 4rem 0px 6rem 0px;
}

@media (max-width: 900px) {
	.how-it-works .two-col-image-content-section {
		padding:0px;
	}
	.how-it-works .one-col-content-section {
		padding-bottom:50px;
	}
}


/* =============================================
   post-listing-item
   ============================================= */

.post-listing-item--card {
    aspect-ratio: unset;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-listing-item--card::before {
    display: none;
}

.post-listing-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.post-listing-thumbnail a {
    display: block;
    height: 100%;
}

.post-listing-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-listing-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.post-listing-date {
    background-color: #ccc;
    border-radius: 100px;
    color: var(--color-green-darkest, #386C17);
    padding: 0.05rem 0.5rem;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-bottom: 5px;
    flex-shrink: 0;
}

.post-listing-item--card .post-listing-title {
    font-size: 20px;
    line-height: 22px;
    font-weight: 700;
    color: var(--color-green-darkest) !important;
    text-transform: uppercase;
}

.post-listing-item--card .post-listing-title a {
    color: inherit;
    text-decoration: none;
}

.post-listing-item--card .post-listing-title a:hover {
    color: var(--primary, #6cc136);
}

.post-listing-item--card .post-listing-excerpt p {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.1em;
    margin: 0;
}

.post-listing-more-btn {
    display: block;
    background-color: var(--color-green-darkest);
    border-radius: 100px !important;
    border: 3px solid var(--color-green-darkest);
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1rem;
    font-weight: 700;
    width: fit-content;
    padding: 10px 20px;
}

.post-listing-more-btn:hover {
    background-color: #fff;
    color: var(--color-green-darkest, #386c17);
}

/* =============================================
   Policies & Procedures Section
   ============================================= */

.policies-section {
    padding: 60px 0;
}

.policies-title {
    margin-bottom: 8px;
}

.policies-subtitle {
    margin-bottom: 32px;
    opacity: 0.85;
}

.policies-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    text-align: left;
}

.policies-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.policies-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #50991F;
}

.policies-icon svg {
    display: block;
}

.policies-link {
    font-size: 20px;
	font-weight: 600;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: inherit;
    transition: opacity 0.2s ease;
}

a.policies-link:hover {
    opacity: 0.75;
}

@media (max-width: 768px) {
    .policies-list {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Contact Text  — image & link styles
   ============================================= */

#contact.two-col-image-content-section .image-wrapper img {
    object-fit: cover;
    width: 133px;
    height: 195px;
    border-radius: 50%;
    background: #fff;
    outline: 5px solid rgba(255, 255, 255, 0.5);
    display: block;
	margin: auto;
}

#contact.two-col-image-content-section .main-content a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

#contact.two-col-image-content-section .main-content a:hover {
    color: #000;
}

#contact .ff-btn-submit {
	text-transform: uppercase;
}

/* =============================================
   Process section
   ============================================= */
section.timeline-process-section.bg-link.text-white.full-width {
    padding: 80px 30px;
}

section.timeline-process-section h2 {
	font-weight: 800;
	font-size: 30px;
}

.timeline-subtitle {
	font-size: 24px;
	font-weight: 600;
}

/* =============================================
   Courses Section
   ============================================= */

.courses-section {
    padding: 60px 0;
}

.courses-section > .container {
    height: auto !important;
    overflow: visible;
	max-width:2200px;
}

/* Category nav */
.courses-section .courses-category-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    margin-bottom: 48px;
}

.courses-section .courses-category-list.scrolled {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    top: 0;
    z-index: 100;
}

.courses-section .courses-category-list a {
    padding: 20px;
	font-weight: 600;
    background-color: #46861D;
    width: 100%;
    text-align: center;
    height: 80px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 20px;
    line-height: 1.25rem;
    justify-content: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #fff;
    text-decoration: none;
}

.courses-section .courses-category-list a:hover {
    color: #000;
}

.courses-section .courses-category-list a:nth-child(1) {
    background-color: var(--color-green-lightest);
    padding-left: 20px;
}

.courses-section .courses-category-list a:nth-child(2) {
    background-color: var(--color-green-light);
}

.courses-section .courses-category-list a:nth-child(3) {
    background-color: var(--color-green-mid);
}

.courses-section .courses-category-list a:nth-child(4) {
    background-color: var(--color-green-dark);
}

.courses-section .courses-category-list a:nth-child(5) {
    background-color: var(--color-green-darkest);
}

.courses-section .courses-category-list a:nth-child(6) {
    background-color: var(--color-green-brand);
}

.courses-section .courses-category-list a.bundle_coroners-course {
    background-color: var(--color-blue);
}

@media (min-width: 767px) {
    .courses-section .courses-category-list {
        padding: 0 1rem;
    }

    .courses-section .courses-category-list a {
        font-size: inherit;
        width: unset;
    }

    .courses-section .courses-category-list a:nth-child(1) {
        border-radius: 50px 0 0 50px;
        padding-left: 20px;
    }

    .courses-section .courses-category-list a:has(+ .bundle_coroners-course),
    .courses-section .courses-category-list a:last-of-type:not(.bundle_coroners-course) {
        border-radius: 0 50px 50px 0;
    }

    .courses-section .courses-category-list a.bundle_coroners-course {
        margin-left: 1rem;
        border-radius: 0 50px 50px 0;
        min-width: 10rem;
    }
}

@media (min-width: 993px) {
    .courses-section .courses-category-list {
        gap: unset;
    }

    .courses-section .courses-category-list a {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
    }

    .courses-section .courses-category-list a:has(+ .bundle_coroners-course),
    .courses-section .courses-category-list a:last-of-type:not(.bundle_coroners-course) {
        border-radius: 0 50px 50px 0;
    }

    .courses-section .courses-category-list a.bundle_coroners-course {
        margin-left: 1rem;
        border-radius: 50px;
    }
}

@media (max-width: 768px) {
	.page.courses nav.courses-category-list {
		display: none;
	}
	.bundle--item, .single--item {
		margin-bottom: 2rem!important;
	}

}

@media (max-width: 1024px) {
	
	.bundle--item .bundle-footer, .single--item .course-footer {
		flex-direction: column!important;
	}
	.bundle--item .bundle-footer .book-now-btn,  .single--item .course-footer .book-now-btn {
		margin-right: auto!important;
		margin-left: 0px!important;
	}
}

/* ---- Bundle layout (single_course = 2 or 3) ---- */
.bundle--item, .single--item {
    scroll-margin-top: 100px;
	max-width: 1368px;
    margin: 2rem auto auto auto;
}

.bundle--item .bundle {
    position: relative;
    background-color: var(--color-white, #ffffff);
    border: 1px solid var(--color-grey, #54595F);
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    -webkit-box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
            box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    overflow: hidden;
}

.bundle--item .bundle {
    display: grid;
    grid-template-columns: 550px 1fr;
    gap: 0;
}

.bundle--item.bundle--even .bundle {
    grid-template-columns: 1fr 550px;
}

.bundle--item.bundle--even .bundle-image {
    order: 2;
}

@media (min-width: 1300px) {
    .bundle--item .bundle:hover, .single--item:hover {
        transform: scale(1.045);
        z-index: 10;
        transition: all 0.3s ease;
    }
}

.bundle--item .bundle-image {
    overflow: hidden;
}

.bundle--item .bundle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bundle--item .bundle-content {
    padding: 30px;
}

/* Bundle heading */
.bundle--item .bundle-heading,
.single--item .bundle-heading {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-green-darkest, #386C17);
    text-transform: uppercase;
    margin: 0 0 16px;
}

.bundle--item .bundle-description {
    margin-bottom: 16px;
    line-height: 1.6;
}

.bundle--item .bundle-notes {
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Course list inside bundle */
.bundle--item .bundle-course-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.bundle--item .bundle-course-item {
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
    border-bottom: 1px solid var(--color-green-brand, #50991F);
    gap: 4px;
}

.bundle--item .bundle-course-list .bundle-course-item:first-child {
    border-top: 1px solid var(--color-green-brand, #50991F);
}

/* Course code badge (both layouts) */
.bundle--item .bundle-course-item .course-code,
.single--item .course-code {
    background-color: #ccc;
    border-radius: 100px;
    color: var(--color-green-darkest, #386C17);
    padding: 0.05rem 0.5rem;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-bottom: 5px;
    flex-shrink: 0;
}

.bundle--item .bundle-course-item .course-name {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 0px;
    color: var(--color-green-darkest, #386C17);
    text-transform: uppercase;
}

.bundle--item .bundle-course-item .course-level-credits {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: var(--color-green-darkest, #386C17);
    text-transform: uppercase;
}

/* Bundle footer + cost */
.bundle--item .bundle-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.bundle--item .bundle-cost {
    display: flex;
    align-items: center;
    align-self: stretch;
    background-color: var(--color-green-brand, #50991F);
    border-radius: 100px;
    color: var(--color-white, #ffffff);
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.bundle--item .bundle-footer .book-now-btn {
    margin-left: auto;
}

/* ---- Single course layout (single_course = 1) ---- */
.single--item {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
    position: relative;
    background-color: var(--color-white, #ffffff);
    border: 1px solid var(--color-grey, #54595F);
    -webkit-box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
            box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    overflow: hidden;
    padding: 30px;
}

.single--item .bundle-description {
    margin-bottom: 24px;
    line-height: 1.6;
}

.single--item .all-courses {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.single--item .course-card {
    display: grid;
    grid-template-columns: 425px 1fr;
    border-bottom: 1px solid var(--color-green-brand, #50991F);
    padding: 10px 0;
}

.single--item .course-card:first-child {
    border-top: 1px solid var(--color-green-brand, #50991F);
}

.single--item .course-card-image {
    overflow: hidden;
}

.single--item .course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single--item .course-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Course title */
.single--item .course-title {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    color: var(--color-green-darkest, #386C17);
    text-transform: uppercase;
    margin: 0;
}

.single--item .course-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.single--item .course-level-credits {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: var(--color-green-darkest, #386C17);
    text-transform: uppercase;
}

.single--item .course-description {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.1em;
    flex: 1;
}

.single--item .course-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 8px;
}

.single--item .course-cost {
    display: flex;
    align-items: center;
    align-self: stretch;
    background-color: var(--color-green-brand, #50991F);
    border-radius: 100px;
    color: var(--color-white, #ffffff);
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.single--item .course-footer .book-now-btn {
    margin-left: auto;
}

/* Book Now button (both layouts) */
.book-now-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 200px;
    background-color: var(--color-green-darkest);
    border-radius: 100px;
    color: var(--color-white, #ffffff);
    text-transform: uppercase;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.book-now-btn::after {
    content: '\25BA';
    font-size: 0.7em;
    line-height: 1;
}

.book-now-btn:hover,
.book-now-btn:focus {
    background-color: var(--color-green-darkest, #386C17);
    color: var(--color-white, #ffffff);
}

/* Responsive */
@media (max-width: 900px) {
    .bundle--item .bundle {
        grid-template-columns: 1fr!important;
    }
	
	.bundle--item .bundle-content {
		order: 2!important;
	}

    .single--item .course-card {
        grid-template-columns: 1fr;
    }

    .single--item .course-card-image {
        height: 250px;
    }
}
/* =============================================
   Upcoming Courses Section
   ============================================= */
html body .upcoming-dates-content.container {
	padding: 0px 25px 6rem 25px;
}

.course-dates-table td, .course-dates-table th {
	font-weight: 600;
}

@media (max-width: 768px) {
    .upcoming-course-dates .course-dates-table tr.month-header {
        margin-left: -30px;
        margin-right: -30px;
    }
	
	.course-dates-table tr.month-header td {
        text-align: center !important;
    }
}
/* =============================================
   The Pathway Section
   ============================================= */
.the-pathway-section {
    padding: 60px 0;
}

/* Outer two-column layout: 33% content | 66% levels */
.pw--layout {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.pw--intro {
    flex: 1 1 0;
    min-width: 0;
}

.pw--intro h2 {
    margin-bottom: 1rem;
}

.pw--cols-wrapper {
    flex: 0 0 764px;
    width: 764px;
}

/* 4-column flex layout inside the right panel */
.pw--level-block {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.pw--col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 200px;
    text-align: center;
    color: var(--color-white);
    max-width: 176px;
    padding: 80px 0px;
    margin: 100px 0px;
}

/* Column header with level label */
.pw--col-header {
    color: #fff;
    margin-bottom: 0;
}

.pw--col-content {
    height: 100%;
    align-content: center;
    padding: 0px 30px;
    font-size: 14px;
    line-height: 16px;
}

.pw--level-label {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(0, 0, 0, 0.35);
    margin: 0 8px 20px;
    border-radius: 1rem;
}

/* Column content area */
.pw--units {
    display: block;
}

/* Qualification badge */
.pw--cert {
    display: block;
    text-transform: uppercase;
}

/* OR divider between the two paths in column 2 */
.pw--or-divider {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-green-darkest);
    padding: 16px;
    position: relative;
}

/* The two sub-paths inside the complex column */
.pw--path {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    line-height: 17px;
}

/* ---- Levels column: pill style with gradient ---- */
.pw--col:nth-child(1) {
    background: linear-gradient(0deg, var(--color-green-light) 40%,var(--color-green-lightest) 60%);
    height: 420px;
}

.pw--col:nth-child(2) {
    background: linear-gradient(0deg, var(--color-green-mid) 40%,var(--color-green-light) 60%);
    height: 520px;
}

.pw--col:nth-child(3) {
    background: var(--color-green-mid);
    height: 620px;
}

.pw--col:nth-child(3) .pw--units {
    margin-bottom: 50px;
}

.pw--col:nth-child(3) {
    padding: 150px 0px;
}

.pw--col:nth-child(4) {
    padding: 90px 0px;
    background: var(--color-green-dark);
    height: 480px;
}

/* Responsive: stack layout on tablet */
@media (max-width: 1100px) {
    .pw--layout {
        flex-direction: column;
    }

    .pw--intro {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .pw--cols-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Responsive: single column on mobile, auto height */
@media (max-width: 600px) {
    .pw--cols-wrapper {
        flex: 0 0 90vw;
        width: 90vw;
    }

    .pw--level-block {
        flex-direction: column;
    }

    .pw--col,
    .pw--col:nth-child(1),
    .pw--col:nth-child(2),
    .pw--col:nth-child(3),
    .pw--col:nth-child(4) {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
        height: auto;
        max-height: none;
        margin: 0;
        padding: 1.5rem;
        border-radius: 50px;
    }
}