a {
    color: #006605;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Title Section Styling */
.custom-title-section {
    background-color: #f8f9f9; /* light background for contrast */
    padding: 20px 0;    
}

.custom-title-text {
    font-size: 35px;
    font-weight: 900;
    color: #333333;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0 6%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .custom-title-text {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .custom-title-text {
        font-size: 20px;
    }
}

.project-section {
    padding: 30px 0;
}

.project-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 6%;
}

.project-column {
    flex: 1;
    min-width: 300px;
}

.image-form {
    text-align: center;
}

.project-image {
    width: 100%;
    height: auto;
    margin-bottom: 5%;
    border-radius: 10px;
}

.section-heading h2 {
    text-align: left;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.section-line {
    display: block;
    height: 2px;
    width: 50px;
    background-color: #006605;
    margin-bottom: 10px;
}

.brochure-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brochure-form label{
    text-align: left;
    font-size: 16px;
}

.brochure-form input,
.brochure-form select,
.brochure-form button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.brochure-form button {
    background-color: #006605;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 5%;
}

.btn-text {
    color: #ffffff;
}

.btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid #fff;
    border-top: 2px solid #999;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

.brochure-form button:hover {
    background-color: #006605e8;
}

.info-text ul {
    font-family: Garamond, 'Times New Roman', serif;
    padding-left: 10%;
    margin-bottom: 20px;
    font-size: 16px;
}

.info-text ul a {
    text-decoration: unset;
    color: #006605;
}

.info-text ul a:hover {
    text-decoration: underline;
}

.info-text li {
    margin: 5% 0;
}

.paragraph-block p {
    font-family: Garamond, 'Times New Roman', serif;
    margin-bottom: 14px;
    line-height: 1.6;
    font-size: 16px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 5% 0;
}

.info-table-no-heading {
    margin-top: 10%;
}

.info-table-no-heading a {
    color: #006605;
    text-decoration: none;
}

.info-table-no-heading a:hover {
    text-decoration: underline;
}

.info-table th,
.info-table td {
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 16px;
}

.info-table th {
    background-color: #999;
    color: white;
}

@media screen and (max-width: 768px) {
    .section-heading h2 {
        font-size: 20px;
    }

    .brochure-form {
        width: 100%;
    }

    .project-row {
        flex-direction: column;
    }

    .info-table th,
    .info-table td {
        font-size: 13px;
    }
}

/* Main Section */
.flat-gallery-container {
    margin: 0 6%;
}

.flat-gallery-heading h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.flat-heading-line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: #006605;
    margin-bottom: 10px;
}

/* Grid Layout */
.flat-image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.flat-image-item {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    cursor: pointer;
}

.flat-image-item img {
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-radius: 10px;
}

.flat-image-item img:hover {
    transform: scale(1.03);
}

/* Modal Overlay */
.flat-modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.flat-modal-overlay.active {
    display: flex;
}

.flat-modal-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.flat-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Next/Prev Buttons */
.flat-prev-btn,
.flat-next-btn {
    position: absolute;
    top: 50%;
    background-color: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 30px;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 4px;
    transform: translateY(-50%);
    transition: background-color 0.3s;
}

.flat-prev-btn:hover,
.flat-next-btn:hover {
    background-color: rgba(255,255,255,0.4);
}

.flat-prev-btn {
    left: 30px;
}

.flat-next-btn {
    right: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .flat-image-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .flat-gallery-heading h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .flat-image-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .flat-prev-btn,
    .flat-next-btn {
        font-size: 24px;
        padding: 8px 12px;
    }

    .flat-modal-close {
        font-size: 30px;
    }
}

.custom-gallery-wrapper {
    padding: 30px 0;
    margin: 0 6%;
}

.custom-gallery-heading-section {
    margin-bottom: 10px;
}

.custom-gallery-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.custom-gallery-line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: #006605;
    margin-top: 10px;
}

.custom-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.custom-gallery-image-box {
    width: calc(50% - 15px);
}

.custom-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-gallery-image-box {
        width: 100%;
    }

    .custom-gallery-title {
        font-size: 20px;
    }
}

.floor-plan-section {
    margin: 0 6%;
}

.floor-plan-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.floor-plan-line {
    width: 50px;
    height: 2px;
    background-color: #006605;
    margin: 8px 0 20px;
    border-radius: 2px;
}

.floor-plan-column {
    flex: 1 1 48%;
    min-width: 300px;
}

