:root {
    --primary-color: #000;
    --secondary-color: #4c4c55;
    --text-color: #666;
    --background-color: #fff;
}

/* Global Styles */ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gilroy', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

main {
    margin: 0;
    padding: 0;
 }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.logo {
    position: absolute;
    top: 20px;
    left: 40px;
    z-index: 1000;
    cursor: pointer;
}

.logo a {
    display: block;
    text-decoration: none;
    pointer-events: none; /* Disable link interaction */
}

.logo img {
    max-width: 180px;
    height: auto;
}

/* Hero Slider */
.hero-swiper {
    height: 80vh;
    width: 100%;
    background-color: #4c4c55;
}

#hero-slider .swiper-slide {
    width: 100vw !important;
    height: 100%;
    display: flex;
    justify-content: center;
    background-color: #4c4c55;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

#hero-slider .swiper-slide img {
    width: 100vw !important;
    height: 80vh !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    max-width: none !important;
}

/* Keep the overlay and content positioning as is */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 100px;
    left: 50px;
    z-index: 2;
}

.slide-content h2 {
    text-align: left;
    font-size: 48px;
    font-family: var(--font-primary);
    font-weight: 700;
    color: #fff;
    margin-bottom: 4rem;
}

.slide-content .project-description {
    text-align: left;
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 18px;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Add list specific styles with animations */
.slide-content .project-description ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.slide-content .project-description li {
    margin-bottom: 5px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpItem 0.5s ease forwards;
}

/* Stagger the animation for each list item (only first 10) */
.slide-content .project-description li:nth-child(1) { animation-delay: 0.2s; }
.slide-content .project-description li:nth-child(2) { animation-delay: 0.4s; }
.slide-content .project-description li:nth-child(3) { animation-delay: 0.6s; }
.slide-content .project-description li:nth-child(4) { animation-delay: 0.8s; }

/* Hide items after the 4th one instead of 8th */
.slide-content .project-description li:nth-child(n+5) {
    display: none;
}

/* Animation for individual items */
@keyframes slideUpItem {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-details-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.project-details-btn:hover {
    background: #90c446;
    color: #fff;
}

/* Project Sections */
.projects-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Project Tabs */
.projects-tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    color: var(--text-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Project Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}


.project-card {
    display: flex;
    flex-direction: row;
    background-color: #f0f2f4;  
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 12px;
    margin: 0 62px 30px 62px; /* Added horizontal margins: 32px on both sides */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 95%; /* Ensure consistent width accounting for margins */
    /* max-width: 1600px; */
} 

.project-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.project-content {
    display: flex;
    min-height: 400px;
    width: 100%;
}

.project-image-container {
    flex: 1;
    width: 50%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 16px 0 0 16px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px 0 0 16px; /* Matching radius for the actual image */
}

/* .project-card:hover .project-image img {
    transform: scale(1.2);
} */

.project-info {
    flex: 1;
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}

.project-label {
    font-size: 1.1rem;
    color: #90c446;
    font-weight: 600;
    letter-spacing: 1px;
}
.project-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.2;
}


.project-location { 
    font-size: 1.2rem;
    font-weight: 600;
    color: #6666668f;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0; /* Remove default margins */
}

.project-location .fas.fa-map-marker-alt {
    color: #90c446;  /* This is the green color used in your theme */
    margin-right: 8px;  /* Add some spacing between icon and text */
}

/* .project-location:before {
    content: '📍';
    font-size: 1.2rem;
} */

/* Project Stage Progress - Updated Spacing */
.project-stage-progress {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    position: relative;
    width: 100%;
    padding: 0 20px;
}

/* Main progress line - centered positioning */
.project-stage-progress:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: #E8E8E8;
    z-index: 1;
}

/* Individual stage positioning */
.stage-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center; /* Default center alignment */
    width: 100%;
}

/* First stage aligns to start */
.stage-item[data-stage="pre_sale"] {
    align-items: flex-start;
}

