:root {
    --primary-blue: #2A3F83;
    --secondary-blue: #1C2A59;
    --gold: #2A3F83;
    /* Lighter Gold */
    --gold-hover: #1C2A59;
    /* Brighter Gold for Hover */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

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

/* Header (Somani Minimalist Style) */
.site-header {
    background-color: var(--white);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    /* Reduced padding for a thinner header */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-left: auto;
    margin-right: 40px;
}

.main-nav a {
    color: #333333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.offers-link {
    color: #1C2A59 !important;
    /* Slight gold/brown tint */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    font-weight: 600;
    font-size: 15px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone i {
    font-size: 14px;
    color: #333;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    display: none;
    /* Hidden on desktop */
    align-items: center;
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        margin-left: 5px;
    }

    .header-phone {
        display: none;
        /* Hide phone text on small screens */
    }

    /* Hide the Submit Enquiry button on mobile to save space */
    .header-right>a[href="leads.html"] {
        display: none !important;
    }

    /* Style the dynamically injected phone number in the mobile header */
    .sg-header-phone-mobile {
        font-size: 13px;
        font-weight: 700;
        color: #1C2A59 !important;
        display: flex;
        align-items: center;
        gap: 4px;
        text-decoration: none;
        margin-left: 6px;
    }

    .sg-header-phone-mobile i {
        font-size: 13px;
        color: #1C2A59;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 550px;
    /* Reduced height to make it tighter */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    /* Very subtle clear overlay to let the family image shine */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}

@keyframes fadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    color: var(--white);
    font-size: 42px;
    /* Smaller to match Somani's exact visual weight */
    font-weight: 600;
    margin-bottom: 2px;
    /* Tighter spacing */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeSlideDown 0.8s ease forwards;
}

.hero-subtitle {
    color: var(--white);
    font-size: 18px;
    /* Smaller, cleaner subtitle */
    font-weight: 400;
    margin-bottom: 15px;
    /* Tighter distance to search bar */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.3s;
}

/* Hero Google Rating Widget */
.hero-google-rating {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    align-items: center;
    color: var(--white);
    z-index: 3;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    animation: fadeSlideLeft 0.8s ease forwards 0.9s;
}

.google-logo {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -1px;
}

.rating-divider {
    height: 35px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 15px;
}

.rating-details {
    display: flex;
    flex-direction: column;
}

.rating-stars {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 2px;
}

.rating-stars strong {
    font-size: 20px;
    margin-right: 8px;
    font-weight: 600;
}

.rating-stars i {
    color: var(--white);
    margin-right: 3px;
    font-size: 13px;
}

.review-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Somani Style Search */
.somani-search-container {
    max-width: 750px;
    /* Much smaller than the City Cards container, like Somani */
    margin: 0 auto 25px auto;
    opacity: 0;
    animation: fadeZoomIn 0.8s ease forwards 0.6s;
}

.somani-search {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 8px;
    /* Smooth curve */
    overflow: hidden;
    height: 55px;
    /* Shorter height to match Somani */
}

.search-icon-left {
    padding: 0 20px;
    color: #999;
    font-size: 20px;
}

.somani-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.btn-somani-search {
    background-color: #c49a45;
    color: var(--white);
    border: none;
    height: 100%;
    width: 80px;
    /* Square-ish button */
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-somani-search:hover {
    background-color: #a88338;
}

/* Floating City Cards Container */
.city-cards-container {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: rgba(0, 0, 0, 0.5);
    /* Darker glass box to make white cards pop */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 15px;
    position: relative;
    top: 15px;
}

.city-card-item {
    background: var(--white);
    border-radius: 12px;
    /* More curved cards */
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    aspect-ratio: 1 / 1;
    /* Makes them perfect squares like Somani */
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: popInCityCard 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popInCityCard {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.city-card-item:nth-child(1) {
    animation-delay: 0.2s;
}

.city-card-item:nth-child(2) {
    animation-delay: 0.4s;
}

.city-card-item:nth-child(3) {
    animation-delay: 0.6s;
}

.city-card-item:nth-child(4) {
    animation-delay: 0.8s;
}

.city-card-item:nth-child(5) {
    animation-delay: 1.0s;
}

.city-card-item:nth-child(6) {
    animation-delay: 1.2s;
}

.city-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.city-sketch-img {
    width: 80%;
    /* Takes up most of the card width */
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
}

.city-card-item span {
    font-size: 13px;
    font-weight: 700;
    color: #1a365d;
    /* Dark blue text like Somani */
    letter-spacing: 0.5px;
}

/* NK Realtors Style Featured Properties Section */
.nk-container {
    max-width: 1250px !important;
    /* Widened to match NK Realtors full-width feel */
    margin: 0 auto;
    padding: 0 15px;
    /* Added slight padding so it doesn't touch edges on smaller screens */
}

.nk-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    color: #1a237e;
    font-weight: 500;
    font-size: 14px;
}

.nk-filter-bar i {
    margin-right: 8px;
}

.nk-featured-section {
    padding: 30px 0 60px 0 !important;
    background-color: #f4f5f7 !important;
    /* Exact light grey from screenshot */
}

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

.nk-heading {
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.nk-subheading {
    font-size: 14px;
    color: #666;
}

.nk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* Tighter gap */
}

.nk-card {
    display: flex;
    flex-direction: row;
    height: 220px;
    /* Force a sleek horizontal height */
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    background-color: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.nk-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.nk-card-img {
    flex: 0 0 45%;
    max-width: 45%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.nk-card:hover .nk-card-img img {
    transform: scale(1.03);
}

.nk-card-content {
    flex: 0 0 55%;
    max-width: 55%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.nk-card-header {
    margin-bottom: 8px;
}

.nk-title {
    font-family: 'Lato', 'Poppins', sans-serif;
    font-size: 16px;
    /* Smaller font */
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 4px;
    cursor: pointer;
    white-space: nowrap;
    /* Force 1 line like NK Realtors */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.nk-title:hover {
    color: #000;
}

.nk-location {
    font-size: 12.5px;
    color: #777;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nk-location i {
    margin-right: 5px;
    color: #777;
    font-size: 12px;
}

.nk-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    /* Tighter gap */
    margin-top: 15px;
    margin-bottom: auto;
    /* Pushes footer down naturally */
}

.nk-spec-item {
    font-size: 12.5px;
    /* Smaller font for specs */
    color: #555;
    display: flex;
    align-items: center;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nk-spec-item i {
    width: 18px;
    /* Smaller icon width */
    color: #777;
    font-size: 12px;
}

.nk-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.nk-price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.nk-price span {
    font-size: 12px !important;
    color: #777 !important;
    font-weight: 400 !important;
}

.nk-actions {
    display: flex;
    gap: 12px;
    color: #333;
    font-size: 13px;
    /* Smaller action icons */
}

.nk-actions i:hover {
    color: #000;
}

.nk-view-more {
    background-color: #2B256C;
    color: white;
    border: none;
    padding: 10px 12px 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-transform: none;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nk-view-more:hover {
    background-color: #1A1647;
    transform: translateY(-2px);
}

.nk-view-more .arrow-circle {
    background-color: white;
    color: #2B256C;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .nk-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .nk-card {
        flex-direction: column;
    }

    .nk-card-img {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .nk-card-content {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        padding: 20px;
    }
}


/* --- NEW SECTIONS --- */

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background-color: var(--primary-blue);
    color: var(--white);
}

.projects-section .section-title h2 {
    color: var(--white);
}

.projects-section .section-title p {
    color: #cbd5e1;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.project-overlay h3 {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 5px;
}

.project-overlay p {
    color: var(--white);
    font-size: 13px;
}

/* Popular Locations Grid (NK Realtors Style) */
.city-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.pop-loc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.pop-loc-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    height: 110px;
}

.pop-loc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.pop-loc-card img {
    width: 155px;
    min-width: 155px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pop-loc-info {
    padding: 15px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pop-loc-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1C2A59;
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
}

.pop-loc-info p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 992px) {
    .pop-loc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pop-loc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .pop-loc-card {
        flex-direction: column;
        height: auto;
    }

    .pop-loc-card img {
        width: 100%;
        min-width: 100%;
        height: 110px;
    }

    .pop-loc-info {
        padding: 12px 10px;
        align-items: center;
        text-align: center;
    }

    .pop-loc-info h4 {
        font-size: 14.5px;
        margin-bottom: 2px;
    }

    .pop-loc-info p {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }

    .hero-title {
        font-size: 32px;
    }
}

/* Property Detail Page */
.breadcrumb-container {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    font-size: 13px;
    color: #666;
}

.breadcrumb-container a {
    color: var(--primary-blue);
    text-decoration: none;
}

.property-detail-section {
    padding: 40px 0 80px 0;
}

.detail-header {
    margin-bottom: 30px;
}

.detail-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.detail-location {
    font-size: 15px;
    color: #777;
}

.share-icon {
    margin-left: 15px;
    cursor: pointer;
    color: #999;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
}

.detail-image-gallery {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 450px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.detail-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--gold);
    color: white;
    padding: 6px 15px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    background: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
}

.gallery-nav.right {
    left: auto;
    right: 20px;
}

.detail-price h2 {
    color: #e53935;
    font-size: 32px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

/* Enquiry Form Card */
.enquiry-card {
    background-color: #f1f5f9;
    /* Light golden/yellowish background like original */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--gold);
}

.enquiry-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.contact-person {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.enquiry-phone {
    display: inline-block;
    color: #d35400;
    /* Deep orange */
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 25px;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.phone-input {
    display: flex;
    margin-bottom: 15px;
}

.country-code {
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-right: none;
    padding: 12px 15px;
    border-radius: 4px 0 0 4px;
    color: #555;
    font-size: 14px;
    white-space: nowrap;
}

.phone-input input {
    margin-bottom: 0;
    border-radius: 0 4px 4px 0;
}

.btn-enquiry {
    width: 100%;
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-enquiry:hover {
    background-color: #d35400;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Site Footer --- */
.site-footer {
    background: #111827;
    color: #d1d5db;
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin-top: auto;
    width: 100%;
}

/* Top strip */
.footer-top {
    border-bottom: 1px solid #1f2937;
    padding: 48px 0 40px 0;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

/* Brand column */
.footer-brand .footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 13.5px;
    line-height: 1.75;
    color: #9ca3af;
    margin: 0 0 22px 0;
    max-width: 280px;
}

/* RERA badge */
.rera-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.4;
}

.rera-badge i {
    color: #d97706;
    font-size: 13px;
    flex-shrink: 0;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #1f2937;
    border: 1px solid #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
    background: #1c2a59;
    color: #fff;
    border-color: #1c2a59;
}

/* Column headings */
.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 18px 0;
}

/* Quick links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.footer-links a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #374151;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s;
}

.footer-links a:hover {
    color: #e5e7eb;
}

.footer-links a:hover::before {
    background: #d97706;
}

/* Contact info column */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 13.5px;
    color: #9ca3af;
    margin-bottom: 14px;
    line-height: 1.55;
}

.footer-contact-list li i {
    color: #d97706;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.footer-contact-list a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: #e5e7eb;
}

/* Bottom bar */
.footer-bottom {
    background: #0f172a;
    padding: 16px 24px;
    text-align: center;
}

.footer-bottom-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 12.5px;
    color: #6b7280;
    margin: 0;
}

.footer-bottom a {
    color: #6b7280;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* =============================================
   PROPERTY CARD — SMOOTH STAGGER ANIMATION
   ============================================= */

@keyframes cardFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Every nk-card starts invisible */
.nk-card {
    opacity: 0;
    animation: cardFadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Stagger delays for up to 20 cards */
.nk-card:nth-child(1) {
    animation-delay: 0.04s;
}

.nk-card:nth-child(2) {
    animation-delay: 0.08s;
}

.nk-card:nth-child(3) {
    animation-delay: 0.12s;
}

.nk-card:nth-child(4) {
    animation-delay: 0.16s;
}

.nk-card:nth-child(5) {
    animation-delay: 0.20s;
}

.nk-card:nth-child(6) {
    animation-delay: 0.24s;
}

.nk-card:nth-child(7) {
    animation-delay: 0.28s;
}

.nk-card:nth-child(8) {
    animation-delay: 0.32s;
}

.nk-card:nth-child(9) {
    animation-delay: 0.36s;
}

.nk-card:nth-child(10) {
    animation-delay: 0.40s;
}

.nk-card:nth-child(11) {
    animation-delay: 0.44s;
}

.nk-card:nth-child(12) {
    animation-delay: 0.48s;
}

.nk-card:nth-child(13) {
    animation-delay: 0.52s;
}

.nk-card:nth-child(14) {
    animation-delay: 0.56s;
}

.nk-card:nth-child(15) {
    animation-delay: 0.60s;
}

.nk-card:nth-child(16) {
    animation-delay: 0.64s;
}

.nk-card:nth-child(17) {
    animation-delay: 0.68s;
}

.nk-card:nth-child(18) {
    animation-delay: 0.72s;
}

.nk-card:nth-child(19) {
    animation-delay: 0.76s;
}

.nk-card:nth-child(20) {
    animation-delay: 0.80s;
}

/* Hover lift effect */
.nk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Smooth image zoom on card hover */
.nk-card-img img {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nk-card:hover .nk-card-img img {
    transform: scale(1.06);
}

/* =============================================
   FILTER CHIPS & SORT OPTIONS
   ============================================= */

@keyframes panelSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.18s ease;
}

.filter-chip:hover {
    border-color: #2A3F83;
    color: #2A3F83;
    background: #eef2ff;
}

.filter-chip.active-chip {
    background: #2A3F83;
    color: #fff;
    border-color: #2A3F83;
}

.sort-option {
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: 7px;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s ease;
}

.sort-option:hover {
    background: #f1f5f9;
}

.sort-option.active-sort {
    background: #eef2ff;
    color: #2A3F83;
    font-weight: 600;
}

/* Partner Connect Section (NK Realtors Style) */
.partner-connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.partner-connect-card {
    display: flex;
    gap: 24px;
    align-items: center;
}

.partner-connect-img-box {
    width: 250px;
    min-width: 250px;
    height: 330px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.partner-connect-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-connect-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 992px) {
    .partner-connect-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partner-connect-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .partner-connect-img-box {
        width: 100%;
        max-width: 100%;
        height: 250px;
    }
}

/* Project Categories Section (NK Realtors Style) */
.categories-section {
    background-color: #1C2A59;
    padding: 70px 0;
    color: #ffffff;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.cat-card {
    position: relative;
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cat-card:hover img {
    transform: scale(1.06);
}

.cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    transition: background 0.3s ease;
}

.cat-card:hover .cat-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.cat-overlay span {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

@media (max-width: 992px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cat-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cat-card {
        height: 140px;
    }
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1010;
    margin-top: 10px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 20px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

/* Bridge the 10px hover gap so dropdown stays open */
.dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInDropdown 0.2s ease;
}

.dropdown-menu a {
    color: #334155 !important;
    padding: 10px 20px;
    display: block;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #f8fafc;
    color: #E31E24 !important;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dynamic inline phone link next to hamburger on mobile */
.sg-header-phone-mobile {
    color: #1c2a59 !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
    display: none;
    /* Hidden on desktop */
    align-items: center !important;
    gap: 6px !important;
    margin-right: 8px !important;
    transition: color 0.2s !important;
}

.sg-header-phone-mobile:hover {
    color: #E31E24 !important;
}

.sg-header-phone-mobile i {
    font-size: 13px !important;
    color: #1c2a59 !important;
}


/* =============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   Covers: Header, Hero, City Cards, Property Cards,
   Service Pages, Forms, Footer, Partner Section
   ============================================= */

/* ── Tablet (≤ 992px) ───────────────────────── */
@media (max-width: 992px) {

    /* Hide the top utility bar completely to match reference */
    div[style*="background: #1c2a59"] {
        display: none !important;
    }

    /* STRICT OVERRIDES FOR INLINE NAVIGATION STYLES */
    .main-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .header-phone {
        display: none !important;
    }

    /* Hide "Submit Enquiry" CTA on header to avoid crowding */
    .header-right a[href="leads.html"] {
        display: none !important;
    }

    /* Dynamic inline phone link next to hamburger */
    .sg-header-phone-mobile {
        display: flex !important;
    }

    /* Hero adjustments */
    .hero {
        height: 520px;
    }

    .hero-title {
        font-size: 32px;
        padding: 0 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        padding: 0 20px;
    }

    /* Absolute position at bottom left for Google rating on mobile */
    .hero-google-rating {
        position: absolute !important;
        bottom: 12px !important;
        left: 20px !important;
        right: auto !important;
        display: flex !important;
        align-items: center !important;
        color: #ffffff !important;
        gap: 6px !important;
        z-index: 3 !important;
    }

    .google-logo {
        font-size: 18px !important;
    }

    .rating-divider {
        height: 20px !important;
        width: 1px !important;
        background-color: rgba(255, 255, 255, 0.4) !important;
        margin: 0 6px !important;
    }

    .rating-stars {
        font-size: 11px !important;
        margin-bottom: 0 !important;
    }

    .rating-stars strong {
        font-size: 14px !important;
        margin-right: 4px !important;
    }

    .review-count {
        font-size: 10px !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    /* Somani search on tablet */
    .somani-search-container {
        max-width: 92%;
        margin-bottom: 16px;
    }

    /* City cards — 3 columns grid on tablet/mobile */
    .city-cards-container {
        max-width: 96% !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 12px !important;
        top: 10px !important;
        overflow-x: visible !important;
        flex-wrap: wrap !important;
    }

    .city-card-item {
        flex: none !important;
        min-width: 0 !important;
        width: 100% !important;
        height: 75px !important;
        aspect-ratio: auto !important;
        align-self: center !important;
        padding: 8px 4px !important;
    }

    .city-sketch-img {
        height: 32px !important;
        margin-bottom: 4px !important;
    }

    .city-card-item span {
        font-size: 11px !important;
    }

    /* Specs grid on property detail */
    .detail-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services grid - 2 columns */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Small Tablet / Large Mobile (≤ 768px) ──── */
@media (max-width: 768px) {

    /* Reduce container padding */
    .container {
        padding: 0 14px;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hero */
    .hero {
        height: 100vh !important;
        min-height: 600px;
    }

    .hero .overlay {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.1) 0%,
                rgba(0, 0, 0, 0.15) 40%,
                rgba(0, 0, 0, 0.55) 70%,
                rgba(0, 0, 0, 0.75) 100%) !important;
    }

    /* Push content to bottom of full-screen hero */
    .hero-content {
        position: absolute !important;
        bottom: 60px !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100% !important;
        text-align: center !important;
    }

    .hero-bg video {
        object-position: center center !important;
    }

    /* Search bar */
    .somani-search {
        height: 48px;
    }

    .somani-search-input {
        font-size: 14px;
    }

    .btn-somani-search {
        width: 60px;
        font-size: 16px;
    }

    /* City cards */
    .city-cards-container {
        gap: 8px !important;
        padding: 10px !important;
    }

    .city-card-item {
        padding: 10px 4px !important;
    }

    .city-sketch-img {
        height: 46px !important;
        margin-bottom: 4px !important;
    }

    .city-card-item span {
        font-size: 9.5px !important;
    }

    /* Section headers */
    .nk-heading {
        font-size: 22px;
    }

    .nk-subheading {
        font-size: 13px;
    }

    /* Featured properties grid — single column */
    .nk-grid {
        grid-template-columns: 1fr;
    }

    /* Property cards — vertical stacking */
    .nk-card {
        flex-direction: column;
        height: auto;
    }

    .nk-card-img {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 200px;
    }

    .nk-card-content {
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 16px;
    }

    /* Service grid — 1 column */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px 20px;
    }

    /* Popular locations — NK Realtors 2-column style */
    .pop-loc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .pop-loc-card {
        flex-direction: column !important;
        height: auto !important;
        background: #f8f9fa !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 4px !important;
    }

    .pop-loc-card img {
        width: 100% !important;
        min-width: 100% !important;
        height: 110px !important;
        border-radius: 4px 4px 0 0 !important;
    }

    .pop-loc-info {
        padding: 10px 12px !important;
        text-align: left !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .pop-loc-info h4 {
        font-size: 13px !important;
        margin: 0 0 4px 0 !important;
        font-weight: 500 !important;
        color: #111 !important;
    }

    .pop-loc-info p {
        font-size: 11px !important;
        color: #666 !important;
    }

    /* Categories section */
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cat-card {
        height: 130px;
    }

    /* Partner connect */
    .partner-connect-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .partner-connect-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .partner-connect-img-box {
        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
    }

    /* Property detail page */
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-image-gallery {
        height: 280px;
    }

    .detail-title {
        font-size: 22px;
    }

    .detail-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .detail-price h2 {
        font-size: 24px;
    }

    /* Enquiry card sidebar */
    .enquiry-card {
        padding: 20px;
    }

    /* Sections padding */
    .services-section,
    .city-section {
        padding: 50px 0;
    }

    .nk-featured-section {
        padding: 24px 0 40px 0 !important;
    }

    .categories-section {
        padding: 50px 0;
    }

    /* Filter bar */
    .nk-filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Footer inner grid */
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

/* ── Mobile (≤ 576px) ────────────────────────── */
@media (max-width: 576px) {

    /* Reduce global container padding */
    .container {
        padding: 0 12px;
    }

    /* Logo */
    .logo img {
        height: 36px !important;
    }

    /* Hero height - FULL SCREEN 9:16 on mobile */
    .hero {
        height: 100vh !important;
        min-height: 580px !important;
    }

    .hero .overlay {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.05) 0%,
                rgba(0, 0, 0, 0.1) 35%,
                rgba(0, 0, 0, 0.55) 65%,
                rgba(0, 0, 0, 0.80) 100%) !important;
    }

    /* Center content of full-screen hero perfectly like reference */
    .hero-content {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        height: 100% !important;
        padding-top: 20px !important;
    }

    .hero-bg video {
        object-position: center center !important;
        object-fit: cover !important;
    }

    .hero-title {
        font-size: 26px;
        font-weight: 800;
        padding: 0 16px;
        margin-bottom: 6px;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 0 16px;
        margin-bottom: 20px !important;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    }

    /* Google rating: bottom left inside hero */
    .hero-google-rating {
        position: absolute !important;
        bottom: 14px !important;
        left: 14px !important;
        right: auto !important;
        display: flex !important;
        z-index: 4 !important;
    }

    /* Somani search */
    .somani-search-container {
        max-width: 90%;
        margin: 0 auto 25px auto !important;
    }

    .somani-search {
        height: 46px;
        border-radius: 6px;
    }

    .search-icon-left {
        padding: 0 12px;
        font-size: 16px;
    }

    .somani-search-input {
        font-size: 13px;
    }

    .btn-somani-search {
        width: 52px;
        font-size: 15px;
    }

    /* City cards - rectangular like reference */
    .city-cards-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px !important;
        border-radius: 8px !important;
        max-width: 98% !important;
        width: 100% !important;
        margin: 0 auto !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        background: rgba(0, 0, 0, 0.4) !important;
    }

    .city-card-item {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        align-self: center !important;
        padding: 4px 2px 6px 2px !important;
        border-radius: 4px !important;
        border: 1px solid #e0b06b !important;
        /* Gold border like image */
        background: #fff !important;
    }

    .city-sketch-img {
        height: 60px !important;
        margin-bottom: 2px !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    .city-card-item span {
        font-size: 8px !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
        color: #1a365d !important;
    }

    /* Absolute position at bottom left for Google rating on mobile */
    .hero-google-rating {
        display: flex !important;
        bottom: 15px !important;
        left: 15px !important;
    }

    .google-logo {
        font-size: 20px !important;
        font-weight: 700 !important;
    }

    .rating-divider {
        height: 26px !important;
        margin: 0 10px !important;
    }

    .rating-stars {
        font-size: 12px !important;
    }

    .rating-stars strong {
        font-size: 17px !important;
        margin-right: 5px !important;
    }

    .review-count {
        font-size: 10.5px !important;
        font-weight: 500 !important;
        margin-top: 1px !important;
    }

    /* NK section heading */
    .nk-heading {
        font-size: 20px;
    }

    .nk-subheading {
        font-size: 12.5px;
        padding: 0 4px;
    }

    /* Property cards — fully vertical */
    .nk-card {
        flex-direction: column;
        height: auto;
        border-radius: 8px;
    }

    .nk-card-img {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 180px;
    }

    .nk-card-content {
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 14px;
    }

    .nk-title {
        font-size: 14.5px;
        white-space: normal;
    }

    .nk-specs {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* View more btn */
    .nk-view-more {
        font-size: 14px;
        padding: 9px 10px 9px 20px;
    }

    /* Section padding */
    .services-section,
    .city-section {
        padding: 36px 0;
    }

    .nk-featured-section {
        padding: 20px 0 32px 0 !important;
    }

    .categories-section {
        padding: 36px 0;
    }

    .projects-section {
        padding: 40px 0;
    }

    /* Service cards */
    .service-card {
        padding: 24px 16px;
    }

    .service-icon {
        font-size: 32px;
        margin-bottom: 14px;
    }

    .service-card h3 {
        font-size: 17px;
    }

    /* Popular locations */
    .pop-loc-card {
        height: 80px;
    }

    .pop-loc-card img {
        width: 90px;
        min-width: 90px;
    }

    .pop-loc-info {
        padding: 12px 14px;
    }

    .pop-loc-info h4 {
        font-size: 14px;
    }

    .pop-loc-info p {
        font-size: 12px;
    }

    /* Project categories */
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cat-card {
        height: 115px;
    }

    .cat-overlay span {
        font-size: 13px;
    }

    /* Partner connect */
    .partner-connect-img-box {
        height: 190px !important;
        border-radius: 14px;
    }

    /* Property Detail */
    .property-detail-section {
        padding: 24px 0 50px 0;
    }

    .detail-image-gallery {
        height: 230px;
        border-radius: 6px;
    }

    .detail-title {
        font-size: 19px;
    }

    .detail-specs {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .spec-value {
        font-size: 14px;
    }

    .detail-price h2 {
        font-size: 22px;
    }

    /* Enquiry form */
    .enquiry-card {
        padding: 18px 14px;
        border-radius: 6px;
    }

    .enquiry-card h3 {
        font-size: 16px;
    }

    .enquiry-phone {
        font-size: 17px;
    }

    .enquiry-form input,
    .enquiry-form textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn-enquiry {
        padding: 13px;
        font-size: 14px;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-top {
        padding: 32px 0 28px 0;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    /* WhatsApp float button adjustment */
    .whatsapp-float {
        bottom: 90px;
        right: 14px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }

    /* Section title */
    .section-title h2 {
        font-size: 22px;
    }

    .section-title p {
        font-size: 13px;
    }
}

/* ── Extra Small Mobile (≤ 380px) ────────────── */
@media (max-width: 380px) {
    .hero {
        height: 480px;
    }

    .hero-title {
        font-size: 19px;
    }

    /* City cards */
    .city-cards-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 6px !important;
        margin: 0 auto !important;
        max-width: 98% !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border-radius: 8px !important;
    }

    .city-card-item {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        align-self: center !important;
        padding: 4px 2px 4px 2px !important;
        border-radius: 4px !important;
        border: 1px solid #e0b06b !important;
        /* Gold border like image */
        background: #fff !important;
    }

    .city-sketch-img {
        height: 48px !important;
        margin-bottom: 2px !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    .city-card-item span {
        font-size: 7px !important;
        letter-spacing: 0px !important;
        color: #1a365d !important;
        font-weight: 700 !important;
    }

    .nk-card-img {
        height: 160px;
    }

    .detail-image-gallery {
        height: 200px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-card {
        height: 100px;
    }
}

/* Homepage Layout Fixes for Tablets & Mobile */
@media (max-width: 992px) {
    .about-grid-mobile {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .why-buy-grid-mobile {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .trust-container-mobile {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .trust-badge-mobile {
        padding-right: 0 !important;
        width: 100% !important;
        align-items: center !important;
        margin-top: 20px !important;
    }
}

/* =============================================
   SCROLL ANIMATION UTILITY CLASSES
   ============================================= */
.sg-anim-hidden {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.sg-anim-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Add slight staggered delays for elements based on child index */
.sg-anim-visible:nth-child(1) {
    transition-delay: 0.05s !important;
}

.sg-anim-visible:nth-child(2) {
    transition-delay: 0.15s !important;
}

.sg-anim-visible:nth-child(3) {
    transition-delay: 0.25s !important;
}

.sg-anim-visible:nth-child(4) {
    transition-delay: 0.35s !important;
}

.sg-anim-visible:nth-child(5) {
    transition-delay: 0.45s !important;
}

.sg-anim-visible:nth-child(6) {
    transition-delay: 0.55s !important;
}

.sg-anim-visible:nth-child(7) {
    transition-delay: 0.65s !important;
}

.sg-anim-visible:nth-child(8) {
    transition-delay: 0.75s !important;
}

/* GLOBAL PAGE TRANSITION */
body {
    animation: fadeInPage 0.5s ease-out forwards;
}

@keyframes fadeInPage {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}