/* -------------------------------------------------------------
   1. Brand Gradients & Base Utilities
------------------------------------------------------------- *//* Container Spacing */
.custom-card-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Two Column Grid */
.custom-card-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 640px) {
  .custom-card-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* CF7 Span Fix */
.custom-card-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Labels */
.custom-card-form .form-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #334155;
  margin-bottom: 8px;
}

.custom-card-form .req {
  color: #f43f5e;
}

/* Inputs & Textarea */
.custom-card-form .custom-input,
.custom-card-form .custom-textarea {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: #334155;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s ease-in-out;
}

.custom-card-form .custom-input::placeholder,
.custom-card-form .custom-textarea::placeholder {
  color: #94a3b8;
}

.custom-card-form .custom-input:focus,
.custom-card-form .custom-textarea:focus {
  background-color: #ffffff;
  border-color: #d1a457;
  box-shadow: 0 0 0 2px rgba(209, 164, 87, 0.2);
}

.custom-card-form .custom-textarea {
  resize: none;
  min-height: 140px;
}

/* Submit Button */
.custom-card-form .custom-submit-btn {
  display: inline-block;
  background-color: #eec278;
  color: #1e293b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(238, 194, 120, 0.5);
  transition: all 0.2s ease;
}

.custom-card-form .custom-submit-btn:hover {
  background-color: #e5b360;
  transform: translateY(-1px);
}

.custom-card-form .custom-submit-btn:active {
  transform: translateY(0);
}
.gold-gradient {
    background: linear-gradient(135deg, #f0cf90 0%, #cba766 100%);
}

.text-gold-gradient {
    background: linear-gradient(135deg, #f0cf90 0%, #d4b16e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0rem 0;
}

.page-numbers li {
    margin: 0;
}

.page-numbers .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background-color: #ffffff;
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Hover State for Links */
.page-numbers a.page-numbers:hover {
    background-color: #f8fafc;
    border-color: #cba766;
    color: #0a1424;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(203, 167, 102, 0.25);
}

/* Current / Active Page Style */
.page-numbers span.page-numbers.current {
    background: linear-gradient(135deg, #f0cf90 0%, #cba766 100%);
    color: #0a1424;
    border-color: transparent;
    box-shadow: 0 8px 20px -4px rgba(238, 194, 120, 0.5);
}

/* Next / Previous Buttons adjustments */
.page-numbers a.next, 
.page-numbers a.prev {
    padding: 0 20px;
}
/* -------------------------------------------------------------
   2. Global Breadcrumb / Page Banner
------------------------------------------------------------- */
.page-banner {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #0a1424;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 640px) {
    .page-banner {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.2;
}

.page-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0a1424, rgba(10, 20, 36, 0.9), rgba(10, 20, 36, 0.8));
}

/* -------------------------------------------------------------
   3. Property Card Component
------------------------------------------------------------- */
.property-card {
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
    .property-card {
        width: calc(50% - 16px);
    }
}

@media (min-width: 1024px) {
    .property-card {
        width: calc(33.333% - 22px);
    }
}

.property-card:hover {
    transform: translateY(-0.375rem);
    border-color: #cba766;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.property-card-media {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.property-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}

.property-card:hover .property-card-media img {
    transform: scale(1.05);
}

.property-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.property-badge-sale {
    background-color: #0a1424;
    color: #f0cf90;
}

.property-badge-rent {
    background-color: #cba766;
    color: #ffffff;
}

.property-card-body {
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .property-card-body {
        padding: 1.75rem;
    }
}

.property-card-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a1424;
    margin-bottom: 0.375rem;
}

.property-card-price span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #64748b;
}

.property-card-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 1.5rem;
}

.property-card-specs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
}

.property-card-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.property-card-specs i,
.property-card-specs svg {
    width: 1rem;
    height: 1rem;
    color: #0a1424;
}

/* -------------------------------------------------------------
   4. Team Card Component
------------------------------------------------------------- */
.team-card {
    background-color: #fcfcfb;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-0.375rem);
    border-color: rgba(203, 167, 102, 0.6);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.team-card-photo {
    position: relative;
    height: 18rem;
    overflow: hidden;
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.7s ease-out;
}

.team-card:hover .team-card-photo img {
    transform: scale(1.05);
}

.team-card-info {
    padding: 1.5rem;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1424;
    transition: color 0.3s ease;
}

.team-card:hover .team-card-name {
    color: #cba766;
}

.team-card-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: #cba766;
    margin-top: 0.25rem;
}

.team-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0a1424;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    transition: color 0.3s ease;
}

.team-card-link:hover {
    color: #cba766;
}

.team-card-link i,
.team-card-link svg {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.3s ease;
}

.team-card-link:hover i,
.team-card-link:hover svg {
    transform: translateX(0.25rem);
}
/* -------------------------------------------------------------
   5. Modern Glassmorphism Search Bar & Multi-Select Dropdowns
------------------------------------------------------------- */
.filter-bar-wrapper {
    background-color: #060d18;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    position: relative;
    z-index: 20;
}

