
.property-card1 {
    display: flex;
    gap: 20px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Left Section */
.left-sections {
    flex: 2;
}

.badge {
    display: inline-block;
    background-color: #0d4d3d;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.title {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.location {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.property-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.main-image-slider {
    width: 100%;
    height: 400px;
    position: relative;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
}

.main-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.main-slider-img.active {
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(13, 77, 61, 0.8);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(13, 77, 61, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow i {
    font-size: 20px;
}

.prev-arrow {
    left: 15px;
}

.next-arrow {
    right: 15px;
}

.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

.thumbnail-nav {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 5px;
}

.thumbnail-nav::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-nav::-webkit-scrollbar-thumb {
    background: #0d4d3d;
    border-radius: 10px;
}

.thumb-img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumb-img:hover {
    border-color: #0d4d3d;
    opacity: 0.8;
}

.thumb-img.active {
    border-color: #0d4d3d;
    opacity: 1;
}

/* View All Thumbs */
.view-all-thumbs {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px dashed #0d4d3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f0f7f5;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #0d4d3d;
}

.view-all-thumbs:hover {
    background: #0d4d3d;
    color: white;
    border-color: #0d4d3d;
}

.view-all-thumbs i {
    font-size: 20px;
}

.view-all-thumbs span {
    font-size: 11px;
    font-weight: 600;
}

/* Map Thumb Button */
.map-thumb-btn {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px dashed #0d4d3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f0f7f5;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #0d4d3d;
}

.map-thumb-btn:hover {
    background: #0d4d3d;
    color: white;
    border-color: #0d4d3d;
}

.map-thumb-btn i {
    font-size: 20px;
}

.map-thumb-btn span {
    font-size: 11px;
    font-weight: 600;
}

/* Map Modal */
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.map-modal.active {
    display: flex;
}

.map-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.map-modal-body {
    flex: 1;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
}

.map-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-modal-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    font-size: 15px;
    color: #333;
}

.map-modal-footer i {
    color: #0d4d3d;
    font-size: 18px;
}

@media (max-width: 768px) {
    .map-thumb-btn {
        width: 60px;
        height: 50px;
    }

    .map-thumb-btn i {
        font-size: 16px;
    }

    .map-thumb-btn span {
        font-size: 9px;
    }

    .map-modal-body {
        height: 350px;
    }

    .map-modal-content {
        padding: 15px;
    }
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 22px;
    color: #1a1a1a;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #0d4d3d;
    color: white;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.modal-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.modal-gallery img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .modal-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-gallery img {
        height: 150px;
    }

    .modal-content {
        padding: 15px;
    }

    .view-all-thumbs {
        width: 60px;
        height: 50px;
    }

    .view-all-thumbs i {
        font-size: 16px;
    }

    .view-all-thumbs span {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .modal-gallery {
        grid-template-columns: 1fr;
    }
}

.specifications {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 10px;
}

.spec-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spec-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.spec-item:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
    transform: translateY(-3px);
}

.icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    color: #0d4d3d;
}

.spec-value {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 500;
}

/* Description Section - Card Style */
.description-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
    border: 2px solid #0d4d3d;
    box-shadow: 0 4px 16px rgba(13, 77, 61, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
}

.description-section:hover {
    border-color: #1a6b52;
    box-shadow: 0 6px 24px rgba(13, 77, 61, 0.2);
    transform: translateY(-3px);
}

.section-title {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.description-text {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}

.extra-text {
    margin-top: 15px;
}

.read-more-btn {
    width: 100%;
    background: transparent;
    color: #0d4d3d;
    border: 1px solid #0d4d3d;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background: #0d4d3d;
    color: white;
}

.read-more-btn i {
    transition: transform 0.3s;
}

.read-more-btn.active i {
    transform: rotate(180deg);
}

/* Agent Profile Section */
.agent-profile-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.agent-profile-section:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
    transform: translateY(-2px);
}

.profile-header {
    display: flex;
    gap: 20px;
    align-items: center;
}

.profile-photo-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-photo-large i {
    font-size: 50px;
    color: #0d4d3d;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.profile-role {
    font-size: 14px;
    color: #0d4d3d;
    font-weight: 600;
    margin-bottom: 3px;
}

.profile-company {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.profile-phone {
    font-size: 14px;
    color: #0d4d3d;
    font-weight: 600;
}

/* Amenities Section */
.amenities-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.amenities-section:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #333;
}

.amenity-item i {
    color: #0d4d3d;
    font-size: 18px;
    flex-shrink: 0;
}

/* Open Houses Section */
.open-houses-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.open-houses-section:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
}

