* {
    background-color: #fbf7f4;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    color-scheme: light only;
}

@media (prefers-color-scheme: dark) {
    html {
        background: #fbf7f4;
        color: #1A1D1A;
        forced-color-adjust: none;
    }
}

@font-face {
    font-family: "The Seasons";
    src: url('fonts/TheSeasons-Regular.woff2') format('woff2'),
         url('fonts/TheSeasons-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Gotham Book";
    src: url('fonts/GothamBook.woff2') format('woff2'),
         url('fonts/GothamBook.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url('fonts/Montserrat-Bold.woff2') format('woff2'),
         url('fonts/Montserrat-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #06402b;
    overflow-x: hidden;
    background-color: #fbf7f4;
}

.container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.container-inner {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 32px;
}   




/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fbf7f4;
    z-index: 999;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.navbar.hide-navbar {
    transform: translateY(-100%);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 90%;
    margin: 0 auto;
    padding: 1.2% 32px;
    position: relative;
}


.desktop-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.desktop-menu a {
    color: #06402b;
    text-decoration: none;
    font-family: "Gotham Book", Arial, sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: #06402b;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
}

.contact-btn {
    color: #06402b;
    text-decoration: none;
    font-family: "Gotham Book", Arial, sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: auto;
}





/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 46, 46, 0.4); /* #2e2e2e with 40% opacity */
}

.hero-caption {
    position: absolute;
    top: 10%;
    right: 10%;
    color: #fbf7f4;
    font-family: "Gotham", sans-serif;
    font-weight: 100;
    font-size: 2.5rem;
    text-align: right;
    z-index: 2;
    background-color: transparent;
    text-transform: uppercase;
    letter-spacing: 8px;
    line-height: 1.2;
    max-width: 500px;
}





/* About Section */
.about-content {
    display: flex;
    align-items: stretch;
    padding: 100px 0 50px 0;
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    justify-content: space-between;
}

.about-left {
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-right: 5%;
}

.about-left h1 {
    margin: 0;
    text-transform: uppercase;
    font-family: "The Seasons", serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

.about-left h1 span {
    display: block;
}

.about-divider {
    width: 2px;
    background: #d4c49e;
    align-self: stretch;
}

.about-right {
    max-width: 60%;
    display: flex;
    align-items: center;
}

.about-right p {
    margin: 0;
    text-align: justify;
    font-family: "Gotham Book", sans-serif;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #1A1D1A;
    padding-left: 3%;
}





/* Location Section */
#location {
    background: #FBF7F4;
    background: linear-gradient(180deg,rgba(251, 247, 244, 1) 0%, rgba(212, 196, 158, 0.5) 100%);
}

.location-content {
    display: flex;
    gap: 2%;
    align-items: center;
    padding: 50px 0;
    max-width: 1440px;
    background: transparent;
}

.location-image {
    flex: 0 0 55%;
    position: relative;
    background: transparent;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
}

.location-details {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.location-details h2 {
    margin: 0 0 5% 0;
    font-family: "The Seasons", serif;
    text-transform: uppercase;
    font-size: 2.5rem;
    letter-spacing: 2px;
    background: transparent;
}

.establishment-group {
    margin-bottom: 15px;
    position:relative;
    background: transparent;
}

.establishment-group h3 {
    color: #06402b;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
}

.establishment-group ul {
    list-style: none;
    padding: 0 0 0 15px;
    margin: 0;
    position: relative;
    background: transparent;
}

.establishment-group ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    margin-left: .5%;
    background-color: #d4c49e;
}

.establishment-group li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: "Gotham Book",  sans-serif;
    color: #1A1D1A;
    font-size: 1.2rem;
    letter-spacing: 5%;
    white-space: nowrap;
    background: transparent;
    gap: 20px;
}

.establishment-group li span:first-child {
    flex: 1;
    white-space: normal;
    min-width: 0;
    padding-right: 10px;
}

.establishment-group li span:last-child {
    flex: 0 0 auto; /* Don't allow distance to grow or shrink */
    white-space: nowrap; /* Keep distance on one line */
}

