@font-face {
    font-family: 'Helvetica Neue LT Pro 45 Light';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/HelveticaNeueLTProLt.woff') format('woff');
}

:root {
    --primary-color: #930e33;
    --bs-primary: #930e33;
}
        
@font-face {
    font-family: 'Helvetica Neue LT Pro 47 Light';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/HelveticaNeueLTProLtCn.woff') format('woff');
}

/* Global Styles */
body {
    font-family: 'Helvetica Neue LT Pro 45 Light', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue LT Pro 47 Light', "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 3.6rem;
}

h2, h3, h4, h5, h6 {
    font-size: 2.2rem;
}

.jax-flash-messages {
    display: none;
}
.invalid-feedback {
    color: #fff;
}
.form-check-input.is-invalid~.form-check-label, .was-validated .form-check-input:invalid~.form-check-label {
    color: var(--bs-form-invalid-color) !important;
}
.form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, 0.15);
}
/* Custom utility classes */
.object-fit-cover {
    object-fit: cover;
}
.border-radius-4 {
    border-radius: 4px !important;
}

/* Hero Section Styles */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.btn-search {
    background-color: #A61C3C;
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}

.btn-search:hover {
    background-color: #8B1730;
    color: white;
}

.btn-primary {
    background-color: #930e33;
    border-color: #930e33;
    padding: 0.75rem 2rem;
    --bs-btn-color: #fff;
    --bs-btn-bg: #930e33;
    --bs-btn-border-color: #930e33;
    --bs-btn-hover-bg: #7a0c2a;
    --bs-btn-hover-border-color: #7a0c2a;
    --bs-btn-active-bg: #630a22;
    --bs-btn-active-border-color: #630a22;
    --bs-btn-disabled-bg: #930e33;
    --bs-btn-disabled-border-color: #930e33;
    --bs-btn-focus-shadow-rgb: 147, 14, 51;
}

.btn-primary:hover {
    background-color: #7a0c2a;
    border-color: #7a0c2a;
}

/* Range slider values */
.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

/* Custom Splide arrows */
.hero-slider .splide__arrows {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.hero-slider .splide__arrow {
    position: static;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    transform: none;
}

.hero-slider .splide__arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-slider .splide__arrow svg {
    fill: white;
}

/* Header Styles */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.header .row {
    min-height: 80px;
}

.header .navbar {
    height: 100%;
}

.header .navbar-collapse {
    height: 100%;
}

.header .navbar-nav {
    align-items: center;
    height: 100%;
}

.header .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 1;
}

.header .navbar-nav .nav-link:hover {
    color: #930e33;
}

.header .navbar-nav .nav-link.active {
    color: #930e33;
    border-bottom: 2px solid #930e33;
}

.header .navbar-toggler {
    border: none;
    color: #930e33;
    font-size: 2.5rem;
    padding: 0;
}

.header .navbar-toggler:focus {
    box-shadow: none;
}

.header .logo img {
    height: 40px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #930e33;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.contact-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon:hover {
    background-color: #b01340;
    color: white;
}

/* Header responsive elements */
.header-nav {
    display: block;
}

.header-spacer {
    display: none;
}

.header-mobile-toggler {
    display: none;
}

.contact-icons-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 70vh;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .splide__slide {
    height: 100%;
}

.hero-slider .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    height: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left side - Text */
.hero-text {
    color: white;
}

.hero-text h1 {
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-text p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #930e33;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #7a0c2a;
}

/* Right side - Search form */
.hero-search {
    background: #930e33;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.hero-search .form-control {
    padding: 0.7rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.hero-search .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.hero-search select.form-control {
    cursor: pointer;
    background: white;
}

/* Range Sliders */
.hero-search .range-slider {
    padding: 0.7rem;
    background: white;
    margin-bottom: 0;
    border-radius: 4px;
}

.hero-search .form-label {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-size: 0.95rem;
}

.hero-search .form-range {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #930e33;
    outline: none;
}

.hero-search .form-range::-webkit-slider-runnable-track {
    background: #930e33;
}

.hero-search .form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #930e33;
    cursor: pointer;
    border: none;
}

.hero-search .form-range::-moz-range-track {
    background: #930e33;
}