.floor-plan-heading {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.floor-plan-image-switcher {
    text-align: center;
}

.floor-plan-active-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.floor-plan-radio-controls {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.floor-plan-radio-controls label {
    font-size: 16px;
}

.floor-plan-radio-controls input[type="radio"] {
    cursor: pointer;
}

.floor-plan-description p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    font-family: Garamond, 'Times New Roman', serif;
}

.floor-plan-description .more-content {
    display: none;
    margin-top: 10px;
}
.read-more-btn {
    background-color: #006605;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}
.read-more-btn:hover {
    background-color: #006605e8;
}

/* Responsive */
@media (max-width: 768px) {
    .floor-plan-row {
        flex-direction: column;
    }

    .floor-plan-column {
        flex: 1 1 100%;
    }

    .floor-plan-heading {
        font-size: 18px;
    }
}

.custom-three-d-container {
    margin: 0 6%;
}

.custom-three-d-title {
    font-size: 20px;
    color: #333333;
    margin-bottom: 10px;
}

.custom-three-d-separator {
    width: 50px;
    height: 2px;
    background: #006605;
    border-radius: 2px;
    margin-bottom: 10px;
}

.custom-three-d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.custom-three-d-img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.custom-three-d-img:hover {
    transform: scale(1.03);
}

.custom-three-d-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.custom-three-d-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    margin-bottom: 20px;
    border-radius: 10px;
}

.custom-three-d-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}

.custom-three-d-controls {
    display: flex;
    gap: 10px;
}

.custom-three-d-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.custom-three-d-lightbox img {
    max-width: 80%;
    max-height: 80%;
}

.custom-three-d-close-btn,
.custom-three-d-prev,
.custom-three-d-next {
    position: absolute;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
}

.custom-three-d-close-btn { top: 20px; right: 30px; }
.custom-three-d-prev { left: 40px; top: 50%; transform: translateY(-50%); }
.custom-three-d-next { right: 40px; top: 50%; transform: translateY(-50%); }

@media screen and (max-width: 600px) {
    .custom-three-d-grid {
        grid-template-columns: 1fr;
    }
}

.floorplan-section {
    padding: 40px 0;
    margin: 0 6%;
}

.floorplan-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.floorplan-line {
    width: 50px;
    height: 2px;
    margin-bottom: 10px;
    background-color: #006605;
}

.floorplan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.floorplan-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.floorplan-item img:hover {
    transform: scale(1.02);
}

/* Modal Styles */
.floorplan-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 60px 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.floorplan-modal img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
}

.modal-arrow {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px 18px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 10000;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.amenities-section {
    margin: 0 6%;
}

.amenities-header {
    margin-bottom: 10px;
}

.amenities-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.amenities-line {
    width: 50px;
    height: 2px;
    background-color: #006605;
    margin-bottom: 10px;
    border-radius: 2px;
}

.amenities-list-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 10%;
    flex-wrap: wrap;
}

.amenities-column {
    flex: 1 1 300px;
    padding-left: 4%;
    box-sizing: border-box;
}

.amenities-column ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.amenities-column li {
    font-family: Garamond, 'Times New Roman', serif;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .amenities-title {
        font-size: 17px;
    }

    .amenities-list-wrapper {
        flex-direction: row;
        gap: 5%;
    }

    .amenities-column {
        flex: 1 1 45%;
        padding-left: 5%;
    }
}

.why-section {
    margin: 0 6%;
    padding: 30px 0;
}

.why-header {
    margin-bottom: 20px;
}

.why-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
}

.why-line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: #006605;
    border-radius: 2px;
}

.why-content p {
    font-family: Garamond, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .why-title {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .why-line {
        display: block;
        margin-bottom: 10px;
    }

    .why-content p {
        font-size: 14px;
    }
}

.location-section {
    margin: 0 6%;
    background-color: #fff;
}

.location-heading-row {
    margin-bottom: 10px;
}

.location-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.location-line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: #006605;
    border-radius: 2px;
}

.location-content-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.location-column {
    flex: 1 1 48%;
}

.image-column img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.map-column iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .location-content-row {
        flex-direction: column;
    }

    .location-column {
        flex: 1 1 100%;
    }

    .location-title {
        font-size: 17px;
    }

    .location-line {
        margin: 0 auto;
    }
}

.disclaimer-section {
    padding: 40px 6%;
    color: #333;
}

.disclaimer-header {
    margin-bottom: 10px;
}

.disclaimer-title {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
}

.disclaimer-line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: #006605;
    border-radius: 2px;
}

.disclaimer-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
    font-family: Garamond, 'Times New Roman', serif;
    color: #777777;
}

/* Responsive: Optional adjustments for mobile */
@media (max-width: 768px) {
    .disclaimer-title {
        font-size: 20px;
    }

    .disclaimer-content p {
        font-size: 13px;
    }
}