/* === Highlight Section === */
.highlight-section {
    border-bottom: 1px solid #e9e9e9;
    border-top: 1px solid #e9e9e9;
    padding: 20px 0px;
    background: #f8f9f9;
}

.highlight-section p {
    margin: 0 6%;
    position: relative;
    font-size: 35px;
    font-weight: 500;
}

.highlight-section strong{
    color: #333333;
}

/* === Info Section & Extra Info === */
.info-row{
    padding-bottom: 20px;
}

.info-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 40px 0;
    margin: 0 6%;
}

.extra-info-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin: 0 6%;
}

.three-d-plan-title{
    font-size: 20px;
    color: #333333;
}

.info-box,
.extra-column {
    flex: 1;
    min-width: 250px;
}

.extra-column-floor-plans{
    margin: 0 6%;
    padding-bottom: 20px;
}

.extra-column-what-amenities{
    margin: 0 6%;
}

.info-heading,
.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.green-line,
.section-line {
    width: 60px;
    height: 2px;
    background-color: green;
    margin-bottom: 20px;
}

.info-image,
.floor-plan-wrapper img,
.gallery-item img,
.three-d-gallery-item img,
.construction-gallery-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
}

.construction-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.construction-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.gallery-item img,
.three-d-gallery-item img,
.construction-gallery-item img {
    padding: 4px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover,
.three-d-gallery-item img:hover,
.construction-gallery-item img:hover {
    transform: scale(1.05);
}

/* === Contact Table === */
.contact-table,
.rera-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
}

.rera-table{
    margin-bottom: 40px;
}

.rera-table td{
    font-family: Garamond, 'Times New Roman', serif;
    text-align: center;
    border: 1px solid #ccc;
    padding: 10px;
    border-style: dotted;
}

.contact-table th,
.contact-table td,
.rera-table th {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.contact-table td{
    font-family: Garamond, 'Times New Roman', serif;
}

.contact-table th,
.rera-table thead th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.rera-table thead th {
    background-color: grey;
    color: white;
    text-align: center;
    border: 3px solid;
}

.green-text a,
.address-link {
    color: green;
    font-weight: 600;
    text-decoration: none;
}

/* === Lists === */
.location-list,
.highlight-list,
.amenities-column ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 16px;
    color: #333
}

.location_list{
    font-family: Garamond, 'Times New Roman', serif;
    margin-top: -18px;
}

.location-list li,
.highlight-list li {
    margin-bottom: 1em;
}

.amenities-column li{
    margin-bottom: 1em;
}

/* === Form Section === */
.brochure-section,
.brochure-form {
    margin-right: 3.5%;
}

.brochure-form form {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1%;
    width: 100%;
}

.form-group input,
.form-group select {
    font-family: Garamond, 'Times New Roman', serif;
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
}

.form-group label {
    font-family: Garamond, 'Times New Roman', serif;
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 16px;
}

button[type="submit"] {
    background-color: green;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.btn-text{
    color: #dddddd;
}

button[type="submit"]:hover {
    background-color: darkgreen;
}

/* === Gallery Layouts === */
.three-d-gallery,
.construction-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    justify-content: center;
}

.gallery-wrapper{
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: center;
}

.gallery-item,
.three-d-gallery-item,
.construction-gallery-item {
    width: calc(20% - 10px);
    text-align: center;
}

/* === Responsive === */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
        margin: 0;
    }

    .main-bar {
        flex-direction: column;
        align-items: center;
    }

    .logo,
    .nav-container {
        flex: 0 0 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .social-icons,
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .logo img {
        height: 50px;
    }

    .info-row,
    .extra-info-row {
        flex-direction: column;
    }

    .gallery-item,
    .three-d-gallery-item,
    .construction-gallery-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .gallery-item,
    .three-d-gallery-item,
    .construction-gallery-item {
        width: 100%;
    }
}

/* === Section Wrappers === */
.location-wrapper {
    margin: 40px 20px;
}

.construction-update-section{
    margin: 0 6%;
    margin-top: 10px;
}

.three-d-plan-section{
    margin: 0 6%;
}

.project-description{
    margin-bottom: 50px;
}

.project-description p,
.rera-description p,
.extra-column p {
    font-family: Garamond, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #777777;
    margin-bottom: 15px;
}

.amenities-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.amenities-column {
    font-family: Garamond, 'Times New Roman', serif;
    flex: 1;
    min-width: 250px;
    padding-left: 4%;
}

.construction-update-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333;
}

.construction-update-line,
.three-d-plan-line {
    width: 50px;
    height: 2px;
    background-color: green;
    margin: 8px 0 20px;
}

.three-d-plan-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.three-d-plan-wrapper img {
    border-radius: 10px;
}