.hero-search .form-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #930e33;
    cursor: pointer;
    border: none;
}

.hero-search .d-flex {
    color: #666;
    font-size: 0.9rem;
}

.hero-search .btn-search {
    background-color: white;
    color: #930e33;
    border: none;
    padding: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.hero-search .btn-search:hover {
    background-color: #f5f5f5;
}

/* Custom Splide arrows */
.hero-slider .splide__arrows {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.hero-slider .splide__arrow {
    position: static;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    transform: none;
    opacity: 1;
}

.hero-slider .splide__arrow:hover {
    background: #f5f5f5;
}

.hero-slider .splide__arrow svg {
    fill: #930e33;
}

.hero-slider .splide__arrow:disabled {
    opacity: 0.5;
}

/* Custom Splide pagination */
.hero-slider .splide__pagination {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    right: auto;
    display: flex;
    gap: 0.5rem;
    padding: 0;
    z-index: 3;
}

.hero-slider .splide__pagination__page {
    width: 50px !important;
    height: 4px;
    border-radius: 2px;
    background: #930e33;
    opacity: 1;
    transition: background 0.3s ease;
    margin: 0;
    flex-shrink: 0;
    transform: none !important;
}

.hero-slider .splide__pagination__page.is-active {
    background: white;
    width: 50px !important;
    transform: none !important;
}

/* NoUiSlider Customization */
.noUi-connect {
    background: #fff;
}
.noUi-handle {
    background: #fff;
    border: none;
    box-shadow: none;
    border-radius: 50%;
    cursor: pointer;
}
.noUi-handle:before, .noUi-handle:after {
    display: none;
}
.noUi-target {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    box-shadow: none;
    height: 6px;
}
.noUi-horizontal .noUi-handle {
    width: 18px;
    height: 18px;
    right: -9px;
    top: -6px;
}
/* Reveal Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.offer-item,
.reference-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--animation-order, 0) * 100ms);
}

/* Section Reveal Animation */
.section-reveal {
    opacity: 0;
}

.section-reveal.is-visible {
    animation: fadeInLeft 0.8s ease-out forwards;
}

/* Offer Card Styles */
.offer-content {
    background-color: rgba(30,30,30, 0.85);
    padding: 1.5rem 1.25rem;
    transition: background-color 0.3s ease;
}

.offer-item:hover .offer-content {
    background-color: rgba(30,30,30, 0.95);
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.offer-address {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
    display: flex;
    align-items: center;
}

.offer-address i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Button Loading/Disabled State */
.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #930e33 !important;
    border-color: #930e33 !important;
    color: white !important;
    opacity: 0.9;
}

/* Button Active/Focus States Override */
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: #7a0c2a !important;
    border-color: #7a0c2a !important;
    box-shadow: 0 0 0 0.25rem rgba(147, 14, 51, 0.5) !important;
}

.btn-primary:active:focus,
.btn-primary:active:hover {
    background-color: #630a22 !important;
    border-color: #630a22 !important;
    color: white !important;
}

/* Offer Card Hover State */
.offer-hover-overlay {
    background-color: rgba(147, 14, 51, 0.9);
    top: -100%;
    transition: top 0.4s ease-in-out;
    z-index: 10;
}

.offer-item:hover .offer-hover-overlay {
    top: 0;
}

.offer-hover-overlay .offer-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.offer-hover-overlay .offer-address {
    font-size: 0.9rem;
    opacity: 0.9;
}

.offer-hover-overlay .offer-address i {
    color: white !important; /* Force white icon in overlay */
}

/* Hide default content on hover to prevent overlapping if transparency is used */
/* Or keep it if the overlay is opaque enough. With 0.9 opacity slight see-through is nice */


/* Ratio Portrait (110%) */
.ratio-portrait {
    --bs-aspect-ratio: 110%;
}
.ratio-portrait::before {
    padding-top: 110%;
    content: "";
    display: block;
}

/* Offer Content Sliding Animation */
.offer-content {
    transform: translateY(0);
    transition: transform 0.4s ease-in-out;
}

.offer-item:hover .offer-content {
    transform: translateY(100%);
}

/* Customize Hover Overlay Content */
.offer-hover-overlay .hover-content {
    margin-bottom: 0; /* Remove padding if handled by flex */
}

/* Bottom Action Bar Styles handled by utility classes, ensuring colors match custom primary */
.offer-action-bar .bg-primary {
    background-color: #930e33 !important;
}
.offer-action-bar .text-primary .bi {
    color: #930e33 !important;
}

/* Offer Action Bar Elements */
.offer-action-bar .action-icon {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important; /* Ensure flex doesn't shrink it */
}

.offer-action-bar .action-text {
    height: 60px !important;
    letter-spacing: 1px;
}

/* Section Styles */
.section-padding {
    padding: 4rem 0;
}
.section-separator {
    width: 2px !important;
    height: 30px !important;
    background-color: var(--primary-color) !important;
    opacity: 1 !important;
}

.text-primary-theme {
    color: var(--primary-color) !important;
}

/* Custom White Button for Hero Search */
.btn-white-custom {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    border: none !important;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-white-custom:hover,
.btn-white-custom:focus,
.btn-white-custom:active {
    background-color: #f0f0f0 !important;
    color: #7a0c2a !important; /* Darker shade of primary */
    box-shadow: none !important;
}

/* Custom Select Style */
select.form-control.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2rem;
    cursor: pointer;
}

select.form-control.custom-select:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    border-color: white;
}

