
:root {
  --color-primary: #4c5687;
  --color-secondary: #666666;
  --color-gradient-start: #4c5687;
  --color-gradient-stop: #4c5687;
  --color-light-purple: #eaedff;
  --color-medium-purple: #4c56879d;
}

/* KozGoPro Font */
@font-face {
  font-family: 'KozGoPro';
  src: url('../fonts/KozGoPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'KozGoPro';
  src: url('../fonts/KozGoPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'KozGoPro';
  src: url('../fonts/KozGoPro-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'KozGoPro';
  src: url('../fonts/KozGoPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'KozGoPro';
  src: url('../fonts/KozGoPro-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'KozGoPro';
  src: url('../fonts/KozGoPro-Heavy.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

body, p, a, span, li, input, textarea, button {
  font-family: 'KozGoPro', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'KozGoPro', sans-serif !important;
}

.text-gray {
  color: var(--color-secondary) !important;
}

.iconbox-purple {
  background-color: var(--color-light-purple);
}

.flickity-page-dots {
  margin-top: 40px;
  bottom: -60px;
}

/* Testimonials carousel nav white */
.bg-primary .carousel-nav .flickity-prev-next-button svg,
.bg-primary .flickity-prev-next-button svg {
  fill: #fff;
  stroke: #fff;
}

.liquid-blog-scheme-dark .btn-line {
  background-color: var(--color-secondary);
}

.contact-form-home select,
.contact-form-home input,
.contact-form-home textarea,
.contact-form-home .ui-selectmenu-button {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.contact-form-home select option {
  color: #020202 !important;
}

.contact-form-home input[type=submit],
.contact-form-home button[type=submit] {
  background-color: #fff !important;
  color: var(--color-primary) !important;
}

.contact-form-investments input:focus {
  background-color: #f4f5f8  !important;
}

.contact-form-investments input[type=submit]:focus,
.contact-form-downloads input[type=submit]:focus {
  background-color: var(--color-primary)  !important;
}

/* Global Property Cards */
.global-property-grid {
  display: flex !important;
  flex-wrap: wrap;
  position: relative !important;
  height: auto !important;
}

.global-property-col {
  position: static !important;
  display: flex;
  flex: 0 0 33.333333% !important;
  max-width: 33.333333% !important;
  margin-bottom: 30px;
}

.global-property-card {
  position: relative;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.global-property-card:hover {
  box-shadow: 0 8px 24px rgba(76, 86, 135, 0.15);
  transform: translateY(-4px);
}

.global-property-card .liquid-lp-media {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.global-property-card .liquid-lp-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.global-property-country-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.global-property-city-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.global-property-status-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #fff;
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.global-property-card .liquid-blog-item-inner {
  padding: 20px;
}

.global-property-revenue-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding: 4px 0;
}

.global-property-card .liquid-lp-title {
  margin-bottom: 12px;
  line-height: 1.3;
}

.global-property-card .liquid-lp-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.global-property-card .liquid-lp-title a:hover {
  color: var(--color-primary);
}

.global-property-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.global-property-stats i {
  color: var(--color-primary);
  font-size: 20px;
}

.global-property-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  /* margin-bottom: 10px; */
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(76, 86, 135, 0.15);
}

.global-property-price-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.global-property-price-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}

.global-property-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--color-light-purple);
  border-radius: 20px;
  width: fit-content;
}

.global-property-status i {
  font-size: 14px;
}

/* .global-property-status .fa-cog {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
} */

.global-property-card .liquid-lp-footer {
  margin-top: 0;
}

/* Dark scheme adjustments */
.liquid-blog-scheme-dark .global-property-card {
  background: #1a1a2e;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.liquid-blog-scheme-dark .global-property-card:hover {
  box-shadow: 0 8px 24px rgba(76, 86, 135, 0.25);
}

.liquid-blog-scheme-dark .global-property-price {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1199px) {
  .global-property-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 991px) {
  .global-property-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  .global-property-card .liquid-lp-media img {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .global-property-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .global-property-card .liquid-lp-media img {
    height: 220px;
  }
  
  .global-property-price-value {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .global-property-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .global-property-card .liquid-lp-media img {
    height: 200px;
  }
  .global-property-card .liquid-blog-item-inner {
    padding: 16px;
  }
}

/* Unit Table */

/* Property Filter Bar */
.property-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 30px;
    gap: 15px;
}

.filter-bar-left {
  display: flex;
  align-items: center;
}

.filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px; /* Pill shape */
    background: #ffffff;
    color: #2d3436;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft shadow instead of border */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-toggle-btn i {
    font-size: 16px;
    color: #636e72;
}

.filter-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: #fdfdfd;
}

/* Active Filters Bar */
.active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 24px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 10px;
}


.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(var(--color-primary-rgb, 108, 92, 231), 0.08); /* Light tint of primary color */
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary, #6c5ce7);
    animation: fadeIn 0.3s ease;
}

.filter-tag button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.2s;
    font-size: 14px;
}

.filter-tag button:hover {
    opacity: 1;
}

.clear-all-btn {
    font-size: 13px;
    font-weight: 600;
    color: #b2bec3;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.2s;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.clear-all-btn:hover {
    color: #d63031;
}

/* Sort dropdown */
.filter-bar-right {
  position: relative;
}

.sort-dropdown-wrapper {
  position: relative;
}

.sort-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #636e72;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.sort-toggle-btn #sortLabel {
    color: #2d3436;
    font-weight: 700;
}