.floorplan-img {
    max-width: 60%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.why-choose-section {
    padding: 10px 0;
    margin: 0 6%;
}

.why-choose-content p {
    font-family: Garamond, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #777777;
}

a {
    color: green;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.custom-info-section {
    padding: 10px 0;
    margin: 0 6%;
}

.custom-info-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.custom-info-section .section-line {
    width: 60px;
    height: 2px;
    background-color: green;
    margin-bottom: 15px;
}

.info-paragraphs p {
    font-family: Garamond, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #777777;
    margin-bottom: 15px;
}

.custom-accordion-section {
    margin: 0 6%;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.section-line {
    width: 50px;
    height: 2px;
    background-color: green;
    margin-bottom: 20px;
}

.accordion {
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #ccc;
}

/* Accordion Header Styles */
.accordion-header {
    background-color: #6DAB3C;
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    transition: background-color 0.3s, color 0.3s;
}

/* Header when active */
.accordion-item.active .accordion-header {
    background-color: white;
    color: black;
}

/* Accordion Icon */
.accordion-icon {
    font-weight: bold;
    font-size: 20px;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Accordion Body (hidden by default, animated height) */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: #fff;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Body paragraph styling */
.accordion-body p {
    font-family: Garamond, 'Times New Roman', serif;
    font-size: 16px;
    margin: 15px 0;
}

/* Active Accordion Body */
.accordion-item.active .accordion-body {
    max-height: 1000px; /* enough to fit content */
    padding: 15px 20px;
}

/* Optional: Smooth icon animation (optional, visual only) */
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.custom-location-section {
    padding: 40px 0;
    margin: 0 6%;
    padding-bottom: 0;
}

.custom-location-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.custom-location-section .section-line {
    width: 50px;
    height: 2px;
    background-color: green;
    margin-bottom: 15px;
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.location-image,
.location-map {
    flex: 1 1 500px;
    align-items: center;
    text-align: center;
}

.location-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.location-map iframe {
    height: 100%;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .location-content {
        flex-direction: column;
    }

    .location-image,
    .location-map {
        flex: 1 1 100%;
        align-items: center;
        text-align: center;
    }

    .location-map iframe {
        width: 100% !important;
        height: 300px;
    }
}

.custom-disclaimer-section {
    padding: 40px 0;
    margin: 0 6%;
}

.custom-disclaimer-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.custom-disclaimer-section .section-line {
    width: 50px;
    height: 2px;
    background-color: green;
    margin-bottom: 15px;
}

.disclaimer-text p {
    font-family: Garamond, 'Times New Roman', serif;
    font-size: 16px;
    color: #777777;
    margin-bottom: 16px;
    line-height: 1.6;
}

.disclaimer-text .disclaimer-note {
    font-size: 16px;
    color: #777;
    font-weight: normal;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .double-field {
        flex-direction: column;
    }

    .double-field input,
    .double-field select {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-img, .floorplan-img {
        display: none;
    }
}

.gallery-item {
    display: inline-block;
    margin: 5px;
    cursor: pointer;
}

.layout-viewer-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.layout-viewer-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.layout-viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.layout-viewer-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
}

.layout-prev,
.layout-next {
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
}

.layout-prev:hover,
.layout-next:hover,
.layout-viewer-close:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    .layout-viewer-img {
        max-width: 95%;
        max-height: 70vh;
    }

    .layout-prev,
    .layout-next {
        font-size: 30px;
    }

    .layout-viewer-close {
        font-size: 24px;
    }
}

.three-d-viewer-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.three-d-viewer-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.three-d-viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.three-d-viewer-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
}

.three-d-prev, .three-d-next {
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
}

.three-d-prev:hover, .three-d-next:hover,
.three-d-viewer-close:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    .three-d-viewer-img {
        max-width: 95%;
        max-height: 70vh;
    }
    .three-d-prev, .three-d-next {
        font-size: 30px;
    }
    .three-d-viewer-close {
        font-size: 24px;
    }
}

.floorplan-viewer-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.floorplan-viewer-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.floorplan-viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.floorplan-viewer-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
}

.floorplan-prev,
.floorplan-next {
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
}

.floorplan-prev:hover,
.floorplan-next:hover,
.floorplan-viewer-close:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    .floorplan-viewer-img {
        max-width: 95%;
        max-height: 70vh;
    }

    .floorplan-prev,
    .floorplan-next {
        font-size: 30px;
    }

    .floorplan-viewer-close {
        font-size: 24px;
    }
}

.construction-viewer-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.construction-viewer-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.construction-viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.construction-viewer-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
}

.construction-prev,
.construction-next {
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
}

.construction-prev:hover,
.construction-next:hover,
.construction-viewer-close:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    .construction-viewer-img {
        max-width: 95%;
        max-height: 70vh;
    }

    .construction-prev,
    .construction-next {
        font-size: 30px;
    }

    .construction-viewer-close {
        font-size: 24px;
    }
}