/* Custom Dropdown Styles (Lokalita) */
.custom-dropdown-wrapper .dropdown-toggle {
    appearance: none;
    -webkit-appearance: none; 
    color: #495057;
}

.custom-dropdown-wrapper .dropdown-toggle::after {
    display: none !important; /* Hide default bootstrap arrow to use custom icon */
}

/* Dropdown Menu Styles */
.custom-dropdown-wrapper .dropdown-menu {
    border-radius: 8px; /* Rounded corners as in screenshot */
    overflow: hidden; /* Ensure content respects border radius */
    margin-top: 10px; /* Spacing from input */
    background-color: white; /* Background handled by items */
    border: 1px solid rgba(0,0,0,0.1);
    z-index: 1050;
}

.custom-dropdown-wrapper .dropdown-item {
    color: var(--primary-color) !important;
    background-color: white !important;
    border-bottom: 1px solid #dee2e6 !important; /* Made slightly darker */
}

.custom-dropdown-wrapper li:last-child .dropdown-item {
    border-bottom: none !important;
}

.custom-dropdown-wrapper .dropdown-item:hover,
.custom-dropdown-wrapper .dropdown-item:focus {
    background-color: #f8f9fa !important;
    color: var(--primary-color) !important;
}

.custom-dropdown-wrapper .dropdown-item.active {
    background-color: #f8f9fa !important;
    font-weight: bold;
    color: var(--primary-color) !important;
}
/* Add checkmark on active item */
.custom-dropdown-wrapper .dropdown-item.active::after {
    content: "\F26B"; /* bootstrap-icons check2 */
    font-family: "bootstrap-icons";
    float: right;
    color: var(--primary-color);
}

.custom-dropdown-wrapper .dropdown-header {
    font-size: 1rem;
}

/* Home Page Specific Styles */
.custom-dropdown-wrapper .dropdown-toggle::after {
    display: none !important;
}

.bg-gray-light {
    background-color: #f3f4f6;
}

.section-separator-red {
    width: 2px; 
    background-color: var(--primary-color);
}

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

.section-title-height {
    line-height: 1;
}

.text-base {
    font-size: 1rem;
}

.card-overlay-dark {
    background: rgba(0,0,0,0.65);
}

.districts-grid-wrapper {
    background-color: #e6e6e6;
    border-radius: 4px; /* Same border-radius as form elements */
}

.district-link {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.district-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(10px);
}

.district-card-title {
    font-size: 1.15rem;
}

.district-card {
    border-radius: 4px !important; /* Same border-radius as form elements */
}

.district-card-img {
    transition: transform 0.5s ease;
}

.district-card:hover .district-card-img {
    transform: scale(1.1);
}

.card-separator-white {
    width: 2px; 
    height: 15px;
}

.text-gray-light {
    color: #ddd;
}

