:root {
    /* Primary Color Scheme (Updated to reflect the new logo's second text color) */
    --color-primary: #0b5f5a;
    /* Matches `.logo_text_second` */
    --color-primary-hover: #094f4b;
    /* Slightly darker for hover states */

    /* Main Text and Secondary Text */
    --main-text-color: #083d3a;
    /* Darker shade of primary for better readability */
    --css-text-second-color: #c28a07;
    /* Matches `.logo_text_first` */

    /* Background Colors */
    --second-bg-color: #f4f4f2;
    /* Slightly off-white to keep the interface clean */
    --bg-body: #f7f8fa;
    /* Retained for body background */

    /* Accent and Alert Colors */
    --accent-color: #c28a07;
    /* Matches `.logo_text_first` */
    --alert-color: #c62828;
    /* Unchanged for consistency in alert recognition */

    /* Supporting Colors */
    --light-color: #88b3ab;
    /* A lighter shade of the new primary for subtle accents */

    /* New Supporting Colors for Consistency */
    /* --button-primary-bg: #0b5f5a;
    --button-primary-hover: #083d3a;
    --button-accent-bg: #c28a07;
    --button-accent-hover: #a47406;  */

    /* Selected Image Color (Green) */
    --selected-image-border-color: #28a745;
    /* Green (You can adjust as needed) */
    --selected-image-shadow-color: rgba(40, 167, 69, 1);
    /* Green Shadow (matches border) */
    --price-tag-color: #28a745;
}

* {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none !important;
    
}

html,
body {
    overflow: -moz-scrollbars-none;
    /* For Firefox */
    -ms-overflow-style: none;
    /* For IE and Edge */
    scrollbar-width: none;
    /* For Firefox */
    overflow: auto;
    /* Still allow scrolling */
}

.showcase-items .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.css-pointer {
    cursor: pointer !important;
}

.logo_text_first {
    color: #c28a07;
}

.logo_text_second {
    color: #0b5f5a;
}

.css-color-primary {
    color: var(--color-primary);
}

.css-bg-body {
    background-color: var(--bg-body);
}

.css-text-primary {
    color: var(--main-text-color);
}

.css-text-second {
    color: var(--css-text-second-color);
}

.css-bg-primary {
    background-color: var(--color-primary) !important;
}

.css-bg-secondary {
    background-color: var(--second-bg-color);
}

.css-main-text-color {
    color: var(--main-text-color);
}

/* buttons START */
.css-btn-primary {
    height: fit-content;
    color: white;
    background-color: var(--color-primary);
    transition: background-color 0.3s ease-in-out;
    /* Adding transition effect */
}

.css-btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: white;
}

.css-btn-outline-primary {
    height: fit-content;
    color: var(--color-primary);
    /* Use the main background color for the text */
    background-color: transparent;
    /* Transparent background */
    border: 2px solid var(--color-primary);
    /* Border with the main background color */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out,
        border-color 0.3s ease-in-out;
    /* Transition effect for background color, text color, and border color */
}

.css-btn-outline-primary:hover {
    background-color: var(--color-primary-hover);
    /* Change background on hover */
    color: white;
    /* Change text color on hover */
    border-color: var(--color-primary-hover);
    /* Change border color on hover */
}

.css-btn-outline-primary-b1 {
    height: fit-content;
    color: var(--color-primary);
    /* Use the main background color for the text */
    background-color: transparent;
    /* Transparent background */
    border: 1px solid var(--color-primary);
    /* Border with the main background color */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out,
        border-color 0.3s ease-in-out;
    /* Transition effect for background color, text color, and border color */
}

.css-btn-outline-primary-b1:hover {
    background-color: var(--color-primary-hover);
    /* Change background on hover */
    color: white;
    /* Change text color on hover */
    border-color: var(--color-primary-hover);
    /* Change border color on hover */
}

.css-btn-secondary {
    height: fit-content;
    color: white;
    background-color: var(--css-text-second-color);
    /* Secondary background color */
    transition: background-color 0.3s ease-in-out;
    /* Adding transition effect */
}

.css-btn-secondary:hover {
    background-color: #a47406;
    /* Slightly darker shade for hover effect */
    color: white;
}

.css-btn-outline-secondary {
    height: fit-content;
    color: var(--css-text-second-color);
    /* Secondary color for text */
    background-color: transparent;
    /* Transparent background */
    border: 2px solid var(--css-text-second-color);
    /* Border with secondary color */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out,
        border-color 0.3s ease-in-out;
    /* Transition effect for background color, text color, and border color */
}

.css-btn-outline-secondary:hover {
    background-color: #a47406;
    /* Change background on hover */
    color: white;
    /* Change text color on hover */
    border-color: #a47406;
    /* Change border color on hover */
}

.btn-featured {
    left: 10px;
    top: 10px;
}