/* Last stage aligns to end */
.stage-item[data-stage="sales_completed"] {
    align-items: flex-end;
}

/* Middle stage stays centered */
.stage-item[data-stage="on_sale"] {
    align-items: center;
}

/* Stage icons */
.stage-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #E8E8E8;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Active state for stage icon */
.stage-item.active .stage-icon {
    background: #90c446; /* Green background */
    border-color: #90c446; /* Green border */
}

/* Change the icon color to white when active */
.stage-item.active .stage-icon:before {
    color: #fff;
}

/* Stage label color when active */
.stage-item.active .stage-label {
    color: #90c446;
    font-weight: 600;
}

/* Stage icons for each state */
.stage-icon:before {
    font-family: "Font Awesome 5 Free"; /* Make sure you have FontAwesome included */
    font-weight: 900;
    font-size: 20px;
    color: #999;
}

.stage-item[data-stage="pre_sale"] .stage-icon:before {
    content: "\f07a"; /* Shopping cart icon */
}

.stage-item[data-stage="on_sale"] .stage-icon:before {
    content: "\f155"; /* Dollar sign icon */
}

.stage-item[data-stage="sales_completed"] .stage-icon:before {
    content: "\f00c"; /* Check icon */
}

/* Progress line updates to match new positioning */
.project-stage-progress[data-current-stage="pre_sale"]:after {
    content: '';
    position: absolute;
    left: 40px;
    right: calc(66.66% + 20px);
    top: 40px;
    height: 4px;
    background: #90c446;
    z-index: 1;
}

.project-stage-progress[data-current-stage="on_sale"]:after {
    content: '';
    position: absolute;
    left: 40px;
    right: calc(33.33% + 20px);
    top: 40px;
    height: 4px;
    background: #90c446;
    z-index: 1;
}

.stage-label {
    font-size: 1rem;
    color: #666;
    transition: color 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
    margin-top: 8px;
}

.stage-item.active .stage-label {
    color: #90c446;
    font-weight: 600;
}

/* Add checkmark for completed stages */
.stage-item.complete .stage-icon:after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.view-button-holder {
    display: flex;
    justify-content: flex-end; /* Aligns the button to the right */
}
.view-button-holder2 { 
    display: flex;
    justify-content: flex-start; /* Aligns the button to the right */
}

.view-details-btn {
    margin-top: 20px; 
    align-self: flex-start;
    padding: 16px 32px;
    background: #f8f8f8;
    color: #2c2c2c;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #90c446;
}

.view-details-btn:hover {
    background: #90c446;
    color: #fff;
    border-color: #90c446;
}

/* Project navigation and counter section */
.slide-navigation {
    position: absolute;
    right: 50px;
    bottom: 270px;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-direction: row;
}

/* Project counter styling */
.slide-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: #fff;
}

.slide-info span:first-child {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
}

.slide-info .slide-number {
    font-size: 36px;
    font-weight: 300;
}

/* Add the divider styling */
.slide-info .divider {
    width: 20vw;
    height: 1px;
    max-width: 300px; /* Add max-width to prevent extreme stretching */
    background-color: #fff;
    margin: 5px 0;
}

/* Navigation arrows container */
.slide-arrows {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 10px;
}

/* Hero Slider Navigation */
#hero-slider .swiper-button-prev,
#hero-slider .swiper-button-next {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#hero-slider .swiper-button-prev::after,
#hero-slider .swiper-button-next::after {
    display: none !important;
}

#hero-slider .swiper-button-prev::before,
#hero-slider .swiper-button-next::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
}

#hero-slider .swiper-button-prev::before {
    border-width: 0 0 2px 2px;
    transform: rotate(45deg);
}

#hero-slider .swiper-button-next::before {
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
}

/* New Projects Section */


/* Counter Section */
.counter-section {
    width: 100%;
    background: #fff;
    padding: 20px;
    margin-top: auto;
    position: relative;
    bottom: 0;
    left: 0;
}