.establishment-group li span, .project-location b {
    background: transparent;
}

.project-location {
    margin-top: auto;
    padding-top: 10px;
    font-family: "Gotham Book", sans-serif;
    font-style: italic;
    color: #06402b;
    background: transparent;
}



/* Mobile Responsive */
@media (max-width: 900px) {
    .location-content {
        flex-direction: column;
        gap: 30px;
    }

    .location-image {
        height: 400px;
    }
}






/* SDP Section */
.SDP .container {
    max-width: 1440px;
}

.SDP {
    padding: 50px 0;
    margin: 0 auto;
    background:  rgba(212, 196, 158, 0.5);
}

.sdp-image {
    cursor: pointer;
    transition: transform 0.3s ease;
    background: transparent;
}

.sdp-image:hover {
    transform: scale(1.02);
}

.sdp-thumbnail {
    width: 100%;
    height: auto;
    background: transparent ;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    cursor: zoom-in;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lightbox-content img {
    width: auto;
    height: 95vh;
    object-fit: contain;
    transition: transform 0.5s ease-in-out;
}

.lightbox-content img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}





#features {
    padding-bottom: 50px;
    margin: 0 auto;
    background: #FBF7F4;
    background: linear-gradient(0deg,rgba(251, 247, 244, 1) 0%, rgba(212, 196, 158, 0.5) 100%);
}

#features .container {
    max-width: 1440px;
    background: transparent;
}

.p-title {
    text-align: center;
    font-family: "The Seasons", serif;
    text-transform: uppercase;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    background: transparent;
}

.features-tabs {
    margin-top: 30px;
    background: transparent;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    max-width: 1150px;
    margin: 0 auto 40px;
    position: relative;
    border-bottom: 1.5px solid rgba(212, 196, 158, 0.3);
    background: transparent;
}

.tab-btn {
    background: none;
    border: none;
    text-transform: uppercase;
    padding: 15px 5px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #06402b;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d4c49e;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.tab-btn.active {
    font-weight: 600;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    padding: 20px 0 40px 0;
    background: transparent;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 90%;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.tab-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
    text-align: left;
    width: 100%;
}

.tab-content li {
    margin-bottom: 15px;
    font-family: "Gotham", sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #1A1D1A;
    background: transparent;
}

#clubhouse ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

#security ul,
#outdoor ul,
#drainage ul,
#utilities ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    margin: 0;
}

.property-details {
    max-width: 500px;
    margin: 0 auto 0;
    padding: 40px 0 0 0;
    border-top: 2px solid rgba(212, 196, 158);
    display: flex;
    justify-content: center;
    gap: 100px;
    background: transparent;
}

.property-detail-item {
    text-align: center;
    background: transparent;
}

.property-detail-item .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    background: transparent;
}

.property-detail-item h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #06402b;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.property-detail-item p {
    font-family: "Gotham" sans-serif;
    font-size: 1.1rem;
    font-weight: 100;
    color: #1A1D1A;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}




#designers {
    padding: 50px 0 50px 0;
}

#designers h2 {
    text-align: center;
    font-family: "The Seasons", serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
#designers h2 {
    text-align: center;
    font-family: "The Seasons", serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
#designers .subtitle {
    text-align: center;
    font-family: "Gotham Book", sans-serif;
    font-size: 1.1rem;
    color: #06402b;
    margin-bottom: 60px;
}

.designers-grid {
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
    max-width: 55%;
}

.designer-card {
    text-align: center;
    width: 38%;
}

