/* ============================================
   HOUSE RENT KENYA - GLOBAL STYLES
   Mobile-First Responsive Design
   ============================================ */

/* CSS Variables - Kenya-Inspired Color Palette */
:root {
    --primary-orange: #FF6B35;
    --secondary-teal: #008B8B;
    --accent-yellow: #FFD23F;
    --charcoal: #2C3E50;
    --soft-white: #F8F9FA;
    --kenya-green: #4CAF50;
    --warning-red: #E74C3C;
    --light-gray: #ECF0F1;
    --medium-gray: #95A5A6;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--charcoal);
    background-color: var(--soft-white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Email Sticky Banner */
.email-sticky-banner {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    color: var(--white);
    padding: 12px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    margin: 0 !important;
}

.email-sticky-banner p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 600;
    flex-wrap: wrap;
    margin: 0 !important;
    padding: 0;
}

.btn-primary-small {
    background: var(--white);
    color: var(--primary-orange);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary-small:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--shadow-strong);
}

.close-banner {
    background: transparent;
    color: var(--white);
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    margin-bottom: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    vertical-align: middle;
}

.logo i {
    color: var(--secondary-teal);
}

.mobile-toggle {
    display: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--charcoal);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--charcoal);
    padding: 8px 0;
    border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-orange);
    border-bottom-color: var(--primary-orange);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-orange) 100%);
    color: var(--white);
    padding: 60px 0;
    margin-top: 70px;
    margin-bottom: 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.stat-item i {
    font-size: 1.3rem;
}

/* Search Bar */
.search-bar {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-strong);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 0 15px;
}

.search-field i {
    color: var(--medium-gray);
    margin-right: 10px;
}

.search-field select {
    width: 100%;
    padding: 15px 5px;
    border: none;
    background: transparent;
    color: var(--charcoal);
    font-size: 1rem;
    cursor: pointer;
}

.btn-search {
    width: 100%;
    background: var(--primary-orange);
    color: var(--white);
    padding: 18px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.btn-search:hover {
    background: var(--secondary-teal);
    transform: translateY(-2px);
    box-shadow: 0 7px 25px rgba(0, 139, 139, 0.4);
}

/* Quick Filters / Amenity Filters */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.quick-filters label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-filters label:hover {
    background: var(--white);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-filters label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-orange);
    flex-shrink: 0;
    margin: 0;
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    background-color: var(--white);
    appearance: none;
    -webkit-appearance: none;
    position: relative;
}

.quick-filters label input[type="checkbox"]:checked {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.quick-filters label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
}

.quick-filters label i {
    font-size: 16px;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.quick-filters label span {
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
}

.quick-filters label input[type="checkbox"]:checked + i {
    color: var(--primary-orange);
}

.quick-filters label input[type="checkbox"]:checked ~ span {
    color: var(--primary-orange);
    font-weight: 600;
}

/* When checkbox is checked, highlight the label */
.quick-filters label:has(input[type="checkbox"]:checked) {
    background: var(--white);
    border-color: var(--primary-orange);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Fallback for browsers that don't support :has() */
@supports not selector(:has(*)) {
    .quick-filters label input[type="checkbox"]:checked {
        position: relative;
    }
    
    .quick-filters label:active {
        background: rgba(255, 255, 255, 0.4);
    }
}

/* Featured Properties Section */
.featured-properties {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--charcoal);
}

.view-all {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1.1rem;
}

.view-all:hover {
    color: var(--secondary-teal);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Property Card */
.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--kenya-green);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-details {
    padding: 20px;
}

.property-price {
    font-size: 1.8rem;
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.property-price span {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 400;
}

.property-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.property-location {
    color: var(--medium-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.property-amenities {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.amenity-tag {
    background: var(--light-gray);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--charcoal);
}

.btn-view {
    display: block;
    text-align: center;
    background: var(--secondary-teal);
    color: var(--white);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-view:hover {
    background: var(--primary-orange);
}

/* Trust Badges Section */
.trust-badges {
    background: var(--white);
    padding: 60px 0;
}

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

.badge-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: var(--soft-white);
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.badge-item i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.badge-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.badge-item p {
    color: var(--medium-gray);
}

/* Email CTA Section */
.email-cta {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--secondary-teal) 100%);
    color: var(--white);
    padding: 80px 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.benefits-list i {
    color: var(--kenya-green);
    font-size: 1.2rem;
}

.cta-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-strong);
}

.cta-form h3 {
    color: var(--charcoal);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.email-signup-form input,
.email-signup-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
}

.email-signup-form input:focus,
.email-signup-form select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.btn-primary {
    width: 100%;
    background: var(--primary-orange);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--secondary-teal);
    transform: scale(1.02);
}

.privacy-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: 10px;
}