.open-house-card {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.open-house-card:last-child {
    margin-bottom: 0;
}

.open-house-card:hover {
    border-color: #0d4d3d;
    box-shadow: 0 3px 10px rgba(13, 77, 61, 0.1);
}

.open-house-header {
    margin-bottom: 15px;
}

.open-house-date {
    display: flex;
    align-items: center;
    gap: 12px;
}

.open-house-date i {
    font-size: 24px;
    color: #0d4d3d;
}

.open-house-date strong {
    display: block;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.open-house-time {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.open-house-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.open-house-type {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.view-contact {
    color: #0d4d3d;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.view-contact:hover {
    color: #0a3a2e;
    text-decoration: underline;
}

/* Location Section */
.location-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-section:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
}

.map-container {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
}

.location-address i {
    color: #0d4d3d;
    font-size: 20px;
}

/* Building Information Section */
.building-info-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.building-info-section:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
}

.building-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.building-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.building-info-item:hover {
    border-color: #0d4d3d;
    background-color: #f0f7f5;
}

.building-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.building-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

/* Property History Section */
.property-history-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-history-section:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
}

.history-table {
    width: 100%;
    margin-top: 20px;
}

.history-header {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr 1fr;
    gap: 15px;
    padding: 15px;
    background-color: #0d4d3d;
    border-radius: 8px;
    margin-bottom: 10px;
}

.history-col {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.history-row {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr 1fr;
    gap: 15px;
    padding: 18px 15px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s;
}

.history-row:hover {
    background-color: #f8f8f8;
}

.history-row:last-of-type {
    border-bottom: none;
}

.history-cell {
    font-size: 14px;
    color: #1a1a1a;
}

.history-cell strong {
    display: block;
    margin-bottom: 3px;
}

.history-source {
    font-size: 12px;
    color: #666;
    margin: 5px 0 0 0;
}

.appreciation-negative {
    color: #d32f2f;
}

.appreciation-positive {
    color: #0d4d3d;
}

.view-more-btn {
    width: 100%;
    background-color: #f8f8f8;
    color: #0d4d3d;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background-color: #0d4d3d;
    color: white;
    border-color: #0d4d3d;
}

.view-more-btn i {
    transition: transform 0.3s;
}

.view-more-btn.active i {
    transform: rotate(180deg);
}

/* Schools Section */
.schools-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.schools-section:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
}

.schools-info {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    padding: 12px;
    background-color: #f8f8f8;
    border-radius: 6px;
}

.schools-list {
    margin-top: 20px;
}

.school-card {
    display: flex;
    gap: 15px;
    padding: 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.school-card:hover {
    border-color: #0d4d3d;
    box-shadow: 0 3px 10px rgba(13, 77, 61, 0.1);
    background-color: white;
}

.school-rating {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.rating-6 {
    background-color: #4caf50;
}

.rating-5 {
    background-color: #8bc34a;
}

.rating-2 {
    background-color: #ff9800;
}

.rating-1 {
    background-color: #f44336;
}

.rating-nr {
    background-color: #9e9e9e;
}

.school-details {
    flex: 1;
}

.school-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.school-type {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.school-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
}

.school-grades {
    color: #0d4d3d;
    font-weight: 600;
}

.school-distance {
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.school-distance i {
    font-size: 14px;
}

/* Similar Homes Section */
.similar-homes-section {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid #e0e0e0;
}

.section-title-main {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 700;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background-color: #e8f5f1;
    border-color: #0d4d3d;
    color: #0d4d3d;
}

.filter-tab.active {
    background-color: #0d4d3d;
    border-color: #0d4d3d;
    color: white;
}

.similar-homes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.similar-home-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-home-card:hover {
    border-color: #0d4d3d;
    box-shadow: 0 6px 20px rgba(13, 77, 61, 0.2);
    transform: translateY(-5px);
}

.similar-home-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.image-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-img.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: white;
    width: 24px;
    border-radius: 4px;
}

.similar-home-card:hover .slider-img {
    transform: scale(1.1);
}

.similar-home-details {
    padding: 20px;
}

.similar-home-price {
    font-size: 24px;
    font-weight: 700;
    color: #0d4d3d;
    margin-bottom: 15px;
}

.similar-home-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.spec-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.spec-badge strong {
    font-size: 16px;
    color: #0d4d3d;
}

.spec-badge small {
    font-size: 12px;
    color: #999;
    margin-left: 3px;
}

.similar-home-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.similar-home-address i {
    color: #0d4d3d;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Explore Nearby Section */
.explore-nearby-section {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid #e0e0e0;
}

.accordion-container {
    margin-top: 20px;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #0d4d3d;
    box-shadow: 0 3px 10px rgba(13, 77, 61, 0.1);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f8f8f8;
    cursor: pointer;
    transition: background-color 0.3s;
    user-select: none;
}

.accordion-header:hover {
    background-color: #e8f5f1;
}

.accordion-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.accordion-icon {
    font-size: 20px;
    color: #0d4d3d;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 25px;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 25px;
}

.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.neighborhood-link {
    padding: 12px 15px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #0d4d3d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.neighborhood-link:hover {
    background-color: #0d4d3d;
    color: white;
    border-color: #0d4d3d;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(13, 77, 61, 0.2);
}

.show-more-btn {
    width: 100%;
    background-color: transparent;
    color: #0d4d3d;
    border: 1px solid #0d4d3d;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.show-more-btn:hover {
    background-color: #0d4d3d;
    color: white;
}

.show-more-btn i {
    transition: transform 0.3s;
}

.show-more-btn.active i {
    transform: rotate(180deg);
}

/* Listing Details */
.listing-details {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.listing-details:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
    transform: translateY(-2px);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    flex: 1;
}

.detail-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

/* Right Section */
.right-section {
    flex: 1;
}

.price-card {
    background-color: #0d4d3d;
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid #0d4d3d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.price-card:hover {
    border-color: #1a6b52;
    box-shadow: 0 4px 15px rgba(13, 77, 61, 0.3);
    transform: translateY(-2px);
}

.price-label {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.price {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
}

.original-price {
    font-size: 14px;
    opacity: 0.8;
    text-decoration: line-through;
}

.owner-details {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.owner-details:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
    transform: translateY(-2px);
}

.owner-title {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.detail-item {
    margin-bottom: 15px;
}

.label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 500;
}

.call-btn {
    width: 100%;
    background-color: #0d4d3d;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.call-btn:hover {
    background-color: #0a3a2e;
}

/* Listing Agent */
.listing-agent {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.listing-agent:hover {
    border-color: #0d4d3d;
    box-shadow: 0 4px 12px rgba(13, 77, 61, 0.15);
    transform: translateY(-2px);
}

.agent-title {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
}

.agent-profile {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.agent-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agent-photo i {
    font-size: 40px;
    color: #0d4d3d;
}

.agent-info {
    flex: 1;
}

.agent-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.agent-company {
    font-size: 14px;
    color: #666;
    margin-bottom: 3px;
}

.agent-phone {
    font-size: 14px;
    color: #0d4d3d;
    font-weight: 500;
}

.tour-btn {
    width: 100%;
    background-color: #0d4d3d;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.tour-btn i {
    margin-right: 5px;
}

.tour-time {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
}

.tour-btn:hover {
    background-color: #0a3a2e;
}

.contact-btn {
    width: 100%;
    background-color: white;
    color: #0d4d3d;
    border: 2px solid #0d4d3d;
    padding: 15px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-btn i {
    margin-right: 5px;
}

.contact-btn:hover {
    background-color: #0d4d3d;
    color: white;
}

/* Mortgage Card */
.mortgage-card {
    background: linear-gradient(135deg, #0d4d3d 0%, #1a6b52 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    color: white;
    border: 2px solid #0d4d3d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mortgage-card:hover {
    border-color: #1a6b52;
    box-shadow: 0 4px 15px rgba(13, 77, 61, 0.3);
    transform: translateY(-2px);
}

.mortgage-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.mortgage-text {
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.mortgage-btn {
    background-color: white;
    color: #0d4d3d;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.mortgage-btn:hover {
    transform: translateY(-2px);
}

.mortgage-btn i {
    margin-left: 5px;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .property-card1 {
        flex-direction: column;
        padding: 20px;
    }

    .left-sections,
    .right-section {
        flex: 1;
        width: 100%;
    }

    .main-image-slider {
        height: 350px;
    }

    .similar-homes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .history-header,
    .history-row {
        grid-template-columns: 1fr 1.5fr 1fr 1fr;
        gap: 10px;
        font-size: 13px;
    }

    .neighborhood-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .thumbnail-nav {
        justify-content: center;
    }

    .school-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        max-width: 100%;
    }

    .property-card1 {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        border-radius: 8px;
    }

    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .title {
        font-size: 20px;
    }

    .location {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .main-image-slider {
        height: 250px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .slider-arrow i {
        font-size: 16px;
    }

    .thumbnail-nav {
        gap: 6px;
        justify-content: center;
    }

    .thumb-img {
        width: 60px;
        height: 50px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .spec-item {
        padding: 15px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .building-info-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 18px;
    }

    .spec-title {
        font-size: 20px;
    }

    .description-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .similar-homes-section {
        padding: 20px 15px;
    }

    .section-title-main {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .similar-homes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .similar-home-image {
        height: 180px;
    }

    .similar-home-details {
        padding: 15px;
    }

    .similar-home-price {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .filter-tabs {
        gap: 8px;
        justify-content: center;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .neighborhood-grid {
        grid-template-columns: 1fr;
    }

    .neighborhood-link {
        font-size: 13px;
        padding: 10px;
    }

    .explore-nearby-section {
        padding: 20px 15px;
    }

    .accordion-header {
        padding: 15px;
    }

    .accordion-header h3 {
        font-size: 15px;
    }

    .price-card {
        padding: 20px;
    }

    .price {
        font-size: 28px;
    }

    .price-label {
        font-size: 11px;
    }

    .original-price {
        font-size: 13px;
    }

    .owner-details,
    .listing-agent,
    .mortgage-card,
    .listing-details {
        padding: 20px;
    }

    .owner-title,
    .agent-title {
        font-size: 16px;
    }

    .value {
        font-size: 14px;
    }

    .call-btn,
    .tour-btn,
    .contact-btn {
        padding: 12px;
        font-size: 14px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo-large {
        width: 60px;
        height: 60px;
    }

    .profile-photo-large i {
        font-size: 38px;
    }

    .profile-name {
        font-size: 18px;
    }

    .history-header,
    .history-row {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 12px;
    }

    .history-cell {
        font-size: 13px;
    }

    .history-cell strong {
        display: inline;
        margin-right: 5px;
    }

    .history-source {
        font-size: 11px;
    }

    .school-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .school-name {
        font-size: 15px;
    }

    .school-meta {
        flex-direction: column;
        gap: 4px;
    }

    .open-house-card {
        padding: 15px;
    }

    .open-house-date strong {
        font-size: 14px;
    }

    .open-house-time {
        font-size: 13px;
    }

    .map-container iframe {
        height: 250px;
    }

    .location-address {
        font-size: 13px;
        padding: 12px;
    }

    .read-more-btn {
        font-size: 13px;
        padding: 8px;
    }

    .accordion-content.active {
        padding: 15px;
    }

    .view-more-btn {
        padding: 10px;
        font-size: 13px;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    .property-card1 {
        padding: 10px;
    }

    .main-image-slider {
        height: 200px;
    }

    .thumb-img {
        width: 50px;
        height: 40px;
    }

    .title {
        font-size: 18px;
    }

    .price {
        font-size: 24px;
    }

    .similar-home-image {
        height: 160px;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tab {
        text-align: center;
    }

    .tour-time {
        font-size: 11px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