.designer-card img {
    width: 65%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

.designer-card .company {
    font-family: "Gotham Book", sans-serif;
    font-weight: 200;
    font-size: 0.8rem;
    color: #06402b;
    margin-bottom: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.designer-card .name {
    font-family: "Gotham Book", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #06402b;
    margin-bottom: 5px;
}

.designer-card .title {
    font-family: "Gotham Book", sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #1A1D1A;
}

.consultants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1150px;
    margin: 0 auto;
    padding-top: 80px;
}

.consultant-card {
    text-align: center;
}

.consultant-card .name {
    font-family: "Gotham", sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    color: #06402b;
    margin-bottom: 8px;
}

.consultant-card .role {
    font-family: "Gotham", sans-serif;
    font-weight: 300;
    font-size: .8rem;
    color: #1A1D1A;
    text-transform: uppercase;
}





/* Gallery Section */
#gallery {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 50px 0;
}

.gallery-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.gallery-slider {
    width: 100%;
    position: relative;
}

.slide {
    display: none;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.caption {
    position: absolute;
    left: auto;
    right: 8%;
    bottom: 8%;
    top: auto;
    font-size: 1.1rem;
    font-family: "Gotham", sans-serif !important;
    font-weight: 100;
    letter-spacing: 3px;
    color: #fbf7f4;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    background: rgba(46, 46, 46, 0.3);
    padding: 4px 8px;
    border-radius: 3px;
    backdrop-filter: blur(2px);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 20px;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-nav img {
    width: 32px;
    height: 32px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    background: transparent;
}

.gallery-nav:hover img {
    opacity: 0.8;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    background: transparent;
    padding: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(6, 64, 43, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background-color: #06402b;
    transform: scale(1.2);
}

button {
    background: #06402b;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

/* Contact Section */
#contact {
    padding: 50px 0 50px 0;
    background: #FBF7F4;
    background: linear-gradient(180deg, rgba(251, 247, 244, 1) 0%, rgba(212, 196, 158, 0.5) 100%);
}
 
#contact .container {
    background: transparent;
}

#contact h2 {
    text-align: center;
    font-family: "The Seasons", serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-transform: uppercase;
    background: transparent;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
    background: transparent;
}

.form-group.full {
    width: 100%;
}

.form-group.half {
    width: 345px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: transparent;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid rgba(6, 64, 43, 0.3);
    background: transparent;
    font-family: "Gotham Book", sans-serif;
    font-size: 1rem;
    color: #06402b;
    transition: border-color 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 10px;
    font-family: "Gotham Book", sans-serif;
    font-size: 1rem;
    color: rgba(6, 64, 43, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: #06402b;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #06402b;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group.checkbox input {
    margin-top: 5px;
}

.form-group.checkbox label {
    position: static;
    font-size: 0.9rem;
    line-height: 1.4;
}

.submit-btn {
    display: block;
    width: 200px;
    margin: 40px auto 0;
    padding: 15px 30px;
    background: #06402b;
    color: white;
    border: none;
    font-family: "Gotham Book", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #052e1f;
}

/* Form validation styles */
.form-group.error input,
.form-group.error textarea {
    border-bottom-color: #dc3545;
}

.form-group.error label {
    color: #dc3545;
}

.submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 30px;
    background-color: #06402b;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-text {
    transition: opacity 0.3s ease;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent !important;
}

.submit-btn.loading .button-text {
    opacity: 0;
}

.submit-btn.loading .loading-spinner {
    display: block;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Social Media Buttons */
.social-media-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    background: transparent;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #06402b;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(6, 64, 43, 0.2);
}

.social-btn:hover {
    background: #052e1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 64, 43, 0.3);
}

.social-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    background: transparent;
}







/* Footer Section */
footer {
    padding: 0 0 20px;
    background:  rgba(212, 196, 158, 0.5);
}

footer .container {
    background: transparent;
}

.footer-divider {
    width: 80%;
    height: 2px;
    background-color: #1A1D1A;
    margin: 0 auto 40px;
}

.footer-logo {
    width: 200px;
    height: 50px;
    background: url('Assets/Wordmark Logo.png') center/contain no-repeat;
    margin: 0 auto 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    background: transparent;
}

.social-links span {
 background: transparent;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #06402b;
    font-family: "Gotham Book", sans-serif;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    background: transparent;
}

.social-link:hover {
    opacity: 0.7;
}

