.divider {
    opacity: 0.1 !important;
}

/* Custom styles */

.hero-section {
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    font-size: 1.2rem;
    color: #333;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    margin: 0 5px;
    border-radius: 5px 5px 0 0;
}

.nav-tabs .nav-link.active {
    font-weight: bold;
    color: #000;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 3px solid #38b66c;
}

.search-form {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-form .form-row {
    display: flex;
    gap: 10px;
}

.search-form .form-control {
    flex: 1;
}

.search-form .btn {
    flex: 0 0 auto;
}

.property-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
}

.property-card .thumbnail {
    position: relative;
}

.property-card .thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-card .thumbnail .location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.property-card .thumbnail .location-overlay i {
    margin-right: 8px;
    color: #fff;
}

.property-card .thumbnail .badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.property-card .thumbnail .badge {
    background-color: #ff5722;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.property-card .thumbnail .badge.for-sale {
    background-color: #38b66c;
}

.property-card .thumbnail .badge.for-rent {
    background-color: #ddd23d;
}

.property-card .card-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 200px);
}

.property-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.property-card .card-text {
    font-size: 0.9rem;
    color: #666;
}

.property-card .agent-info {
    display: flex;
    align-items: center;
}

.property-card .agent-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.property-card .agent-info .agent-name {
    font-size: 0.9rem;
    color: #333;
}

.property-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.property-card .profile-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
}

.property-card hr {
    margin: 0;
    border-top: 1px solid #e0e0e0;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    width: 250px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 2;
}

.card-content h5 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.card-content p {
    font-size: 1rem;
    margin: 0;
}

.arrow-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}

.arrow-icon i {
    color: #333;
    font-size: 1.2rem;
}

.blog-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.blog-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.blog-title:hover {
    color: #38b66c;
}

.blog-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-column h3 {
    margin-bottom: 15px;
}

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

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

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

#current-year {
    font-weight: bold;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.sub-heading {
    color: #38b66c;
    font-weight: 700;
}

/* .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
} */

/* .navbar-nav > li > .dropdown-menu a:link, */

.navbar-nav > li > .dropdown-menu a:hover {
    background-color: #38b66c;
    color: #fff;
}

.detail-label {
    font-weight: bold;
    color: #000;
}

/* Main Container */

/* Main Container */

.image-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2px;
    max-width: 100%;
    margin: 0;
}

/* Big First Image */

.big-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Smaller Images Grid */

.small-images {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2px;
}

.small-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Hidden Images */

.hidden-images {
    display: none;
}

/* Image Modal */

/* .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 0 !important;
} */

/* Internal CSS for custom styling */

/* Internal CSS for custom styling */

.similar-property-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
}

.similar-property-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.similar-property-details {
    padding-left: 16px;
    flex: 1;
}

.similar-property-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 6px;
}

.similar-property-amount {
    color: #2ecc71;
    font-size: 1rem;
    font-weight: 600;
}

.similar-property-features {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Custom CSS for the floating button */

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #38b66c;
    color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    gap: 8px;
}

.floating-btn:hover {
    background-color: #2e8b57;
}

.floating-btn i {
    font-size: 20px;
}

/* Custom CSS for the modal */

/* .modal-content {
    text-align: center;
} */

.ad-type-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #fff;
    cursor: pointer;
    width: 100%;
}

.ad-type-card h5 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.ad-type-card p {
    font-size: 12px;
    color: #666;
    margin-bottom: 0;
}

#adTypeForm .radio-input {
    display: none;
}

#adTypeForm .radio-input:checked + .ad-type-card {
    border-color: #38b66c;
    background-color: #e2fcec;
}