.counter-container { 
    max-width: 85%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.counter-item {
    text-align: left;
}

.counter-item .counter {
    font-family: 'Gilroy', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    text-align: center;
    color: #333;
    margin-bottom: 0.5rem;
}

.counter-item h3 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: #666;
}

/* Navigation Arrows - Complete Reset */
.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
}

.swiper-button-prev::before,
.swiper-button-next::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-width: 0 0 2px 2px;
    transform: rotate(45deg);
}

.swiper-button-next::before {
    border-width: 2px 2px 0 0;
}

#hero-slider {
    margin: 0;
    padding: 0;
    position: relative;
    height: 100vh; /* Use exact viewport height instead of min-height */
}

#project-showcase {
    position: relative;
    z-index: 1;
    min-height: 400px;   /* Add this to ensure container has height */
    overflow: visible;    /* Change to visible temporarily for debugging */
}

.showcase-header {
    position: relative;
    margin-bottom: 2rem;
    background-color: #90c446;  /* Green background color */
    padding: 1rem;  /* Add some padding around the content */
}

.tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    justify-content: flex-end;  /* Align tabs to the right */
}

.tab-link {
    /* text-transform: lowercase; */
    color: rgba(255, 255, 255, 0.7);  /* Slightly adjusted for better contrast */
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.tab-link.active {
    color: #fff;
}

.section-title {
    font-size: 4rem;
    /* text-transform: lowercase; */
    color: #fff;
    margin: 0;
    line-height: 1;
}

.project-gallery {
    position: relative;
    height: 500px;
}

.project-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-swiper {
    position: relative;
    overflow: visible;
    z-index: 2;
}

.swiper-wrapper {
    position: relative;
    z-index: 1;
}

.gallery-navigation {
    position: absolute;
    top: -50px;
    right: 50px;
    display: flex;
    gap: 10px;
    z-index: 100;
    width: 90px;
    height: 40px;
    background: transparent;
    border: 1px solid red;
    
}

.gallery-prev,
.gallery-next {
    width: 40px !important;
    height: 40px !important;
    border: 1px solid #90c446;
    background: white;
    color: #90c446;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #90c446;
    color: white;
}

/* Reset and restyle project navigation */
#project-showcase .slide-navigation {
    position: absolute;
    top: -60px; /* Adjust as needed */
    right: 50px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

#project-showcase .slide-arrows {
    display: flex;
    gap: 10px;
    flex-direction: row; /* Make arrows horizontal */
}

#project-showcase .swiper-button-prev,
#project-showcase .swiper-button-next {
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    background: white !important; /* White background */
    border: 1px solid #90c446 !important; /* Green border */
}

/* Reset arrow styles */
#project-showcase .swiper-button-prev::before,
#project-showcase .swiper-button-next::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border: 2px solid #90c446; /* Green arrows */
    border-width: 0 0 2px 2px;
    transform: rotate(45deg);
}

#project-showcase .swiper-button-next::before {
    border-width: 2px 2px 0 0;
}

/* Hover states */
#project-showcase .swiper-button-prev:hover,
#project-showcase .swiper-button-next:hover {
    background: #90c446 !important;
}

#project-showcase .swiper-button-prev:hover::before,
#project-showcase .swiper-button-next:hover::before {
    border-color: white;
}

/* Remove any Swiper default styles that might interfere */
.gallery-prev::after,
.gallery-next::after {
    display: none !important;
}

/* Fresh navigation styles */
.navigation-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split into two equal columns */
    padding: 0 50px;
    margin: -20px 0 20px 0;
}

.project-nav {
    justify-self: center; /* Center the nav in its grid column */
    display: flex;
    gap: 10px;
    width: 250px;
    /* height: 120px; */
    grid-column: 2; /* Place in second column */
}