.social-link img {
    width: 24px;
    height: 24px;
    background: transparent;
}

.copyright {
    text-align: center;
    color: #1A1D1A;
    font-family: "Gotham Book", sans-serif;
    font-size: 0.9rem;
    opacity: 0.7;
    background: transparent;
}

.success-message {
    display: none;
    color: #28a745;
    text-align: center;
    padding: 10px;
    margin-top: 15px;
}

.success-message.show {
    display: block;
}


@media (max-width: 1600px) {
    .hero-caption {
        font-size: 2.2rem;
        right: 8%;
        letter-spacing: 6px;
    }
    .nav-content {
        padding: 1.5% 32px !important;
    }
}

@media (max-width: 1400px) {
    .nav-content {
        padding: 1.8% 32px !important;
    }
}

@media (max-width: 1300px) {
    .nav-content {
        padding: 1.8% 32px !important;
    }
}

/* Mobile Responsive - 1200px */
@media (max-width: 1200px) {
    .nav-content {
        padding: 1% 16px;
    }

    .hero-caption {
        font-size: 2rem;
        right: 6%;
        letter-spacing: 5px;
    }
    
    .desktop-menu ul {
        gap: 20px;
    }

    .desktop-menu a {
        font-size: 0.8rem;
        letter-spacing: 0.8px;
    }

    .contact-btn {
        font-size: 0.8rem;
    }

    .navbar {
        padding: 10px 0;
    }

    .eh-logo {
        width: 180px;
        height: 45px;
    }

    .hero-caption {
        font-size: 2rem;
        right: 6%;
        letter-spacing: 5px;
    }
    .hero-slide img {
        object-position: center;
    }
    .location-content {
        max-width: 1200px;
    }

    .about-left h2 {
        font-size: 2rem;
    }

    .about-right p {
        font-size: 1rem;
    }

    .location-details h2 {
    margin: 0 0 4% 0;
    font-size: 2rem;
    letter-spacing: 2px;
    }

    .establishment-group {
    margin-bottom: 10px;
    }

    .establishment-group h3 {
        font-size: 1.2rem;
    }

    .establishment-group ul {
        padding: 0 0 0 13px;
    }

    .establishment-group li {
        font-size: 1rem;
    }

    .project-location {
        padding-top: 5px;
        font-size: 0.85rem;
    }

    .lightbox-content img {
        height: 80vh;
    }

    .tab-buttons {
        max-width: 1000px;
        margin: 0 auto 10px;
    }

    .tab-btn {
        font-size: 0.95rem;
    }

    .tab-content li {
        font-size: 1rem;
    }

    #designgers h2 {
        font-size: 2rem;
    }

    .designers-grid {
        max-width: 70%;
    }

    .designer-card img {
        width: 90%;
    }

    .caption {
        font-size: 0.9rem;
        top: 30px;
    }
}