.file-upload-container {
    border: 2px dashed #38b66c;
    border-radius: 5px;
    min-height: 200px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-container:hover {
    background-color: #ffffff;
}

.file-upload-container p {
    font-size: 1.2em;
    color: #808080;
    margin-bottom: 0;
}

.file-upload-container input[type="file"] {
    display: none;
}

.step {
    display: none;
}
.step.active {
    display: block;
}

/* Mobile-specific styles */

@media (max-width: 767.98px) {
    .ad-type-card h5 {
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {
    .ad-type-card p {
        font-size: 10px;
    }
}

@media (max-width: 767.98px) {
    .row-cols-md-3 {
        row-gap: 4px;
    }
}

/* Media Queries */

@media (max-width: 767.98px) {
    .search-form .form-control,
    .search-form .btn {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .col-md-4 {
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    .search-form .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    .similar-property-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .similar-property-amount {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .similar-property-features {
        font-size: 0.7rem;
    }
}

/* Responsive adjustments for mobile screens */

@media (max-width: 576px) {
    .floating-btn {
        padding: 8px 16px;
        font-size: 16px;
        gap: 6px;
    }
}

@media (max-width: 576px) {
    .floating-btn i {
        font-size: 16px;
    }
}

hr {
    opacity: 0.08;
}

#image-dropzone .dropzone .dz-preview .dz-image {
    border-radius: 5px !important;
}

#image-dropzone .dz-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#image-dropzone .dz-filename,
.dz-size {
    display: none !important;
}

#images .dz-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

.pagination .page-link {
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent;
    color: #38b66c;
}

.pagination .page-item.active .page-link {
    background-color: #38b66c;
    border-color: #38b66c;
    color: white;
}
.pagination .page-link {
    color: #38b66c;
}
.pagination .page-item.disabled .page-link {
    color: #6c757d;
}

.facility-card {
    min-width: 120px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
}

.facility-card:hover {
    background: #e9ecef;
}

/* Highlight when checked */
.facility-card input:checked + span {
    color: white;
    font-weight: 600;
}

.facility-card input:checked + span::before {
    content: "✔ ";
}

.facility-card:has(input:checked) {
    border-color: #38b66c;
    background-color: #38b66c;
}

.required-field::after {
    content: " *";
    color: red;
}

.promo-marquee {
    background-color: #38b76c;
    color: #fff;
    overflow: hidden;
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
}

.scrolling-text {
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    white-space: nowrap;
    will-change: transform;
    animation: infinite-scroll 20s linear infinite;
}

.scrolling-text span {
    margin-right: 4rem; /* spacing between repeated messages */
}

.custom-radio .form-check-input:checked {
    background-color: #38b66c !important;
    border-color: #38b66c !important;
}

.custom-checkbox .form-check-input:checked {
    background-color: #38b66c !important;
    border-color: #38b66c !important;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #333;
    border-left: 4px solid #38b76c;
    padding-left: 8px;
}

.dropzone {
    border: 3px dashed #38b76c !important;
    border-radius: 12px;
    background: #fcfffc;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

@keyframes infinite-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Modal overlay */
.ticket-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    box-sizing: border-box;
}

/* Modal box */
.ticket-box {
    background: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-in-out;
    box-sizing: border-box;
}

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

/* Close button */
.ticket-close {
    color: #999;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}
.ticket-close:hover {
    color: #333;
}

.ticket-title {
    margin: 0 0 20px 0;
    color: #111827;
    font-size: 20px;
}

.ticket-field {
    margin-bottom: 15px;
}

.ticket-label {
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 14px;
}

.ticket-input,
.ticket-select,
.ticket-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1dbd1;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.2s;
    box-sizing: border-box;
}

.ticket-input:focus,
.ticket-select:focus,
.ticket-textarea:focus {
    outline: none;
    border-color: #38b76c;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.ticket-textarea {
    resize: vertical;
    min-height: 100px;
}

.ticket-submit {
    width: 100%;
    background: #38b76c;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}
.ticket-submit:hover {
    background: #38b76c;
}

/* Responsive */
@media (max-width: 480px) {
    .ticket-box {
        padding: 15px;
        border-radius: 10px;
    }
    .ticket-title {
        font-size: 18px;
    }
    .ticket-submit {
        font-size: 15px;
        padding: 10px;
    }
}

.chat-box {
    height: 60vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #f9f9f9;
}
.message {
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    max-width: 70%;
    word-wrap: break-word;
}
.customer {
    background-color: #e9ecef;
    align-self: flex-start;
}
.agent {
    background-color: #38b76c;
    color: white;
    align-self: flex-end;
}
.chat-meta {
    font-size: 0.8rem;
    color: gray;
    margin-top: -5px;
    margin-bottom: 10px;
}

.sidebar-nav .list-group-item.active {
    background-color: #38b76c !important;
    border-color: #38b76c !important;
    color: #fff !important;
    font-weight: 600;
}
.sidebar-nav .list-group-item:hover {
    background-color: #eafaf2;
    color: #38b76c;
}

#togglePassword {
    cursor: pointer;
    float: right;
    margin-left: -25px;
    margin-top: -30px;
    right: 10px;
    position: relative;
    z-index: 20;
}

/* Notification bell */
.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: #333;
    font-size: 1.4rem;
}
.notification-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: red;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    min-width: 16px;
    text-align: center;
}

/* Dropdown styling */
.dropdown-menu.notifications {
    width: 340px;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.2s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.notification-header {
    background-color: #f8f9fa;
    padding: 10px 15px;
    font-weight: 600;
    border-bottom: 1px solid #eaeaea;
}
.notification-item {
    display: flex;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s;
}
.notification-item:hover {
    background-color: #f9f9f9;
}
.notification-icon {
    font-size: 1.4rem;
    color: #007bff;
}
.notification-text {
    flex: 1;
}
.notification-text small {
    display: block;
    color: #888;
}
.view-all {
    text-align: center;
    padding: 10px;
    font-weight: 600;
    color: #007bff;
    border-top: 1px solid #eaeaea;
}
.leaflet-bottom {
    display: none !important;
}

/* Custom green color for active pill */
.nav-pills .nav-link.active {
    background-color: #38b66c !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(56, 182, 108, 0.3);
}

/* Add hover effect */
.nav-pills .nav-link:hover {
    color: #38b66c;
}

/* Optional: smooth transition */
.nav-pills .nav-link {
    transition: all 0.2s ease-in-out;
}

/* Profile Picture Hover Overlay */
.profile-picture {
    transition: all 0.3s ease;
}

.camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-picture:hover + .camera-overlay,
.camera-overlay:hover {
    opacity: 1;
}

.profile-picture:hover {
    filter: brightness(85%);
}

.ad-tile {
    border: 1px solid #d8eede;
    border-radius: 12px;
    background-color: #ffffff;
    transition: all 0.25s ease-in-out;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ad-tile:hover {
    border-color: #38b66c;
    background-color: #f5fff9;
    box-shadow: 0 4px 10px rgba(56, 182, 108, 0.15);
}

.tile-link {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.ad-tile:hover .tile-link {
    color: #2f9d5a;
}

.ad-tile h5 {
    font-size: 17px;
    line-height: 1.3;
}

.ad-tile p {
    font-size: 13px;
    color: #555;
}

@media (max-width: 576px) {
    .ad-tile {
        padding: 1.25rem;
    }

    .ad-tile h5 {
        font-size: 16px;
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.facility-badge {
    background: #eef5ff;
    border: 1px solid #d6e7ff;
    padding: 8px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin: 4px;
    font-weight: 500;
    color: #2b5cab;
}

.facility-badge i {
    font-size: 16px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.check-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    border: 4px solid #28a745;
    position: relative;
    animation: scale 0.3s ease-in-out;
}

.icon-line {
    height: 5px;
    background-color: #28a745;
    display: block;
    border-radius: 2px;
    position: absolute;
}

.line-tip {
    width: 25px;
    top: 38px;
    left: 14px;
    transform: rotate(45deg);
}

.line-long {
    width: 45px;
    top: 32px;
    left: 22px;
    transform: rotate(-45deg);
}

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

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

.grid-tabs {
    white-space: nowrap;
}

.grid-tab {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 20px;
    background: #f1f1f1;
    color: #555;
    text-decoration: none;
}

.grid-tab.active {
    background: #38b66c;
    color: white;
}

/* GRID */
.enhanced-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .enhanced-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CARD */
.card-grid {
    background: white;
    border: 1px solid #eaeaea;
    overflow: hidden;
    transition: 0.2s;
}

/* IMAGE (REDUCED HEIGHT) */
.card-image-wrapper {
    height: 140px;
    /* reduced from 180px to 140px */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TITLE (More Compact) */
.property-title {
    font-size: 0.9rem;
    font-weight: 600;
    overflow: hidden;
    line-height: 1.2;
}

/* PRICE */
.price {
    font-size: 1.05rem;
    /* slightly smaller */
    font-weight: bold;
    color: #38b66c;
    margin-bottom: 4px;
    /* tighter */
}

/* DETAILS */
.details {
    font-size: 0.78rem;
    /* compact text */
    line-height: 1.3;
    margin-bottom: 6px;
}

/* ACTIONS */
.action-icon i {
    font-size: 0.9rem;
    /* smaller icons */
    transition: 0.2s;
}

.actions {
    gap: 10px;
    /* tighter gap */
}

/* CARD BODY PADDING (reduced) */
.card-grid .p-3 {
    padding: 10px !important;
    /* previously 16px */
}
/* Empty Center */
.empty-center {
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lazy Loading Fade-in */
.lazy-img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.lazy-img.loaded {
    opacity: 1;
}

/* Stats Row Icons */
.stats-row i {
    font-size: 0.85rem;
    color: #38b66c;
}