.nav-prev,
.nav-next {
    width: 100px;
    height: 120px;
    border: 1px solid #90c446;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.nav-prev::before,
.nav-next::before {
    content: '';
    display: block;
    width: 48px;  /* Increased from original size */
    height: 48px; /* Increased from original size */
    border: 2px solid #90c446;
    transition: all 0.3s ease;
}

.nav-prev::before {
    border-width: 0 0 2px 2px;
    transform: rotate(45deg);
}

.nav-next::before {
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
}

.nav-prev:hover,
.nav-next:hover {
    background: #90c446;
}

.nav-prev:hover::before,
.nav-next:hover::before {
    border-color: white;
}

/* Remove the previous after pseudo-elements */
.nav-prev::after,
.nav-next::after {
    display: none;
}


/* Project Tab Styles */
.tab-content {
    display: none;
    opacity: 0;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;           /* Add this to ensure all tabs start from the same position */
    transition: opacity 0.3s ease;
    visibility: hidden;
    height: 0;        /* Add this to collapse when inactive */
}

.tab-content.active {
    display: block;
    opacity: 1;
    position: relative;
    visibility: visible;
    z-index: 1;
    height: auto;     /* Add this to expand when active */
}

.tab-content.active#current-projects + .navigation-row {
    display: none;
}

/* Scroll snap for desktop only */
/* 
@media (min-width: 769px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }

    #hero-slider,
    #project-showcase,

    #contact-section {
        scroll-snap-align: start;
        min-height: 100vh;
    }
} 
*/