/* Mobile Responsive - 1024px */
@media (max-width: 1024px) {
    .caption {
        font-size: 0.9rem;
        top: auto;
        right: 8%;
        bottom: 8%;
        padding: 4px 8px;
        background: rgba(46, 46, 46, 0.3);
    }
    
    .desktop-menu ul {
        gap: 15px; /* Reduced from 30px */
    }

    .desktop-menu a {
        font-size: 0.8rem; /* Reduced from 0.9rem */
        letter-spacing: 0.8px;
    }

    .contact-btn {
        font-size: 0.8em; /* Reduced from 0.9rem */
    }

    .location-content {
        max-width: 1024px;
        gap: 1%;
    }

    .about-left h2 {
        font-size: 1.8rem;
    }

    .about-right p {
        font-size: 1rem;
    }

    .establishment-group {
        margin-bottom: 10px;
    }

    .location-details {
        flex: 0 0 32%;
    }

    .location-image {
        flex: 0 0 65%;
    }

    .location-details h2 {
        font-size: 1.8rem;
    }

    .establishment-group h3 {
        font-size: 1.2rem;
        margin-bottom: 13px;
    }

    .establishment-group ul {
        padding: 0 0 0 13spx;
    }

    .establishment-group li {
        font-size: 1rem;
    }

    .project-location {
        padding-top: 3px;
        font-size: 0.75rem;
    }

    #features .container {
        max-width: 1024px;
    }

    .tab-buttons {
        max-width: 80%;
        margin: 0 auto 10px;
    }

    #designers h2 {
        font-size: 1.8rem;
    }

    #designers .subtitle {
        font-size: 1rem;
    }

    .designers-grid {
        max-width: 80%;
    }

    .designer-card img {
        width: 80%;
    }

    .consultants-grid {
        max-width: 80%;
    }

}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-caption {
        font-size: 1.6rem;
        right: 5%;
        letter-spacing: 4px;
    }

    .nav-content {
        padding: .5% 32px !important;
    }

    .navbar {
        transition: transform 0.3s ease;
        padding: 8px 0;
    }

    .navbar.hide-navbar {
        transform: translateY(-100%);
    }

    .desktop-menu {
        display: none;
    }

    .burger-menu {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fbf7f4;
        padding: 100px 32px 32px;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu.active {
        display: block;
        opacity: 1;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu li {
        margin-bottom: 30px;
        text-align: center;
    }

    .mobile-menu a {
        color: #06402b;
        text-decoration: none;
        font-family: "Gotham Book", Arial, sans-serif;
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Burger menu animation */
    .burger-menu span {
        transition: all 0.3s ease;
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        padding: 50px 0;
    }

    .about-divider {
        display: none;
    }

    .about-left {
        padding-right: 0;
    }

    .about-left h2 {
        text-align: center;
        font-size: 2rem;
    }

    .about-right p {
        text-align: justify;
        font-size: 1.2rem;
        font-weight: 300;
    }

    .location-content {
        width: 80%;
    }

    .location-details {
        width: 85%;
        padding-top: 8%;
    }
    
    .location-details h2 {
        font-size: 2rem;
        text-align: center;
    }

    .location-details h3 {
        font-size: 1.2rem;
    }

    .establishment-group {
        margin-bottom: 3%;
    }

    .establishment-group li {
        font-size: 1rem;
        padding-bottom: .8%;
    }

    .project-location {
        font-size: 0.85rem;
    }

    #designers h2 {
        font-size: 2rem;
    }

    #features h2 {
        font-size: 2rem;
    }

    #contact h2 {
        font-size: 2rem;
    }

    #contactForm label {
        font-size: 0.8rem;
    }

    #contactForm button {
        width: 35%;
        padding: 10px 0;
        font-size: .8rem;
    }
}

@media (max-width: 768px) {
    .hero-caption {
        font-size: 1.6rem;
        right: 4%;
        letter-spacing: 3px;
    }
    .designer-card .name {
        font-size: 1rem;
    }

    .designer-card .title {
        font-size: 0.8rem;
    }

    #designers h2 {
        font-size: 1.8rem;
        line-height: 1.4;
        text-align: center;
    }

    #designers h2 br {
        display: block;
        content: "";
    }

    .consultant-card .name {
        font-size: 1rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .consultant-card .role {
        font-size: 0.7rem;
    }

    .property-detail-item {
        width: 80%;
    }

    .property-detail-item p {
        font-size: .9rem;
    }
}