/* CSS */
.btn-gradient {
    align-items: center;
    background-image: linear-gradient(144deg,
            #af40ff,
            #5b42f3 25%,
            #00ddeb 50%,
            #00ff00 75%);
    border: 0;
    border-radius: 8px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    font-family: Phantomsans, sans-serif;
    font-size: 18px !important;
    justify-content: center;
    line-height: 1em;
    /* max-width: 100%; */
    min-width: 140px;
    padding: 10px 5px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Slightly faster transition for hover effect */
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    font-weight: bold;
}

.btn-gradient:active,
.btn-gradient:hover {
    outline: 0;
    color: white !important;
    box-shadow: rgba(151, 65, 252, 0.6) 0 25px 50px -10px;
    /* More pronounced shadow on hover */
    background-position: 100% 0;
    transform: scale(1.05);
    /* Slight zoom effect */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
}

/* Default visible state */
.toggle-element {
    display: block;
    transition: background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hidden state with blue effect */
.toggle-hidden {
    display: none;
    /* Hides the element */

    /* Slight opacity for the blue effect */
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (min-width: 768px) {
    .btn-gradient {
        font-size: 24px;
        min-width: 196px;
    }
}

.btn-toggle {
    background-color: #f8f9fa;
    /* Default light background */
    border: 1px solid #ccc;
    color: #333;
}

.btn-toggle.active,
.btn-toggle:hover,
.btn-check:checked+.btn-toggle {
    background-color: var(--color-primary-hover);
    /* Dark blue */
    color: white;
    border-color: var(--color-primary-hover);
}

.active>.page-link {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary-hover);
}

.page-link {
    color: var(--color-primary);
}

/* buttons END */
/* ICONS START  */

.css-light-color {
    color: var(--light-color);
}

/* ICONS END  */

/* font start  */
.css-font-12 {
    font-size: 12px;
}

.css-font-13 {
    font-size: 13px;
}

.css-font-14 {
    font-size: 14px;
}

.css-font-section {
    font-size: 1.4rem;
}

.css-font-card {
    font-size: 1.2rem;
    font-weight: 600;
}

/* font end  */

/* hover start  */

.card {
    overflow: hidden;
    /* Ensure overflow is hidden for the zoom effect */
    position: relative;
    border-radius: 10px;
    /* Rounded corners for a softer look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    transition: box-shadow 0.3s ease-in-out;
    /* Animate shadow on hover */
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Larger shadow on hover */
}

.card figure {
    overflow: hidden;
    /* Keep the image contained within the figure */
    margin: 0;
    /* Remove default margin */

    position: relative;
}

.card img {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    /* Smooth zoom and opacity transition */
    max-height: 260px;
    min-height: 260px;
    height: 260px;
    object-fit: cover;
    width: 100%;
    /* Ensure the image covers the card */
    height: auto;
    /* Maintain aspect ratio */
    opacity: 0.9;
    /* Slightly lower opacity for a soft focus */
}

.card:hover img {
    transform: scale(1.1) rotate(1deg);
    /* Scale and slightly rotate the image on hover */
    opacity: 1;
    /* Full opacity on hover */
}

.card:hover::before {
    content: "";
    /* Add a pseudo-element for visual effect */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    /* Light overlay effect */
    pointer-events: none;
    /* Ensure the overlay doesn't interfere with interactions */
}



/* Property Card Styles */
.property-card {
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-card .card {
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
}

.property-card:hover .card {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Image Container */
.image-container {
    overflow: hidden;
    height: 220px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .image-container img {
    transform: scale(1.08);
}

/* Featured Badge */
.badge-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    /* background-color: var(--color-primary);
    color: white; */
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Category Badge */
.badge-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    z-index: 2;
}

/* Property ID */
.property-id {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    z-index: 2;
}

/* Property Title */
.property-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Tag */
.price-tag {
    color: var(--price-tag-color);
    /* font-weight: 700; */
    font-size: 14px;
}

/* Property Details */
.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.detail-item i {
    color: #3498db;
    font-size: 0.9rem;
}

.css-clamp {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 39px;
}

/* utility classes  */

.css-h-fit-content {
    height: fit-content;
}

.css-min-height {
    min-height: 300px !important;
}

#description {
    min-height: 200px;
    height: fit-content;
}

#note {
    min-height: 100px;
    height: fit-content;
}

/* footer  */

/* ==========================================
    FOR DEMO PURPOSE
  ========================================== */
/* body {
    background: #2a2e32;
} */
footer {
    margin-top: 100px;
}

footer .text-small {
    font-size: 0.9rem;
}

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

footer a:hover,
footer a:focus {
    text-decoration: none;
}

footer .form-control {
    /* background: #212529;
    border-color: #545454; */
}

footer .form-control:focus {
    /* background: #212529; */
}

footer {
    /* background: #212529; */
}

/* third party modification START SweetAlert */

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: var(--color-primary) !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 193, 98, 0.5);
    /* Adjust opacity as needed */
}

div:where(.swal2-container) button:where(.swal2-styled) {
    margin: 0.3125em;
    padding: 0.625em 1.1em;
    transition: box-shadow 0.1s;
    box-shadow: 0 0 0 3px rgba(0, 193, 98, 0.5);
    font-weight: 500;
}

/* Scoped styles for the testimonials section */

.testimonials-section {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);

    text-align: center;
    padding: 50px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: auto;
}

.section-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.testimonial {
    background-color: var(--bg-light);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 4px solid var(--color-primary);
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.rating {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        max-width: 90%;
    }
}