

/* Project Hero Section */
.project-hero {
    position: relative;
    background: linear-gradient(to right, #fff 45%, #f8f9fa 45%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.project-banner {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.project-info {
    border-radius: 0 20px 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: auto;
    min-height: 400px;

}

.project-info h2 {
    color: #E9282B;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.project-info h1 {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.basic-info {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.basic-info li {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.basic-info li img {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* Project Highlights Section */
.project-highlights-wrapper {
    margin-top: 25px;
    position: relative;
}


.project-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
    padding: 35px 0 0 0;
    margin: 0;
}

.project-highlights li {
    position: relative;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.project-highlights li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #E9282B;
    border-radius: 50%;
    flex-shrink: 0;
}

.project-highlights li:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: #E9282B;
}

/* Highlight Categories */
.project-highlights li.amenity {
    border-left: 3px solid #4CAF50;
}

.project-highlights li.location {
    border-left: 3px solid #2196F3;
}

.project-highlights li.feature {
    border-left: 3px solid #FF9800;
}

.project-highlights li.security {
    border-left: 3px solid #9C27B0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-highlights {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project-highlights li {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* Animation for highlights */
@keyframes highlightFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-highlights li {
    animation: highlightFadeIn 0.3s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
    opacity: 0;
}

/* Counter for staggered animation */
.project-highlights {
    counter-reset: item;
}

.project-highlights li {
    --item-index: 0;
    counter-increment: item;
    --item-index: counter(item);
}

.btn-intrested {
    background-color: #E9282B;
    color: #fff;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

.btn-intrested:hover {
    background-color: #000;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .project-hero {
        background: #fff;
        min-height: auto;
        padding: 20px;
    }

    .project-banner {
        height: 50vh;
        margin-top: 60px;
    }


    .project-info h1 {
        font-size: 24px;
    }

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

.error-msg {
    color: #fff;
    text-align: center;
    font-size: 22px;
}

.project-info h1 {
    font-weight: 800 !important;
    font-size: 26px;
    text-transform: capitalize;
}

.project-info h2 {
    font-weight: 600 !important;
    font-size: 20px;
}

ul.basic-info {
    margin: 0px;
    padding: 0px;
}

.basic-info li {
    font-size: 12px;
    font-weight: 600;
    list-style: none;
    float: left;
    margin-right: 10px;
}

.basic-info li span {
    font-weight: 400;
}

.basic-info li img {
    width: 18px;
}

.project-info p {
    font-size: 13px;
    color: #E9282B;
    font-weight: 700;
    margin: 0px;
    padding: 0px;
}

.project-info h3 {
    font-size: 14px;
    font-weight: 700;
}

.project-info h5 {
    font-size: 13px;
    font-weight: 700;
    margin-top: 5px;
    line-height: 1.7;
    text-transform: capitalize;
}

.project-info h5 span {
    font-weight: 500;
    font-size: 12px;
}

.project-highlights-wrapper {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping items into rows */
    gap: 20px;
    /* Adds space between columns */
}

.project-highlights {
    display: flex; /* Use flexbox layout */
    flex-wrap: wrap; /* Allow wrapping to new rows */
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.project-highlights li {
    flex: 1 1 calc(50% - 10px); /* Each item takes 50% of the row, minus some margin */
    margin: 3px; /* Add spacing between items */
    box-sizing: border-box; /* Include padding and border in the element's width/height */
    font-size: 12.5px;
    font-weight: 500;
}


.btn-intrested {
    background-color: #E9282B;
    font-size: 14px;
    color: #fff;
    padding: 12px 55px;
    font-weight: 600;
    transition: all 0.5s;
    border-radius: 10px;
}

.btn-intrested:hover {
    background-color: #000000;
    color: #fff;
}

.layout h4 {
    color: #E9282B;
}

.layout h3 {
    color: #ffffff;
    font-weight: 700;
}


.layout-slider .item {
    position: relative;
    height: 480px;
    width: 85%;
    overflow: hidden; /* Ensures that any image overflow is hidden */
}

.layout-slider .item img {
    width: 100%;         /* Ensures image takes full width of the container */
    height: 100%;        /* Ensures the image fills the height */
    object-fit: cover;   /* Ensures the image scales proportionally without distortion */
    border-radius: 10px;
}


.owl-dot.active span {
    display: none;
}



.project-inquiry .inquiry-form {
    background-color: #fff;
    padding: 25px;
    border-radius: 25px;
}

.project-inquiry .inquiry-form h4 {
    text-align: center;
    color: #363636;
    font-size: 16px;
    line-height: 1.7;
}

.inquiry-form .form-group {
    border: 1px solid #ddd;
    border-radius: 5px;
    position: relative;
    padding: 0px;
}

.inquiry-form .form-group label {
    background-color: #fff;
    position: absolute;
    top: -11px;
    left: 13px;
    font-size: 12px;
    padding: 0px 10px;
    font-weight: 500;
}

.inquiry-form p {
    font-size: 12px;
    font-weight: 500;
    padding-top: 15px;
}

.inquiry-form .form-group .form-control {
    height: 45px;
    border: none;
    font-size: 13px;
    padding-left: 22px;
}

.btn-submit {
    background-color: #E9282B;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    height: 45px;
    transition: all;
}
.btn-submit:hover{
    background-color: #000;
    color: #fff;
}

.btn-project {
    background-color: #E9282B;
    font-size: 13px;
    color: #fff;
    padding: 10px 35px 9px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-builder {
    background-color: #fff;
    font-size: 13px;
    padding: 10px 35px 9px;
    border-radius: 5px;
    font-weight: 600;
    margin-left: 10px;
}
.about-builder, .about-project{
    background-color: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.about-builder p{
    color: #000;
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}
.about-project  p {
    color: #000;
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}


.project-main-img {
    background-color: #FFFFFF85;
    padding: 20px;
    border-radius: 25px;
    height: 400px;
    overflow: hidden;
}

.project-main-img img {
    height: 100%;
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.btn-brochure {
    background-color: #274F37;
    padding: 12px 40px;
    color: #fff;
    border-radius: 10px;
    transition: all 0.5s;
    font-size: 14px;
    font-weight: 600;
}
.btn-brochure:hover{
    background-color: #000;
    color: #fff;
}

.nearby-card {
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

.nearby-card h3 {
    color: #000;
    font-size: 22px;
    font-weight: 700;
}
.nearby-card h4 {
    color: #E9282B;
    font-size: 18px;
    font-weight: 700;
}

/* Project Highlights List */
.project-highlights-wrapper {
    margin-top: 25px;
}

.project-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-highlights li {
    font-size: 13px;
    color: #444;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.project-highlights li i {
    font-size: 4px;
    color: #E9282B;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    background: rgba(233, 40, 43, 0.1);
    border-radius: 50%;
    padding: 8px;
}

.project-highlights li:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-highlights {
        grid-template-columns: 1fr;
    }
    
    .project-highlights li {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* Layout Section */
.layout {
    padding: 60px 0;
    background: #fff;
    position: relative;
}

.layout h4 {
    font-size: 14px;
    font-weight: 600;
    color: #274F37;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.layout h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.3;
}

.layout-slider {
    position: relative;
    margin-top: 30px;
}

.layout-slider .item {
    position: relative;
    height: 450px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.layout-slider .item:hover {
    transform: translateY(-5px);
}

.layout-slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.layout-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.layout-slider .owl-prev,
.layout-slider .owl-next {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.layout-slider .owl-prev:hover,
.layout-slider .owl-next:hover {
    background: #274F37 !important;
    color: #fff;
}

.layout-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.layout-slider .owl-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.layout-slider .owl-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #274F37 !important;
}

/* Project Inquiry in Layout */
.project-inquiry {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.project-inquiry .inquiry-form {
    padding: 30px;
    border-radius: 12px;
}

.project-inquiry .inquiry-form h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
}

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

.inquiry-form .form-group label {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
    display: block;
}

.inquiry-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.inquiry-form .form-control:focus {
    border-color: #274F37;
    box-shadow: 0 0 0 3px rgba(39, 79, 55, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #274F37;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #1a3726;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .layout {
        padding: 40px 0;
    }

    .layout h3 {
        font-size: 24px;
    }

    .layout-slider .item {
        height: 350px;
    }

    .project-inquiry {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .layout-slider .item {
        height: 280px;
    }

    .layout-slider .owl-nav {
        padding: 0 10px;
    }

    .layout-slider .owl-prev,
    .layout-slider .owl-next {
        width: 36px;
        height: 36px;
    }
}

/* About Project & Builder Tabs */
.tab-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-tab {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #f5f5f5;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-tab i {
    font-size: 18px;
}

.btn-tab.active {
    background: #E9282B;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.content-wrapper {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.about-project,
.about-builder {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 25px;
}

.about-project.active,
.about-builder.active {
    display: block;
    opacity: 1;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.content-header i {
    font-size: 24px;
    color: #E9282B;
}

.content-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.content-body p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-tab {
        width: 100%;
        justify-content: center;
    }
    
    .content-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* Project Inquiry Styles */
.project-inquiry {
    position: sticky;
    top: 100px;
}

.inquiry-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.inquiry-header {
    background: linear-gradient(135deg, #E9282B, #9e1214);
    color: white;
    padding: 15px;
    text-align: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.header-content i {
    font-size: 24px;
    margin-bottom: 5px;
}

.inquiry-header h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.inquiry-header .subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 13px;
}

.inquiry-form {
    padding: 15px;
}

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

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 14px;
}

.input-icon .form-control {
    padding: 8px 12px 8px 35px;
    height: 38px;
    font-size: 14px;
}

.site-visit-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.visit-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #495057;
    font-size: 14px;
}

.visit-header i {
    color: #E9282B;
    font-size: 14px;
}

.visit-header small {
    color: #6c757d;
    font-size: 11px;
}

.visit-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-submit {
    width: 100%;
    padding: 10px;
    background: #E9282B;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.btn-submit i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.btn-submit:hover i {
    transform: translateX(3px);
}

.response-message {
    margin-top: 12px;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
}

.response-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.response-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form Validation Styles */
.form-control:invalid {
    border-color: #dc3545;
    box-shadow: none;
}

.form-control:valid {
    border-color: #28a745;
    box-shadow: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .project-inquiry {
        position: static;
        margin-top: 20px;
    }
    
    .inquiry-header {
        padding: 12px;
    }
    
    .inquiry-form {
        padding: 12px;
    }
    
    .visit-inputs {
        grid-template-columns: 1fr;
    }
}

/* Layout Slider Styles */
.section-header {
    margin-bottom: 2rem;
}

.section-header h4 {
    color: #E9282B;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.section-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.layout-slider {
    position: relative;
    margin: 30px 0;
}

.layout-carousel .layout-item {
    padding: 10px;
}

.layout-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
}

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

.layout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.layout-image:hover img {
    transform: scale(1.05);
}

.layout-image:hover .layout-overlay {
    opacity: 1;
}

.layout-popup {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E9282B;
    font-size: 18px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.layout-image:hover .layout-popup {
    transform: translateY(0);
}

.layout-popup:hover {
    background: #E9282B;
    color: white;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-nav button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #E9282B;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.carousel-nav button:hover {
    background: #E9282B;
    color: white;
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .layout-slider {
        padding: 0 30px;
    }

    .section-header h3 {
        font-size: 24px;
    }

    .carousel-nav button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}