.sort-toggle-btn:hover {
    background: rgba(0,0,0,0.03);
}

/* .sort-toggle-btn:hover,
.sort-toggle-btn.is-open {
  border-color: var(--color-primary);
  color: var(--color-primary);
} */

.sort-toggle-btn svg:last-child {
  transition: transform 0.2s ease;
}

.sort-toggle-btn.is-open svg:last-child {
  transform: rotate(180deg);
}

.sort-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0,0,0,0.03);
    padding: 8px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

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

.sort-option {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    color: #636e72;
    cursor: pointer;
    transition: all 0.2s;
}

.sort-option:hover {
    background: #f8f9fa;
    color: #2d3436;
}

.sort-option.active {
    background: rgba(var(--color-primary-rgb, 108, 92, 231), 0.1);
    color: var(--color-primary, #6c5ce7);
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Filter Overlay */
.filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.filter-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.filter-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.filter-panel {
  position: relative;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  max-height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.filter-overlay.is-open .filter-panel {
  transform: translateX(0);
}

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.filter-panel-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.filter-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f5f5f5;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.filter-close-btn:hover {
  background: #eee;
  color: #333;
}

.filter-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.filter-section {
  margin-bottom: 28px;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.filter-option:hover {
  background: #f5f5f5;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-checkbox {
  width: 20px;
  height: 20px;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.filter-checkbox::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s ease;
}

.filter-option input[type="checkbox"]:checked ~ .filter-checkbox {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.filter-option input[type="checkbox"]:checked ~ .filter-checkbox::after {
  transform: rotate(-45deg) scale(1);
}

.filter-label {
  font-size: 14px;
  color: #444;
  font-weight: 400;
}

@media (max-width: 768px) {
    .filter-bar-left {
        width: 100%;
        margin-bottom: 10px;
    }
    .filter-toggle-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Price Range */
.price-range-inputs {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.price-input-group {
  flex: 1;
}

.price-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #888;
  margin-bottom: 6px;
}

.price-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #fafafa;
  transition: all 0.2s ease;
}

.price-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-preset-btn {
  padding: 7px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: #fff;
  color: #555;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.price-preset-btn:hover,
.price-preset-btn.is-selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Filter Panel Footer */
.filter-panel-footer {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #eee;
}

.btn-filter-reset,
.btn-filter-apply {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-reset {
  background: #f5f5f5;
  border: none;
  color: #555;
}

.btn-filter-reset:hover {
  background: #eee;
}

.btn-filter-apply {
  background: var(--color-primary);
  border: none;
  color: #fff;
}

.btn-filter-apply:hover {
  background: #3d4570;
}

/* Responsive */
@media (max-width: 767px) {
  .property-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-bar-left,
  .filter-bar-right {
    width: 100%;
  }
  
  .filter-bar-right {
    justify-content: flex-end;
  }
  
  .sort-dropdown {
    right: 0;
    left: 0;
    min-width: auto;
  }
  
  .filter-panel {
    width: 100vw;
    max-width: 100vw;
  }
  
  .price-range-inputs {
    flex-direction: column;
  }
}

/* Payment Plan Table */
.payment-plan-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
}

.pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #4c5687;
    background: #fff;
    border: 2px solid #e8e8ef;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pagination .page-item.active .page-link {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(76, 86, 135, 0.3);
}

.pagination .page-item .page-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 86, 135, 0.25);
}

.pagination .page-item.disabled .page-link {
    color: #b0b0c0;
    background: #f5f5fa;
    border-color: #e8e8ef;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination .page-item.disabled .page-link:hover {
    background: #f5f5fa;
    border-color: #e8e8ef;
    color: #b0b0c0;
    transform: none;
    box-shadow: none;
}

.payment-plan-table thead {
    background: var(--color-primary);
    color: #fff;
}

.payment-plan-table thead th {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border: none;
    vertical-align: middle;
}

.payment-plan-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
}

.payment-plan-table tbody tr:hover {
    background: rgba(76, 86, 135, 0.04);
}

.payment-plan-table tbody td {
    padding: 16px 20px;
    font-size: 15px;
    vertical-align: middle;
    text-align: center;
}

.payment-plan-table .table-section-header {
    background: #f8f9fa;
}

.payment-plan-table .table-section-header td {
    font-weight: 700;
    color: var(--color-primary);
    padding: 12px 20px;
    /* border-bottom: 2px solid var(--color-primary); */
}

.payment-plan-table .btn-sm {
    padding: 6px 18px;
    font-size: 12px;
}

@media (max-width: 767px) {
    .payment-plan-table thead th,
    .payment-plan-table tbody td {
        padding: 12px 10px;
        font-size: 13px;
    }
}

/* Unit Table */
.unit-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.unit-table thead {
  background: var(--color-primary);
  color: #fff;
}

.unit-table thead th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  border: none;
}

.unit-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease;
}

