.hero {
    background: #f5f5f5;
    padding: 10px 10px 25px;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-form select {
    padding: 10px;
    width: 180px;
}

.hero-form button {
    padding: 10px 20px;
    background: #a72e28;
    color: #fff;
    border: none;
    border-radius: 4px;
}

/*horizontalslider*/

.property-slider-section {
    padding: 0px 20px;
}

.section-title {
    text-align: center;
}

.slider-container {
    position: relative;
}

.slider {
    display: flex;
    gap: 15px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 15px;
}
.card {
    min-width: 130px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
}

.card img {
    width: 100%;
    border-radius: 5px;
}

.card h3 {
    margin: 2px 0 0px;
    font-size: 16px;
}
.card h3 a {
    text-decoration: none;
    color: #222;
}

.card h3 a:hover {
    color: #28a745;
}   

.card p {
    font-size: 10px;
    color: #666;
    margin: 2px
}

/* Buttons */
.slider-btn {
    position: absolute;
    top: 40%;
    background: #a72e28;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.slider-btn.left {
    left: 0;
}

.slider-btn.right {
    right: 0;
}


/* Main Content */
/* Main Layout */
.main-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
}

/* LEFT (25%) */
.left-sidebar {
    width: 25%;
}

.left-sidebar h3 {
    margin-bottom: 10px;
}

.left-sidebar ul {
    list-style: none;
    padding: 0;
}

.left-sidebar li {
    margin-bottom: 8px;
}

.left-sidebar a {
    text-decoration: none;
    color: #333;
}

.left-sidebar a:hover {
    color: #a72e28;
}

/* CENTER (50%) */
.center-content {
    width: 75%;
}

.property-grid {
    display: flex;
     flex-wrap: wrap; 
    gap: 15px;
}

.property-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 30%; /* 2 cards per row with gap */
    grid-template-columns: repeat(3, 1fr);
}

.property-card:hover {
    transform: translateY(-5px); /* lift up */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-img {
    position: relative;
}

.card-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .card-img img {
    transform: scale(1.05);
}

.card-body {
    padding: 10px;
    flex: 1; /* fills remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* important */
    gap: 10px;
}

.card-header h4 {
    font-size: 15px;
    margin: 0;
    flex: 1;
      display: -webkit-box;
    -webkit-line-clamp: 2;   /* max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;

}

.property-card:hover .card-header h4 {
    color: #a72e28;
}
.price {
    white-space: nowrap;
    font-weight: bold;
    color: #a72e28;
}

.card-location {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
}

/* TAGS */
.card-tags {
    display: flex;
    gap: 5px;
}

.card-tags span {
    font-size: 11px;
    background: #f0f0f0;
    padding: 3px 6px;
    border-radius: 3px;
}
/* RIGHT (25%) */
.right-sidebar {
    width: 20%;
}

.right-sidebar ul {
    list-style: none;
    padding: 0;
}

.right-sidebar li {
    margin-bottom: 8px;
}

.right-sidebar a {
    text-decoration: none;
    color: #333;
}

.right-sidebar a:hover {
    color: #a72e28;
}


/* Connectivity Section */

.connectivity-section {
    display: flex;
    gap: 20px;
    padding: 20px;
}

/* Card */
.connectivity-card {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    transition: 0.2s ease;
}

.connectivity-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Title */
.connectivity-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Links */
.connectivity-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.connectivity-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.connectivity-links a:hover {
    color: #a72e28;
}


.cta-section {
    text-align: center;
    padding: 30px 20px;
    background: #a72e28;
    color: #fff;
}

.cta-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #fff;
    color: #a72e28;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}