.offer-card-link {
    border-radius: 4px;
}

/* References Slider Styling */
.reference-name {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #000;
}
.reference-meta {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}
.reference-text {
    font-size: 1rem !important;
}

.references-arrows {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0 !important;
}

.references-arrows .custom-arrow {
    background: white;
    border: none;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #930e33;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.references-arrows .custom-arrow:hover {
    background-color: #930e33;
    color: white;
}

/* Hide default Splide pagination/arrows for references if they appear */
#referencesSlider .splide__pagination { display: none; }
#referencesSlider .splide__arrows { display: none; }

/* Desktop References Controls (> 768px) */
.references-controls {
    position: relative;
    min-height: 50px;
}
.references-controls .references-arrows {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Why Choose Us Section */
.why-us-card {
    background-color: #930e33 !important;
    color: white !important;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.why-us-card h5,
.why-us-card p,
.why-us-card i {
    color: white !important;
}
.why-us-card h5 {
    font-size: 1.3rem;
}
.why-us-card:hover {
    transform: translateY(-5px);
}

.why-us-section {
    background-color: #f5f5f5;
}

.why-us-image {
    max-height: 500px;
    border-radius: 4px;
}

.why-us-btn-wrapper {
    bottom: 30px;
    width: 80%;
}

.why-us-btn {
    background-color: #930e33 !important;
    border-color: #930e33 !important;
}

.why-us-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.why-us-bg-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%; /* Narrower width for image */
    z-index: 3;
    text-align: center;
}

.why-us-img-wrapper {
    aspect-ratio: 1 / 0.8;
}

.why-us-bg-image {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.why-us-btn-wrapper {
    bottom: 30px;
    width: 80%;
}

.why-us-btn {
    background-color: #930e33 !important;
    border-color: #930e33 !important;
}

.why-us-card {
    position: relative;
    z-index: 2;
    background-color: #930e33 !important;
    color: white !important;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.why-us-card h5,
.why-us-card p,
.why-us-card i {
    color: white !important;
}
.why-us-card h5 {
    font-size: 1.3rem;
}
.why-us-card:hover {
    transform: translateY(-5px);
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    z-index: 0;
}

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

.about-content-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
}

.about-text-card {
    background: white;
    padding: 3rem 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Footer Styles */
.footer-map-section {
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.footer-map-section .map-container iframe {
    filter: grayscale(50%);
}

.footer-contact-card {
    border-radius: 4px;
}

.footer-bottom {
    background-color: #930e33;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav a, 
.footer-nav-secondary a,
.footer-copy {
    font-size: 1rem;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-weight: 500;
    color: white;
}

.footer-nav a:hover, 
.footer-nav-secondary a:hover {
    opacity: 1;
    color: white !important;
}

#scrollToTopBtn {
    width: 45px;
    height: 45px;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    z-index: 1000; /* Ensure it is above other elements */
    opacity: 0;
    visibility: hidden;
}

#scrollToTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* =========================================
   Property Search Page Styles
   ========================================= */

.property-search-section input::placeholder,
.property-search-section select {
    font-size: 0.9rem;
    color: #6c757d;
}

.property-search-section select:focus,
.property-search-section input:focus {
    box-shadow: none;
}

/* Slider Customization */
.custom-slider {
    height: 1px !important;
    background: rgba(255,255,255,0.3) !important;
    border: none !important;
    box-shadow: none !important;
}

.custom-slider .noUi-connect {
    background: #fff !important;
}

.custom-slider .noUi-handle {
    height: 16px !important;
    width: 16px !important;
    top: -8px !important;
    right: -8px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.custom-slider .noUi-handle:before,
.custom-slider .noUi-handle:after {
    display: none !important;
}

/* Map */
.property-map {
    width: 100%;
}



/* Property Search Styles - Refactored from inline styles */
.text-brand {
    color: #930e33 !important;
}

.bg-brand {
    background-color: #930e33 !important;
}

.property-map-container {
    height: 45vh !important;
    min-height: 400px !important;
}

.property-search-input, 
.property-search-select,
.btn-reset-filters {
    height: 50px !important;
}

.property-search-select {
    cursor: pointer;
}

.property-range-input {
    height: 40px !important;
}

.btn-reset-filters {
    background: white !important;
    color: #930e33 !important;
    border: none !important;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    background: #f8f9fa !important;
    color: #7a0c2a !important;
}

.section-separator-vertical {
    height: 30px !important; 
    width: 3px !important; 
    background-color: #930e33 !important;
}

/* Pagination Styles */
.page-item .page-link {
    color: #930e33 !important;
    background-color: #fff !important;
    border-color: #dee2e6 !important;
    box-shadow: none !important;
}

.page-item.active .page-link {
    color: #fff !important;
    background-color: #930e33 !important;
    border-color: #930e33 !important;
}

.page-item .page-link:hover {
    color: #7a0c2a !important;
    background-color: #f8f9fa !important;
}

.page-item.active .page-link:hover {
    color: #fff !important;
    background-color: #930e33 !important;
}

/* Custom Pagination Styles - Scoped override using Bootstrap variables */
.custom-pagination-container {
    --bs-pagination-active-bg: #930e33;
    --bs-pagination-active-border-color: #930e33;
    --bs-pagination-color: #930e33;
    --bs-pagination-hover-color: #7a0c2a;
    --bs-pagination-focus-color: #7a0c2a;
    --bs-pagination-active-color: #fff;
}

.custom-pagination-container .pagination {
    margin-bottom: 0;
    gap: 0.25rem;
}

/* Force override if variables are not enough or supported broadly */
.custom-pagination-container .page-link {
    color: #930e33; 
    box-shadow: none !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.custom-pagination-container .page-item.active .page-link {
    background-color: #930e33 !important;
    border-color: #930e33 !important;
    color: #fff !important;
}

.custom-pagination-container .page-link:hover {
    color: #7a0c2a;
    background-color: #f8f9fa;
}

.custom-pagination-container .page-item.active .page-link:hover {
    background-color: #930e33 !important;
    color: #fff !important;
}

/* Property Detail Page Styles */
.hero-detail-section {
    height: 30vh;
    min-height: 400px;
    background-color: #333;
}

.property-cta-box {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px;
    height: fit-content;
    transform: translateY(20%);
    margin-top: 0;
    z-index: 2;
}

/* Scoped Gallery Styles */
.gallery-container .splide__slide {
    min-height: 500px;
}
.gallery-container .splide__arrow {
    background: #930e33;
    opacity: 1;
    width: 3em; 
    height: 3em;
    transition: background-color 0.3s;
}

.gallery-container .splide__arrow:hover {
    background: #7a0c2a;
}

.gallery-container .splide__arrow svg {
    fill: white;
}

.gallery-container #thumbnail-slider .splide__slide {
    opacity: 0.6;
    transition: opacity 0.3s;
    border: 2px solid transparent;
}

.gallery-container #thumbnail-slider .splide__slide.is-active {
    opacity: 1;
    border-color: #930e33;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

/* Custom Brand Colors */
.bg-brand {
    background-color: #930e33 !important;
}

.text-brand {
    color: #930e33 !important;
}

.border-brand {
    border-color: #930e33 !important;
}

/* Inline Styles Refateor */
.hero-bg-image {
    opacity: 0.8;
    z-index: 0;
}

.hero-content-overlay {
    z-index: 1;
}

.cta-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.offer-detail-section .small {
    font-size: 1rem;
}
/* Contact Link Hover Effect */
.contact-link-hover {
    transition: all 0.3s ease;
    text-decoration: none;
}
.contact-link-hover:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

/* Property Description Styles */
.property-description {
    line-height: 1.8;
    color: #6c757d;
}
.property-description h1,
.property-description h2,
.property-description h3,
.property-description h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--bs-primary);
    text-transform: uppercase;
    font-size: 1.25rem;
}
.property-description ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.property-description ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}
.property-description ul li::before {
    content: "—"; /* Dash */
    position: absolute;
    left: 0;
    color: var(--bs-primary);
    font-weight: bold;
}
.property-description p {
    margin-bottom: 1.5rem;
}

/* Commercial Terms Box */
.commercial-terms-box {
    background-color: var(--bs-primary);
    color: white;
    border-radius: 4px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.commercial-terms-box h3 {
    font-size: 1.75rem;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 1.5rem;
}

.commercial-terms-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.commercial-terms-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.commercial-terms-list li:last-child {
    border-bottom: none;
}

.commercial-terms-list .term-label {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.9;
    max-width: 60%;
}
.commercial-terms-list .term-label sup {
    font-size: 0.6em;
}

.commercial-terms-list .term-value {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: right;
}

/* Similar Offers */
.similar-offers-section {
    background-color: #f8f9fa;
}
.similar-offer-card {
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.similar-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.similar-offer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(147, 14, 51, 0.95), rgba(147, 14, 51, 0.7), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}
.similar-offer-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}


/* Blur Text Effect */
.blur-text {
    filter: blur(4px);
    user-select: none;
}

/* Contact Page Styling */
.bg-primary-red {
    background-color: var(--primary-color) !important;
}

.text-gray {
    color: #6c757d !important;
}

.shadow-to-right {
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.contact-box {
    border-radius: 4px;
    overflow: hidden;
}

.form-control-flat {
    background-color: #fff;
    border: none;
    border-radius: 4px; /* Default for flat controls in contact form */
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    color: #333;
}

.form-control-flat:focus {
    background-color: #fff;
    box-shadow: none; /* No focus outline */
}

.form-control-flat::placeholder {
    color: #888;
}

/* Custom Checkbox for Red Background */
.form-check-white .form-check-input {
    background-color: #fff;
    border: none;
    border-radius: 4px !important;
    cursor: pointer;
}

.form-check-white .form-check-input:checked {
    background-color: #fff;
    border-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23930e33%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10l3 3l6-6%27/%3e%3c/svg%3e");
}

.form-check-white .form-check-label a {
    color: #fff;
    text-decoration: underline;
}

.btn-white-custom {
    background-color: #fff;
    color: var(--primary-color);
    border: none;
    border-radius: 0;
    transition: background-color 0.2s ease;
}

.btn-white-custom.border-radius-4 {
    border-radius: 4px;
}

.btn-white-custom:hover, 
.btn-white-custom:focus {
    background-color: #f2f2f2;
    color: var(--primary-color);
}

.contact-address, .contact-details {
    line-height: 1.8;
}

.contact-info-content a {
    transition: color 0.2s ease;
}

.contact-info-content a:hover {
    color: var(--primary-color) !important;
}

.email-indent {
    padding-left: 3.6rem;
    display: inline-block;
}

/* Thank You Page */
.thank-you-icon {
    font-size: 4rem;
}
/* Inquiry Modal Background */
.inquiry-modal-bg {
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}


/* Advice Modal Styling */
.advice-modal-content {
    background-color: var(--primary-color) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: none !important;
    border-radius: 4px !important;
    color: #fff !important;
}

.advice-modal-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-family: 'Helvetica Neue LT Pro 45 Light', sans-serif;
}

.advice-modal-text {
    color: #fff;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'Helvetica Neue LT Pro 45 Light', sans-serif;
}

.btn-advice-action {
    background-color: #fff;
    color: var(--primary-color);
    text-transform: uppercase;
    padding: 0.7rem 2rem;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-advice-action:hover,
.btn-advice-action:focus {
    background-color: #f2f2f2;
    color: var(--primary-color);
    box-shadow: none;
}

.advice-modal-content .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}

.advice-modal-content .btn-close:hover {
    opacity: 1;
}

.offer-card-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.offer-card-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.gdpr-content a {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.gdpr-content a:hover {
    color: #7a0c2a !important;
    text-decoration: underline;
}

.district-dropdown {
    padding: 0.7rem; 
    border-radius: 4px;
}
.reference-card-main {
    background-color: #fff;
}
.why-us-header {
    z-index: 2;
}
.why-us-cards-wrapper {
    z-index: 3;
}
.section-separator.section-separator-property {
    height: 65px !important;
}
.price-btn {
    max-width: 300px;
}
.dropdown-autocomplete {
    display: none; 
    top: 100%; 
    left: 0;
}

/* 404 Page Styles */
.page-404-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: var(--primary-color);
}

.sticky-lg-content {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
}