.unit-table tbody tr:hover {
  background: rgba(76, 86, 135, 0.04);
}

.unit-table tbody td {
  padding: 16px 20px;
  font-size: 15px;
  vertical-align: middle;
}

.unit-table .badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.unit-table .badge-success {
  background: rgba(40, 167, 69, 0.12);
  color: #28a745;
}

.unit-table .badge-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #c5960a;
}

.unit-table .btn-sm {
  padding: 6px 18px;
  font-size: 12px;
}

@media (max-width: 767px) {
  .unit-table thead th,
  .unit-table tbody td {
    padding: 12px 10px;
    font-size: 13px;
  }
  
  .unit-table .badge {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* Product Gallery */
.product-gallery {
  max-width: 1000px;
  margin: 0 auto;
}

.product-gallery-main {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #f5f5f5;
  margin-bottom: 16px;
}

.product-gallery-image {
  display: none;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.product-gallery-image.active {
  display: block;
}

.product-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.gallery-nav-btn {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.product-gallery-thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 75px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.product-gallery-thumb.active {
  border-color: var(--color-primary);
  opacity: 1;
}

.product-gallery-thumb:hover {
  opacity: 1;
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .product-gallery-thumb {
    width: 80px;
    height: 60px;
  }
  
  .gallery-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

.cards-icons .row {
    display: flex;
    flex-wrap: wrap;
}

.cards-icons .row > [class*="col-"] {
    float: none;
}

.cards-icons .header-column {
    float: none;
    margin: 0 auto;
}

.video-container-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 2. Custom Poster Layer (Initial state) */
.video-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    /* Sits above everything */
    cursor: pointer;
}

.video-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Darken poster slightly */
}

/* 3. The Custom Play Button (on Poster) */
.video-play-btn {
    position: relative;
    z-index: 21;
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    padding-left: 5px;
    transition: transform 0.3s ease;
}

.video-poster:hover .video-play-btn {
    transform: scale(1.1);
}

/* 4. PLYR CUSTOMIZATION (The Playback UI) */

/* Set brand color */
.video-container-wrapper {
    --plyr-color-main: var(--color-primary);
}

/* Base style for the Center Button */
.plyr--video .plyr__control--overlaid {
    background: var(--color-medium-purple) !important;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, scale 0.3s;
}

/* 2. THE PLAY ICON (PAUSED STATE) */
/* When video is paused, show the SVG triangle and center it optically */
.plyr--paused .plyr__control--overlaid svg,
.video-play-btn i {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    margin-left: 5px !important;
    /* Optical centering for triangle */
}

/* 3. THE PAUSE ICON (PLAYING STATE) */
/* When video is playing, hide the SVG triangle and draw two bars instead */
.plyr--playing .plyr__control--overlaid svg {
    display: none !important;
}

.plyr--playing .plyr__control--overlaid::after {
    content: '';
    display: block;
    width: 24px;
    /* Width of the whole pause icon */
    height: 32px;
    /* Height of the bars */
    border-left: 8px solid #fff;
    /* Left bar */
    border-right: 8px solid #fff;
    /* Right bar */
    box-sizing: border-box;
    /* No margin-left needed for pause bars as they are visually balanced */
}

/* 4. VISIBILITY LOGIC */
/* Hide the button while playing, show it when hovered */
.plyr--playing .plyr__control--overlaid {
    opacity: 0;
    visibility: hidden;
}

.plyr--playing:hover .plyr__control--overlaid {
    opacity: 1;
    visibility: visible;
}

/* Keep button visible when paused */
.plyr--paused .plyr__control--overlaid {
    opacity: 1;
    visibility: visible;
}

/* 5. HIDE BOTTOM CONTROLS */
.plyr__controls {
    display: none !important;
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    background: #f0f7f0;
    border: 1px solid #d4edda;
}

.form-message i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-message ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.form-message ul li {
    margin-bottom: 4px;
}

.form-message ul li:last-child {
    margin-bottom: 0;
}

.form-message-success {
    background: #f0f7f0;
    border-color: #d4edda;
    color: #155724;
    text-align: start;
}

.form-message-success i {
    color: #28a745;
}

.form-message-error {
    background: #fdf0f0;
    border-color: #f5c6cb;
    color: #721c24;
    text-align: start;
}

.form-message-error i {
    color: #dc3545;
}

/* Related Articles List */
.insight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.insight-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.insight-card:hover {
    box-shadow: 0 8px 24px rgba(76, 86, 135, 0.12);
    transform: translateY(-4px);
    border-color: rgba(76, 86, 135, 0.2);
}

.insight-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-light-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.insight-card-icon i {
    font-size: 24px;
    color: var(--color-primary);
}

.insight-card-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a2e;
}

.insight-card-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 4px;
    line-height: 1.2;
}

.insight-card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.feature-list-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list-icon i {
    font-size: 18px;
    color: var(--color-primary);
}

.feature-list-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.feature-list-text strong {
    color: #1a1a2e;
}

@media (max-width: 767px) {
    .insight-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .insight-card {
        padding: 20px 16px;
    }
    
    .insight-card-value {
        font-size: 24px;
    }
}

/* Video Modal */
.video-modal-wrapper {
    max-width: 900px;
    width: 90vw;
    margin: 0 auto;
}

.video-modal-wrapper .video-container-wrapper {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.lity-container .lity-content {
    max-width: 95vw;
}

/* Job Openings List */
.job-openings-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.job-opening-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.job-opening-card:hover {
    box-shadow: 0 8px 24px rgba(76, 86, 135, 0.12);
    transform: translateY(-4px);
    border-color: rgba(76, 86, 135, 0.2);
}

.job-opening-header {
    margin-bottom: 16px;
}

.job-opening-title {
    font-weight: 700;
    margin-top: 0;
}

.job-opening-salary {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-light-purple);
    padding: 4px 12px;
    border-radius: 20px;
}

.job-opening-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex: 1;
}