/* Remove scroll snap for mobile */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }

    #hero-slider,
    #project-showcase,
    #contact-section {
        scroll-snap-align: none;
        min-height: auto;  /* Allow sections to size naturally on mobile */
    }

    /* Hero Slider Mobile Fixes */
    #hero-slider {
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }

    .hero-swiper {
        width: 100% !important;
        height: 100% !important;
    }

    .swiper-slide {
        width: 100vw !important;
        height: 100% !important;
        padding: 0 !important;
    }

    /* Adjust slide content positioning for mobile */
    .slide-content {
        bottom: 350px;
        left: 20px;
        right: 20px;
        padding: 0;
        width: auto;
        max-width: 100%;
    }

    .slide-content h2 {
        font-size: 32px;
        margin-bottom: 0.5rem;
    }

    .slide-content .project-description {
        font-size: 18px;
        margin-bottom: 1rem;
    }

    /* Adjust navigation for mobile */
    .slide-navigation {
        right: 20px; 
        bottom: 225px;
        gap: 15px;
    }

    .slide-info .divider {
        width: 40vw;
        max-width: 150px;
    }

    /* Counter section mobile adjustments */
    .counter-section {
        padding: 1rem 0;
    }

    .stage-label {
        font-size: 0.75rem;
        color: #999; /* Lighter color for inactive stages */
        text-align: center;
        width: 100%;
        white-space: normal;
        line-height: 1.2;
        max-width: 80px;
        margin: 0 auto;
    }

    .stage-item.active .stage-label {
        color: #333;
        font-weight: 600; /* Make active stage label bold */
    }

    /* Project Stage Progress */
    .project-stage-progress {
        display: flex;
        gap: 15px;
        align-items: baseline;
        padding: 0 0px;
        position: relative; /* Add this for pseudo-element positioning */
    }

    .project-stage-progress:before {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        right: 0;
        height: 2px;
        background: #ddd;
        z-index: 0;
    }

    .stage-item[data-stage="sales_completed"] {
        margin-top: 20px; /* Add space at the top of the first stage */
    }

    .stage-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }

    .stage-indicator {
        width: 16px;
        height: 16px;
        min-width: 16px; /* Prevent shrinking */
        border-radius: 50%;
        border: 2px solid #90c446;
        background: #fff;
        margin-top: 3px; /* Align with text */
    }

    .stage-label {
        font-size: 14px;
        line-height: 1.4;
        color: #666;
    }

    /* States */
    .stage-indicator.completed { background: #90c446; }
    .stage-indicator.current { border-color: #90c446; }
    .stage-indicator.pending { border-color: #ddd; }

    .stage-label.completed { color: #90c446; font-weight: 500; }
    .stage-label.current { color: #333; font-weight: 500; }
    .stage-label.pending { color: #999; }

    .project-description ul {
        padding-left: 20px;  /* Reduce default padding */
        margin: 0;
        text-align: left;    /* Ensure text aligns left */
    }

    .project-description li {
        text-align: left;    /* Force left alignment on list items */
        padding-left: 5px;   /* Small padding after bullet */
    }

    .project-description .and-more {
        text-align: left;
        padding-left: 20px;  /* Match the ul padding */
    }
}

.contact-section {
    padding: 80px 0;
    /* background-color: #f5f5f5; */
    flex-direction: column;

    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    padding-right: 40px;
}

.contact-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.contact-title .highlight {
    color: #90c446;
    display: block;
}

.contact-title .secondary {
    color: #4c4c55;
    display: block;
}

.contact-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-options {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.option {
    flex: 1;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.option img {
    width: 24px;
    height: 24px;
}

.option span {
    color: #4c4c55;
}

/* Contact Form 7 Styles */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.wpcf7-form textarea {
    height: 120px;
}

.wpcf7-submit {
    width: 100%;
    padding: 15px;
    background: #90c446;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
}

.wpcf7-submit:hover {
    background: #7dab39;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 30px;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

.contact-logo {
    margin-bottom: 40px;
}

.contact-logo img {
    max-width: 240px;
    height: auto;
}

/* Project Showcase Navigation */
.project-nav .nav-prev,
.project-nav .nav-next {
    width: 120px !important;
    height: 72px !important;
    background: white !important;
    border: 1px solid #90c446 !important;
    border-radius: 8px !important; /* Add rounded corners */

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
}

.project-nav .nav-prev::before,
.project-nav .nav-next::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border: 2px solid #90c446;
}

.project-nav .nav-prev::before {
    border-width: 0 0 2px 2px;
    transform: rotate(45deg);
}

.project-nav .nav-next::before {
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
}

.project-nav .nav-prev:hover,
.project-nav .nav-next:hover {
    background: #90c446 !important;
}

.project-nav .nav-prev:hover::before,
.project-nav .nav-next:hover::before {
    border-color: white;
}

/* Add this to create a container for the tabs */
.project-tabs-container {
    position: relative;  /* Add this */
}





/* Social styles */

.instagram-button {
    position: fixed;
    bottom: 120px; /* Position above WhatsApp button (20px + 80px + 20px spacing) */
    right: 30px;
    z-index: 1000;
    pointer-events: none; /* Make the container not affect layout */
}

.instagram-button a {
    pointer-events: auto; /* Re-enable pointer events for the link */
}

.instagram-button img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    /* transform: scale(0.75); */
    
    background: white;
}

.instagram-button img:hover {
    transform: scale(1.4);
}

@media (max-width: 768px) {
    .instagram-button,
    .whatsapp-button {
        right: 20px;
        position: fixed;
    }

    .instagram-button img,
    .whatsapp-button img {
        width: 60px; /* Made slightly smaller for top placement */
        height: 60px;
    }

    .instagram-button {
        top: 85px; /* Position from top instead of bottom */
    }

    .whatsapp-button {
        top: 20px; /* Position below Instagram button with some spacing */
    }

    /* Adjust hover effect for touch devices */
    .instagram-button img:hover,
    .whatsapp-button img:hover {
        transform: scale(1.2);
    }
}

/* New specific classes for completed projects */
.completed-project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0;
}

.completed-project-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.completed-project-list ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.completed-project-list ul li:before {
    content: "•";
    position: absolute;
    left: 0;
}

/* Add this new style for the dots */
.completed-project-list ul li.dots {
    padding-left: 0;
    font-size: 24px ;
    color: #666;
}

.completed-project-list ul li.dots:before {
    content: none;
}

/* Meta items in right column */
.completed-project-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-around; /* Spread items evenly */
    height: 100%; /* Take full height of parent */
    gap: 15px;
}

.completed-meta-item {
    display: flex;
    align-items: center;
    gap: 15px; /* Increased gap between icon and text */
}

.completed-meta-item i {
    color: #90c446;
    width: 24px; /* Increased from 20px */
    font-size: 24px; /* Increased icon size */
}

.completed-meta-item span {
    color: #666;
    margin-top: 8px;
    font-size: 16px; /* Added to match the larger icons */
}

@media (max-width: 768px) {
    /* Front Page Project Cards Mobile Styles */
    #project-showcase .project-card {
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        padding: 0px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08);
        margin: 12px 12px 12px 12px;
        height: auto;
        width: 94%;
    }

    #project-showcase .project-content {
        display: flex;
        flex-direction: column;
    }

    #project-showcase .project-image-container {
        width: 100%;
        height: 200px;
        position: relative;
        flex: none;
        border-radius: 20px 20px 0px 0px;
    }

    #project-showcase .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px 20px 0px 0px;
    }

    #project-showcase .project-info {
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        background: #fff;
        gap: 1px;
    }

    #project-showcase .project-label {
        color: #90c446;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    #project-showcase .project-title {
        font-size: 2rem;
        color: #333;
        margin: 0 0 15px 0;
        font-weight: 500;
    }

    #project-showcase .project-location {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    #project-showcase .project-location i {
        color: #90c446;
        font-size: 1rem;
    }

    #project-showcase .view-details-btn {
        display: inline-block;
        width: 100%;
        padding: 15px 0;
        background: transparent;
        border: 1.5px solid #90c446;
        color: #90c446;
        text-decoration: none;
        text-align: center;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        margin-top: 20px;
    }

    /* Progress indicator styles */
    #project-showcase .progress-indicator {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 15px 0;
    }

    #project-showcase .progress-step {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #eee;
    }

    #project-showcase .progress-step.active {
        background: #90c446;
    }

    #project-showcase .progress-step.completed {
        background: #90c446;
    }

    #project-showcase .progress-label {
        font-size: 0.9rem;
        color: #666;
    }

    /* Completed Project Mobile Styling */
    #project-showcase .completed-project-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        background: #fff;
        border-radius: 20px;

    }

    #project-showcase .completed-project-list {
        display: none;
    }

    #project-showcase .completed-project-list ul {
        margin: 0;
        padding-left: 20px;
        list-style: none;
    }

    #project-showcase .completed-project-list li {
        margin-bottom: 12px;
        position: relative;
        padding-left: 20px;
    }

    #project-showcase .completed-project-list li:before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        width: 8px;
        height: 8px;
        background: #90c446;
        border-radius: 50%;
    }

    #project-showcase .completed-project-meta {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }

    #project-showcase .completed-meta-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #project-showcase .completed-meta-item i {
        color: #90c446;
        font-size: 20px; 
        width: 20px;
    }

    #project-showcase .completed-meta-item span {
        color: #666;
        font-size: 0.95rem;
        margin: 0;
    }

    #project-showcase .view-details-btn2 {
        display: inline-block;
        width: 100%;
        padding: 15px 0;
        background: transparent;
        border: 1.5px solid #90c446;
        color: #90c446;
        text-decoration: none;
        text-align: center;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        margin-top: 20px;
    }
}
 
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1000; /* Same as Instagram button */
    pointer-events: none; /* Make the container not affect layout */
}

