@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --brand-green: #026738;
    --brand-green-hover: #014f2a;
    --brand-green-light: #eaf6ef;
    --brand-dark-green: #043224;
    --brand-footer-bg: #02291d;
    --body-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    background-color: var(--body-bg);
    overflow-x: hidden;
}

/* Top bar */
.top-bar {
    background-color: var(--brand-dark-green);
    color: #ffffff;
    font-size: 0.85rem;
    position: relative;
    z-index: 1020;
}

.top-bar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: #ffffff;
}

/* Responsive Top Bar Visibility (Hides phone number & app icons on mobile 320px-425px / <768px) */
@media (max-width: 767.98px) {
    .top-bar-contact,
    .top-bar-apps {
        display: none !important;
    }
    
    .top-bar {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .top-bar .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        justify-content: center !important;
    }

    .testing-tag-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

/* Site Under Testing Marquee / Moving Button */
.testing-tag-wrapper {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 16px;
    mask-image: linear-gradient(to right, transparent 0%, black 12px, black calc(100% - 12px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12px, black calc(100% - 12px), transparent 100%);
}

.testing-marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marqueeMoveLTR 14s linear infinite;
    will-change: transform;
}

.testing-marquee-track:hover {
    animation-play-state: paused;
}

.testing-marquee-group {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
    flex-shrink: 0;
}

/* Hardware accelerated left-to-right infinite movement */
@keyframes marqueeMoveLTR {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0%, 0, 0);
    }
}

/* Animated Testing Badge */
.testing-btn-animated {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 50%, #ffa000 100%);
    color: #1a202c !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 3px 12px;
    border-radius: 50rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 0 10px rgba(255, 193, 7, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    cursor: default;
    user-select: none;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.4;
}

/* Shimmer beam moving from left to right across the badge */
.testing-btn-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shineBeamLTR 2.5s infinite;
}

@keyframes shineBeamLTR {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* Warning cone icon with pulse/wiggle */
.testing-cone-icon {
    display: inline-block;
    color: #92400e;
    font-size: 0.8rem;
    animation: coneWiggle 2.2s ease-in-out infinite;
}

@keyframes coneWiggle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    20% {
        transform: rotate(-12deg) scale(1.15);
    }
    40% {
        transform: rotate(12deg) scale(1.15);
    }
    60% {
        transform: rotate(-6deg) scale(1.05);
    }
    80% {
        transform: rotate(6deg) scale(1.05);
    }
}

/* Navbar */
.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--brand-green);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar-brand-logo svg {
    height: 36px;
    width: auto;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155 !important;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
}

.nav-link:hover {
    color: var(--brand-green) !important;
}

.btn-brand-outline {
    border: 1.5px solid var(--brand-green);
    color: var(--brand-green);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    transition: all 0.2s ease;
}

.btn-brand-outline:hover {
    background-color: var(--brand-green);
    color: #ffffff;
}

.btn-brand {
    background-color: var(--brand-green);
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    border: none;
    transition: all 0.2s ease;
}

.btn-brand:hover {
    background-color: var(--brand-green-hover);
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(130deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.4) 100%),
                url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 4.5rem 0 6.5rem 0;
    color: #ffffff;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.text-brand-highlight {
    color: #20c997;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Floating Search Card */
.search-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    color: var(--text-primary);
}

.search-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
}

.search-tab-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.search-tab-btn.active {
    background: var(--brand-green) !important;
    color: #ffffff !important;
}

.search-input-group {
    position: relative;
    margin-bottom: 1rem;
}

.search-input-group .icon-left {
    position: absolute;
    left: 14px;
    top: 35%;   /*tab :50%;*/
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-input-group .form-control {
    padding-left: 42px;
    padding-right: 40px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
}

.search-input-group .form-control:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(2, 103, 56, 0.15);
}

.popular-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.popular-tag-item {
    background: #f1f5f9;
    color: var(--text-secondary);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.popular-tag-item:hover {
    background: var(--brand-green-light);
    color: var(--brand-green);
}

/* Stats Counter Box */
.stats-container {
    margin-top: -3.5rem;
    position: relative;
    z-index: 10;
}

.stats-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--brand-green-light);
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.1rem;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Header */
.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
}

.section-link {
    color: var(--brand-green);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.section-link:hover {
    color: var(--brand-green-hover);
}

/* Property Card */
.property-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.property-img-wrapper {
    position: relative;
    height: 200px;
    flex-shrink: 0 !important;
    overflow: hidden;
}

.property-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-img-wrapper img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 2;
}

.badge-premium { background-color: #f59e0b; }
.badge-launch { background-color: #10b981; }
.badge-ready { background-color: #059669; }
.badge-exclusive { background-color: #0d9488; }

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
    z-index: 2;
    line-height: normal;
}

.wishlist-btn:hover {
    background: #ffffff;
    color: #ef4444;
}

.property-body {
    padding: 1.25rem;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    height: auto !important;
}


.property-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.property-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.property-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-green);
}

.property-sqft-price {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.property-features {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.75rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin: 0.75rem 0;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Category Card */
.category-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
    color: var(--text-primary);
}

.category-card:hover {
    border-color: var(--brand-green);
    box-shadow: 0 10px 20px rgba(2, 103, 56, 0.08);
    transform: translateY(-3px);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--brand-green-light);
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin: 0 auto 0.85rem auto;
    transition: background 0.2s;
}

.category-card:hover .category-icon {
    background: var(--brand-green);
    color: #ffffff;
}

.category-title {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Why Choose Features */
.feature-box {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-green-light);
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem auto;
}

.feature-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.feature-desc {
    font-size: 0.825rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Underline Highlight Header */
.header-underline {
    position: relative;
    display: inline-block;
}

.header-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--brand-green);
    border-radius: 4px;
}

/* Smart Investment Tools */
.tool-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
    color: var(--text-primary);
}

.tool-card:hover {
    border-color: var(--brand-green);
    box-shadow: 0 10px 20px rgba(2, 103, 56, 0.08);
    transform: translateY(-3px);
}

.tool-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--brand-green-light);
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 0.85rem auto;
}

/* Testimonial Cards */
.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    height: 100%;
}

.avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.star-rating {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
}

.dot.active {
    background: var(--brand-green);
    width: 24px;
    border-radius: 10px;
}

/* Download App Banner */
.app-banner {
    background: linear-gradient(135deg, #024726 0%, #043224 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0f172a;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.2s;
}

.app-store-btn:hover {
    color: #0f172a;
    transform: translateY(-2px);
}

.app-mockup-img {
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

/* Footer */
.footer {
    background-color: var(--brand-footer-bg);
    color: #94a3b8;
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-size: 0.9rem;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

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

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.social-icon-btn:hover {
    background: var(--brand-green);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
    font-size: 0.85rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.2s;
}

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

/* Standardized View Property Button */
.view-property-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 170px !important;
    height: 40px !important;
    border-radius: 50px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    color: #ffffff !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.view-property-btn:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