.job-opening-meta span {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-opening-meta i {
    color: var(--color-primary);
    font-size: 14px;
}

.job-opening-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 991px) {
    .job-openings-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .job-opening-card {
        padding: 20px;
    }
    
    .job-opening-card .btn {
        width: 100%;
        text-align: center;
    }
    
    .job-opening-meta {
        gap: 10px;
    }
}

/* Legal Content */
.legal-content {
    line-height: 1.8;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.legal-content h1 { font-size: 2rem; }
.legal-content h2 { font-size: 1.5rem; border-bottom: 2px solid rgba(0, 0, 0, 0.1); padding-bottom: 0.5rem; }
.legal-content h3 { font-size: 1.25rem; }

.legal-content p { margin-bottom: 1.25rem; font-size: 1rem; }

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.legal-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.legal-content ul li { list-style-type: disc; }
.legal-content ol li { list-style-type: decimal; }

.legal-content a { color: var(--color-primary); text-decoration: underline; transition: color 0.2s ease; }
.legal-content a:hover { color: #3d4570; }

.legal-content strong,
.legal-content b { font-weight: 600; }
.legal-content em,
.legal-content i { font-style: italic; }

.legal-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--color-light-purple);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.legal-content blockquote p { margin-bottom: 0; }

.legal-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #d63384;
}

.legal-content pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.legal-content pre code { background: none; padding: 0; color: inherit; }

.legal-content hr {
    border: none;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25rem;
}

.legal-content table th,
.legal-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

.legal-content table th {
    background: var(--color-light-purple);
    font-weight: 600;
    color: #1a1a2e;
}

.legal-content table tr:nth-child(even) { background: #f9f9f9; }

.legal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.legal-updated {
    text-align: right;
    color: #888;
    font-size: 0.9rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

/* Project Show Page - Overview Cards Spacing */
.pf-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pf-info hr {
  margin: 0;
}

.pf-info-card {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .pf-info {
    flex-direction: row;
    align-items: center;
  }
  
  .pf-info > hr {
    display: none;
  }
}

/* Strategy & Partnership Cards Spacing */
.strategy-card-col {
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .strategy-card-col {
    margin-bottom: 0;
  }
}

/* CTA text-underline wrapping fix */
.text-underline {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 767px) {
  .text-underline {
    white-space: normal;
    display: inline;
  }
  
  .ld-fancy-heading h2 .text-underline {
    font-size: inherit;
    line-height: inherit;
  }
}

 .blog-single-content .fullwidth figcaption {
    width: 40%;
  }

@media (max-width: 992px) {
  .blog-single-content .fullwidth figcaption {
      text-align: center;
      width: 80%;
    }
}

.primary-icon {
  filter: brightness(0) saturate(100%)
          invert(35%) sepia(17%) saturate(1264%)
          hue-rotate(190deg) brightness(93%) contrast(90%);
}