.whatsapp-button a {
    pointer-events: auto; /* Re-enable pointer events for the link */
}

.whatsapp-button img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    background: white;
}

.whatsapp-button img:hover {
    transform: scale(1.4);
}

@media (max-width: 768px) {
    .instagram-button,
    .whatsapp-button {
        right: 20px;
        position: fixed;
    }

    .instagram-button img,
    .whatsapp-button img {
        width: 60px;
        height: 60px;
    }

    .instagram-button {
        top: 85px;
    }

    .whatsapp-button {
        top: 20px;
        z-index: 1000; /* Ensure it stays on top on mobile */
    }

    /* Adjust hover effect for touch devices */
    .instagram-button img:hover,
    .whatsapp-button img:hover {
        transform: scale(1.2);
    }
}

/* Desktop Project Showcase */
@media (min-width: 769px) {
    #project-showcase .project-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Center the cards */
        padding-left: 30px; 
    }
}




/* Contact Section Styles */
.contact-section .contact-top,
.contact-section .contact-bottom {
    position: relative;
    padding: 40px 0;
}

.contact-section .contact-top::before,
.contact-section .contact-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #90c446, transparent);
    max-width: 1200px;
}

.contact-section .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-container {
    display: flex;
    align-items: center;
    gap: 5vw;
    width: 40vw;
    max-width: 550px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;  /* Remove link underline */
    color: inherit;  /* Keep original text color */
}