/* Quick Links Section */
.quick-links {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--charcoal);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.link-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.link-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-strong);
}

.link-card i {
    font-size: 3rem;
    color: var(--secondary-teal);
    margin-bottom: 15px;
}

.link-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.link-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--accent-yellow);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--secondary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px var(--shadow);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-row {
        gap: 15px;
    }

    .stat-item {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .section-header h2,
    .section-title {
        font-size: 1.6rem;
    }

    .search-bar {
        padding: 20px;
    }

    .cta-form {
        padding: 25px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .email-sticky-banner p {
        font-size: 0.85rem;
        gap: 8px;
    }

    .btn-primary-small {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Page-Specific Styles */
.page-header {
    background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-orange) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

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

/* Locations Directory Section - Internal Linking */
.locations-directory {
    padding: 60px 20px;
    background: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.locations-directory-intro {
    text-align: center;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.locations-directory-intro strong {
    color: var(--primary-orange);
    font-weight: 600;
}

.locations-directory-intro a {
    color: var(--primary-orange);
    text-decoration: none;
}

.locations-directory-intro a:hover {
    text-decoration: underline;
}

.locations-directory-divider {
    border: none;
    border-top: 1px solid var(--light-gray);
    margin: 30px 0 40px;
}

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

.location-column {
    display: flex;
    flex-direction: column;
}

.column-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 2px solid var(--light-gray);
    transition: color 0.3s ease;
}

.column-header:hover {
    color: var(--primary-orange);
}

.column-header::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.location-column.collapsed ul {
    display: none;
}

.location-column {
    /* Default state: collapsed */
}

.location-column ul {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.location-column:not(.collapsed) ul {
    max-height: 1000px;
    opacity: 1;
}

.location-column.collapsed ul {
    max-height: 0;
    opacity: 0;
}

.location-column.collapsed .column-header::after {
    content: '+';
}

.location-column:not(.collapsed) .column-header::after {
    content: '−';
}

.location-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-column li {
    margin-bottom: 12px;
}

.location-column a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.location-column a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* Responsive for Locations Directory */
@media (max-width: 1024px) {
    .locations-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .locations-directory {
        padding: 40px 15px;
    }
    
    .locations-directory-intro {
        font-size: 1.2rem;
    }
    
    .locations-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .column-header {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}

/* Tools Page Styles */
.tools-section {
    padding: 40px 0 80px;
    background: var(--soft-white);
}

.tool-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px var(--shadow);
}

.tool-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.tool-header i {
    font-size: 3.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.tool-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.tool-header p {
    color: var(--medium-gray);
    font-size: 1.05rem;
}

.tool-body {
    max-width: 700px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--charcoal);
}

.tool-input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.tool-input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-calculate {
    width: 100%;
    background: var(--primary-orange);
    color: var(--white);
    padding: 18px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
}

.btn-calculate:hover {
    background: var(--secondary-teal);
    transform: scale(1.02);
}

.result-box {
    margin-top: 25px;
    padding: 25px;
    background: var(--soft-white);
    border-radius: 10px;
    border-left: 5px solid var(--primary-orange);
    display: none;
}

.result-box.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.result-box h3 {
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.result-box p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.result-box strong {
    color: var(--charcoal);
}

.result-item {
    padding: 12px;
    background: var(--white);
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

.tools-cta {
    background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-orange) 100%);
    padding: 60px 0;
}

.cta-box {
    text-align: center;
    color: var(--white);
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-orange);
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
}

@media (max-width: 768px) {
    .tool-card {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
/* Property Type Badge */
.property-type-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin: 4px 4px 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-type-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 8px 0;
}

/* Property Features */
.property-features {
    color: #008B8B;
    font-size: 12px;
    margin: 6px 0;
    font-weight: 500;
}

.property-features i {
    color: #FFD23F;
    margin-right: 4px;
}

.property-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.feature-tag i {
    font-size: 10px;
    color: #f59e0b;
}

/* Property Amenities */
.property-amenities {
    color: #666;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.amenity-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.property-amenities i {
    color: #FFD23F;
    margin-right: 4px;
}
    margin: 6px 0;
}

.property-amenities i {
    color: #4CAF50;
    margin-right: 4px;
}