@media (max-width: 650px) {
    .eh-logo {
        width: 150px;
        height: 40px;
    }

    .contact-btn {
        font-size: .8rem;
    } 
    .hero-caption {
        font-size: 3rem;
        bottom: 35px;
        width: 90%;
    }

    /* About section */
    
    .about-right {
        max-width: 90%;
    }

    /* Features section */
    #features .container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
        width: 100%;
    }

    .features-tabs {
        display: flex;
        flex-direction: row;
        width: 90%;
        margin: 0 auto;
        flex-shrink: 0;
        height: 300px;
        overflow: hidden;
    }

    .tab-buttons {
        flex: 0 0 180px;
        border-bottom: none;
        border-right: 1.5px solid rgba(212, 196, 158, 0.3);
        margin: 0;
        padding-right: 15px;
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-width: 180px;
    }

    .tab-btn {
        text-align: left;
        padding: 10px 0;
        height: 50px;
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tab-btn::after {
        width: 2px;
        height: 100%;
        left: auto;
        right: -16px;
        transform: scaleY(0);
    }

    .tab-btn.active::after {
        transform: scaleY(1);
    }

    .tab-content.active {
        flex: 0 0 calc(100% - 180px);
        margin: 0;
        padding: 0 0 0 30px;
        min-width: 0;
        display: flex;
        align-items: center;
        height: 300px;
        overflow-y: auto;
    }

    #security ul,
    #outdoor ul,
    #drainage ul,
    #utilities ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    #security li,
    #outdoor li,
    #drainage li,
    #utilities li {
        margin-bottom: 30px;
        font-size: 0.9rem;
    }

    #clubhouse ul {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 30px;
    }

    #clubhouse ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 30px;
        padding: 0;
        margin: 0;
    }

    #clubhouse li {
        margin-bottom: 10px;
        text-align: center;
        font-size: .9rem;
        position: relative;
        list-style: none;
    }

    #clubhouse li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background-color: #06402b;
        border-radius: 50%;
        display: none;
    }

    /* Designers section */
    #designers h2 {
        font-size: 1.6rem;
        line-height: 1.4;
        text-align: center;
    }

    #designers h2 br {
        display: block;
        content: "";
    }

    /* Consultants grid */
    .consultants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px 20px;
    }

    /* Contact section */
    .contact-form {
        max-width: 80%;
        margin: 0 auto;
    }

    .form-row {
        flex-direction: column;
        gap: 30px;
    }

    .form-group.half {
        width: 100%;
    }

    #designers {
        padding-bottom: 20px;
    }

    #contact {
        padding-top: 50px;
    }

    #designers h2 {
        font-size: 1.6rem;
        line-height: 1.4;
        text-align: center;
        max-width: 70%;
        margin: 0 auto 15px;
    }


    #designers h2 br {
        display: block;
        content: "";
    }

    .designers-grid {
        max-width: 90%;
    }

    .designer-card img {
        width: 85%;
        height: auto;
    }

    .contact-form {
        max-width: 80%;
        margin: 0 auto;
    }

    .form-row {
        flex-direction: column;
        gap: 5px;
    }

    .form-group.half {
        width: 100%;
    }

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

    .consultant-card .name {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    #gallery{
        padding:0;
    }
}