.phone-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.phone-container i {
    font-size: 32px;
    color: #90c446;
    background: rgba(144, 196, 70, 0.1);
    padding: 20px;
    border-radius: 50%;
}

.phone-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}

.phone-number {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #90c446;
}

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

    .phone-container {
        width: 100%;
        justify-content: center;
    }

    .contact-section .contact-top {
        padding: 30px 0;
        margin-bottom: 30px;
    }
}

/* Contact Section Base Styles */
.contact-section {
    display: flex;
    flex-direction: column;
}

/* Container Styles */
.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-section .contact-top,
.contact-section .contact-bottom {
    padding: 40px 0;
}

/* Grid Layout */
.contact-section .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

/* Content Alignment */
.contact-section .contact-info {
    margin-right: auto;
}

.contact-section .contact-phone {
    margin-left: auto;
}

@media (max-width: 768px) {
    .contact-section .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section .contact-phone {
        margin: 0 auto;
    }
}

.project-card-modern {
    display: grid;
    grid-template-columns: 1.5fr 1fr; 
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1600px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.main-project {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.main-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.side-projects {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}

.side-project {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.side-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-project:hover .project-overlay,   
.side-project:hover .project-overlay {
    opacity: 1;
}

.main-project:hover img,
.side-project:hover img {
    transform: scale(1.05);
}

.project-overlay h2,
.project-overlay h3 {
    color: white;
    margin-bottom: 10px;
}

.project-overlay h2 {
    font-size: 24px;
}

.project-overlay h3 {
    font-size: 18px;
}

.view-project {
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 5px;
    display: inline-block;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.view-project:hover {
    background: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .project-card-modern {
        grid-template-columns: 1fr;
    }
    
    .side-projects {
        grid-template-rows: repeat(3, 200px);
    }
}

.project-showcase-modern {
    background: #f8f9fa;
    padding: 24px 24px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.showcase-content {
    width: 90vw;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr; 
    gap: 60px;
    align-items: start;
}

.showcase-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 0px;
}

.showcase-text h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #333;
}

.showcase-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #90c446;
    border-radius: 30px;
    color: #90c446;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 18px;
}

.learn-more-btn:hover {
    background: #90c446;
    color: white;
}

.showcase-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.main-images {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.main-images img {
    width: 100%;
    height: auto;
    max-height: 310px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.side-images {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}

.side-images img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.main-images img:hover,
.side-images img:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .showcase-gallery {
        grid-template-columns: 1fr;
    }
    
    .main-images {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .side-images {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .showcase-text h2 {
        font-size: 32px;
    }
}

.project-description {
    margin-bottom: 24px;
    font-size: larger;
}

.project-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-description ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #666;
}

.project-description ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #90c446;
}

.showcase-text .project-stage-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
    margin: 30px 0;
    width: 100%;
}

.showcase-text .stage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.showcase-text .stage-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;           /* Use flexbox */
    align-items: center;     /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 3;
}

.showcase-text .stage-icon:before {
    font-family: "Font Awesome 6 Free";  /* Ensure proper font */
    font-weight: 900;                    /* Use solid style */
    font-size: 24px;                     /* Control icon size */
    display: flex;                       /* Use flexbox */
    align-items: center;                 /* Center vertically */
    justify-content: center;             /* Center horizontally */
}

/* First item alignment */
.showcase-text .stage-item[data-stage="pre_sale"] {
    align-items: flex-start;
}

/* Last item alignment */
.showcase-text .stage-item[data-stage="sales_completed"] {
    align-items: flex-end;
}

/* Middle item stays centered */
.showcase-text .stage-item[data-stage="on_sale"] {
    align-items: center;
}

/* Progress line */
.showcase-text .project-stage-progress:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 4px;
    background: #f0f0f0;
    z-index: 1;
}

