/*
Theme Name: JS Landscaping
Template: generatepress
Version: 1.0.0
*/

/* ==========================================================================
   GLOBAL VARIABLES
   ========================================================================== */
:root {
    --pine: #006242;
    --canvas: #FFF5D1;
    --phthalo: #11312B;
    --pumpkin: #E75301;
    --ivory: #FFFCF0;
    --fern: #77BC71;
    --font-main: 'Gabarito', sans-serif;
}

body {
    background-color: var(--ivory);
}

@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700&display=swap');

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: var(--pine);
    padding: 50px 100px;
}

.header-inner {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    z-index: 1001;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    line-height: 0;
    position: relative;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:active {
    outline: none;
    background: none;
}

.mobile-menu-toggle img {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-toggle .close-x {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-toggle.active img {
    opacity: 0;
}

.mobile-menu-toggle.active .close-x {
    opacity: 1;
}

.mobile-menu-toggle .close-x span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--ivory);
    border-radius: 2px;
    top: 50%;
    left: 0;
}

.mobile-menu-toggle .close-x span:first-child {
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle .close-x span:last-child {
    transform: translateY(-50%) rotate(-45deg);
}

.main-navigation {
    background: none;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    align-items: center;
    background: none;
}

.main-navigation li {
    margin: 0;
    background: none;
}

.main-navigation a {
    color: var(--ivory);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 100%;
    transition: color 0.4s ease;
}

.main-navigation a:hover {
    color: var(--fern);
}

.main-navigation li:last-child a {
    background-color: transparent;
    color: var(--ivory);
    padding: 2px 10px;
    border-radius: 25px;
    border: 2px solid var(--pumpkin);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.main-navigation li:last-child a:hover {
    opacity: 1;
    background-color: var(--pumpkin);
}

.main-navigation li:last-child a::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: filter 0.3s ease;
}

.main-navigation li:last-child a:hover::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(424%) hue-rotate(324deg) brightness(108%) contrast(106%);
}

@media (min-width: 2560px) {
    .hero-section {
        min-height: 1100px;
        padding: 40px 100px 100px 100px;
    }

    .hero-content h1 {
        font-size: 7rem;
        margin: 0 0 30px 0;
    }

    .hero-content p {
        font-size: 1.75rem;
        margin: 0 0 40px 0;
    }

    .main-navigation ul {
        gap: 60px;
        /* Increased from 40px */
    }

    .main-navigation a {
        font-size: 1.5rem;
        /* Increase nav link font size */
    }
}

@media (max-width: 1600px) {
    .site-header {
        padding: 40px 80px;
    }

    .site-logo img {
        max-height: 48px;
    }

    .main-navigation ul {
        gap: 35px;
    }
}

@media (max-width: 1152px) {
    .site-header {
        padding: 40px 60px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 500px;
        height: 110vh;
        background-color: var(--pine) !important;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 120px 40px 40px;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .main-navigation a {
        font-size: 22px;
        color: var(--ivory) !important;
    }

    .site-logo img {
        max-height: 45px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 30px 40px;
    }

    .site-logo img {
        max-height: 40px;
    }

    .main-navigation {
        width: 280px;
        padding: 110px 30px 30px;
    }

    .main-navigation ul {
        gap: 25px;
    }

    .main-navigation a {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 35px 30px;
    }

    .site-logo img {
        max-height: 28px;
    }

    .mobile-menu-toggle {
        width: 24px;
        height: 24px;
    }

    .main-navigation {
        width: 250px;
        padding: 100px 20px 20px;
    }

    .main-navigation ul {
        gap: 20px;
    }

    .main-navigation a {
        font-size: 18px;
    }
}

/* Light Header Variation */
body.light-header .site-header {
    background-color: var(--ivory);
}

/* Only change desktop nav colors */
@media (min-width: 1153px) {
    body.light-header .main-navigation a {
        color: var(--phthalo);
    }

    body.light-header .main-navigation a:hover {
        color: var(--pine);
    }

    body.light-header .main-navigation li:last-child a {
        color: var(--phthalo);
    }

    body.light-header .main-navigation li:last-child a:hover {
        color: var(--ivory);
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-wrapper {
    background-color: var(--pine);
    background-image: url('assets/images/leaves.svg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    padding: 0px 0 200px 0;
    position: relative;
    overflow: hidden;
}

.hero-section {
    position: relative;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	background-color: transparent;
    display: flex;
    align-items: flex-end;
    padding: 40px 100px;
    margin: 0 100px;
    border-radius: 30px;
    overflow: visible;
    opacity: 0; /* Start hidden */
    transition: opacity 0.1s ease-in;
}

.hero-section.loaded {
    opacity: 1; /* Fade in when loaded */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 85%;
    color: var(--ivory);
    padding-bottom: 0;
}

.hero-content h1 {
    font-family: var(--font-main);
    font-size: 5rem;
    font-style: normal;
    font-weight: 800;
    line-height: 90%;
    margin: 0 0 10px 0;
    color: var(--ivory);
}

.hero-content p {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    margin: 0 0 20px 0;
    color: var(--ivory);
}

.hero-button {
    background-color: transparent;
    color: var(--ivory);
    padding: 2px 10px;
    border-radius: 25px;
    border: 2px solid var(--pumpkin);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 100%;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    opacity: 1;
    background-color: var(--pumpkin);
    color: var(--ivory);
}

.hero-button::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: filter 0.3s ease;
}

.hero-button:hover::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(424%) hue-rotate(324deg) brightness(108%) contrast(106%);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 200px;
    height: 200px;
    z-index: 3;
    animation: scaleIn 1.3s ease-out;
}

@media (min-width: 2560px) {
    .hero-section {
        min-height: 1100px;
        padding: 40px 100px 100px 100px;
    }

    .hero-content h1 {
        font-size: 7rem;
        margin: 0 0 30px 0;
    }

    .hero-content p {
        font-size: 1.75rem;
        margin: 0 0 40px 0;
    }

    .main-navigation ul {
        gap: 60px;
    }

    .main-navigation a {
        font-size: 1.35rem;
    }

    .hero-button {
        font-size: 1.5rem;
        /* Increased from 1.15rem */
        padding: 4px 14px;
        /* Slightly more padding for the larger text */
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-badge img {
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 1920px) {
    .hero-section {
        min-height: 700px;
    }
}

@media (min-width: 2560px) {
    .hero-section {
        min-height: 1100px;
    }
}

@media (max-width: 1600px) {
    .hero-wrapper {
        padding: 0 0 100px 0;
    }

    .hero-section {
        margin: 0 80px;
        padding: 50px;
    }

    .hero-badge {
        right: 80px;
    }
}

@media (max-width: 1512px) {
    .hero-badge {
        right: -40px;
        /* Adjust for narrower screens */
    }
}

@media (max-width: 1024px) {
    .hero-section {
        min-height: 500px;
        padding: 40px 60px;
        margin: 0 60px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-badge {
        width: 180px;
        height: 180px;
        right: -20px;
        bottom: -70px;
        left: auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
        padding: 60px 40px;
        margin: 0 40px;
        border-radius: 15px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-badge {
        width: 150px;
        height: 150px;
        right: -20px;
        bottom: -60px;
        left: auto;
    }
}

@media (max-width: 480px) {
    .hero-wrapper {
        background-image: url('assets/images/leaves.svg');
        background-repeat: no-repeat;
        background-position: center calc(100% + 150px);
        background-size: 200%;
    }

    .hero-section {
        min-height: 400px;
        padding: 40px 20px;
        margin: 0 20px;
        border-radius: 10px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-badge {
        width: 120px;
        height: 120px;
        right: -15px;
        bottom: -50px;
        left: auto;
    }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--pine);
    padding: 40px;
    border-radius: 20px;
    margin: 100px 100px 50px 100px;
}

.services-container {
    max-width: 1630px;
    margin: 0 auto;
}

.services-header {
    text-align: left;
    margin-bottom: 30px;
}

.services-header h2 {
    align-self: stretch;
    color: var(--canvas, #FFF5D1);
    font-family: Gabarito;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin: 0;
}

.services-intro {
    margin-bottom: 50px;
}

.services-intro h2 {
    align-self: stretch;
    color: var(--ivory, #FFFCF0);
    font-family: Gabarito;
    font-size: 3.2rem;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 100%;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.service-item {
    text-align: left;
    display: flex;
    gap: 10px;
}

.service-item::before {
    content: '';
    width: 22px;
    height: 22px;
    background-color: var(--pumpkin);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-content {
    flex: 1;
}

.service-title {
    align-self: stretch;
    color: var(--ivory, #FFFCF0);
    font-family: Gabarito;
    font-size: 1.65rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 15px 0;
}

.service-title a {
    color: var(--ivory);
    text-decoration: none;
}

.service-title a:hover {
    color: var(--pumpkin);
    transition: all 0.3s ease;
}

.service-description {
    align-self: stretch;
    color: var(--ivory, #FFFCF0);
    font-family: Gabarito;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

.services-button-wrapper {
    display: flex;
    justify-content: flex-end;
}

.services-button {
    background-color: var(--ivory);
    color: var(--pine);
    padding: 2px 10px;
    border-radius: 25px;
    border: 2px solid var(--ivory);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 100%;
    transition: all 0.3s ease;
}

.services-button:hover {
    background-color: transparent;
    color: var(--ivory);
}

.services-button::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('assets/images/arrowrightgreen.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease;
}

.services-button:hover::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(424%) hue-rotate(324deg) brightness(108%) contrast(106%);
}

/* Add counter reset to the process grid */
.process-section .services-grid {
    counter-reset: service-counter;
}

/* Add counter increment to process items */
.process-section .service-item {
    counter-increment: service-counter;
}

/* Update the ::before to show numbers instead of dots for process only */
.process-section .service-item::before {
    content: counter(service-counter);
    width: 35px;
    height: 35px;
    background-color: var(--pumpkin);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.2rem;
    font-weight: 700;
}

@media (min-width: 2560px) {
    .hero-section {
        min-height: 1100px;
        padding: 40px 100px 100px 100px;
    }

    .hero-content h1 {
        font-size: 7rem;
        margin: 0 0 30px 0;
    }

    .hero-content p {
        font-size: 1.75rem;
        margin: 0 0 40px 0;
    }

    .main-navigation ul {
        gap: 60px;
    }

    .main-navigation a {
        font-size: 1.35rem;
    }

    .hero-button {
        font-size: 1.5rem;
        padding: 4px 14px;
    }

    .service-description {
        font-size: 1.25rem;
        /* Increased from 0.95rem */
    }

    .services-button {
        font-size: 1.5rem;
        /* Scale up the button text */
        padding: 4px 14px;
        /* Add more padding for larger text */
    }
}

@media (min-width: 2560px) {
    .services-container {
        max-width: 2200px;
    }
}

@media (min-width: 2560px) {
    .hero-section {
        min-height: 1100px;
        padding: 40px 100px 100px 100px;
        /* More bottom padding to move content up */
    }

    .hero-content h1 {
        font-size: 7rem;
        /* Larger for big screens */
        margin: 0 0 30px 0;
        /* More spacing below */
    }

    .hero-content p {
        font-size: 1.75rem;
        /* Larger paragraph text */
        margin: 0 0 40px 0;
        /* More spacing below */
    }
}

@media (max-width: 1600px) {
    .services-section {
        padding: 45px;
        margin: 80px 80px;
    }
}

@media (max-width: 1024px) {
    .services-section {
        padding: 40px;
        margin: 60px 60px;
    }

    .services-intro h2 {
        font-size: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 30px;
        margin: 40px 40px;
        border-radius: 15px;
    }

    .services-header h2 {
        font-size: 18px;
        letter-spacing: 1.8px;
    }

    .services-intro h2 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-title {
        font-size: 24px;
    }

    .service-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 25px;
        margin: 20px 20px;
        border-radius: 30px;
    }

    .services-intro h2 {
        font-size: 28px;
    }

    .services-button-wrapper {
        justify-content: right;
    }
}

/* ==========================================================================
   FEATURED PROJECTS SECTION
   ========================================================================== */
.featured-projects-section {
    padding: 60px 80px 80px;
}

.featured-projects-container {
    max-width: 1900px;
    margin: 0 auto;
}

.our-work-hero-label {
    display: block;
    color: var(--pine);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.our-work-description {
    color: var(--phthalo);
    font-family: Gabarito;
    max-width: 800px;
    font-size: 1.15rem;
    font-style: normal;
    line-height: 100%;
    margin-top: -20px;
    margin-bottom: 40px;
}

.featured-projects-heading {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 3.3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 50px 0;
}

.projects-grid {
    display: flex;
    gap: 30px;
    height: 450px;
}

.project-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    flex: 1;
    min-width: 0;
    transition: flex 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: flex;
}

.project-card:hover {
    flex: 2;
}

.project-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    flex: 1;
    min-height: 0;
}

.project-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.project-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-title {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0;
}

.project-title a {
    color: var(--phthalo);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: var(--pumpkin);
}

.project-link {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    align-self: flex-start;
}

.project-link:hover {
    gap: 12px;
}

.project-link::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

@media (min-width: 2560px) {
    .hero-section {
        min-height: 1100px;
        padding: 40px 100px 100px 100px;
    }

    .our-work-description {
        font-size: 1.5rem;
        max-width: none;
    }

    .our-work-hero-label {
        font-size: 1.5rem;
    }


    .hero-content h1 {
        font-size: 7rem;
        margin: 0 0 30px 0;
    }

    .hero-content p {
        font-size: 1.75rem;
        margin: 0 0 40px 0;
    }

    .main-navigation ul {
        gap: 60px;
    }

    .main-navigation a {
        font-size: 1.35rem;
    }

    .hero-button {
        font-size: 1.5rem;
        padding: 4px 14px;
    }

    .service-description {
        font-size: 1.25rem;
    }

    .project-title {
        font-size: 2rem;
        /* Increased from 1.5rem */
    }

    .project-link {
        font-size: 1.5rem;
        /* Increased from 1.15rem */
    }
}

@media (max-width: 2560px) {
    .featured-projects-container {
        max-width: 2350px;
    }
}

@media (max-width: 768px) {
    .featured-projects-section {
        padding: 50px 40px;
    }

    .featured-projects-heading {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .projects-grid {
        flex-direction: column;
        height: auto;
        gap: 40px;
    }

    .project-card {
        flex: none;
    }

    .project-card:hover {
        flex: none;
    }

    .project-image {
        height: 400px;
        flex: none;
    }
}

@media (max-width: 480px) {
    .featured-projects-section {
        padding: 40px 20px;
    }

    .featured-projects-heading {
        font-size: 2rem;
    }

    .project-image {
        height: 350px;
    }
}

/* ==========================================================================
   OUR WORK SECTION (Portfolio Page)
   ========================================================================== */
.our-work-section {
    padding: 60px 80px 80px;
}

.our-work-container {
    max-width: 1900px;
    margin: 0 auto;
}

.our-work-heading {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 3.3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 50px 0;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */
.reviews-section {
    padding: 60px 100px 80px;
    background-color: var(--ivory);
}

.reviews-heading {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 3.3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 50px 0;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.page-template-page-reviews .reviews-heading {
    display: none;
}

.page-template-page-reviews .reviews-heading {
    display: none;
}

.page-template-page-reviews .reviews-grid-section {
    margin-bottom: 0px;
}

.page-template-page-reviews .reviews-section {
    padding-top: 0;
}

.reviews-container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: center;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: calc((100% - 60px) / 3);
    background-color: var(--canvas);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.quote-icon {
    width: 45px;
    height: 45px;
}

.review-text {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 0.98rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    flex: 1;
}

.review-text p {
    margin: 0;
}

.review-author {
    color: var(--pine);
    font-family: Gabarito;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 250%;
    letter-spacing: 1.5px;
}

.review-author-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-author-link:hover {
    color: var(--pumpkin);
}

.review-nav {
    width: 50px;
    height: 50px;
    background: none !important;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    outline: none;
    transition: transform 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.review-nav:hover {
    transform: translateX(5px);
    background: none !important;
}

.review-nav:focus {
    outline: none;
    background: none !important;
}

.review-nav:active {
    transform: translateX(5px);
    background: none !important;
}

.review-nav::before,
.review-nav::after {
    display: none;
}

.review-prev {
    display: none;
}

.review-ellipsis {
    color: var(--phthalo);
}

.review-read-more {
    color: var(--pumpkin);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.review-read-more:hover {
    color: var(--pine);
}

.review-author-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-author-link:hover {
    color: var(--pumpkin);
}

@media (min-width: 2560px) {
    .hero-section {
        min-height: 1100px;
        padding: 40px 100px 100px 100px;
    }

    .hero-content h1 {
        font-size: 7rem;
        margin: 0 0 30px 0;
    }

    .hero-content p {
        font-size: 1.75rem;
        margin: 0 0 40px 0;
    }

    .main-navigation ul {
        gap: 60px;
    }

    .main-navigation a {
        font-size: 1.35rem;
    }

    .hero-button {
        font-size: 1.5rem;
        padding: 4px 14px;
    }

    .service-description {
        font-size: 1.25rem;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-link {
        font-size: 1.5rem;
    }

    .our-work-section {
        padding: 80px 100px 100px;
    }

    .our-work-container {
        max-width: 2400px;
    }

    .our-work-heading {
        font-size: 4.5rem;
        margin: 0 0 70px 0;
    }

    .reviews-section {
        padding: 80px 120px 100px;
    }

    .reviews-heading {
        font-size: 4.5rem;
        margin: 0 0 70px 0;
        max-width: 2400px;
    }

    .reviews-container {
        max-width: 2400px;
        gap: 70px;
    }

    .reviews-track {
        gap: 40px;
    }

    .review-card {
        min-width: calc((100% - 80px) / 3);
        padding: 35px;
        gap: 30px;
    }

    .quote-icon {
        width: 60px;
        height: 60px;
    }

    .review-text {
        font-size: 1.3rem;
    }

    .review-author {
        font-size: 1.5rem;
    }

    .review-nav {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 1920px) {
    .service-detail-section {
        padding: 100px 100px 20px;
	}
	
.reviews-section {
    padding: 60px 80px 80px 80px;
	}
}

@media (max-width: 1600px) {
    .reviews-section {
        padding: 0px 80px 70px;
    }
}

@media (max-width: 1024px) {
    .reviews-section {
        padding: 45px 60px 60px;
    }

    .reviews-container {
        flex-direction: column;
        align-items: flex-end;
        gap: 20px;
    }

    .reviews-slider {
        width: 100%;
    }

    .review-card {
        min-width: calc((100% - 30px) / 2);
    }

    .review-prev {
        display: flex;
        transform: rotate(180deg);
    }

    .review-prev:hover {
        transform: rotate(180deg) translateX(5px);
    }

    .review-prev:active {
        transform: rotate(180deg) translateX(5px);
    }

    .review-nav-wrapper {
        display: flex;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 820px) {
    .our-work-section {
        padding: 60px 60px 80px;
    }
}

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

    .reviews-heading {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .review-card {
        min-width: 100%;
    }

    .review-nav {
        width: 40px;
        height: 40px;
    }

    .our-work-section {
        padding: 60px 40px 40px;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 30px 20px 40px;
    }

    .our-work-section {
        padding: 60px 20px 40px;
    }

    .reviews-heading {
        font-size: 2rem;
    }

    .review-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    padding: 10px 80px 60px;
    background-color: var(--ivory);
}

.cta-background {
    background-color: var(--pine);
    background-image: url('assets/images/ctaleaves.svg');
    background-repeat: no-repeat;
    background-position: center 0px;
    background-size: 120% auto;
    border-radius: 30px;
    padding: 60px 100px;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cta-content {
    max-width: 900px;
    width: 900px;
    height: 600px;
    background-image: url('assets/images/rectangle.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-inner {
    text-align: center;
    max-width: 500px;
    padding: 0 0px;
    margin-top: -60px;
}

.cta-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 0px;
}

.cta-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.cta-heading {
    color: var(--pine);
    font-family: Gabarito;
    font-size: 3.3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 20px 0;
}

.cta-text {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 30px 30px;
}

.cta-button {
    background-color: transparent;
    color: var(--pumpkin);
    padding: 2px 10px;
    border-radius: 25px;
    border: 2px solid var(--pumpkin);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: Gabarito;
    font-size: 1.15rem;
    color: var(--phthalo);
    font-weight: 500;
    line-height: 100%;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--pumpkin);
    color: var(--ivory);
}

.cta-button::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: filter 0.3s ease;
}

.cta-button:hover::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(424%) hue-rotate(324deg) brightness(108%) contrast(106%);
}

@media (min-width: 2560px) {
    /* ... your existing styles ... */

    .footer-navigation a {
        font-size: 1.35rem;
    }

    .footer-phone,
	.footer-privacy,
    .footer-email,
    .footer-address,
    .footer-license,
	.footer-credit {
        font-size: 1.3rem !important;
    }

    .cta-text {
        font-size: 1.5rem;
        /* Increased from 1.15rem */
    }

    .cta-button {
        font-size: 1.5rem;
        /* Increased from 1.15rem */
        padding: 4px 14px;
        /* Slightly more padding for larger text */
    }
}

@media (min-width: 1700px) {
    .cta-background {
        background-size: 100% auto;
        background-position: center -40px;
    }
}

@media (min-width: 2560px) {
    .cta-background {
        background-position: center -180px;
    }
}

@media (max-width: 1024px) {
    .cta-section {
        padding: 0px 0 0 0;
        margin: 0;
    }

    .cta-background {
        padding: 40px 40px 60px 40px;
        border-radius: 0;
        min-height: auto;
        background-image: url('assets/images/ctaleavesmobile.svg');
        background-position: center -350px;
        /* moved up from -5px */
        background-size: 100%;
        /* reduced from cover */
    }

    .cta-content {
        width: 95%;
        max-width: 700px;
        height: auto;
        background-image: url('assets/images/rectangle.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        padding: 120px 70px;
    }

    .cta-inner {
        margin-top: -30px;
        max-width: 420px;
    }

    .cta-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 20px;
    }

    .cta-heading {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .site-footer {
        position: relative;
        z-index: 10;
        margin-top: -50px;
    }



    @media (max-width: 820px) {
        .cta-background {
            padding: 40px 40px 60px 40px;
            border-radius: 0;
            min-height: auto;
            background-image: url('assets/images/ctaleavesmobile.svg');
            background-position: center -225px;
            /* moved up from -5px */
            background-size: 100%;
            /* reduced from cover */
        }
    }
}

@media (max-width: 768px) {

    .cta-background {

        background-position: center -185px;
        background-size: 100%;
    }
}


@media (max-width: 767px) and (min-width: 712px) {
    .cta-section {
        margin: 0;
        padding: 0px 0 0 0;
    }

    .cta-background {
        padding: 40px 40px 60px 40px;
        border-radius: 0;
        min-height: auto;
        background-image: url('assets/images/ctaleavesmobile.svg');
        background-position: center -165px;
        background-size: 100%;
    }

    .cta-content {
        width: 95%;
        max-width: 700px;
        height: auto;
        background-image: url('assets/images/rectangle.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        padding: 120px 70px;
    }

    .cta-inner {
        margin-top: -30px;
        max-width: 420px;
    }

    .cta-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 20px;
    }

    .cta-heading {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .cta-text {
        font-size: 1.15rem;
        line-height: 150%;
        margin: 20px 0;
    }

    .cta-button {
        font-size: 1.15rem;
    }
}

@media (max-width: 711px) and (min-width: 481px) {
    .cta-section {
        margin: 0;
        padding: 0px 0 0 0;
    }

    .cta-background {
        padding: 60px 0 60px 0;
        border-radius: 0;
        background-image: url('assets/images/ctaleavesmobile.svg');
        background-position: center -20px;
        /* added positioning */
        background-size: 85%;
        /* reduced size */
    }

    .cta-content {
        width: 100%;
        max-width: none;
        height: 500px;
        background-image: url('assets/images/mobilerectangle.svg');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        padding: 100px 40px;
    }

    .cta-inner {
        max-width: 300px;
        margin-top: -20px;
    }

    .cta-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .cta-heading {
        font-size: 1.5rem;
        margin-bottom: 12px;
        line-height: 110%;
    }

    .cta-text {
        font-size: 0.9rem;
        line-height: 140%;
        margin: 15px 0 20px 0;
    }

    .cta-button {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        margin: 0;
        padding: 0px 0 0 0;
    }

    .cta-background {
        padding: 50px 0 50px 0;
        background-image: url('assets/images/ctaleavesmobile.svg');
        background-position: center -15px;
        /* added positioning */
        background-size: 90%;
        /* reduced size */
    }

    .cta-content {
        width: 100%;
        max-width: none;
        height: 500px;
        background-image: url('assets/images/mobilerectangle.svg');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        padding: 100px 35px;
    }

    .cta-inner {
        max-width: 260px;
    }

    .cta-icon {
        width: 70px;
        height: 70px;
    }

    .cta-heading {
        font-size: 1.7rem;
        line-height: 110%;
    }

    .cta-text {
        font-size: 0.9rem;
        line-height: 140%;
    }

    .cta-button {
        font-size: 0.95rem;
    }
}

@media (max-width: 430px) {
    .cta-content {
        height: 480px;
        padding: 95px 30px;
    }

    .cta-background {
        background-position: center -20px;
        /* added positioning */
        background-size: 120%;
        /* reduced size */
    }

    .cta-inner {
        max-width: 240px;
    }

    .cta-heading {
        font-size: 1.6rem;
    }

    .cta-text {
        font-size: 0.85rem;
        margin: 12px 0 18px 0;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--phthalo);
    padding: 60px 100px 0px 140px;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.footer-inner {
    max-width: 100%;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: start;
    padding-bottom: 40px;
}

.footer-navigation {
    display: flex;
    justify-content: flex-start;
}

.footer-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-navigation li {
    margin: 0;
}

.footer-navigation a {
    color: var(--ivory);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 100%;
    transition: color 0.3s ease;
}

.footer-navigation a:hover {
    color: var(--fern);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.footer-phone,
.footer-email,
.footer-privacy,
.footer-credit {
    color: var(--ivory) !important;
    text-decoration: none !important;
    font-family: var(--font-main) !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    line-height: 140% !important;
    transition: color 0.3s ease !important;
}

.footer-phone:hover,
.footer-email:hover,
.footer-privacy:hover,
.footer-credit:hover {
    color: var(--fern) !important;
}

.footer-address,
.footer-license,
.footer-privacy,
.footer-credit {
    color: var(--ivory) !important;
    font-family: var(--font-main) !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    line-height: 140% !important;
    margin: 0 !important;
}

.footer-social {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.footer-social img {
    width: 100%;
    height: 100%;
    display: block;
    transition: filter 0.3s ease;
}

.footer-social a:hover img {
    filter: brightness(0) saturate(100%) invert(85%) sepia(12%) saturate(1238%) hue-rotate(55deg) brightness(95%) contrast(88%);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding-top: 40px;
    margin: 0 200px -10px -650px;
}

.footer-logo img {
    width: 270%;
    max-width: none;
    height: auto;
    display: block;
}

@media (min-width: 2560px) {

    .footer-navigation a {
        font-size: 1.5rem;
    }

    .footer-phone,
    .footer-email,
    .footer-address,
    .footer-license,
	.footer-privacy,
	.footer-credit {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 1600px) {
    .site-footer {
        padding: 60px 120px 0px;
    }

    .footer-top {
        gap: 60px;
    }

    .footer-logo {
        padding-top: 35px;
    }

    .footer-navigation ul {
        gap: 35px;
    }
}

@media (max-width: 1024px) {
    .site-footer {
        padding: 40px 60px 0px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo {
        padding-top: 40px;
        margin: 0 -60px 0 -300px;
    }

    .footer-logo img {
        width: 150%;
        max-width: none;
    }

    .footer-navigation ul {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 35px 40px 0px;
    }

    .footer-top {
        gap: 30px;
    }

    .footer-logo {
        padding-top: 35px;
        margin: 0 auto 0 auto;
        max-width: 550px;
    }

    .footer-logo img {
        max-width: 550px;
    }

    .footer-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

    .footer-navigation a,
    .footer-phone,
    .footer-email,
	.footer-privacy,
	.footer-credit {
        font-size: 1.15rem !important;
    }

    .footer-address,
    .footer-license,
	.footer-privacy,
	.footer-credit {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 20px 0px;
    }

    .footer-logo {
        padding-top: 30px;
        margin: 0 auto 0 auto;
        max-width: 310px;
    }

    .footer-logo img {
        max-width: 310px;
    }

    .footer-navigation a,
    .footer-phone,
    .footer-email,
	.footer-privacy
	.footer-credit {
        font-size: 0.95rem !important;
    }

    .footer-address,
    .footer-license,
	.footer-privacy,
	.footer-credit {
        font-size: 0.85rem !important;
    }
}

/* ==========================================================================
   SINGLE PROJECT PAGE
   ========================================================================== */

.single-project {
    background-color: var(--ivory);
}

.single-project-container {
    max-width: 1900px;
    margin: 0 auto;
    padding: 60px 100px 80px;
}

.project-header {
    margin-bottom: 50px;
}

.project-breadcrumb {
    margin-bottom: 20px;
}

.project-breadcrumb a {
    color: var(--pine);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.project-breadcrumb a:hover {
    color: var(--pumpkin);
}

.single-project-title {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 3.3rem;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 20px 0;
}

.single-project-description {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.125rem;
    line-height: 1.6;
}

.single-project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.single-gallery-item {
    border-radius: 20px;
    overflow: hidden;
    width: calc(50% - 15px);
    height: 500px;
    /* Fixed height instead of aspect-ratio */
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-gallery-item:hover {
    width: calc(60% - 15px);
}

.single-gallery-item:nth-child(odd):hover+.single-gallery-item {
    width: calc(40% - 15px);
}

.single-gallery-item:nth-child(even):hover {
    width: calc(60% - 15px);
}

.single-gallery-item:nth-child(odd):has(+ .single-gallery-item:hover) {
    width: calc(40% - 15px);
}

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

.project-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.project-category-tag {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 25px;
    font-family: Gabarito;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: lowercase;
}

.project-category-tag[data-category="outdoor-living"] {
    background-color: var(--fern);
    color: var(--phthalo);
}

.project-category-tag[data-category="design"] {
    background-color: var(--pine);
    color: var(--ivory);
}

.project-category-tag[data-category="build"] {
    background-color: var(--pumpkin);
    color: var(--ivory);
}

.project-category-tag[data-category="maintenance"] {
    background-color: var(--canvas);
    color: var(--phthalo);
}

/* Before/After Slider */
.before-after-container {
    position: relative;
    cursor: ew-resize;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.after-image {
    clip-path: inset(0 50% 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--pumpkin);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.single-gallery-item {
    cursor: pointer;
}

/* Gentle pulse animation for before/after slider */
@keyframes gentle-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.slider-button {
    transform: translate(-50%, -50%);
}

.slider-button.animate {
    animation: gentle-pulse 0.8s ease-in-out 2;
}

@media (min-width: 2560px) {
    .single-project-container {
        max-width: 2400px;
        padding: 80px 20px 100px;
    }

    .project-header {
        margin-bottom: 70px;
    }

    .project-breadcrumb {
        margin-bottom: 30px;
    }

    .project-breadcrumb a {
        font-size: 1.5rem;
    }

    .single-project-title {
        font-size: 4.5rem;
        margin: 0 0 30px 0;
    }

    .single-project-description {
        font-size: 1.5rem;
        max-width: none;
    }

    .single-project-gallery {
        gap: 40px;
        margin-bottom: 70px;
    }

    .single-gallery-item {
        width: calc(50% - 20px);
        height: 650px;
    }

    .single-gallery-item:hover {
        width: calc(60% - 20px);
    }

    .single-gallery-item:nth-child(odd):hover+.single-gallery-item {
        width: calc(40% - 20px);
    }

    .single-gallery-item:nth-child(even):hover {
        width: calc(60% - 20px);
    }

    .single-gallery-item:nth-child(odd):has(+ .single-gallery-item:hover) {
        width: calc(40% - 20px);
    }

    .project-categories {
        gap: 15px;
        margin-top: 40px;
        margin-bottom: 50px;
    }

    .project-category-tag {
        font-size: 1.25rem;
        padding: 4px 16px;
    }

    .slider-button {
        width: 60px;
        height: 60px;
        border: 4px solid white;
    }
}

@media (max-width: 768px) {
    .slider-button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 1600px) {
    .single-project-container {
        padding: 40px 30px 0px;
        max-width: 1400px;
    }
}

@media (max-width: 1024px) {
    .single-gallery-item {
        transition: none !important;
        width: calc(100% - 0px) !important;
    }

    /* Explicitly remove all hover effects */
    .single-gallery-item:hover,
    .single-gallery-item:nth-child(odd):hover+.single-gallery-item,
    .single-gallery-item:nth-child(even):hover,
    .single-gallery-item:nth-child(odd):has(+ .single-gallery-item:hover) {
        width: calc(100% - 0px) !important;
    }
}

@media (max-width: 768px) {
    .single-project-container {
        padding: 40px 40px 50px;
    }

    .single-project-title {
        font-size: 2.5rem;
    }

    .single-project-gallery {
        flex-direction: column;
    }

    .single-gallery-item {
        border-radius: 15px;
        width: 100%;
    }

    .single-gallery-item:hover {
        width: 100%;
    }

    .project-category-tag {
        font-size: 0.85rem;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .single-project-container {
        padding: 30px 20px 40px;
    }

    .single-project-title {
        font-size: 2rem;
    }

    .single-project-description {
        font-size: 1.15rem;
    }
}

@media (max-width: 412px) {
    .project-category-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

/* ==========================================================================
   SERVICES HERO SECTION
   ========================================================================== */
.services-hero-wrapper {
    background-color: var(--pine);
    background-image: url('assets/images/leaves.svg');
    background-repeat: no-repeat;
    background-position: center calc(100% + 400px);
    background-size: 100% auto;
    padding: 80px 0 200px 0;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.services-hero-section {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 100px;
}

.services-hero-content {
    text-align: left;
}

.services-hero-label {
    display: block;
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.services-hero-content h1 {
    font-family: var(--font-main);
    font-size: 4rem;
    font-weight: 800;
    line-height: 110%;
    margin: 0 0 20px 0;
    color: var(--ivory);
    max-width: 1600px;
}

.services-hero-content p {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 100%;
    margin: 0;
    color: var(--ivory);
    max-width: 900px;
}

@media (max-width: 1600px) {
    .services-hero-wrapper {
        padding: 60px 0 180px 0;
        background-position: center calc(100% + 300px);
    }

    .services-hero-section {
        padding: 0 80px;
    }

    .services-hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    .services-hero-wrapper {
        padding: 50px 0 150px 0;
        background-position: center calc(100% + 450px);
        background-size: 200% auto;
    }

    .services-hero-section {
        padding: 0 60px;
    }

    .services-hero-content h1 {
        font-size: 3rem;
    }

    .services-hero-content p {
        font-size: 1.125rem;
    }
}

@media (max-width: 820px) {
    .services-hero-wrapper {
        padding: 50px 0 150px 0;
        background-position: center calc(100% + 375px);
        background-size: 200% auto;
    }
}

@media (max-width: 768px) {
    .services-hero-wrapper {
        padding: 40px 0 120px 0;
        border-radius: 0 0 20px 20px;
        background-image: url('assets/images/leaves.svg');
        background-repeat: no-repeat;
        background-position: center calc(100% + 350px);
        background-size: 200%;
    }

    .services-hero-section {
        padding: 0 40px;
    }

    .services-hero-content h1 {
        font-size: 2.5rem;
    }

    .services-hero-content p {
        font-size: 1.15rem;
    }
}


@media (max-width: 712px) {
    .services-hero-wrapper {
        background-position: center calc(100% + 325px);
    }
}

@media (max-width: 480px) {
    .services-hero-wrapper {
        padding: 30px 0 100px 0;
        border-radius: 0 0 15px 15px;
        margin-bottom: 30px;
        background-image: url('assets/images/leaves.svg');
        background-repeat: no-repeat;
        background-position: center calc(100% + 175px);
        background-size: 200%;
    }

    .services-hero-section {
        padding: 0 20px;
    }

    .services-hero-content::before {
        font-size: 0.875rem;
        margin-bottom: 15px;
    }

    .services-hero-content h1 {
        font-size: 2rem;
    }

    .services-hero-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .services-hero-wrapper {
        background-position: center calc(100% + 150px);
    }
}

/* ==========================================================================
   SERVICE DETAIL SECTION
   ========================================================================== */
.service-detail-section {
    padding: 80px 80px 20px;
    background-color: var(--ivory);
}

.service-detail-container {
    max-width: 1900px;
    margin: 0 auto;
}

.service-detail-header {
    margin-bottom: 40px;
}

.service-detail-title {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 20px 0;
}

.service-detail-title::before {
    content: '●';
    margin-right: 15px;
    color: var(--pumpkin);
}

.service-detail-description {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 0 20px 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1.2fr 380px;
    gap: 30px;
    align-items: start;
}

.service-detail-images {
    display: flex;
    gap: 30px;
    height: 490px;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    min-width: 0;
    transition: flex 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: flex;
}

.service-detail-link:hover,
.service-detail-link:active,
.service-detail-link:focus {
    color: var(--ivory);
    gap: 12px;
}

.service-detail-link::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

/* Default state: first is portrait (1), second is landscape (2) */
.service-detail-image:nth-child(1) {
    flex: 1;
}

.service-detail-image:nth-child(2) {
    flex: 2;
}

/* When hovering any image, it becomes landscape (2) */
.service-detail-image:hover {
    flex: 2 !important;
}

/* When hovering first image, second becomes portrait */
.service-detail-image:nth-child(1):hover~.service-detail-image:nth-child(2) {
    flex: 1 !important;
}

/* When hovering second image, first becomes portrait */
.service-detail-images:has(.service-detail-image:nth-child(2):hover) .service-detail-image:nth-child(1) {
    flex: 1 !important;
}

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

.service-detail-list-box {
    background-color: var(--pine);
    border-radius: 20px;
    padding: 40px 35px 50px 35px;
    color: var(--ivory);
    height: 490px;
    /* Increased from 450px */
    display: flex;
    flex-direction: column;
}

.service-detail-link {
    background-color: transparent;
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    padding: 2px 10px;
    border-radius: 25px;
    border: 2px solid var(--pumpkin);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.service-detail-link::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(assets/images/arrowright.svg);
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: all 0.3s ease;
}

.service-detail-link:hover::after {
    filter: brightness(0) invert(1);
}

.service-list-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.service-list-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.service-list-title {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 20px 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.2rem;
    line-height: 1.8;
    padding-left: 0;
}

@media (min-width: 2560px) {
    .services-hero-wrapper {
        padding: 100px 0 250px 0;
        background-position: center calc(100% + 550px);
    }

    .services-hero-section {
        max-width: 2600px;
    }

    .services-hero-label {
        font-size: 1.5rem;
    }

    .services-hero-content h1 {
        font-size: 5.5rem;
        margin: 0 0 30px 0;
        max-width: 2000px;
    }

    .services-hero-content p {
        font-size: 1.75rem;
    }

    .service-detail-section {
        padding: 100px 100px 40px;
        /* Increased padding to match hero */
    }

    .service-detail-container {
        max-width: 2400px;
    }

    .services-container {
        max-width: 2200px;
    }

    .service-detail-content {
        grid-template-columns: 1.2fr 480px;
        /* Increased from 380px */
    }

    .service-detail-title {
        font-size: 3.5rem;
        margin: 0 0 30px 0;
    }

    .service-detail-description {
        font-size: 1.5rem;
    }

    .service-detail-images {
        height: 600px;
    }

    .service-detail-list-box {
        height: 600px;
        padding: 50px 45px;
    }

    .service-list-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 30px;
    }

    .service-list-title {
        font-size: 2rem;
        margin: 0 0 30px 0;
    }

    .service-list li {
        font-size: 1.5rem;
    }
}

@media (max-width: 1600px) {
    .service-detail-section {
        padding: 80px 80px 20px;
    }
}

@media (max-width: 1024px) {
    .service-detail-section {
        padding: 60px 60px;
    }

    .service-detail-title {
        font-size: 2rem;
    }

    .service-detail-description {
        font-size: 1.15rem;
    }

    .service-detail-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail-images {
        display: flex;
        flex-direction: column;
        grid-column: auto;
        height: auto;
    }

    .service-detail-image {
        flex: none;
        height: 300px;
    }

    .service-detail-image:hover {
        flex: none;
    }

    .service-detail-list-box {
        grid-column: auto;
        height: auto;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .service-detail-section {
        padding: 60px 40px;
    }

    .service-detail-title {
        font-size: 2rem;
    }

    .service-detail-content {
        display: grid;
        /* Reset to grid */
        grid-template-columns: 1fr;
        /* Single column - stack everything */
        gap: 30px;
    }

    .service-detail-images {
        display: flex;
        /* Reset back to flex */
        flex-direction: column;
        grid-column: auto;
        /* Reset grid-column */
        height: auto;
    }

    .service-detail-image {
        flex: none;
        height: 300px;
    }

    .service-detail-image:hover {
        flex: none;
    }

    .service-detail-list-box {
        grid-column: auto;
        /* Reset grid-column */
        height: auto;
        /* Reset height */
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .service-detail-section {
        padding: 30px 20px;
    }

    .service-detail-title {
        font-size: 1.75rem;
    }

    .service-detail-list-box {
        padding: 30px 25px;
        max-width: none;
        margin: 0;
    }

    .service-detail-image {
        height: 250px;
    }
}

/* ==========================================================================
   ABOUT HERO SECTION
   ========================================================================== */
.about-hero-wrapper {
    background-color: var(--ivory);
    padding: 60px 0 20px 0;
}

.about-hero-section {

    margin: 0 auto;
    padding: 0 100px;
}

.about-hero-content {
    text-align: left;
}

.about-hero-label {
    display: block;
    color: var(--pine);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-hero-content h1 {
    font-family: var(--font-main);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 110%;
    margin: 0 0 20px 0;
    color: var(--phthalo);
    max-width: 1100px;
}

.about-hero-content p {
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    color: var(--phthalo);
    max-width: 900px;
}

@media (max-width: 1600px) {
    .about-hero-section {
        padding: 0 80px;
    }
}

@media (max-width: 1024px) {
    .about-hero-section {
        padding: 0 60px;
    }
}

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

    .about-hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .about-hero-section {
        padding: 0 20px;
    }

    .about-hero-content h1 {
        font-size: 1.9rem;
    }
}

/* ==========================================================================
   STORY SECTIONS
   ========================================================================== */
.story-section {
    background-color: var(--ivory);
    padding: 0 100px 40px;
    position: relative;
}

.story-section:first-of-type {
    margin-top: 60px;
}

.story-container {
    max-width: 1900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--phthalo);
    border-radius: 30px;
    padding: 40px;
}

.story-section-right .story-container {
    grid-template-columns: 1fr 1fr;
    padding: 40px 60px 40px 40px;
}

.story-section-left .story-container {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
    padding: 40px 40px 40px 60px;
}

.story-section-left .story-content {
    direction: ltr;
}

.story-image {
    border-radius: 20px;
    overflow: hidden;
}

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

.story-content {
    color: var(--ivory);
}

.story-label {
    display: block;
    color: var(--fern);
    font-family: Gabarito;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.story-heading {
    font-family: Gabarito;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 110%;
    margin: 0 0 20px 0;
    color: var(--ivory);
}

.story-text {
    font-family: Gabarito;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ivory);
}

.story-text p {
    margin: 0 0 15px 0;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-badge {
    position: absolute;
    left: 50%;
    bottom: -100px;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    z-index: 10;
    opacity: 0;
    /* Start invisible */
}

.story-badge.animate-in {
    animation: scaleInCentered 0.8s ease-out forwards;
}

@keyframes scaleInCentered {
    from {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}

.story-badge img {
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 1905px) and (max-width: 1905px) {
    .team-member-bio {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 1600px) {
    .story-section {
        padding: 0 80px 80px;
    }
}

@media (max-width: 1024px) {
    .story-section {
        padding: 0 60px 40px;
    }

    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .story-section-left .story-container,
    .story-section-right .story-container {
        grid-template-columns: 1fr;
        direction: ltr;
        padding: 40px;
    }

    /* Extra bottom padding for first section */
    .story-section:first-of-type .story-container {
        padding-bottom: 80px;
    }

    /* Extra top padding for second section */
    .story-section:nth-of-type(2) .story-container {
        padding-top: 100px;
    }

    .story-image {
        display: none;
    }
}

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

    .story-section:first-of-type {
        margin-top: 20px;
    }

    .story-container {
        grid-template-columns: 1fr;
        padding: 30px;
        border-radius: 20px;
        gap: 30px;
    }

    .story-section-right .story-container,
    .story-section-left .story-container {
        grid-template-columns: 1fr;
        direction: ltr;
        padding: 30px;
    }

    /* Add extra padding-top to second story container for badge clearance */
    .story-section:nth-of-type(2) .story-container {
        padding-top: 100px;
    }

    .story-image {
        display: none;
    }

    .story-heading {
        font-size: 2rem;
    }

    .story-badge {
        width: 150px;
        height: 150px;
        bottom: -75px;
    }
}

@media (max-width: 480px) {
    .story-section {
        padding: 0 20px 40px;
    }

    .story-section:first-of-type {
        margin-top: 20px;
    }

    .story-container {
        padding: 25px;
        border-radius: 15px;
    }

    .story-section-right .story-container,
    .story-section-left .story-container {
        padding: 25px;
    }

    /* Add extra padding-top to second story container for badge clearance */
    .story-section:nth-of-type(2) .story-container {
        padding-top: 80px;
    }

    .story-heading {
        font-size: 1.75rem;
    }

    .story-text {
        font-size: 1.15rem;
    }

    .story-badge {
        width: 120px;
        height: 120px;
        bottom: -60px;
    }
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-section {
    padding: 160px 100px 80px;
    background-color: var(--ivory);
}

.team-container {
    max-width: 1900px;
    margin: 0 auto;
}

.team-heading {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 3rem;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 20px 0;
}

.team-heading::before {
    content: '●';
    color: var(--pumpkin);
    margin-right: 15px;
}

.team-intro {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 0 50px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.team-member-card {
    perspective: 1000px;
    width: 100%;
}

.team-card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.team-card-inner.flipped {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
}

.team-card-front {
    background-color: var(--canvas);
    position: relative;
    padding-bottom: 20px;
}

.team-card-back {
    background-color: var(--canvas);
    transform: rotateY(180deg);
    padding: 40px 40px 30px 40px;
    /* Less padding at bottom */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
}

.team-member-image {
    width: calc(100% - 40px);
    height: 0;
    padding-bottom: calc((490 / 430) * (100% - 40px));
    overflow: hidden;
    border-radius: 20px;
    margin: 20px auto;
    position: relative;
}

.team-member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-info {
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-member-name {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 100%;
    margin: 0;
}

.team-member-role {
    color: var(--pine);
    font-family: Gabarito;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin: 0;
}

.team-read-bio,
.team-close-bio {
    background: none;
    border: none;
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-end;
}

.team-read-bio::after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.team-read-bio:hover,
.team-close-bio:hover {
    color: var(--pumpkin);
    background: none;
}

.team-bio-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    flex: 1;
    gap: 10px;
    /* Add spacing between all children */
}

.team-bio-content .team-member-name {
    margin-bottom: 10px;
    /* Extra space after name */
}

.team-bio-content .team-member-role {
    margin-bottom: 15px;
    /* Extra space after role */
}

.team-member-bio {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
    overflow-y: auto;
}

.team-close-bio {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 20px;
    /* Remove any extra padding */
}

.team-close-bio::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transform: rotate(180deg);
}

@media (min-width: 2560px) {
    .about-hero-wrapper {
        padding: 80px 0 30px 0;
    }

    .about-hero-section {
        padding: 0 120px;
    }

    .about-hero-label {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .about-hero-content h1 {
        font-size: 5rem;
        margin: 0 0 30px 0;
        max-width: none;
    }

    .about-hero-content p {
        font-size: 1.75rem;
        /* Increased from 1.5rem */
        max-width: none;
    }

    .story-section {
        padding: 0 120px 60px;
    }

    .story-section:first-of-type {
        margin-top: 80px;
    }

    .story-container {
        max-width: 2400px;
        gap: 80px;
        padding: 60px;
    }

    .story-section-right .story-container {
        padding: 60px 80px 60px 60px;
    }

    .story-section-left .story-container {
        padding: 60px 60px 60px 80px;
    }

    .story-label {
        font-size: 1.65rem;
        margin-bottom: 30px;
    }

    .story-heading {
        font-size: 2.5rem;
        margin: 0 0 30px 0;
    }

    .story-text {
        font-size: 1.5rem;
        /* Increased from 1.3rem */
    }

    .story-text p {
        margin: 0 0 20px 0;
    }

    .story-badge {
        width: 260px;
        height: 260px;
        bottom: -130px;
    }

    .team-section {
        padding: 100px 120px 100px;
    }

    .team-container {
        max-width: 2400px;
    }

    .team-heading {
        font-size: 4rem;
        margin: 0 0 30px 0;
    }

    .team-intro {
        font-size: 1.75rem;
        /* Increased from 1.5rem */
        margin: 0 0 70px 0;
    }

    .team-grid {
        gap: 40px;
    }

    .team-member-image {
        width: calc(100% - 50px);
        padding-bottom: calc((490 / 430) * (100% - 50px));
        margin: 25px auto;
    }

    .team-member-info {
        padding: 25px;
        gap: 20px;
    }

    .team-member-name {
        font-size: 2.25rem;
    }

    .team-member-role {
        font-size: 1.6rem;
    }

    .team-read-bio,
    .team-close-bio {
        font-size: 1.5rem;
    }

    .team-read-bio::after,
    .team-close-bio::before {
        width: 20px;
        height: 20px;
    }

    .team-card-back {
        padding: 50px 50px 40px 50px;
    }

    .team-bio-content {
        min-height: 650px;
        gap: 15px;
    }

    .team-member-bio {
        font-size: 1.75rem;
        /* Increased from 1.5rem */
        margin: 0 0 25px 0;
    }

    .team-close-bio {
        padding-bottom: 25px;
    }
}

@media (max-width: 1600px) {
    .team-section {
        padding: 0px 80px 70px;
    }
}

@media (max-width: 1152px) {
    .team-section {
        padding: 0px 60px 60px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-member-bio {
        font-size: 0.95rem;
    }
}

@media (max-width: 820px) {
    .team-member-bio {
        font-size: 0.75rem;
    }

    .team-bio-content {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    
    .team-section {
        padding: 40px 40px 50px;
    }

    .team-heading {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .team-member-name {
        font-size: 1.5rem;
    }

    .team-member-role {
        font-size: 1.15rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 712px) {
    .team-member-bio {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 40px 20px 40px;
    }

    .team-bio-content {
        min-height: 400px;
    }

    .team-heading {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-card-back {
        padding: 30px;
    }

    .team-member-bio {
        font-size: 0.85rem;
    }
}

@media (max-width: 375px) {
    .team-member-bio {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   INSPIRATION GALLERY SECTION
   ========================================================================== */

.inspiration-gallery-section {
    padding: 0px 80px 80px;
    background-color: var(--ivory);
}

.inspiration-gallery-container {
    max-width: 1900px;
    margin: 0 auto;
}

.inspiration-gallery-heading {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 3rem;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 20px 0;
}

.inspiration-gallery-heading::before {
    content: '●';
    color: var(--pumpkin);
    margin-right: 15px;
}

.inspiration-gallery-description {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 0 50px 0;
}

.inspiration-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.inspiration-category-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 3.75;
    /* Changed from 4/3 to 3/4 for portrait */
    text-decoration: none;
}

.inspiration-category-image {
    width: 100%;
    height: 100%;
}

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

.inspiration-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--pine);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 30px 30px 0 0;
}

/* Portfolio page - ivory text on green overlay */
.inspiration-category-card .inspiration-category-title {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 100%;
    margin: 0;
}

.inspiration-see-more {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.inspiration-see-more::after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
    /* Arrow is always orange */
}

.inspiration-category-card:hover .inspiration-see-more {
    color: var(--pumpkin);
}

.inspiration-category-card:hover .inspiration-see-more::after {
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

@media (min-width: 2560px) {
    .inspiration-gallery-section {
        padding: 0px 100px 100px;
    }

    .inspiration-gallery-container {
        max-width: 2400px;
    }

    .inspiration-gallery-heading {
        font-size: 4rem;
        margin: 0 0 30px 0;
    }

    .inspiration-gallery-description {
        font-size: 1.5rem;
        margin: 0 0 70px 0;
    }

    .inspiration-categories-grid {
        gap: 40px;
    }

    .inspiration-category-overlay {
        padding: 40px;
        gap: 15px;
    }

    .inspiration-category-title {
        font-size: 2rem;
    }

    .inspiration-see-more {
        font-size: 1.5rem;
    }

    .inspiration-see-more::after {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 1024px) {
    .inspiration-gallery-section {
        padding: 60px 60px;
    }

    .inspiration-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .inspiration-gallery-section {
        padding: 50px 40px;
    }

    .inspiration-gallery-heading {
        font-size: 2.5rem;
    }

    .inspiration-categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .inspiration-gallery-section {
        padding: 40px 20px;
    }

    .inspiration-gallery-heading {
        font-size: 2rem;
    }

    .inspiration-category-overlay {
        padding: 20px;
    }
}

/* ==========================================================================
   INSPIRATION CATEGORY ARCHIVE
   ========================================================================== */

.inspiration-category-hero {
    background-color: var(--ivory);
    padding: 60px 0 20px 0;
}

.inspiration-category-container {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 80px;
}

.inspiration-category-label {
    display: block;
    color: var(--pine);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.inspiration-category-hero .inspiration-category-title {
    font-family: Gabarito;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 110%;
    margin: 0 0 20px 0;
    color: var(--phthalo);
    max-width: 1100px;
}

.inspiration-category-description {
    font-family: Gabarito;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 150%;
    margin: 0 0 30px 0;
    color: var(--phthalo);
    max-width: 900px;
}

.see-samples-btn {
    background-color: var(--pine);
    color: var(--ivory);
    padding: 4px 12px;
    border-radius: 25px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 100%;
    transition: all 0.3s ease;
}

.see-samples-btn::after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('assets/images/arrowrightgreen.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.see-samples-btn:hover {
    background-color: var(--fern);
    color: var(--ivory);
}

.see-samples-btn:hover::after {
    filter: brightness(0) invert(1);
}

.inspiration-images-section {
    padding: 40px 80px;
    background-color: var(--ivory);
}

.inspiration-images-container {
    max-width: 1900px;
    margin: 0 auto;
}

.inspiration-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.inspiration-image-item {
    border-radius: 20px;
    overflow: hidden;
    width: calc(50% - 15px);
    height: 500px;
    /* Fixed height instead of aspect-ratio */
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.inspiration-image-item:hover {
    width: calc(60% - 15px);
}

/* Target odd items: when hovered, shrink the next item (even) */
.inspiration-image-item:nth-child(odd):hover+.inspiration-image-item {
    width: calc(40% - 15px);
}

/* Target even items: when hovered, shrink the previous item (odd) */
.inspiration-image-item:nth-child(even):hover {
    width: calc(60% - 15px);
}

.inspiration-image-item:nth-child(odd):has(+ .inspiration-image-item:hover) {
    width: calc(40% - 15px);
}

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

@media (min-width: 2560px) {
    .inspiration-category-hero {
        padding: 80px 0 30px 0;
    }

    .inspiration-category-container {
        max-width: 2400px;
        padding: 0 20px;
    }

    .inspiration-category-label {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .inspiration-category-hero .inspiration-category-title {
        font-size: 5rem;
        margin: 0 0 30px 0;
        max-width: none;
    }

    .inspiration-category-description {
        font-size: 1.75rem;
        margin: 0 0 40px 0;
        max-width: none;
    }

    .see-samples-btn {
        font-size: 1.5rem;
        padding: 6px 16px;
    }

    .see-samples-btn::after {
        width: 20px;
        height: 20px;
    }

    .inspiration-images-section {
        padding: 60px 100px;
    }

    .inspiration-images-container {
        max-width: 2400px;
    }

    .inspiration-images-grid {
        gap: 40px;
    }

    .inspiration-image-item {
        width: calc(50% - 20px);
        height: 650px;
    }

    .inspiration-image-item:hover {
        width: calc(60% - 20px);
    }

    .inspiration-image-item:nth-child(odd):hover+.inspiration-image-item {
        width: calc(40% - 20px);
    }

    .inspiration-image-item:nth-child(even):hover {
        width: calc(60% - 20px);
    }

    .inspiration-image-item:nth-child(odd):has(+ .inspiration-image-item:hover) {
        width: calc(40% - 20px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .inspiration-category-container {
        padding: 0 40px;
    }

    .inspiration-images-section {
        padding: 40px 40px;
    }

    .inspiration-images-grid {
        gap: 25px;
    }

    .inspiration-image-item {
        width: calc(50% - 12.5px);
        transition: none;
    }

    .inspiration-image-item:hover {
        width: calc(50% - 12.5px);
    }

    .inspiration-image-item:nth-child(odd):hover+.inspiration-image-item {
        width: calc(50% - 12.5px);
    }

    .inspiration-image-item:nth-child(odd):has(+ .inspiration-image-item:hover) {
        width: calc(50% - 12.5px);
    }
}

@media (max-width: 820px) {
    .inspiration-category-container {
        padding: 0 40px;
    }

    .inspiration-images-section {
        padding: 40px 40px;
    }
}

@media (max-width: 768px) {
    .inspiration-images-grid {
        flex-direction: column;
        gap: 20px;
    }

    .inspiration-category-container {
        padding: 0 40px;
    }

    .inspiration-image-item {
        width: 100%;
    }

    .inspiration-image-item:hover {
        width: 100%;
    }

    .inspiration-images-section {
        padding: 40px 40px;
    }
}

@media (max-width: 480px) {
    .inspiration-category-container {
        padding: 0 20px;
    }

    .inspiration-category-hero .inspiration-category-title {
        font-size: 2rem;
    }

    .inspiration-category-description {
        font-size: 1.15rem;
    }

    .inspiration-images-section {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   SAMPLES PAGE
   ========================================================================== */

.samples-hero-section {
    background-color: var(--pine);
    background-image: url('assets/images/leaves.svg');
    background-repeat: no-repeat;
    background-position: center calc(100% + 400px);
    background-size: 100% auto;
    padding: 60px 80px 80px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.samples-hero-container {
    max-width: 1900px;
    margin: 0 auto;
}

.samples-hero-label {
    display: block;
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.samples-hero-heading {
    font-family: Gabarito;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 110%;
    margin: 0 0 20px 0;
    color: var(--ivory);
    max-width: 1100px;
}

.samples-hero-description {
    font-family: Gabarito;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 100%;
    margin: 0;
    color: var(--ivory);
    max-width: 850px;
    min-height: 12rem;
}

.material-section {
    padding: 40px 80px;
    background-color: var(--ivory);
}

.material-container {
    max-width: 1900px;
    margin: 0 auto;
}

.material-section-heading {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 3rem;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 20px 0;
}

.material-section-heading::before {
    content: '●';
    color: var(--pumpkin);
    margin-right: 15px;
}

.material-section-description {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.material-item {
    position: relative;
}

.material-image {
    width: 100%;
    aspect-ratio: 2 / 2.25;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.material-label {
    background-color: var(--phthalo);
    padding: 6px 12px;
    border-radius: 25px;
    text-align: center;
}

.material-label span {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 100%;
}

@media (min-width: 2560px) {
    .samples-hero-section {
        padding: 80px 100px 100px;
        background-position: center calc(100% + 600px);
        margin-bottom: 60px;
    }

    .samples-hero-container {
        max-width: 2400px;
    }

    .samples-hero-label {
        font-size: 1.65rem;
        margin-bottom: 30px;
    }

    .samples-hero-heading {
        font-size: 5rem;
        margin: 0 0 30px 0;
        max-width: none;
    }

    .samples-hero-description {
        font-size: 1.6rem;
        max-width: 1500px;
        min-height: 14rem;
    }

    .material-section {
        padding: 60px 100px;
    }

    .material-container {
        max-width: 2400px;
    }

    .material-section-heading {
        font-size: 4rem;
        margin: 0 0 30px 0;
    }

    .material-section-description {
        font-size: 1.5rem;
        margin: 0 0 60px 0;
    }

    .materials-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .material-image {
        margin-bottom: 20px;
    }

    .material-label {
        padding: 8px 16px;
    }

    .material-label span {
        font-size: 1.6rem;
    }
}

@media (max-width: 1512px) {
    .samples-hero-section {
        background-position: center calc(100% + 300px);
    }
}

@media (max-width: 1024px) {

    .samples-hero-section,
    .material-section {
        padding: 60px 60px;
        background-position: center calc(100% + 450px);
        background-size: 200% auto
    }

    .materials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {

    .samples-hero-section,
    .material-section {
        background-position: center calc(100% + 350px);
    }
}

@media (max-width: 768px) {

    .samples-hero-section {
        background-position: center calc(100% + 325px);
        background-size: 200%;
    }

    .material-section {
        padding: 50px 40px;
    }

    .samples-hero-heading {
        font-size: 2.5rem;
    }

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {

    .samples-hero-section {
        padding: 40px 20px;
        background-image: url('assets/images/leaves.svg');
        background-repeat: no-repeat;
        background-position: center calc(100% + 150px);
        background-size: 200%;
    }

    .material-section {
        padding: 40px 20px;

    }

    .material-section-heading {
        font-size: 2.25rem;
    }

    .samples-hero-heading {
        font-size: 2rem;
    }

    .materials-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   REVIEWS PAGE
   ========================================================================== */

.reviews-hero-wrapper {
    background-color: var(--pine);
    background-image: url('assets/images/leaves.svg');
    background-repeat: no-repeat;
    background-position: center calc(100% + 300px);
    background-size: 100% auto;
    padding: 80px 0 200px 0;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.reviews-hero-section {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 100px;
}

.reviews-hero-content {
    text-align: left;
}

.reviews-hero-label {
    display: block;
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.reviews-hero-heading {
    font-family: Gabarito;
    font-size: 4rem;
    font-weight: 800;
    line-height: 110%;
    margin: 0 0 20px 0;
    color: var(--ivory);
    max-width: 1100px;
}

.reviews-hero-description {
    font-family: Gabarito;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 100%;
    margin: 0;
    color: var(--ivory);
    max-width: 900px;
}

/* Reviews Grid Section */
.reviews-grid-section {
    background-color: var(--ivory);
    padding: 80px 80px;
}

.reviews-grid-container {
    max-width: 1900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.reviews-grid-section .review-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    height: 420px;
}

.reviews-grid-section .review-text-box {
    background-color: var(--canvas);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 420px;
    overflow: hidden;
}

.reviews-grid-section .review-quote-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-left: 20px;
    margin-top: 10px;
}

.reviews-grid-section .review-quote-icon img {
    width: 100%;
    height: 100%;
}

.reviews-grid-section .review-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.reviews-grid-section .review-body {
    color: var(--phthalo);
    font-family: Gabarito;
    font-size: 1.15rem;
    line-height: 150%;
    margin: 15px 20px 15px 20px;
}

.reviews-grid-section .review-author {
    color: var(--pine);
    font-family: Gabarito;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 10px 20px 50px 20px;
}

.reviews-grid-section .review-author-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.reviews-grid-section .review-author-link:hover {
    color: var(--pumpkin);
}

.reviews-grid-section .review-images {
    display: grid;
    gap: 30px;
    height: 420px;
    overflow: hidden;
}

/* 1 image layout - full height portrait */
.reviews-grid-section .review-images:has(.review-image:first-child:last-child) {
    grid-template-columns: 1fr;
    max-width: 320px;
}

.reviews-grid-section .review-images:has(.review-image:first-child:last-child) .review-image {
    height: 100%;
    aspect-ratio: 320 / 460;
}

/* 2 images layout - side by side portraits */
.reviews-grid-section .review-images:has(.review-image:nth-child(2):last-child) {
    grid-template-columns: 1fr 1fr;
}

.reviews-grid-section .review-images:has(.review-image:nth-child(2):last-child) .review-image {
    height: 100%;
    aspect-ratio: 320 / 460;
}

/* 3 images layout - 1 portrait on left, 2 landscape stacked on right */
.reviews-grid-section .review-images:has(.review-image:nth-child(3)) {
    grid-template-columns: 320px 1fr;
    grid-template-rows: 1fr 1fr;
}

.reviews-grid-section .review-images:has(.review-image:nth-child(3)) .review-image:first-child {
    grid-row: 1 / -1;
    grid-column: 1;
    aspect-ratio: 320 / 460;
}

.reviews-grid-section .review-images:has(.review-image:nth-child(3)) .review-image:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.reviews-grid-section .review-images:has(.review-image:nth-child(3)) .review-image:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.reviews-grid-section .review-images:has(.review-image:nth-child(3)) .review-image {
    height: 100%;
}

.reviews-grid-section .review-image {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.reviews-grid-section .review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 2560px) {
    .reviews-hero-wrapper {
        padding: 100px 0 250px 0;
        background-position: center calc(100% + 550px) !important;
    }

    .reviews-hero-section {
        max-width: 2600px;
        padding: 0 100px;
    }


    .reviews-hero-label {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .reviews-hero-heading {
        font-size: 5.5rem;
        margin: 0 0 30px 0;
        max-width: none;
    }

    .reviews-hero-description {
        font-size: 1.75rem;
        max-width: none;
    }

    .reviews-grid-section {
        padding: 100px 100px;
    }

    .reviews-grid-container {
        max-width: 2400px;
        gap: 80px;
    }

    .reviews-grid-section .review-item {
        gap: 40px;
        height: 550px;
    }

    .reviews-grid-section .review-text-box {
        padding: 35px;
        gap: 20px;
        height: 550px;
    }

    .reviews-grid-section .review-quote-icon {
        width: 70px;
        height: 70px;
        margin-left: 25px;
        margin-top: 15px;
    }

    .reviews-grid-section .review-body {
        font-size: 1.5rem;
        margin: 20px 25px 20px 25px;
    }

    .reviews-grid-section .review-author {
        font-size: 1.65rem;
        margin: 15px 25px 60px 25px;
    }

    .reviews-grid-section .review-images {
        gap: 40px;
        height: 550px;
    }

    .reviews-grid-section .review-images:has(.review-image:first-child:last-child) {
        max-width: 420px;
    }

    .reviews-grid-section .review-images:has(.review-image:first-child:last-child) .review-image {
        aspect-ratio: 420 / 590;
    }

    .reviews-grid-section .review-images:has(.review-image:nth-child(2):last-child) .review-image {
        aspect-ratio: 420 / 590;
    }

    .reviews-grid-section .review-images:has(.review-image:nth-child(3)) {
        grid-template-columns: 420px 1fr;
    }

    .reviews-grid-section .review-images:has(.review-image:nth-child(3)) .review-image:first-child {
        aspect-ratio: 420 / 590;
    }

    .reviews-grid-section .review-image {
        border-radius: 16px;
    }
}

@media (min-width: 1905px) {
    .reviews-hero-wrapper {
        background-position: center calc(100% + 400px);
    }
	.reviews-grid-section {
padding: 80px 90px 80px 90px}
}

@media (max-width: 1600px) {
    .reviews-hero-wrapper {
        padding: 60px 0 180px 0;
    }

    .reviews-hero-section {
        padding: 0 80px;
    }

    .reviews-hero-heading {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    .reviews-hero-wrapper {
        padding: 50px 0 150px 0;
        background-position: center calc(100% + 350px);
        background-size: 150% auto;
    }

    .reviews-hero-section {
        padding: 0 60px;
    }

    .reviews-hero-heading {
        font-size: 3rem;
    }

    .reviews-hero-description {
        font-size: 1.125rem;
    }

    .reviews-grid-section {
        padding: 60px 60px;
    }

    .reviews-grid-section .review-item {
        grid-template-columns: 1fr;
        gap: 30px;
        height: auto;
    }

    .reviews-grid-section .review-text-box {
        height: auto;
        order: 1;
    }

    .reviews-grid-section .review-images {
        height: auto;
        order: 2;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        max-width: 100%;
    }

    .reviews-grid-section .review-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3 !important;
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}



@media (max-width: 820px) {
    .reviews-hero-wrapper {
        padding: 40px 0 120px 0;
        border-radius: 0 0 20px 20px;
        background-position: center calc(100% + 275px);
        background-size: 150% auto;
    }
}

@media (max-width: 768px) {
    .reviews-hero-wrapper {
        padding: 40px 0 120px 0;
        border-radius: 0 0 20px 20px;
        background-image: url('assets/images/leaves.svg');
        background-repeat: no-repeat;
        background-position: center calc(100% + 325px);
        background-size: 200%;
    }

    .reviews-hero-section {
        padding: 0 40px;
    }

    .reviews-hero-heading {
        font-size: 2.5rem;
    }

    .reviews-hero-description {
        font-size: 1.15rem;
    }

    .reviews-grid-section {
        padding: 50px 40px;
    }

    .reviews-grid-section .review-text-box {
        padding: 25px 20px;
    }

    .reviews-grid-section .review-images {
        grid-template-columns: 1fr !important;
    }

    .reviews-grid-section .review-image {
        width: 100%;
        height: auto;
        aspect-ratio: 360 / 245 !important;
    }
}

@media (max-width: 480px) {
    .reviews-hero-wrapper {
        padding: 30px 0 100px 0;
        border-radius: 0 0 15px 15px;
        margin-bottom: 30px;
        background-position: center calc(100% + 125px);
        background-size: 150% auto;
        background-image: url('assets/images/leaves.svg');
        background-repeat: no-repeat;
        background-position: center calc(100% + 150px);
        background-size: 200%;
    }

    .reviews-hero-section {
        padding: 0 20px;
    }

    .reviews-hero-label {
        font-size: 0.875rem;
        margin-bottom: 15px;
    }

    .reviews-hero-heading {
        font-size: 2rem;
    }

    .reviews-hero-description {
        font-size: 0.95rem;
    }

    .reviews-grid-section {
        padding: 40px 20px;
    }

    .reviews-grid-container {
        gap: 60px;
    }

    .reviews-grid-section .review-text-box {
        padding: 20px 15px;
    }

    .reviews-grid-section .review-image {
        width: 100%;
        height: auto;
        aspect-ratio: 360 / 245 !important;
    }
}


@media (max-width: 390px) {
    .reviews-hero-wrapper {
        padding: 30px 0 100px 0;
        border-radius: 0 0 15px 15px;
        margin-bottom: 30px;
        background-position: center calc(100% + 100px);
        background-size: 150% auto;
    }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-page-section {
    background-color: var(--pine);
    background-image: url('assets/images/leaves.svg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    min-height: 100vh;
    padding: 40px 80px 200px;
    margin-bottom: -100px;
}

.contact-page-container {
    max-width: 1900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column - Form */
.contact-form-wrapper {
    background-color: var(--phthalo);
    border-radius: 30px;
    padding: 35px;
    min-width: 660px;
}

.contact-form-header {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-heading {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 110%;
    margin: 0 0 10px 0;
}

.contact-description {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-phone img {
    width: 40px;
    height: 40px;
}

.contact-phone a {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone a:hover {
    color: var(--pumpkin);
}

/* Right Column - Process */
.contact-process-wrapper {
    padding-top: 60px;
    padding-left: 20px;
}

.process-heading {
    color: var(--canvas);
    font-family: Gabarito;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 30px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.process-step {
    color: var(--ivory);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.process-step::before {
    content: '●';
    color: var(--pumpkin);
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.process-step-content {
    flex: 1;
}

.process-step-title {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 100%;
    margin: 0 0 15px 0;
}

.process-step-description {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
}

/* Fluent Form Styling */

.contact-form-wrapper .ff-el-form-control,
.contact-form-wrapper .ff-default .ff-el-form-control {
    background-color: var(--pine) !important;
    background-clip: padding-box;
    background-image: none;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 16px;
    font-family: Gabarito;
    font-size: 1.15rem;
    width: 100%;
    color: ivory !important;
}

.contact-form-wrapper .ff-el-form-control::placeholder {
    color: var(--ivory) !important;
    opacity: 1;
}

.contact-form-wrapper .ff-el-form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--fern);
}

.contact-form-wrapper textarea.ff-el-form-control {
    border-radius: 30px !important;
    min-height: 120px;
    padding: 30px 40px;
}

/* Fluent Form Button - Force override */
.contact-form-wrapper .ff-btn-submit,
.contact-form-wrapper button[type="submit"],
.contact-form-wrapper .ff-btn.ff-btn-submit {
    background-color: var(--pine) !important;
    color: var(--ivory) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 4px 12px !important;
    font-family: Gabarito !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    line-height: 100% !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 15px;
    text-decoration: none !important;
}

.contact-form-wrapper .ff-btn-submit::after,
.contact-form-wrapper button[type="submit"]::after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('assets/images/arrowrightgreen.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: filter 0.3s ease;
}

.contact-form-wrapper .ff-btn-submit:hover::after,
.contact-form-wrapper button[type="submit"]:hover::after {
    filter: brightness(0) invert(1);
    opacity: 1 !important;

}

.contact-form-wrapper .ff-btn-submit:hover,
.contact-form-wrapper button[type="submit"]:hover {
    background-color: var(--fern) !important;
    opacity: 1 !important;

}

/* Hide labels if using placeholder style */
.contact-form-wrapper .ff-el-input--label {
    display: none;
}

/* Fluent Form Success Message Styling */
.contact-form-wrapper .ff-message-success,
.contact-form-wrapper #fluentform_3_success {
    color: var(--ivory) !important;
    border: 2px solid var(--phthalo) !important;
    background-color: var(--pine) !important;
    box-shadow: none !important;
    border-radius: 30px !important;
    padding: 20px 30px !important;
    font-family: Gabarito !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-top: 200px !important;
    text-align: center;
}

/* Remove margin from p tag inside success message */
.contact-form-wrapper .ff-message-success p,
.contact-form-wrapper #fluentform_3_success p {
    margin: 0 !important;
}

/* Error message styling to match */
.contact-form-wrapper .ff-message-error,
.contact-form-wrapper .ff-errors-in-stack {
    background-color: var(--pumpkin) !important;
    color: var(--ivory) !important;
    border: 2px solid var(--pine) !important;
    border-radius: 30px !important;
    padding: 20px 30px !important;
    font-family: Gabarito !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin: 20px 0 !important;
}

/* Responsive */

/* Push leaves down on large screens */
@media (min-width: 1700px) {
    .contact-page-section {
        background-position: center calc(100% + 100px);
    }
}

/* Or for even larger screens */
@media (min-width: 1920px) {
    .contact-page-section {
        background-position: center calc(100% + 150px);
    }
}

@media (max-width: 1260px) {
    .contact-page-section {
        padding: 60px;
    }

    .contact-page-container {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    /* Form first on mobile */
    .contact-form-wrapper {
        order: 1;
        margin-bottom: 0;
    }

    .contact-process-wrapper {
        order: 2;
        padding-top: 0;
        padding-left: 0;
        margin-bottom: 300px;
    }

    .process-step-description {
        font-size: 1.5rem;
    }

    .contact-description {
        font-size: 1.25rem;
    }

    .process-heading {
        font-size: 1.9rem;
        padding-bottom: 10px;
    }

    .process-step-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .contact-page-section {
        padding: 60px 40px 40px;
        background-position: center calc(100% + 200px);
        background-size: 150% auto;
    }
}

@media (max-width: 820px) {
    .contact-page-section {
        padding: 60px 40px 40px;
        background-position: center calc(100% + 150px);
        background-size: 150% auto;
    }

    .process-step-description {
        font-size: 1.2rem;
    }

    .contact-description {
        font-size: 1.15rem;
    }

    .process-heading {
        font-size: 1.4rem;
        padding-bottom: 10px;
    }

    .process-step-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 767px) {
    .contact-page-section {
        padding: 60px 40px 40px;
        background-position: center calc(100% + 100px);
        background-size: 150% auto;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .contact-heading {
        font-size: 2rem;
    }

    /* Switch to single column for process steps below 768px */
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-page-section {
        padding: 40px 20px 40px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
        min-width: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 0;
    }

    .contact-process-wrapper {
        margin-bottom: 150px;
    }

    .contact-heading {
        font-size: 1.75rem;
    }

    .process-step-description {
        font-size: 1.3rem;
    }

    /* Force all form elements to respect container width */
    .contact-form-wrapper .ff-el-form-control,
    .contact-form-wrapper .ff-default .ff-el-form-control,
    .contact-form-wrapper textarea.ff-el-form-control {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 430px) {
    .contact-page-section {
        padding: 50px 20px 30px;
        margin-bottom: -20px;
        background-position: center calc(100% + 50px);
        background-size: 150% auto;
    }

    .contact-page-container {
        gap: 40px;
    }

    .contact-process-wrapper {
        padding: 20px;
        margin-bottom: 150px;
    }

    .process-heading {
        font-size: 1.5rem;
        padding-bottom: 20px;
    }

    .process-step-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .process-step-description {
        font-size: 1.15rem;
        line-height: 1.5;
    }

    .contact-form-wrapper {
        padding: 20px 20px;
        margin-bottom: 0;
        max-width: 100%;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .contact-heading {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .contact-subheading {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }

    .contact-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .contact-phone a {
        font-size: 1.3rem;
    }

    /* Force all form elements to respect container width */
    .contact-form-wrapper .ff-el-form-control,
    .contact-form-wrapper .ff-default .ff-el-form-control,
    .contact-form-wrapper textarea.ff-el-form-control {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 360px) {
    .contact-page-section {
        background-position: center calc(100% + 25px);
        background-size: 150% auto;
    }
}

/* ==========================================================================
   MAINTENANCE PAGE SPECIFIC STYLES
   ========================================================================== */

/* The maintenance page uses the about page structure, so most styles 
   are inherited from about.css. Only custom additions here. */

/* PDF Link Styling */
.maintenance-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.maintenance-pdf-link::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.maintenance-pdf-link:hover {
    color: var(--pumpkin);
    gap: 12px;
}

/* Extra padding for maintenance sections */
.maintenance-content-section .story-container {
    padding: 40px;
}

.maintenance-content-section.story-section-right .story-container {
    padding: 40px 60px 40px 40px;
}

.maintenance-list-section .story-container {
    padding: 40px;
}

.maintenance-list-section.story-section-left .story-container {
    padding: 40px 40px 40px 60px;
}

/* Add space below maintenance list section before reviews */
.maintenance-list-section {
    margin-bottom: 40px;
}

/* Services List Styling */
.maintenance-services-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.maintenance-services-list li {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 25px;
    position: relative;
    margin-bottom: 5px;
}

.maintenance-services-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--fern);
}

/* Responsive Adjustments */
@media (min-width: 2560px) {
    .maintenance-pdf-link {
        font-size: 1.5rem;
    }

    .maintenance-pdf-link::after {
        width: 22px;
        height: 22px;
    }

    .maintenance-services-list li {
        font-size: 1.5rem;
        padding-left: 35px;
    }
}

@media (max-width: 768px) {
    .maintenance-pdf-link {
        font-size: 1.1rem;
    }

    .maintenance-services-list li {
        font-size: 1rem;
    }
    
    /* Remove extra left padding on mobile */
    .maintenance-list-section.story-section-left .story-container {
        padding: 40px !important;
    }
}

@media (max-width: 480px) {
    .maintenance-pdf-link {
        font-size: 1rem;
    }

    .maintenance-pdf-link::after {
        width: 16px;
        height: 16px;
    }

    .maintenance-services-list li {
        font-size: 0.95rem;
        padding-left: 20px;
    }
}


/* ==========================================================================
   404 ERROR PAGE
   ========================================================================== */

.error-page-section {
    background-color: var(--pine);
    background-image: url('assets/images/leaves.svg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 80px 200px;
    margin-bottom: -100px;
}

.error-page-container {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}

.error-content-wrapper {
    background-color: var(--phthalo);
    border-radius: 30px;
    padding: 70px 60px;
    text-align: center;
}

/* Label */
.error-label {
    display: block;
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Big 404 */
.error-code {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 10rem;
    font-weight: 700;
    line-height: 0.9;
    margin: 0 0 20px 0;
}

/* Heading */
.error-heading {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 110%;
    margin: 0 0 18px 0;
}

/* Description */
.error-description {
    color: var(--ivory);
    font-family: Gabarito;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.error-btn {
    font-family: Gabarito;
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 25px;
    padding: 14px 28px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Primary — matches hero-button style */
.error-btn-primary {
    background-color: transparent;
    color: var(--ivory);
    border: 2px solid var(--pumpkin);
    padding: 2px 10px;
    line-height: 100%;
    transition: background-color 0.3s ease;
}

.error-btn-primary .error-btn-arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('assets/images/arrowright.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: filter 0.3s ease;
}

.error-btn-primary:hover {
    background-color: var(--pumpkin);
    color: var(--ivory);
}

.error-btn-primary:hover .error-btn-arrow {
    filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(424%) hue-rotate(324deg) brightness(108%) contrast(106%);
}

/* Secondary — outlined ghost button */
.error-btn-secondary {
    background-color: transparent;
    color: var(--ivory);
    border: 2px solid var(--ivory);
}

.error-btn-secondary:hover {
    background-color: var(--ivory);
    color: var(--phthalo);
}

/* ==========================================================================
   404 RESPONSIVE
   ========================================================================== */

@media (min-width: 2560px) {
    .error-content-wrapper {
        margin-bottom: 200px;
    }
}  

@media (max-width: 1024px) {
    .error-page-section {
        background-position: center calc(100% + 200px);
        background-size: 150% auto;
    }
}

@media (max-width: 820px) {
    .error-page-section {
        padding: 80px 40px 200px;
        background-position: center calc(100% + 150px);
        background-size: 150% auto;
    }

    .error-code {
        font-size: 8rem;
    }

    .error-heading {
        font-size: 2.25rem;
    }
}

@media (max-width: 600px) {
    .error-page-section {
        padding: 60px 30px 180px;
        background-position: center calc(100% + 100px);
        background-size: 150% auto;
    }

    .error-content-wrapper {
        padding: 50px 30px;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-heading {
        font-size: 2rem;
    }
}

@media (max-width: 430px) {
    .error-page-section {
        padding: 50px 20px 160px;
        background-position: center calc(100% + 50px);
        background-size: 150% auto;
    }

    .error-content-wrapper {
        padding: 40px 20px;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-heading {
        font-size: 1.75rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
        gap: 14px;
    }

    .error-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 395px) {
    .error-page-section {
        background-position: center calc(100% - 20px);
    }
}

@media (max-width: 360px) {
    .error-page-section {
        background-position: center calc(100% + 25px);
        background-size: 150% auto;
    }
}

/* Privacy Policy Page Content Styling */
.page-id-3 .entry-content {
    background-color: var(--pine);
    padding: 60px;
    border-radius: 20px;
}

.page-id-3 .entry-content h1,
.page-id-3 .entry-content h2,
.page-id-3 .entry-content p,
.page-id-3 .entry-content strong {
    color: var(--ivory);
}

.page-id-3 .entry-content a {
    color: var(--pumpkin);
}

.page-id-3 .entry-content a:hover {
    color: var(--ivory);
}

.separate-containers .inside-article, 
.separate-containers .comments-area, 
.separate-containers .page-header, 
.one-container .container, 
.separate-containers .paging-navigation, 
.inside-page-header {
    background-color: var(--ivory);
}

/* Privacy Policy & Cookie Policy Page Content Styling */
.page-id-3 .entry-content,
.page-id-1233 .entry-content {
    background-color: var(--pine);
    padding: 60px;
    border-radius: 20px;
}

.page-id-3 .entry-content h1,
.page-id-3 .entry-content h2,
.page-id-3 .entry-content h3,
.page-id-3 .entry-content p,
.page-id-3 .entry-content strong,
.page-id-1233 .entry-content h1,
.page-id-1233 .entry-content h2,
.page-id-1233 .entry-content h3,
.page-id-1233 .entry-content p,
.page-id-1233 .entry-content strong {
    color: var(--ivory);
}

.page-id-3 .entry-content a,
.page-id-1233 .entry-content a {
    color: var(--pumpkin);
}

.page-id-3 .entry-content a:hover,
.page-id-1233 .entry-content a:hover {
    color: var(--ivory);
}