.filter-glass-card {
    background: rgba(18, 32, 56, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


.filter-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-input-icon {
    position: absolute;
    left: 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    color: #f0cf90;
    pointer-events: none;
}

.filter-input {
    width: 100%;
    height: 3.25rem;
    padding-left: 3rem;
    padding-right: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 1rem;
    font-size: 0.875rem;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
}

.filter-input::placeholder {
    color: #94a3b8;
}

.filter-input:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: #f0cf90;
    box-shadow: 0 0 0 3px rgba(240, 207, 144, 0.15);
}

.filter-select {
    width: 100%;
    height: 3.25rem;
    padding: 0 2.5rem 0 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    border-radius: 1rem;
    font-size: 0.875rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f0cf90' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    transition: all 0.25s ease;
}

.filter-select option {
    background-color: #0a1424;
    color: #ffffff;
}

/* Custom Multi-Select Dropdown Component */
.multi-dropdown {
    position: relative;
    width: 100%;
}

.multi-dropdown-trigger {
    width: 100%;
    height: 3.25rem;
    padding: 0 1rem 0 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: #f1f5f9;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease;
}

.multi-dropdown-trigger:hover,
.multi-dropdown.open .multi-dropdown-trigger {
    border-color: #f0cf90;
    background: rgba(255, 255, 255, 0.09);
}

.multi-dropdown.open .trigger-chevron {
    transform: rotate(180deg);
}

.multi-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    min-width: 250px;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.multi-dropdown.open .multi-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.multi-dropdown-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.375rem;
    margin-bottom: 0.625rem;
}

.multi-action-btn {
    padding: 0.45rem 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-align: center;
    transition: all 0.2s ease;
}

.multi-action-btn:hover {
    background: #0a1424;
    color: #f0cf90;
    border-color: #0a1424;
}

.multi-search-input {
    width: 100%;
    height: 2.25rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    font-size: 0.8125rem;
    color: #0f172a;
    outline: none;
    margin-bottom: 0.5rem;
}

.multi-search-input:focus {
    border-color: #cba766;
}

.multi-options-list {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-right: 0.25rem;
}

.multi-options-list::-webkit-scrollbar {
    width: 5px;
}

.multi-options-list::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.multi-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    color: #1e293b;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

.multi-option-item:hover {
    background: #f8fafc;
}

.multi-option-item input[type="checkbox"] {
    display: none;
}

.multi-option-item .check-indicator {
    width: 1.15rem;
    height: 1.15rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.multi-option-item input:checked + .check-indicator {
    background: #0a1424;
    border-color: #0a1424;
}

.multi-option-item input:checked + .check-indicator::after {
    content: "✓";
    color: #f0cf90;
    font-size: 0.7rem;
    font-weight: 900;
}

/* Advanced & Search Action Buttons */
.filter-btn-advanced {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    height: 3.25rem;
    padding: 0 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
}

.filter-btn-advanced:hover,
.filter-btn-advanced.active {
    background: rgba(240, 207, 144, 0.12);
    border-color: #f0cf90;
    color: #f0cf90;
}

.filter-btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3.25rem;
    padding: 0 2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f0cf90 0%, #cba766 100%);
    color: #0a1424;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    box-shadow: 0 10px 20px -5px rgba(240, 207, 144, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(240, 207, 144, 0.4);
    background: linear-gradient(135deg, #dfbe7e 0%, #b89453 100%);
}

/* Smooth Accordion Panels using CSS Grid */
.smooth-accordion {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        visibility 0.4s ease;
}

.smooth-accordion.open {
    max-height: 800px; /* Safe upper limit for content height */
    opacity: 1;
    visibility: visible;
}

.smooth-accordion-inner {
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.smooth-accordion.open .smooth-accordion-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Dual Range Slider */
.range-slider-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 36px;
    display: flex;
    align-items: center;
}

.range-slider-track {
    position: absolute;
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
}

.range-slider-highlight {
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, #f0cf90, #cba766);
    border-radius: 9999px;
    z-index: 1;
}

.range-slider-container input[type="range"] {
    position: absolute;
    width: 100%;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
    margin: 0;
}

.range-slider-container input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #f0cf90;
    border: 3px solid #0a1424;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(240, 207, 144, 0.6);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.range-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #ffffff;
}

.range-slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #f0cf90;
    border: 3px solid #0a1424;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(240, 207, 144, 0.6);
}

/* Feature Checkboxes */
.feature-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #cbd5e1;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.feature-checkbox:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 207, 144, 0.3);
    color: #ffffff;
}

.feature-checkbox input {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-content: center;
    transition: all 0.2s ease;
}

.feature-checkbox input:checked {
    background: #f0cf90;
    border-color: #f0cf90;
}

.feature-checkbox input:checked::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    background: #0a1424;
    border-radius: 0.075rem;
}

.feature-checkbox:has(input:checked) {
    background: rgba(240, 207, 144, 0.1);
    border-color: rgba(240, 207, 144, 0.4);
    color: #f0cf90;
}
/* -------------------------------------------------------------
   Property Detail Page Specific Styles
------------------------------------------------------------- */
.property-gallery-grid img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-gallery-grid img:hover {
  transform: scale(1.03);
}

/* Lightbox Modal */
.property-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(6, 13, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.property-modal.open {
  opacity: 1;
  visibility: visible;
}

.property-modal img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  animation: modalZoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalZoom {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-control-btn {
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 110;
}

.modal-control-btn:hover {
  background: #f0cf90;
  color: #0a1424;
  border-color: #f0cf90;
  transform: scale(1.08);
}

.modal-close {
  top: 1.5rem;
  right: 1.5rem;
}

.modal-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.modal-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.modal-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}