/* Icon sizes */
.showcase-text .stage-item[data-stage="pre_sale"] .stage-icon:before,
.showcase-text .stage-item[data-stage="on_sale"] .stage-icon:before {
    font-size: 16px;
}

.showcase-text .stage-item[data-stage="sales_completed"] .stage-icon:before {
    font-size: 16px;
}

/* Add text alignment for labels */
.showcase-text .stage-item[data-stage="pre_sale"] .stage-label {
    text-align: left;
}

.showcase-text .stage-item[data-stage="on_sale"] .stage-label {
    text-align: center;
}

.showcase-text .stage-item[data-stage="sales_completed"] .stage-label {
    text-align: right;
}

/* Showcase meta layout */
.showcase-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.showcase-meta .completed-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.showcase-meta .completed-meta-item i {
    font-size: 24px;
    color: #90c446;
}

.showcase-meta .completed-meta-item .meta-data {
    color: #666;
    font-size: 16px;
}

.subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #33333399;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
    border-left: 4px solid #90c446;
}

.and-more {
    font-size: 24px;
    color: #90c446;
    font-weight: bold;
    margin-top: 10px;
    letter-spacing: 2px;
}

/* Project Stage Progress in showcase */
.showcase-text .project-stage-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0px 0;
    margin: 0px 0;
    width: 100%;
}

/* Progress line */
.showcase-text .project-stage-progress:before {
    content: '';
    position: absolute;
    top: 25%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 4px;
    background: #f0f0f0;
    z-index: 1;
}

/* Stage Item */
.showcase-text .stage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Stage Icon */
.showcase-text .stage-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;           /* Use flexbox */
    align-items: center;     /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 3;
}

/* Stage Label */
.showcase-text .stage-label {
    font-size: 16px;
    color: #666;
    text-align: center;
    max-width: 120px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.7;
}

/* Active Stage */
.showcase-text .stage-item.active .stage-icon {
    border-color: #90c446;
    background: #90c446;
    transform: scale(1.5);
    box-shadow: 0 4px 12px rgba(144, 196, 70, 0.3);
}

.showcase-text .stage-item.active .stage-label {
    color: #90c446;
    opacity: 1;
    transform: translateY(4px);
}

/* Stage Icons */
.showcase-text .stage-icon:before {
    content: '';
    
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;          /* Ensure proper display */
    margin: auto;           /* Additional centering */
}

/* Active and Complete stages - make icons white */
.showcase-text .stage-item.active .stage-icon:before {
    filter: brightness(0) invert(1);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Add these new styles while keeping all existing styles */
.status-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.status-row .subtitle {
    font-size: 20px;
    font-weight: 600;
}

.status-row .project-stage-progress {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 768px) {
    .showcase-meta {
        display: grid;
        grid-template-columns: repeat(2, 1fr);  /* 2x2 grid */
        gap: 15px;
        padding: 10px 0;
    }

    .completed-meta-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .completed-meta-item i {
        font-size: 20px;
        margin: 0;
    }

    .completed-meta-item .meta-data {
        font-size: 14px;
        margin: 0;
        line-height: 1.2;
        opacity:0.7;
    }
}