@media (max-width: 425px) {
    .hero-caption {
        font-size: 1.4rem;
        top: 92%;
        left: 50%;
        width: 90%;
        transform: translate(-50%, -50%);
        letter-spacing: 1px;
        text-align: center;
        max-width: 300px;
        letter-spacing: 1px;
        bottom: auto;
    }

    .hero-img {
        object-position: 70% center !important;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }



    .about-content {
        padding: 30px 0;
    }

    .about-left {
        max-width: 100%;
        padding-right: 0; 
        justify-content: center; 
        width: 100;
    }


    #features h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .features-tabs {
        padding-bottom: 30px;
    }

    .tab-buttons {
        flex: 0 0 100px; 
        min-width: 100px;
        padding-right: 14px;
        border-right: none;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border-right: 1.5px solid rgba(212, 196, 158, 0.3);
    }

    .tab-btn {
        font-size: 0.8rem;
        padding: 8px 0;
    }

    .tab-content.active {
        flex: 1;
        padding: 0 0 0 20px;
        width: calc(100% - 100px);
        min-width: 0;
    }

    .property-details {
    max-width: 90%;
    margin: 0 auto 0;
    padding: 40px 0 0 0;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 100px;
    background: transparent;
    border-top:none;
    justify-content: space-around;
    }

    .property-detail-item {
        text-align: center;
        background: transparent;
        max-width: 100%;
    }

    .property-detail-item h3, .property-detail-item p {
        background: transparent;
    }

    .property-size h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .property-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: rgba(212, 196, 158);
    }

    .property-detail-item .icon {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }
    
    .about-left h1 {
        font-size: 1.4rem !important;
        text-align: center;
        width: 100%; 
        white-space: normal; 
        margin: 0 auto;
    }

    .about-right p {
        font-size: 1rem;
    }

    .location-content {
        width: 90%;
    }

    .location-details h2 {
        font-size: 1.2rem;
        text-align: center;
    }

    .establishment-group h3 {
        font-size: 1rem;
    }

    .establishment-group li {
        font-size: 0.9rem;
    }

    #designers h2 {
        font-size: 1.4rem;
    }

    .contact-btn {
        font-size: 0.6rem;
    }

    .property-details {
        gap: 0;
    }

    .property-details h3 {
        font-size: 1rem;
    }

    #feature {
        padding-bottom: 30px;
    }

    .location-content {
        padding: 30px 0;
    }

    #sdp {
        padding: 30px 0;
    }

    #designers {
        padding: 30px 0;
    }

    #contact {
        padding: 30px 0;
    }

    .gallery-nav {
        padding: 10px;
    }

    .gallery-nav img {
        width: 20px;
        height: 20px;
        opacity: 0.6;
    }

    .gallery-nav.prev {
        left: 10px; 
    }

    .gallery-nav.next {
        right: 10px;
    }

    .caption {
        position: absolute;
        left: auto;
        right: 8%;
        bottom: 20px;
        top: auto;
        font-size: 0.5rem;
        letter-spacing: 2px;
        color: #fbf7f4;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        background: rgba(46, 46, 46, 0.3);
        padding: 4px 8px;
        border-radius: 3px;
        backdrop-filter: blur(2px);
    }

    #contact h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    #designers .subtitle {
        text-align: center;
        max-width: 80%;
        margin: 20px auto 30px auto;
    }

    .designer-card {
        width: 60%;
    }

    .designer-card img {
        margin-bottom: 10px;
    }

    .consultant-card .role {
        font-size: 0.6rem;
    }

    .consultants-grid {
        padding: 30px 0;
        gap: 20px;
    }
}

@media (max-width: 375px) {
    .caption {
        font-size: 0.4rem;
    }

    .gallery-dots {
        bottom: 5px;
        gap: 8px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .dot.active {
      transform: scale(1.1);
    }

    .features-tabs {
        height: 300px;
        padding-bottom: 20px;
    }

    .tab-content.active {
        height: 300px; /* Match features-tabs height */
        flex: 1;
        padding: 0 0 0 10px;
        width: calc(100% - 100px);
        min-width: 0;
    }

    .tab-content li {
        font-size: 0.8rem; /* Smaller font size */
        margin-bottom: 10px; /* Reduced margin */
        line-height: 1.2; /* Tighter line height */
    }

    #security ul,
    #outdoor ul,
    #drainage ul,
    #utilities ul {
        gap: 8px; /* Reduced gap between items */
    }

    #security li,
    #outdoor li,
    #drainage li,
    #utilities li {
        margin-bottom: 8px; /* Reduced margin */
    }

    #clubhouse ul {
        gap: 8px 15px; /* Reduced grid gap */
    }

    #clubhouse li {
        margin-bottom: 25px;
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .hero-caption {
        font-size: 1.2rem;
        top: 92%;
        left: 50%;
        width: 90%;
        transform: translate(-50%, -50%);
        letter-spacing: 1px;
        text-align: center;
        max-width: 280px;
        letter-spacing: 1px;
        bottom: auto;
    }

    .gallery-nav img {
        width: 18px;
        height: 18px;
    }

    .tab-buttons {
        flex: 0 0 80px; 
        min-width: 80px;
        padding-right: 10px;
    }

    .tab-btn {
        font-size: 0.7rem;
        padding: 6px 0;
    }

    .tab-content.active {
        width: calc(100% - 80px);
        padding: 0 0 0 10px;
    }
}